From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4590 invoked by alias); 5 Jan 2007 21:30:22 -0000 Received: (qmail 4579 invoked by uid 22791); 5 Jan 2007 21:30:21 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 05 Jan 2007 21:30:09 +0000 Received: from kahikatea.snap.net.nz (p202-124-124-135.snap.net.nz [202.124.124.135]) by viper.snap.net.nz (Postfix) with ESMTP id ECF0E3D825A; Sat, 6 Jan 2007 10:30:05 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 377E44F6D0; Sat, 6 Jan 2007 10:30:03 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17822.50010.350902.129021@kahikatea.snap.net.nz> Date: Fri, 05 Jan 2007 21:30:00 -0000 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] MI: Add value field to output of -var-create In-Reply-To: <20070105150747.GD24554@nevyn.them.org> References: <17818.12006.696879.216415@kahikatea.snap.net.nz> <20070105150747.GD24554@nevyn.them.org> X-Mailer: VM 7.19 under Emacs 22.0.92.5 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: 2007-01/txt/msg00202.txt.bz2 > Seems fine to me, after we work out what to do with the testsuite. I > went to check whether this should be PRINT_ALL_VALUES or > PRINT_SIMPLE_VALUES but it seems fine the way you've got it - I wish > I could remember the rational for PRINT_SIMPLE_VALUES properly. I think it was a diplomatic solution to a technical problem. PRINT_SIMPLE_VALUES only makes sense to me for -stack-list-locals. Even this case will be unimportant when "-var-list --locals" is implemented. > One alternative that does not affect the testsuite would be to add > an --all-values option to -var-create. Ah!, the Emacs solution; a switch for everything. I don't like it. This would mean that the frontend end would have to work out which versions of GDB have this option and which don't. -- Nick http://www.inet.net.nz/~nickrob