From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27117 invoked by alias); 8 Dec 2006 01:32:49 -0000 Received: (qmail 27108 invoked by uid 22791); 8 Dec 2006 01:32:48 -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 01:32:41 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GsUbN-0004v4-1L; Thu, 07 Dec 2006 20:32:37 -0500 Date: Fri, 08 Dec 2006 01:32:00 -0000 From: Daniel Jacobowitz To: Kishore Paul Cc: gdb@sourceware.org Subject: Re: gdb remote serial protocol qC and vCont question Message-ID: <20061208013236.GA18882@nevyn.them.org> Mail-Followup-To: Kishore Paul , gdb@sourceware.org References: <4578B16D.3090404@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4578B16D.3090404@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/msg00062.txt.bz2 On Thu, Dec 07, 2006 at 06:27:25PM -0600, Kishore Paul wrote: > Hi, > > Is there a way to communicate thread switching using a reply packet in > gdb's remote serial protocol. > > I notice the qC packet sent only at the begining and so later when a > thread switch happens in the target a vCont packet is sent with the old > active thread Id. GDB is supposed to send vCont for the correct thread; if it doesn't, something's wrong on the GDB side. -- Daniel Jacobowitz CodeSourcery