This is the mail archive of the gdb-patches@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]

Re: set print object on should affect MI varobjs (PR mi/13393)



+would be printed by the @value{GDBN} CLI.  Note that if
+@samp{set print object} setting is set the @emph{actual} (derived) type
+of the object is set rather than @emph{declared} one.
"setting is set" is not right.  I actually don't understand what you
tried to say; if you explain your intent, I will suggest a better
wording.
I meant that "set print object on/off" will also affect the "type" field returned by -var-create and -var-list-children.
Probably, it should be an "option" not "setting". The result will look like this:


+would be printed by the @value{GDBN} CLI.  Note that if
+@samp{set print object} option is set the @emph{actual} (derived) type
+of the object is set rather than @emph{declared} one.


Is it ok?
+The type of the child. Note that if @samp{set print object} setting is
                         ^^
Two spaces here, please.
Fixed.


P.S. I have also found a mistake in my gdb/doc/Changelog. It should be "-var-create and -var-list-children" instead of "-var-create and -var-update". Fixed.



Anton.



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