From: Pedro Alves <pedro@codesourcery.com>
To: gdb@sourceware.org
Cc: "Frank Ch. Eigler" <fche@redhat.com>
Subject: Re: remote protocol: ambiguity of 'E*' response packets
Date: Tue, 07 Jul 2009 10:05:00 -0000 [thread overview]
Message-ID: <200907071106.15759.pedro@codesourcery.com> (raw)
In-Reply-To: <20090707034946.GB25935@redhat.com>
On Tuesday 07 July 2009 04:49:46, Frank Ch. Eigler wrote:
> Hi -
>
> For the 'g' and 'm' query packets, it seems like a response packet
> starting with "$E..." is entirely valid, if the register contents or
> memory region starts with a 0xE0-0xEF byte. But remote.c:remote_send()
> seems to interpret $E... anything as an error, and send_g_packet() uses
> this one.
>
> Am I misreading the code or the specs?
Have the stub return lowercase hex digits [0-9a-z], like 0xe0-0xef
to work around it.
This is http://sourceware.org/bugzilla/show_bug.cgi?id=9665
--
Pedro Alves
prev parent reply other threads:[~2009-07-07 10:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-07 3:49 Frank Ch. Eigler
2009-07-07 10:05 ` Pedro Alves [this message]
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=200907071106.15759.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=fche@redhat.com \
--cc=gdb@sourceware.org \
/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