This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] new setting to not-print frame arguments values
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 08 Nov 2007 06:17:03 +0200
- Subject: Re: [RFC] new setting to not-print frame arguments values
- References: <20071108011940.GI3911@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 7 Nov 2007 17:19:40 -0800
> From: Joel Brobecker <brobecker@adacore.com>
>
> We would like to propose the inclusion of a new setting:
>
> (gdb) set print frame-arguments (all|scalars|none)
>
> The effect would be:
>
> (a) set print frame-arguments all
> print all argument values. Same behavior as before.
>
>
> (b) set print frame-arguments scalars
> print the argument value only if the argument is a scalar.
>
> (c) set print frame-arguments none
> Print no argument value at all.
>
> When the argument value is not printed, its value is substituted
> with "..." to give the user a clue that the value has intentionally
> not been printed.
I'm okay with the idea.