Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: msnyder@sonic.net
To: gdb@sourceware.org
Cc: sync.jma@gmail.com
Subject: Re: Help about RSP command 'p'
Date: Tue, 10 Jul 2007 17:55:00 -0000	[thread overview]
Message-ID: <20346.12.7.175.2.1184090114.squirrel@webmail.sonic.net> (raw)

> 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.



             reply	other threads:[~2007-07-10 17:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10 17:55 msnyder [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
  -- strict thread matches above, loose matches on Subject: below --
2007-07-10  8:01 Sync ma
2007-07-10  8:42 ` Nick Roberts

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=20346.12.7.175.2.1184090114.squirrel@webmail.sonic.net \
    --to=msnyder@sonic.net \
    --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