Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Can't attach to child using gdb-5.1.1 on Linux
@ 2002-03-22  7:32 Jesse Marlin
  2002-04-04  6:26 ` Andrew Cagney
  0 siblings, 1 reply; 7+ messages in thread
From: Jesse Marlin @ 2002-03-22  7:32 UTC (permalink / raw)
  To: gdb


I have a process that forks a child.  If I try to attach to the
child it reads the symbols and shows an accurate stack trace, but when
I set a breakpoint and try to continue I get the following:

(gdb) c
Continuing.
lin-lwp.c:1003: gdb-internal-error: lin_lwp_wait: Assertion `WIFSTOPPED (status) && WSTOPSIG (status) == SIGSTOP' failed.
An internal GDB error was detected.  This may make further
debugging unreliable.  Continue this debugging session? (y or n) n

Create a core file containing the current state of GDB? (y or n) n

Inferior GDB exited abnormally with code 1


I answered yes to the above also, but it did not improve the situation.  Has
anybody seen this behvior before.  I am using gcc-2.95.3 for compilation.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-04-11 21:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-22  7:32 Can't attach to child using gdb-5.1.1 on Linux Jesse Marlin
2002-04-04  6:26 ` Andrew Cagney
2002-04-04  6:54   ` Jesse Marlin
2002-04-04  7:44     ` Andrew Cagney
2002-04-04  8:18   ` Jesse Marlin
2002-04-07  9:06     ` Andrew Cagney
2002-04-11 14:43       ` Jesse Marlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox