Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Mitchell Fang" <mitchell.fang@gmail.com>
To: gdb@sourceware.org
Subject: Re: Remote monitor 'qCmd' command response
Date: Wed, 07 Jun 2006 22:52:00 -0000	[thread overview]
Message-ID: <cbd6ac8b0606071347t2d6c028lc218e6cdb9aafdee@mail.gmail.com> (raw)
In-Reply-To: <20060607190707.GB16788@nevyn.them.org>

Aye...silly me.  I don't know why I was so so intent on encoding the
O.  Thanks for the help Daniel.

For future reference here's the correct response:

View for log:
c monitor load bin 888.bin
w $qRcmd,6c6f61642062696e203838382e62696e#a9
r +$O4c6f6164696e672e2e2e0a#20

now it responds "Loading..."

On 6/7/06, Daniel Jacobowitz <drow@false.org> wrote:
> On Wed, Jun 07, 2006 at 12:01:41PM -0700, Mitchell Fang wrote:
> > What happens right now is that I send 'OLoading...' and then gdb
> > doesn't accept the other responses cause it thinks its the final
> > result packet.
> >
> > Here's what is shows on the console:
> >
> > (gdb) monitor load
> > 0Loading...
> > (gdb)
> >
> > Here is the log:
> >
> > w $qRcmd,6c6f61642062696e203838382e62696e#a9
> > r +<Timeout: 2 seconds>
> > w -
> > r <Timeout: 2 seconds>
> > w -
> > r $4f4c6f6164696e672e2e2e0a#6b
> > w +
>
> That's not "OLoading...".  The _data_ for the packet is supposed to be
> hex escaped, not the packet itself.  It should start with an "O".
>
> --
> Daniel Jacobowitz
> CodeSourcery
>


      reply	other threads:[~2006-06-07 20:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-07 19:05 Mitchell Fang
2006-06-07 20:47 ` Daniel Jacobowitz
2006-06-07 22:52   ` Mitchell Fang [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=cbd6ac8b0606071347t2d6c028lc218e6cdb9aafdee@mail.gmail.com \
    --to=mitchell.fang@gmail.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