From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7504 invoked by alias); 28 Sep 2005 06:40:23 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7472 invoked by uid 22791); 28 Sep 2005 06:40:17 -0000 Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 28 Sep 2005 06:40:17 +0000 Received: from kahikatea.snap.net.nz (p228-tnt1.snap.net.nz [202.124.110.228]) by viper.snap.net.nz (Postfix) with ESMTP id 06F27689398; Wed, 28 Sep 2005 18:40:13 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 9D62783C7; Wed, 28 Sep 2005 18:42:13 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17210.15172.757495.813012@kahikatea.snap.net.nz> Date: Wed, 28 Sep 2005 06:40:00 -0000 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Removal of markup annotations In-Reply-To: <20050928034539.GA29542@nevyn.them.org> References: <17071.40307.949193.158796@farnswood.snap.net.nz> <20050928001644.A76A383B3@kahikatea.snap.net.nz> <20050928034539.GA29542@nevyn.them.org> X-SW-Source: 2005-09/txt/msg00270.txt.bz2 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