This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB RSP try 'p' before 'g'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]