Debugging gdb under gdb

Michael Eager eager@eagercon.com
Wed Jul 8 23:52:00 GMT 2009


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



More information about the Gdb mailing list