From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4776 invoked by alias); 30 Apr 2008 09:39:04 -0000 Received: (qmail 4691 invoked by uid 22791); 30 Apr 2008 09:39:02 -0000 X-Spam-Check-By: sourceware.org Received: from hoat.troll.no (HELO hoat.troll.no) (62.70.27.150) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Apr 2008 09:38:42 +0000 Received: from hoat.troll.no (tedur.troll.no [62.70.27.154]) by hoat.troll.no (Postfix) with SMTP id DA26B20A61 for ; Wed, 30 Apr 2008 11:38:39 +0200 (CEST) Received: from gar.trolltech.de (gar.trolltech.de [10.4.0.24]) by hoat.troll.no (Postfix) with ESMTP id BD6EA202E0 for ; Wed, 30 Apr 2008 11:38:39 +0200 (CEST) From: =?utf-8?q?Andr=C3=A9_P=C3=B6nitz?= To: gdb-patches@sourceware.org Subject: Re: [PATCH:MI] Return a subset of a variable object's children Date: Wed, 30 Apr 2008 12:53:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <18452.24568.655617.907458@kahikatea.snap.net.nz> <200804301100.21674.apoenitz@trolltech.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804301140.26347.apoenitz@trolltech.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00691.txt.bz2 On Wednesday 30 April 2008 11:19:59 Vladimir Prus wrote: > Andr=C3=A9 P=C3=B6nitz wrote: > >> I wonder if deleting children that are not visible is possible/desirab= le. > >=20 > > Well, I would still prefer a simple toggle that would allow me to switc= h off > > any automatic creation of children >=20 > There's no automatic creation. Until you do -list-children, no child is c= reated. That's what I meant. Right now I can't get a list of children without varobjects being created. > > and one-shot 'expression evaluation' and one-shot 'children listing'. >=20 > What is 'expression evaluation'. A shortcut for -var-create foo * exp -var-evaluate-expression foo -var-delete foo optionally including a -var-list-children foo Maybe its already there and I just did not see it... > [...] > I'm afraid I don't get your point. If you want funny representations of > any type you can either: >=20 > 1. Use Python visualizers (that can be switched on the fly) Right. I guess that's probably the route to go for me in the long run. I am a bit scared by the additional dependency, though, so I wouldn't mind to have a reasonably well working 'pure MI' solution as fallback, too. > 2. Just get the raw data and show it as you see fit. This does not work too well with structures containing pointers or such. It's fine for 'position independent' data like bitmaps or so, though. Andre'