From: Tom Tromey <tromey@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] Change "set print frame-arguments"'s default to scalars
Date: Wed, 25 Mar 2009 00:10:00 -0000 [thread overview]
Message-ID: <m37i2e31m6.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20090324212730.GU9472@adacore.com> (Joel Brobecker's message of "Tue\, 24 Mar 2009 14\:27\:30 -0700")
>>>>> "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
next prev parent reply other threads:[~2009-03-25 0:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 21:40 Joel Brobecker
2009-03-25 0:10 ` Tom Tromey [this message]
2009-03-25 21:44 ` Thiago Jung Bauermann
2009-03-27 17:34 ` Tom Tromey
2009-03-31 20:42 ` Doug Evans
2009-04-01 22:11 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m37i2e31m6.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox