This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Remote monitor 'qCmd' command response
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mitchell Fang <mitchell dot fang at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 7 Jun 2006 15:07:07 -0400
- Subject: Re: Remote monitor 'qCmd' command response
- References: <cbd6ac8b0606071201i1d89c152x5c8fa1ca10d5e71b@mail.gmail.com>
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