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

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


             reply	other threads:[~2006-06-07 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-07 19:05 Mitchell Fang [this message]
2006-06-07 20:47 ` Daniel Jacobowitz
2006-06-07 22:52   ` Mitchell Fang

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=cbd6ac8b0606071201i1d89c152x5c8fa1ca10d5e71b@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