2008-10-16 analyzing a running process
Today I was notified that our custom-developed lab software suite had crashed. Having a look, it turns . . . to get a stacktrace from the process using gdb: labbox1:~$ gdb --pid=17732 (gdb) bt #0 0xb75b3e5d . . .
4K - last updated 2008-10-20 06:32 UTC by 6731
Adjusting Starfighter
Reading source code is one of those things that I feel that nobody likes, while the advantages are so . . . move into the starfighter-1.1 directory and type gdb starfighter. We get on the gdb prompt. Let's set . . .
9K - last updated 2007-05-01 13:56 UTC by bvankuik
CDT
[http://www.eclipse.org/cdt/ CDT homepage] [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/cdt-home/user/faq.html?cvsroot=Tools_Project . . . to just run the process and attach to it later. gdb has an option "set follow-fork-mode child", but . . .
3K - last updated 2006-02-16 12:38 UTC by 6731
Debugging
= GNU debugger = For an introduction into gdb, check out [http://www.unknownroad.com/rtfm/gdbtut/gdbtoc.html . . . RMS's gdb Tutorial] (note that this is not "the" RMS). Especially . . . || ||d ''n'' ||Delete breakpoint ''n'' || = GDB options = Some useful options: ||listsize ''count'' . . . ''parent'' or ''child'' || Put options in $HOME/.gdbrc in the form of lines like: set option param1 . . . what it was doing at the time of the crash: $ gdb ./srv_dlr Using host libthread_db library "/lib/tls/libthread_db.so.1". . . .
8K - last updated 2012-03-16 14:17 UTC by 6731
GDB
See also [[Debugging]] . . .
1K - last updated 2010-03-04 09:42 UTC by 6731
Xcode
= Xcode in general = If you get a weird error, first always try to restart Xcode. = Debugging = Some . . . = Restart device. It simply means that the gdb session can't connect because the device is doing . . .
3K - last updated 2012-10-02 00:05 UTC by 6731
6 pages found.