This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Removal of markup annotations
DJ> I'm indifferent on removing them entirely, but I support removing them
DJ> from level three. However other programs have definitely started to
DJ> use level 3 - e.g. google found clewn.sf.net/clewn.txt.html. Actually
DJ> that was the only one I could easily turn up. Want to double-check
DJ> that it doesn't use these?
Level 3 was intended as a transition to GDB/MI. clewn started as VimGDB
and I pointed out to Andrew Cagney that they were using annotations back
then.
http://article.gmane.org/gmane.editors.vim.devel/6069 shows some of that
dialogue:
> Date: 2004-03-29 12:59:10 GMT (1 year, 26 weeks, 11 hours and 26 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).
They also seem not to understand that level 3 annotations are just a subset
of level 2 and think that they are necessary to access GDB/MI.
> Clewn may run in two different modes called level 2 and level 3. Level 2 uses
> GDB annotations level 2. Level 3 uses GDB/MI and annotations level 3. The
> behaviour of |clewn-variables| is different, depending on the mode setting.
> When starting, Clewn automatically selects the appropriate mode.
They could just use level 2 and I don't think they can reasonably complain if
we remove two dysfunctional annotations from level 3.
Nick