Help about RSP command 'p'
Nick Roberts
nickrob@snap.net.nz
Tue Jul 10 08:42:00 GMT 2007
> I have referenced Embedding with GNU: the gdb Remote Serial
> Protocol, 11/99, but I found no description
> about rsp command 'p', and there even has no handler functions in
> gdbserver: server.c: main().
I can't help you with your problem but the info manual that comes with GDB
(Debugging with GDB) has a node which describes the Remote Serial Protocol
e.g
`p N'
Read the value of register N; N is in hex. *Note read registers
packet::, for a description of how the returned register value is
encoded.
Reply:
`XX...'
the register's value
`E NN'
for an error
`'
Indicating an unrecognized QUERY.
--
Nick http://www.inet.net.nz/~nickrob
More information about the Gdb
mailing list