From: Bob Rossi <bob@brasko.net>
To: gdb@sourceware.org
Subject: Can gdbmi process many commands at once?
Date: Fri, 20 Mar 2015 01:21:00 -0000 [thread overview]
Message-ID: <20150320012207.GB25457@linux> (raw)
Hi,
I'm trying to determine if GDB/MI has the capability of accepting and
working on multiple commands at once?
For instance, if I run these commands,
(gdb)
123-interpreter-exec console "p argc"
~"$3 = 1"
~"\n"
123^done
(gdb)
234-interpreter-exec console "p argv[1]"
~"$4 = 0x0\n"
234^done
Is there any mode in which the command,
234-interpreter-exec console "p argv[1]"
will be worked on before
123-interpreter-exec console "p argc"
is finished?
The implication is that i'm expecting to have at most 1 command active
with GDB at a time. I'm curious if there is a situation where a front
end could have many active commands at a time. By active I mean,
I issue several commands, and then some time later, I get a response
on each of these, in any order.
Thanks,
Bob Rossi
next reply other threads:[~2015-03-20 1:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-20 1:21 Bob Rossi [this message]
2015-03-20 5:40 ` Vladimir Prus
2015-03-20 13:39 ` Marc Khouzam
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=20150320012207.GB25457@linux \
--to=bob@brasko.net \
--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