From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13931 invoked by alias); 4 Nov 2002 14:27:39 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13903 invoked from network); 4 Nov 2002 14:27:38 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 4 Nov 2002 14:27:38 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 188j7U-0004gL-00; Mon, 04 Nov 2002 09:26:28 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 188iCn-0003Hu-00; Mon, 04 Nov 2002 09:27:53 -0500 Date: Mon, 04 Nov 2002 06:27:00 -0000 From: Daniel Jacobowitz To: Jan Van Belle Cc: gdb@sources.redhat.com Subject: Re: STEP and CONTINUE in GDB REMOTE Message-ID: <20021104142753.GA12614@nevyn.them.org> Mail-Followup-To: Jan Van Belle , gdb@sources.redhat.com References: <3DC68303.8E34E69B@alcatel.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DC68303.8E34E69B@alcatel.be> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-11/txt/msg00028.txt.bz2 On Mon, Nov 04, 2002 at 03:24:03PM +0100, Jan Van Belle wrote: > Hello all, > > I'm struggling with the Remote Protocol (over TCP, but I guess > that doesn't matter). For the moment I can download my code > onto the (not yet existing --> virtual) target, read registers, write > registers, read code and write code. > > So now I arrived for the big job: STEP (single or not) and CONTINUE. The > manual says you have many possibilities to > indicate the target has stopped. For the moment I use: $S05#xx , but > this is just a stub to satisfy GDB. > > Can someone explain me (or point me to a good description) the syntax of > 'all' the possible responses?? > --> $Txxx:yyyy#zzz > --> $Wxxx#yyy > --> $Sxxx#yyy > --> ... > > It would be a great help (for me and many others ;-) ) Have you read the chapter detailing the remote protocol, in the fine manual? http://sources.redhat.com/gdb/current/onlinedocs/gdb_32.html#SEC630 It's in D.3. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer