From: Remi Liu <remiliuzhibin@gmail.com>
To: gdb@sourceware.org
Subject: about GDB/MI output syntax
Date: Fri, 29 Jun 2012 06:21:00 -0000 [thread overview]
Message-ID: <4FED4965.4090303@gmail.com> (raw)
In-Reply-To: <4FED4739.6060508@gmail.com>
Hi, GDB developpers:
I'm not sure whether it is too presumptuous to ask the question directly
to you. But I am really confused about the MI output syntax.
I've taken over a front-end of GDB. I should make it to support new
version GDB, GDB 7. And the version of GDB I use is 7.4, unknown release.
In the GDB document, section 27.2.2, the output definition is
output ==>
( out-of-band-record )* [ result-record ] "(gdb)" nl
But after I sent a MI command like
4-exec-run
The output I got is
=thread-group-started,id=隆卤i1隆卤,pid=隆卤9728隆卤
=thread-created,id=隆卤1隆卤,group-id=隆卤i1隆卤
~隆卤[New Thread 9728.0x23a8]\n隆卤
4^running
*running,thread-id=隆卤all隆卤
(gdb)
The first 3 lines are out-of-band-record s, the 4th line is
result-record, what is the 5th line?
That make me puzzled. I'm not sure, I misunderstanded the document, or
the document should be updated?
Thank you for your time!
Looking forward to your response!
A developper of front-end of GDB
parent reply other threads:[~2012-06-29 6:21 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <4FED4739.6060508@gmail.com>]
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=4FED4965.4090303@gmail.com \
--to=remiliuzhibin@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).