Can't attach to child using gdb-5.1.1 on Linux

Jesse Marlin jlm@compgen.com
Thu Apr 11 14:43:00 GMT 2002


Andrew Cagney writes:
 > > The stack traces look good before and after, but I can't debug anything.
 > > I did create a core file of gdb this time, and will submit if you want me
 > > to.
 > 
 > I don't know that the core fill will be of much use. However, a test 
 > case and the backtrace from the GDB core file would be.

In the general case this seems to work (ie. fork and try to attach to a
sleeping child).  My program seems to be doing something that causes gdb
to behave differently.  I am still trying to generate a test case for it.



More information about the Gdb mailing list