From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21669 invoked by alias); 13 Jun 2003 23:09:27 -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 21627 invoked from network); 13 Jun 2003 23:09:26 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 13 Jun 2003 23:09:26 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19QxgT-0002xz-00 for ; Fri, 13 Jun 2003 18:10:13 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19QxfU-0007IO-00 for ; Fri, 13 Jun 2003 19:09:12 -0400 Date: Fri, 13 Jun 2003 23:09:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: stop reply packets in rsp Message-ID: <20030613230911.GA27969@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00270.txt.bz2 On Fri, Jun 13, 2003 at 04:07:53PM -0700, Theodore A. Roth wrote: > Hi, > > The rsp documentation for the 'T' stop reply packet seems a bit > sparse. Is there a minimal set of registers that must be passed to > avoid gdb sending a 'g' request while stepping? I assume this is arch > specific. For the avr it looks like SP and PC are the minimal set. > > Does gdb have any preferance as to which reply packets it would like > to see? My remote targets seem to do ok with using 'T' replies for > 'C', 'c', 'S', and 's' command packets and 'S' replies otherwise. In general, if you can supply a 'T', do; then make the tradeoff (bandwidth vs latency) to supply as many registers as are reasonably useful. Sometimes GDB fetches more registers, f.ex. to determine function arguments in the frame. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer