This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Debugging gdb under gdb
- From: Michael Eager <eager at eagercon dot com>
- To: gdb at sourceware dot org
- Date: Wed, 08 Jul 2009 16:52:27 -0700
- Subject: Debugging gdb under gdb
Hi --
When I try to run a test gdb under gdb, the host gdb hangs.
The hang occurs when the test gdb is executing pex_unix_exec_child().
As soon as the test gdb executes fork(), the host gdb hangs.
I've tried all of the permutations of follow-fork-mode
and detach-on-fork, with no luck. The host neither follows
the parent nor the child processes.
The host gdb is "GNU gdb Fedora (6.8-32.fc10)".
Suggestions?
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077