From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27423 invoked by alias); 19 Sep 2009 15:46:41 -0000 Received: (qmail 27415 invoked by uid 22791); 19 Sep 2009 15:46:41 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 19 Sep 2009 15:46:38 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id BE1802BABDD; Sat, 19 Sep 2009 11:46:36 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id K0W5+VBe0IgP; Sat, 19 Sep 2009 11:46:36 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 749A02BAB61; Sat, 19 Sep 2009 11:46:36 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id E5CD5F5935; Sat, 19 Sep 2009 08:46:24 -0700 (PDT) Date: Sat, 19 Sep 2009 15:46:00 -0000 From: Joel Brobecker To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: [MI] -stack-list-variables Message-ID: <20090919154624.GT8910@adacore.com> References: <200909191412.37692.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909191412.37692.vladimir@codesourcery.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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: 2009-09/txt/msg00632.txt.bz2 > +2009-09-19 Vladimir Prus > + > + * mi/mi-cmds.h (mi_cmd_stack_list_variables): Declare. > + * mi/mi-cmds.c (mi_cmds): Register -stack-list-variables. > + * mi/mi-cmd-stack.c (enum what_to_list): New. > + (list_args_or_locals): Accept what_to_list parameter. > + Use 'variables' as output name of all are requested. > + (mi_cmd_stack_list_variables): New. > + (mi_cmd_stack_list_locals, mi_cmd_stack_list_args): Adjust. ARG, the part that I really wanted to mentioned, and yet I forgot after fussing on details. Sorry. Can we have some tests added to the testsuite? -- Joel