This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] New threads test
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Snyder <msnyder at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Thu, 9 Oct 2003 10:10:57 -0400
- Subject: Re: [RFA] New threads test
- References: <20030930192158.GA5615@nevyn.them.org> <3F7B1ED7.4040403@redhat.com> <20031001185230.GA25467@nevyn.them.org>
On Wed, Oct 01, 2003 at 02:52:30PM -0400, Daniel Jacobowitz wrote:
> On Wed, Oct 01, 2003 at 11:37:11AM -0700, Michael Snyder wrote:
> > Daniel Jacobowitz wrote:
> > >This is a test for the remote protocol issue I'm solving with vCont. It
> > >also shows up in schedlock, but the simpler test makes it much clearer
> > >what's going wrong. OK?
> > >
> >
> > Umm... what is going wrong? What are you testing for here?
>
> +# It tests that the correct thread is single-stepped.
>
> More intelligibly: when gdbserver is told to single-step one thread
> (without holding all others schedlocked), it assumes we mean the first
> thread. Which might not be the _right_ thread.
Hi Michael,
Is this test OK (with a better comment and the copyright notice that
Michael C suggested)?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer