From: Tom Tromey <tom@tromey.com>
To: Stephan Rohr <stephan.rohr@intel.com>
Cc: gdb-patches@sourceware.org, tom@tromey.com, simark@simark.ca
Subject: Re: [PATCH v3 1/1] gdb: Introduce new setting to filter out shadowed variables.
Date: Fri, 11 Sep 2026 14:02:08 -0600 [thread overview]
Message-ID: <87zexnwo8v.fsf@tromey.com> (raw)
In-Reply-To: <20260902120526.38859-2-stephan.rohr@intel.com> (Stephan Rohr's message of "Wed, 2 Sep 2026 12:05:26 +0000")
>>>>> Stephan Rohr <stephan.rohr@intel.com> writes:
> From: "Sargsyan, Eduard" <eduard.sargsyan@intel.com>
> Add a new setting 'print shadowed on|off' to control the printing of
> shadowed variables in 'info locals'. Add a new option '-shadowed
> on|off' to override this setting for the invocation of the command.
> When shadowed variables are present, each variable involved in a
> shadowing relationship is annotated with its declaration location
> '<file:line>'; the ones hidden by an inner declaration are additionally
> marked ', shadowed'.
Thanks. This looks good to me.
Approved-By: Tom Tromey <tom@tromey.com>
Tom
prev parent reply other threads:[~2026-09-11 20:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 12:05 [PATCH v3 0/1] gdb: add 'set print shadowed' to hide " Stephan Rohr
2026-09-02 12:05 ` [PATCH v3 1/1] gdb: Introduce new setting to filter out " Stephan Rohr
2026-09-11 20:02 ` Tom Tromey [this message]
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=87zexnwo8v.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=simark@simark.ca \
--cc=stephan.rohr@intel.com \
/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