public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* stop reply packets in rsp
@ 2003-06-13 23:03 Theodore A. Roth
  2003-06-13 23:09 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Theodore A. Roth @ 2003-06-13 23:03 UTC (permalink / raw)
  To: gdb

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.

Just curious.

Ted Roth

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: stop reply packets in rsp
  2003-06-13 23:03 stop reply packets in rsp Theodore A. Roth
@ 2003-06-13 23:09 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-06-13 23:09 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-13 23:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-13 23:03 stop reply packets in rsp Theodore A. Roth
2003-06-13 23:09 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).