From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2144 invoked by alias); 17 Jun 2009 17:14:56 -0000 Received: (qmail 2136 invoked by uid 22791); 17 Jun 2009 17:14:55 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_81,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from yw-out-1718.google.com (HELO yw-out-1718.google.com) (74.125.46.155) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Jun 2009 17:14:48 +0000 Received: by yw-out-1718.google.com with SMTP id 4so200130ywq.48 for ; Wed, 17 Jun 2009 10:14:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.38.12 with SMTP id l12mr519673anl.167.1245258449395; Wed, 17 Jun 2009 10:07:29 -0700 (PDT) Date: Wed, 17 Jun 2009 17:14:00 -0000 Message-ID: Subject: MI: -var-list-children doc error From: Chris Genly To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/msg00181.txt.bz2 The documentation for -var-list-children does not match what Cygwin GDB produces, or Eclipse DSF expects. The documentation for -var-list-children is here: http://sourceware.org/gdb/current/onlinedocs/gdb_26.html#SEC449 Which shows: -var-list-children n ^done,numchild=n,children=[{name=name, numchild=n,type=type},(repeats N times)] Here is example GDB/MI output: 21-var-list-children var1 21^done,numchild="1",children=[child={name="var1.public",exp="public",numchild="2"}] Notice the "child=" is present in actual implementations, but is missing from the documentation. Also the Cygwin GDB output shows an "exp" result in the child definition. This is not documented either.