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:23:00 -0000 [thread overview]
Message-ID: <20021206212311.GA11304@nevyn.them.org> (raw)
In-Reply-To: <1039213467.11817.102.camel@Origin>
On Fri, Dec 06, 2002 at 05:24:28PM -0500, Paul Mundt wrote:
> On Fri, 2002-12-06 at 16:17, Daniel Jacobowitz wrote:
> > Thread events aren't reported immediately for latency reasons; but they
> > should all be delivered the first time the child stops...
> >
> Even after the threads are all finished, I don't see anything stepping
> into handle_inferior_event() other then when the initial manager thread
> is created.
Look at set remote debug 1. What's going on?
>
> > > 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.
> >
> I meant handle_inferior_event() on host gdb and td_thr_event_enable()
> being invoked from maybe_attach_thread() on the gdbserver side.
>
> > > 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.
>
> Doing that already as a workaround, wasn't positive if this was expected
> or not.
>
> Regards,
>
> --
> Paul Mundt <paul.mundt@timesys.com>
> TimeSys Corporation
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-12-06 21:23 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
2002-12-06 13:20 ` Paul Mundt
2002-12-06 13:23 ` Daniel Jacobowitz [this message]
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=20021206212311.GA11304@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