From: Chris Genly <chgenly@gmail.com>
To: gdb@sourceware.org
Subject: MI: -var-list-children doc error
Date: Wed, 17 Jun 2009 17:14:00 -0000 [thread overview]
Message-ID: <ed4903890906171007m263a6da8y7268f49db929e44f@mail.gmail.com> (raw)
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.
next reply other threads:[~2009-06-17 17:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 17:14 Chris Genly [this message]
2009-06-17 17:29 ` Eli Zaretskii
2009-06-17 17:32 ` Chris Genly
2009-06-17 17:41 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed4903890906171007m263a6da8y7268f49db929e44f@mail.gmail.com \
--to=chgenly@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox