From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10666 invoked by alias); 15 Jul 2005 00:03:33 -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 10642 invoked by uid 22791); 15 Jul 2005 00:03:28 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 15 Jul 2005 00:03:28 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1DtDfq-0005qD-PW for gdb-patches@sources.redhat.com; Thu, 14 Jul 2005 20:03:26 -0400 Date: Fri, 15 Jul 2005 00:03:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Hooks still needed for annotations Message-ID: <20050715000326.GC21620@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <17056.56022.36723.292491@farnswood.snap.net.nz> <20050603235923.GA9992@nevyn.them.org> <17060.50908.689915.417827@farnswood.snap.net.nz> <20050610022625.GA6660@white> <17065.2154.827857.784226@farnswood.snap.net.nz> <20050615152358.GA20778@white> <17072.40956.31718.931121@farnswood.snap.net.nz> <20050615225759.GA21803@white> <20050703163916.GB13811@nevyn.them.org> <20050706150333.GB17788@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050706150333.GB17788@white> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00122.txt.bz2 On Wed, Jul 06, 2005 at 11:03:33AM -0400, Bob Rossi wrote: > On Sun, Jul 03, 2005 at 12:39:16PM -0400, Daniel Jacobowitz wrote: > > On Wed, Jun 15, 2005 at 06:57:59PM -0400, Bob Rossi wrote: > > > > > > > Do you already use level 3, or could we simply just start stripping down > > > > > > > level 2? > > > > The point of introducing level 3 - a stripped down version of level 2 - > > was to transition clients to using it and then discard level 2, instead > > of having to find everyone using annotations and work out whether we > > broke them every time someone wants to strip something out of level 2. > > When everyone we care about is happy with level 3, we can kill level 2. > > > > Bob, sometimes I feel like you pick very strange things to label as > > "hard". What's hard about autodetecting the availability of annotate > > level 3? Or even doing it based on version number? > > I just simply can't stand the thought of starting up GDB several times > to determine what the correct protocol the FE should use. This > doesn't seem necessary. But it's _simpler_ than any of this complicated handshaking, or even the revised -i option you suggested below. Just start GDB with the interface you want it to use. If it doesn't recognize it, it will quickly and clearly tell you so. drow@nevyn:~% gdb -i=mi4 Interpreter `mi4' unrecognized -- Daniel Jacobowitz CodeSourcery, LLC