From: Andrew Cagney <ac131313@cygnus.com>
To: jlm@compgen.com
Cc: gdb@sources.redhat.com
Subject: Re: Can't attach to child using gdb-5.1.1 on Linux
Date: Thu, 04 Apr 2002 06:26:00 -0000 [thread overview]
Message-ID: <3CAC629D.9000304@cygnus.com> (raw)
In-Reply-To: <15515.20096.343244.71499@bass.compgen.com>
> 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.
(not sure if someone has responded to this)
The first thing to do is get a more recent GDB from:
http://sources.redhat.com/gdb/current/
many problems have been fixed and if this problem still occures things
have been narrowed down a bit.
Andrew
next prev parent reply other threads:[~2002-04-04 14:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-22 7:32 Jesse Marlin
2002-04-04 6:26 ` Andrew Cagney [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CAC629D.9000304@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb@sources.redhat.com \
--cc=jlm@compgen.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox