From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21942 invoked by alias); 29 Nov 2006 09:35:02 -0000 Received: (qmail 21847 invoked by uid 22791); 29 Nov 2006 09:35:01 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 29 Nov 2006 09:34:56 +0000 Received: (qmail 14256 invoked from network); 29 Nov 2006 09:34:55 -0000 Received: from unknown (HELO 172.16.unknown.plus.ru) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 29 Nov 2006 09:34:55 -0000 From: Vladimir Prus To: Nick Roberts Subject: Re: MI: -var-list-children --simple-values Date: Wed, 29 Nov 2006 09:35:00 -0000 User-Agent: KMail/1.9.1 References: <200611151250.11654.vladimir@codesourcery.com> <200611151929.29567.vladimir@codesourcery.com> <17755.30642.667665.206754@kahikatea.snap.net.nz> In-Reply-To: <17755.30642.667665.206754@kahikatea.snap.net.nz> Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611291234.43123.vladimir@codesourcery.com> 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: 2006-11/txt/msg00375.txt.bz2 On Wednesday 15 November 2006 23:25, you wrote: > ...; and if it is 2 or `--simple-values', print the name, type and value > for simple data types and the name and type for arrays, structures and > unions. In this last case, a frontend can immediately display the value of > simple data types and create variable objects for other data types when the > the user wishes to explore their values in more detail. > > ISTR this is what Totalview does (not that it matters but it might help > some understand its purpose). > > > So, while --simple-values might be reasonable for -stack-list-locals, > > it's not all that needed for -var-list-children. > > I can't see where it's needed, but its more trouble to remove than to fix. Why? Removing is really quick. Fixing requires: - Fix itself (you've posted it) - Documentation (specific to -var-list-children). - Testcase I did not see the latter two, so I suppose it's still some work ;-) - Volodya