This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/gdbserver] Update current inferior when using vCont
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 29 Feb 2004 11:49:58 -0500
- Subject: Re: [patch/gdbserver] Update current inferior when using vCont
- References: <20040228182439.GA17159@nevyn.them.org>
On Sat, Feb 28, 2004 at 01:24:39PM -0500, Daniel Jacobowitz wrote:
> Extensive testing on a software-single-step target using vCont turned up a
> problem that testing on x86 didn't - not surprising, since gdbserver is
> stressed much harder in this case. By not calling set_desired_inferior after
> setting cont_thread, we could end up sending signals to the wrong thread on
> an interrupt from the client.
>
> Will commit in a bit.
> 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
>
> * server.c (handle_v_cont): Call set_desired_inferior.
I've committed this to HEAD.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer