From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28370 invoked by alias); 1 Nov 2003 16:40:12 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28361 invoked from network); 1 Nov 2003 16:40:10 -0000 Received: from unknown (HELO nick.uklinux.net) (194.247.48.7) by sources.redhat.com with SMTP; 1 Nov 2003 16:40:10 -0000 Received: by nick.uklinux.net (Postfix, from userid 501) id D02E975FDE; Sat, 1 Nov 2003 17:33:01 +0000 (GMT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16291.61005.91144.786073@nick.uklinux.net> Date: Sat, 01 Nov 2003 16:40:00 -0000 To: Andrew Cagney Cc: Jim Ingham , gdb-patches@sources.redhat.com Subject: Re: PATCH (gdb/mi) In-Reply-To: <3FA17C13.3040300@redhat.com> References: <1067099552.15608.ezmlm@sources.redhat.com> <3E1F6428-08B0-11D8-A22C-000A958F4C44@apple.com> <3FA17C13.3040300@redhat.com> X-SW-Source: 2003-11/txt/msg00012.txt.bz2 > Nick, MI changes need: > > - assignment Who initiates this? I have done it for Emacs. Is it the same process for GDB i.e REQUEST: SEND FORM FOR PAST AND FUTURE CHANGES to fsf-records@gnu.org > - testcase This is harder for me to do than the patch itself, so perhaps you can give me a few clues. Will two tests for each of mi2-var-child.exp and mi1-var-child.exp using "-var-list-children struct_declarations 0" and "-var-list-children struct_declarations 1" suffice ? > - doco below > - patch Already sent. If Jim can give you equivalent changes in the near future then that might be the most simple route. If not, I would like to progress my changes through the system. Nick http://www.nick.uklinux.net *** gdb.texinfo.~1.183.~ 2003-10-24 22:30:49.000000000 +0100 --- gdb.texinfo 2003-11-01 17:14:02.000000000 +0000 *************** *** 18121,18134 **** @subsubheading Synopsis @smallexample ! -var-list-children @var{name} @end smallexample ! Returns a list of the children of the specified variable object: @smallexample numchild=@var{n},children=[@{name=@var{name}, numchild=@var{n},type=@var{type}@},@r{(repeats N times)}] @end smallexample --- 18121,18145 ---- @subsubheading Synopsis @smallexample ! -var-list-children @var{name} [PRINT-VALUES] @end smallexample ! Returns a list of the children of the specified variable object. With ! just the variable object name as an argument or with an optional ! second argument of 0, prints only the names of the variables. With an ! optional second argument of 1, also prints their values. ! ! @subsubheading Example @smallexample + (@value{GDBP}) + -var-list-children n numchild=@var{n},children=[@{name=@var{name}, numchild=@var{n},type=@var{type}@},@r{(repeats N times)}] + (@value{GDBP}) + -var-list-children n 1 + numchild=@var{n},children=[@{name=@var{name}, + numchild=@var{n},value=@var{VALUE},type=@var{type}@},@r{(repeats N times)}] @end smallexample