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: [RFC] Change "set print frame-arguments"'s default to scalars


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> This is a slight change in behavior that we made at AdaCore
Joel> which everyone seemed to have enjoyed.  The proposal is to
Joel> change the default for "set print frame-arguments" to "scalars"
Joel> in order to unclutter frames a bit.

Joel> So I don't think this change would impact C users much. I'm not
Joel> sure about C++, in particular I'm not sure about how
Joel> classes/objects are passed.

I implemented something vaguely similar to this as part of the Python
pretty-printing work.  I did not know about the frame-arguments
parameter, so I added a new "summary" flag in value_print_options, and
I have the pretty-printers print just part of complex structure
arguments.

So, I think your patch is reasonable (though it needs a doc update
:-).  I'll rework the pretty-printing stuff a bit to use
frame-arguments.

Tom


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