From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17472 invoked by alias); 21 Mar 2003 19:22:20 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 17465 invoked from network); 21 Mar 2003 19:22:20 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 21 Mar 2003 19:22:20 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 8CAE12B11; Fri, 21 Mar 2003 14:22:15 -0500 (EST) Message-ID: <3E7B6667.6030805@redhat.com> Date: Fri, 21 Mar 2003 19:22:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nick Roberts Cc: gdb@sources.redhat.com, bob_rossi@cox.net Subject: Re: [rfc] Annotation level THREE References: <3E6E7326.3020906@redhat.com> <15985.7336.23998.590592@nick.uklinux.net> <3E751565.4030409@redhat.com> <15990.10811.61395.996906@nick.uklinux.net> <3E763228.9060104@redhat.com> <15990.62618.114706.459904@nick.uklinux.net> <3E774292.8070603@redhat.com> <15995.20665.215224.490948@nick.uklinux.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00319.txt.bz2 > > > Perhaps I could turn that question round. Which annotations are you planning > > > to keep? > > > > I think annotations can be split into two categores: > > > > - events > > These let GDB notify the GUI of internal state changes. > > > > - markups > > These try to make CLI output, intended solely for a human, machine parsable. > > > > The events remain (target changed, breakpoint created, ....). The > > markups are removed (*-{begin,end}) > > I would like to try this approach. Firstly for pragmatic reasons: this is > what is being offered. Secondly, it will give me a chance to experiment with > things like variable objects. > > I have just one question: > > How long do you expect level 3 annotations would remain in GDB? How long is a piece of string? Seriously. Since the event notifications don't intrude into the CLI, and the new underlying event mechanism (observer.[hc]) is common to both annotations and the MI, I don't see there being a compelling reason to remove that mechanism (it's maintenance overhead is very low). Contrast that to the markups that GDB is pushing hard to remove. Their implementation intrudes badly into the CLI and hence, make it hard for GDB developers to consider even minor changes (for fear of breaking a GUI :-(). Andrew