Re: CLI and GDB/MI documentation patch

Bob Rossi
2006-05-12T14:21:01Z

On Fri, May 12, 2006 at 04:59:46PM +0300, Eli Zaretskii wrote:
> > Date: Fri, 12 May 2006 08:54:33 -0400
> > From: Bob Rossi <bob_rossi@cox.net>
> > Cc: gdb-patches@sources.redhat.com
> >
> > Old versions of mi2 will act incorrectly, where as new versions of mi2
> > will work better.
>
> In what release of GDB were those problems fixed?

I'm not sure if it helps to think of things in terms of releases in
regards to GDB/MI. Unfortunatly, many distros package a CVS release of
GDB. So, any given snapshot of GDB could have this feature or not.

However, with that said, Nick posted this:

2005-02-20 Andrew Cagney <cagney@gnu.org>

* mi/mi-main.c (captured_mi_execute_command): Use
mi_cmd_interpreter_exec.

So I believe that's the day when it started working nice. Eli, the real
problem is, mi2 is the currently supported protocol, and certain
versions of mi2 work and certain version don't, so I'm not sure this is
a historical issue.

> > Well, first off, this is incorrect:
> >
> > This mechanism is provided as an aid to developers of @sc{gdb/mi}
> > clients and not as a reliable interface into the CLI.
>
> What would you suggest to say instead? In your patch, all you did
> was add the word ``originally'':
>
> This mechanism was originally provided as an aid to developers of @sc{gdb/mi}
> clients and not as a reliable interface into the CLI. The output of these
>
> But you never say what's its role _now_.

I thought I did, but apparently I was unclear. The next 2 paragraphs
were supposed to describe what it's role is now, I'm sorry to see it was
written so unclear.

Bob Rossi