swarm-support
[Top][All Lists]
Advanced

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

Re: Debugging with GDB in Linux


From: Marcus G. Daniels
Subject: Re: Debugging with GDB in Linux
Date: 06 Oct 1999 14:14:46 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "DS" == Darren Schreiber <address@hidden> writes:

DS> I sucessfully got past the "not in executable format" error and
DS> gdb looked like it recognized the right file.  But, when I typed
DS> run I got "Debugger segmentation fault."  I logged out and in,
DS> tried it from the command line (instead of within emacs) and got
DS> the same thing.

If the debugger crashes, that is a bug in the debugger. 
Sometimes these crashes don't happen if you use gdb to look at the core file
(instead of running the app with it).  Be sure to crash your app again,
so you aren't inadvertently looking at the core file of gdb.

You can usually use gdb on itself in these cases to see where it crashed. 
But personally, I'd grab new gdb snapshot sources from
sourceware.cygnus.com; the bug might well be fixed.  It's just
configure/make/make install like any GNU-like package.  Alternatively,
there might be newer gdb RPMs.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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