From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6923 invoked by alias); 29 Feb 2004 16:49:59 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6915 invoked from network); 29 Feb 2004 16:49:58 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 29 Feb 2004 16:49:58 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AxU8c-0004AJ-6s for ; Sun, 29 Feb 2004 11:49:58 -0500 Date: Sun, 29 Feb 2004 16:49:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [patch/gdbserver] Update current inferior when using vCont Message-ID: <20040229164958.GE15749@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20040228182439.GA17159@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040228182439.GA17159@nevyn.them.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-02/txt/msg00892.txt.bz2 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 > > * server.c (handle_v_cont): Call set_desired_inferior. I've committed this to HEAD. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer