From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19214 invoked by alias); 29 Jun 2009 15:34:33 -0000 Received: (qmail 19200 invoked by uid 22791); 29 Jun 2009 15:34:32 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail.windriver.com (HELO mail.wrs.com) (147.11.1.11) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Jun 2009 15:34:23 +0000 Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.wrs.com (8.13.6/8.13.6) with ESMTP id n5TFYCdA004160; Mon, 29 Jun 2009 08:34:12 -0700 (PDT) Received: from ala-mail06.corp.ad.wrs.com ([147.11.57.147]) by ALA-MAIL03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 29 Jun 2009 08:34:11 -0700 Received: from [147.11.233.108] ([147.11.233.108]) by ala-mail06.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 29 Jun 2009 08:34:12 -0700 Message-ID: <4A48DEF3.3070407@windriver.com> Date: Mon, 29 Jun 2009 15:34:00 -0000 From: Pawel Piech User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Nick Roberts CC: =?ISO-8859-1?Q?Andr=E9_P=F6nitz?= , gdb@sourceware.org Subject: Re: -stack-list-locals and children References: <629542d40906281203o3601025at573704e36ee80565@mail.gmail.com> <200906290943.17323.andre.poenitz@nokia.com> <19016.30632.619762.345807@totara.tehura.co.nz> In-Reply-To: <19016.30632.619762.345807@totara.tehura.co.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00298.txt.bz2 Nick Roberts wrote: > Note that -stack-list-locals --simple-values _does_ give type information and, > if this is presented to the user, he can usually infer the number of children. > In the manual: > > -stack-list-locals --simple-values > ^done,locals=[{name="A",type="int",value="1"}, > {name="B",type="int",value="2"},{name="C",type="int [3]"}] > (gdb) ^^^^^^^ > No kidding! 2 more questions then: - does stack-list-args support the --simple-values option? - how long has this feature been around? Thanks, Pawel