From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25931 invoked by alias); 17 Mar 2003 20:38:03 -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 25872 invoked from network); 17 Mar 2003 20:38:02 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 17 Mar 2003 20:38:02 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 49E5F2B11; Mon, 17 Mar 2003 15:38:00 -0500 (EST) Message-ID: <3E763228.9060104@redhat.com> Date: Mon, 17 Mar 2003 20:38: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-patches@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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00378.txt.bz2 > > > > Why do you need display-{begin,end}? -display-insert has been made > > redundant by the varobj stuff - it lets the GUI efficiently track its > > display values outside of the CLI. > > Variable objects don't auto-display. You seem to have to type > -var-evaluate-expression each time the program stops. Why do you need auto-display? What are you using it for? Remember, every time the target changes (e.g., from a user modifying a variable or register), the display needs to be updated. This is because that variable/register has the potential to modify every single value being displayed. Further, unless your using some sort of changes-only mechanism, such as provided by the varobj, the display windows are just not going to scale. > > The testsuite is a good source of > > varobj examples (unfortunatly lacking from the doco): > > http://sources.redhat.com/gdb/current/onlinedocs/gdb_25.html#SEC565 > > The lack of documentation for (and apparent completeness of) GDB/MI is part of > the problem. Um, the varobj is documented. It just lacks a vew concrete examples. Those can be found by examining the testsuite. Both Apple and Eclipse are using this part of the MI. > > The above list also contains thing like field-{begin,end}, > > array-section-{begin,end} et.al. Why are they needed. > > I use them to parse the output. They could probably go, if necessary, but > others that you plan to take out *are* needed. Can you please be more specific? Andrew