From: Bob Rossi <bob@brasko.net>
To: GDB <gdb@sources.redhat.com>
Subject: [mi] MI grammar question
Date: Wed, 09 Mar 2005 00:02:00 -0000 [thread overview]
Message-ID: <20050309000152.GA10866@white> (raw)
Hi,
I'm still working on refining the MI grammar in the documentation. I
think I found a case that is only possible in the grammar but not
possible to have the MI actually output.
output ==> ( out-of-band-record )* [ result-record ] "(gdb)" nl
result-record ==> [ token ] "^" result-class ( "," result )* nl
out-of-band-record ==> async-record | stream-record
async-record ==> exec-async-output | status-async-output | notify-async-output
exec-async-output ==> [ token ] "*" async-output
status-async-output ==> [ token ] "+" async-output
notify-async-output ==> [ token ] "=" async-output
async-output ==> async-class ( "," result )* nl
The above shows that there can be 0 or more out-of-band-record's. And
each out-of-band-record can have an async-record.
Is it really possible to get more than one async-record in a single MI
output command?
If not, I can re-arrange the grammar to have the async-record go along
with the result-record. Also, I can probably merge the optional "token"
so that it will only appear in one place.
If my hunch above is correct, I'll post another modified grammar that
will be much more simple.
Thanks,
Bob Rossi
reply other threads:[~2005-03-09 0:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050309000152.GA10866@white \
--to=bob@brasko.net \
--cc=gdb@sources.redhat.com \
/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