Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB RSP try 'p' before 'g'
@ 2007-10-24  8:30 Robert Bu
  2007-10-24 11:54 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Bu @ 2007-10-24  8:30 UTC (permalink / raw)
  To: gdb

Hello all,

    When doing remote debugging, GDB, version 6.0 and before, tries to
fetch the registers' value by 'g' packet when connected to remote
target. However, GDB version 6.4 and later, tries 'p' packet before 'g'
packet. So if the target supports 'p' packet, GDB uses 'p' packet to
retrieve value of all registers. That may degrate the speed for the poor
connection speed (Serial, parallel or even ethernet) between GDB and the
target.
    Does anybody know what is that change for?

Thanks.

Robert.
20071024


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

end of thread, other threads:[~2007-10-24 11:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-24  8:30 GDB RSP try 'p' before 'g' Robert Bu
2007-10-24 11:54 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox