Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* gdb.texinfo patch for -var-list-children
@ 2009-06-17 20:48 Chris Genly
  2009-06-18 14:42 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Genly @ 2009-06-17 20:48 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-20  4:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-17 20:48 gdb.texinfo patch for -var-list-children Chris Genly
2009-06-18 14:42 ` Eli Zaretskii
2009-06-20  4:12   ` Chris Genly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox