Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* MI: -var-list-children doc error
@ 2009-06-17 17:14 Chris Genly
  2009-06-17 17:29 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Genly @ 2009-06-17 17:14 UTC (permalink / raw)
  To: gdb

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.


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

end of thread, other threads:[~2009-06-17 17:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-17 17:14 MI: -var-list-children doc error Chris Genly
2009-06-17 17:29 ` Eli Zaretskii
2009-06-17 17:32   ` Chris Genly
2009-06-17 17:41     ` Eli Zaretskii

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