This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: complete GDB MI specification
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Konstantin Karganov <kostik at ispras dot ru>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 06 Dec 2004 22:55:20 +0200
- Subject: Re: complete GDB MI specification
- References: <3616850089.20041129165854@ispras.ru> <41AB43C8.7050500@gnu.org><13730878711.20041129205245@ispras.ru> <18220744048.20041206192130@ispras.ru>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 6 Dec 2004 19:21:30 +0300
> From: Konstantin Karganov <kostik@ispras.ru>
>
> I'm going to implement a GUI debugger over GDB and need a complete
> description of MI commands and their result formats. Where can I find
> it?
In general, in the manual.
> The "Debugging with GDB" guide doesn't specify many details: for
> example, the value of the expression is a string with unclear format
> (i.e. "[0 <repeated 100 times>]" is a valid array value), the
> "-var-update" response is not specified at all...
Please report all such unclear cases, and I will try to fix them.
> How can I make a parser for the grammar specified as "there should be
> something like the result"? :)
There was a long series of discussions about a month ago, either here
or on gdb-patches. Search for "MI" in the archives, and you will find
a patch with a formal parser grammar for the MI interface.