This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
GDB and threads...
- To: gdb at sources dot redhat dot com
- Subject: GDB and threads...
- From: Jiva DeVoe <jiva at opnix dot com>
- Date: Thu, 26 Apr 2001 17:43:05 -0700
Does anyone have any tips on debugging multithreaded apps using gdb?
I have been trying for a couple of months now, and IMO gdb is REALLY
not very effective at it (at least in my experience.) I've used
windows debuggers to do this, and when I would have a fault in a
subthread, the debugger would actually break *in* that thread. With
gdb, it breaks, but it still breaks in the main thread. I can't even
get the thread info commands to work.
HELP!
FYI, I am using version 5.0 of gdb on Mandrake 7.2 with kernel 2.2.x
Alternatively, when is gdb going to have better thread support?
--
Jiva DeVoe
VP Of Software Development
Opnix, Inc. - Simply funkadelic bandwidth.
GPG Fingerprint: 0A17 DF84 516A 1DC4 B837 FE6D 3128 41CD 97CB 4AA7