From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19474 invoked by alias); 8 Dec 2006 03:29:05 -0000 Received: (qmail 19466 invoked by uid 22791); 8 Dec 2006 03:29:04 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 08 Dec 2006 03:28:59 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GsWPw-0005go-LC; Thu, 07 Dec 2006 22:28:56 -0500 Date: Fri, 08 Dec 2006 03:29:00 -0000 From: Daniel Jacobowitz To: Kishore Paul Cc: gdb@sourceware.org Subject: Re: gdb remote serial protocol qC and vCont question Message-ID: <20061208032856.GA21855@nevyn.them.org> Mail-Followup-To: Kishore Paul , gdb@sourceware.org References: <4578B16D.3090404@freescale.com> <20061208013236.GA18882@nevyn.them.org> <4578CDF7.2000909@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4578CDF7.2000909@freescale.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00064.txt.bz2 On Thu, Dec 07, 2006 at 08:29:11PM -0600, Kishore Paul wrote: > Received packet: [vCont;s:1;c] -------------> (1) > .... > < thread switch happens to 2 > > .... > > Received packet: [vCont;s:1;c] -------------> (2)* > > > Between the first and second vCont packet the thread-id changes from 1 > to 2 but this information is somehow not getting communicated to gdb. > The intent of the second vCont is to do a step for thread 2 and c for > all other threads. How do you expect GDB to know this if you aren't telling it? It can't guess! The thing you're missing is the 'T' response and the "thread:" item in it. -- Daniel Jacobowitz CodeSourcery