From: Chris Genly <chgenly@gmail.com>
To: gdb-patches@sourceware.org
Subject: gdb.texinfo patch for -var-list-children
Date: Wed, 17 Jun 2009 20:48:00 -0000 [thread overview]
Message-ID: <ed4903890906171348o70235199t8668323171f2dc65@mail.gmail.com> (raw)
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 <chris@genly.us>
* 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
next reply other threads:[~2009-06-17 20:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 20:48 Chris Genly [this message]
2009-06-18 14:42 ` Eli Zaretskii
2009-06-20 4:12 ` Chris Genly
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=ed4903890906171348o70235199t8668323171f2dc65@mail.gmail.com \
--to=chgenly@gmail.com \
--cc=gdb-patches@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