Remote monitor 'qCmd' command response
Mitchell Fang
mitchell.fang@gmail.com
Wed Jun 7 22:52:00 GMT 2006
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
>
More information about the Gdb
mailing list