From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12331 invoked by alias); 3 Nov 2003 14:35:36 -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 12324 invoked from network); 3 Nov 2003 14:35:35 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 3 Nov 2003 14:35:35 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 577702B92; Mon, 3 Nov 2003 09:35:31 -0500 (EST) Message-ID: <3FA667B3.3060100@redhat.com> Date: Mon, 03 Nov 2003 14:35:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nick Roberts Cc: Andrew Cagney , Jim Ingham , gdb-patches@sources.redhat.com Subject: Re: PATCH (gdb/mi) References: <1067099552.15608.ezmlm@sources.redhat.com> <3E1F6428-08B0-11D8-A22C-000A958F4C44@apple.com> <3FA17C13.3040300@redhat.com> <16291.61005.91144.786073@nick.uklinux.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-11/txt/msg00024.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 [I've sent nick the form, I thought it had already been sent :-(] > > - 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 ? Here I was hopeing that JimI could dig something up. > 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. Yes on both counts. Or I progress something. > *** 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 I think the syntax should be: -var-list-children --print-values @var{name} I'll see what I can do. Andrew