This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

MI: -var-list-children doc error


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]