From: Nick Roberts <nickrob@snap.net.nz>
To: "Sync ma" <sync.jma@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Help about RSP command 'p'
Date: Tue, 10 Jul 2007 08:42:00 -0000 [thread overview]
Message-ID: <18067.18044.643449.64358@kahikatea.snap.net.nz> (raw)
In-Reply-To: <dcf6addc0707100101p2cb5eafi31a1938f9eb01f19@mail.gmail.com>
> 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
next prev parent reply other threads:[~2007-07-10 8:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-10 8:01 Sync ma
2007-07-10 8:42 ` Nick Roberts [this message]
[not found] <1184054482.32608.ezmlm@sourceware.org>
2007-07-10 9:50 ` Wenbo Yang
2007-07-10 9:58 ` Wenbo Yang
[not found] ` <dcf6addc0707100315x2220b242gdbe72adf438111d2@mail.gmail.com>
2007-07-11 1:15 ` Wenbo Yang
2007-07-10 17:55 msnyder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18067.18044.643449.64358@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=gdb@sourceware.org \
--cc=sync.jma@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox