From: Daniel Jacobowitz <drow@mvista.com>
To: Paul Mundt <paul.mundt@timesys.com>
Cc: gdb@sources.redhat.com
Subject: Re: Gdbserver Threading Issues
Date: Fri, 06 Dec 2002 13:16:00 -0000 [thread overview]
Message-ID: <20021206211705.GA10918@nevyn.them.org> (raw)
In-Reply-To: <1039212714.11722.98.camel@Origin>
On Fri, Dec 06, 2002 at 05:11:54PM -0500, Paul Mundt wrote:
> On Fri, 2002-12-06 at 14:28, Daniel Jacobowitz wrote:
> > Not without more information. Look at the remote session transcript,
> > see what is going on.
>
> Hum, still debugging this .. I'm still at a loss as to why breakpoints
> would be having any effect on anything, though from the looks of it the
> newly created threads are tracked just fine by
> thread_db_find_new_threads() in gdbserver/thread-db.c
>
> Also single stepping through maybe_attach_thread() everything looks
> alright, though still the threads don't show up on the GDB side.
Thread events aren't reported immediately for latency reasons; but they
should all be delivered the first time the child stops...
> Also, on the gdb side of things, it doesn't look like there are any
> events happening .. thus handle_inferior_event() is never stepped into
> at thread creation/running/exit time. Although td_thr_event_enable()
> still returns TD_OK.
Wait, what's going on? Are you saying td_thr_event_enable is being
called on your host GDB? That's not going to work right.
> Notably, if I connect gdb to gdbserver while gdb and gdbserver are both
> running under gdb control, SIG32 issues appear again..
gdbserver may get a SIG32 while debugging; set the process debugging
gdbserver to "nostop noprint pass" that signal. Ditto SIG33, I think.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-12-06 21:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-06 11:20 Paul Mundt
2002-12-06 11:28 ` Daniel Jacobowitz
2002-12-06 13:07 ` Paul Mundt
2002-12-06 13:16 ` Daniel Jacobowitz [this message]
2002-12-06 13:20 ` Paul Mundt
2002-12-06 13:23 ` Daniel Jacobowitz
2002-12-06 13:33 ` Paul Mundt
2002-12-06 13:35 ` Daniel Jacobowitz
2002-12-06 13:59 ` Paul Mundt
2002-12-06 14:08 ` Daniel Jacobowitz
2002-12-06 14:15 ` Paul Mundt
2002-12-06 17:15 ` Daniel Jacobowitz
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=20021206211705.GA10918@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=paul.mundt@timesys.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