This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Help about RSP command 'p'
- From: msnyder at sonic dot net
- To: gdb at sourceware dot org
- Cc: sync dot jma at gmail dot com
- Date: Tue, 10 Jul 2007 10:55:14 -0700 (PDT)
- Subject: Re: Help about RSP command 'p'
> Sending packet: $p25#d7...Ack
> Packet received: E02
There are two things this error might mean:
1) Register #25 not recognized (or perhaps not available), or
2) 'p' request not recognized.
Many gdb remote agents/stubs do not implement the 'p' request.
The correct way for them to acknowledge this is with an empty
reply (not an error code), but who knows...
One way to sidestep the issue would be to simply request all
of the regs (with the 'g' request), and extract the one you want.