Hi,

I'm using gdb 5.0 to debug a multi-threaded program under RedHat 6.2
with a 2.2.16 kernel.  I'm having quite a bit of trouble with the
debugger.  Two of the latest problems are:

1)  I start the debugger and set a breakpoint in my code.  The
breakpoint is set in code that executes after my threads have been
started.  When I get to the breakpoint I set some other breakpoints and
say 'cont'.  I get an error "metadata read error: interuppted system
call" and my program is terminated.

2) I start the program and attatch to one of the threads 'gdb progname
pid-of-thread'.  I set a breakpoint or 2 and say 'cont'.  Gdb says,
"program terminated normally" and gives me a prompt; it doesn't
continue.  None of the threads in the program have terminated.

I'd appreciate any help and/or suggestions.  I'm at a loss as to how to
use gdb with a threaded program.

Don L. Burkes




_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to