Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Konstantin Karganov <kostik@ispras.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb@sources.redhat.com
Subject: Re[2]: complete GDB MI specification
Date: Wed, 08 Dec 2004 16:42:00 -0000	[thread overview]
Message-ID: <9825395456.20041208194459@ispras.ru> (raw)
In-Reply-To: <01c4dc95$Blat.v2.2.2$0f2f1c40@zahav.net.il>

Hello Eli,

>(And I'm not sure such a description should be in the manual, anyway.)
As for me, I think it should be in UG since it is a way to use GDB.
Maybe in appendix or some "advanced" chapter.

> Sorry, I thought a grammar was posted, but perhaps I was mistaken.
There was posted a refined grammar transformed to LL(1) kind, but
that's not exactly what is needed...

> If an example is clear and tells enough to explain what to expect,
> then it's fine by me.
It's fine to illustrate the point or get the main idea, but do not
suffice for writing a code that will use it automatically.
The text-based protocol for the debugger that we implemented 2 years
ago had _much_ more rigorous and complete specification.

> If you find incorrect or misleading examples, please point them out,
> and please tell what is misleading about them.
Oh, BTW, I've got one :)
Section 24.9 (GDB/MI Program control), subsection "The -exec-interrupt
command". The specified behavior doesn't reproduce since the
-exec-continue and other stepping commands are not asynchronous
(though the doc states they are).

> But basically, I think that once the Yacc parser is written and
> becomes part of GDB, we should maintain the parser instead of
> documenting the grammar.
Yes, I've also got this idea - it's better not to develop parsers
every time from the scratch, but to have a "standard" parser since it
fits the main goal of the MI interface project. In this case it can be
easily made consistent with current MI version (as supported by the
same team). Anyhow, the detailed semantics description of the parser
output should be available, here I completely disagree with the
position "maintain instead of documenting" (literally, as it was
mentioned).

One more question about this parser as a part of GDB - does it exist
and will be available or it's still a far distant project?

-- 
Best regards,
 Konstantin 




  reply	other threads:[~2004-12-08 16:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-29 14:06 (a?)synchronous stepping commands in gdb MI, a week later Konstantin Karganov
2004-11-29 16:08 ` Andrew Cagney
2004-11-29 19:59   ` Re[2]: " Konstantin Karganov
2004-12-06 16:19     ` complete GDB MI specification Konstantin Karganov
2004-12-06 20:55       ` Eli Zaretskii
2004-12-07 18:42         ` Re[2]: " Konstantin Karganov
2004-12-07 18:58           ` Bob Rossi
2004-12-07 19:45             ` Eli Zaretskii
2004-12-07 19:50               ` Bob Rossi
2004-12-07 21:47                 ` Eli Zaretskii
2004-12-07 19:42           ` Eli Zaretskii
2004-12-08 16:42             ` Konstantin Karganov [this message]
2004-12-08 16:53               ` Bob Rossi
2004-12-08 17:45                 ` Re[2]: " Konstantin Karganov
2004-12-08 18:30                   ` Bob Rossi
2004-12-08 18:34                     ` Bob Rossi
2004-12-08 18:39                     ` Re[2]: " Konstantin Karganov
2004-12-08 17:01               ` Dave Korn

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=9825395456.20041208194459@ispras.ru \
    --to=kostik@ispras.ru \
    --cc=eliz@gnu.org \
    --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