[patch/gdbserver] Update current inferior when using vCont

Daniel Jacobowitz drow@false.org
Sun Feb 29 16:49:00 GMT 2004


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



More information about the Gdb-patches mailing list