This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/gdbserver] Update current inferior when using vCont


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]