* 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
* Re: MI: -var-list-children doc error
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
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2009-06-17 17:29 UTC (permalink / raw)
To: Chris Genly; +Cc: gdb
> Date: Wed, 17 Jun 2009 10:07:29 -0700
> From: Chris Genly <chgenly@gmail.com>
>
> The documentation for -var-list-children does not match what Cygwin
> GDB produces, or Eclipse DSF expects.
Documentation patches are welcome.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MI: -var-list-children doc error
2009-06-17 17:29 ` Eli Zaretskii
@ 2009-06-17 17:32 ` Chris Genly
2009-06-17 17:41 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Chris Genly @ 2009-06-17 17:32 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: gdb
I can do that. Please direct me to the right files and let me know what formats.
On Wed, Jun 17, 2009 at 10:29 AM, Eli Zaretskii<eliz@gnu.org> wrote:
>> Date: Wed, 17 Jun 2009 10:07:29 -0700
>> From: Chris Genly <chgenly@gmail.com>
>>
>> The documentation for -var-list-children does not match what Cygwin
>> GDB produces, or Eclipse DSF expects.
>
> Documentation patches are welcome.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MI: -var-list-children doc error
2009-06-17 17:32 ` Chris Genly
@ 2009-06-17 17:41 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2009-06-17 17:41 UTC (permalink / raw)
To: Chris Genly; +Cc: gdb
> Date: Wed, 17 Jun 2009 10:32:44 -0700
> From: Chris Genly <chgenly@gmail.com>
> Cc: gdb@sourceware.org
>
> I can do that. Please direct me to the right files and let me know what formats.
The GDB manual's source is gdb/doc/gdb.texinfo. It's written in
Texinfo, but is almost pure text, so I think producing a patch will
not be difficult, even if you are not familiar with Texinfo. (If you
want to learn about Texinfo, typing "info texinfo" at your shell
prompt will most probably show you the Texinfo manual.)
Please post the patches to gdb-patches@sourceware.org.
Thanks.
^ 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