Gmane
From: Xavier de Gaye <XavierDeGaye <at> netscape.net>
Subject: VimGDB and GDB/MI
Newsgroups: gmane.editors.vim.devel
Date: 2004-03-29 12:59:10 GMT (4 years, 23 weeks, 19 hours and 25 minutes ago)
The last patch #6 (soon on Mikolaj web site) supports GDB/MI and
annotations level 3. It also provides hooks for a future
implementation based on an interface with only GDB/MI.

On Tue, 10 Feb 2004 5:32:52 PM EST, Andrew Cagney wrote:

> 
> It's been pointed out to me that VIM is using GDB's deprecated, never
> documented, never tested, annotation level 2 interface.  In a word, 
> argh!
> 
> GDB developers are strongly encouraged to migrate their application to MI (which
> is documented and is tested).
> 
> As an interum, MI can be accessed from the CLI vis:

VimGDB level 3 mode does that: accessing MI from the CLI. The
"As an interum" may mean that this scheme will be obsoleted some time
and that the implementation based on an interface with only GDB/MI
will be required. This is not quite clear and may depend on how Emacs
developers implement GDB/MI.

> 
> (gdb) interpreter mi -mi-command
> ... mi output ...
> (gdb)
> 
> (and annotate level three used)

BTW, my mail titled "Implementing a Gdb interface with GDB/MI" that I
sent more than one month ago is mostly all wrong and adding to the
confusion on GDB interfaces. I am sorry about that. There are actually
two interfaces to GDB, the CLI and MI. When using MI you are not
supposed to use any annotation at all (this is not written anywhere,
just deduction). You can use the "interpreter-exec" command to access
MI commands from the CLI and vice-versa.

VimGDB requires a lot of testing. When it is included among the other
patches in a future development release, testing can start being more
exhaustive. Meanwhile, all problem reports are very much welcome.

Xavier...

__________________________________________________________________
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp