From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1048 invoked by alias); 17 Jun 2009 20:48:34 -0000 Received: (qmail 1039 invoked by uid 22791); 17 Jun 2009 20:48:33 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_37,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from an-out-0708.google.com (HELO an-out-0708.google.com) (209.85.132.244) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Jun 2009 20:48:23 +0000 Received: by an-out-0708.google.com with SMTP id b38so282835ana.3 for ; Wed, 17 Jun 2009 13:48:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.143.17 with SMTP id q17mr864428and.114.1245271701210; Wed, 17 Jun 2009 13:48:21 -0700 (PDT) Date: Wed, 17 Jun 2009 20:48:00 -0000 Message-ID: Subject: gdb.texinfo patch for -var-list-children From: Chris Genly To: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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-06/txt/msg00451.txt.bz2 Description The gdb documentation for the MI command -var-list-children does not match what Eclipse DSF expects, nor what Cygwin gcc generates. This patch corrects the documentation. Change log 2009-06-17 Chris Genly * Fixed syntax error for -var-list-children example. Added "child=" for each child. Patch Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.600 diff -c -p -r1.600 gdb.texinfo *** gdb.texinfo 15 Jun 2009 12:11:36 -0000 1.600 --- gdb.texinfo 17 Jun 2009 20:36:35 -0000 *************** and unions. *** 23256,23266 **** @smallexample (gdb) -var-list-children n ! ^done,numchild=@var{n},children=[@{name=@var{name}, numchild=@var{n},type=@var{type}@},@r{(repeats N times)}] (gdb) -var-list-children --all-values n ! ^done,numchild=@var{n},children=[@{name=@var{name}, numchild=@var{n},value=@var{value},type=@var{type}@},@r{(repeats N times)}] @end smallexample --- 23256,23266 ---- @smallexample (gdb) -var-list-children n ! ^done,numchild=@var{n},children=[child=@{name=@var{name}, numchild=@var{n},type=@var{type}@},@r{(repeats N times)}] (gdb) -var-list-children --all-values n ! ^done,numchild=@var{n},children=[child=@{name=@var{name}, numchild=@var{n},value=@var{value},type=@var{type}@},@r{(repeats N times)}] @end smallexample