discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gdb help


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] gdb help
Date: Thu, 8 Jan 2009 10:26:32 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Jan 08, 2009 at 10:17:31AM +0200, Sebastiaan Heunis wrote:
> Hi
> 
> I'm trying to debug an application using gdb.  I used the segment of
> code in the how to write your own blocks page to print out the process
> id and attach gdb to it.  When I try to set breakpoints, I get a
> message saying
> 
> No line 110 in file ''../Modules/python.c''


> Also, when I run the Python app, gdb tells me that the program has
> been started already.

It has already started, you used the "attach" command to attach to a
running program :-)  Tell it to continue with the "c" command.

When it segfaults get a backtrace using

bt

  or

thread apply all bt


> And and asks if it should start the program
> from the beginning.  Choosing yes causes gdb to run the Python
> interpreter itself.  Choosing no doesn't do anything.
> 
> Can anyone please help me with this?
> Thank you in advance.
> 
> Sebastiaan

gdb has a nice manual...

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]