This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Remote monitor 'qCmd' command response
- From: "Mitchell Fang" <mitchell dot fang at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 7 Jun 2006 12:01:41 -0700
- Subject: Remote monitor 'qCmd' command response
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