Remote monitor 'qCmd' command response
Mitchell Fang
mitchell.fang@gmail.com
Wed Jun 7 19:05:00 GMT 2006
Hi,
I was wondering if someone could clarify this part from the GDB manual:
" Before the final result packet, the target may also respond with a
number of intermediate 'Ooutput' console output packets."
I'm trying to implement this intermediate response functionality and
not having much success. I plan to use it to where I have a response
like
(gdb) monitor load
<response from stub> Loading....
<response from stub> Loading....
<response from stub> load successful
(gdb)
Is this even possible?
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 +
I'm not really sure whats going on and some help would be nice.
Thanks
Mitchell
More information about the Gdb
mailing list