From: Simon Marchi <simark@simark.ca>
To: Andrew Burgess <aburgess@redhat.com>,
Simon Marchi <simon.marchi@efficios.com>,
gdb-patches@sourceware.org
Subject: Re: [PATCH 2/2] gdb/guile: remove unused escape_symbol variable
Date: Fri, 20 Nov 2026 21:43:30 -0500 [thread overview]
Message-ID: <66fd3284-fd74-49ee-965e-b48f382ea77d@simark.ca> (raw)
In-Reply-To: <xhuyfeccfxvlg.fsf@aburgess-thinkpadp1gen8.rmtgb.csb>
On 11/20/26 12:26 PM, Andrew Burgess wrote:
> Simon Marchi <simon.marchi@efficios.com> writes:
>
>> Building GDB with a recent clang fails with:
>>
>> /home/smarchi/src/binutils-gdb/gdb/guile/scm-value.c:78:12: error: variable 'escape_symbol' set but not used [-Werror,-Wunused-but-set-global]
>>
>> value->string only accepts 'error and 'substitute for its #:errors
>> argument, so the 'escape symbol is never used. It has been unused since
>> commit ed3ef33944c3 ("Add Guile as an extension language.",
>> 2014-02-09). Remove it.
>
> LGTM
>
> Approved-By: Andrew Burgess <aburgess@redhat.com>
>
> Thanks,
> Andrew
Thanks, pushed both.
Simon
next prev parent reply other threads:[~2026-11-21 2:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 16:06 [PATCH 1/2] gdb/guile: remove unused orig_*_port_scm variables Simon Marchi
2026-10-19 16:06 ` [PATCH 2/2] gdb/guile: remove unused escape_symbol variable Simon Marchi
2026-11-20 17:26 ` Andrew Burgess
2026-11-21 2:43 ` Simon Marchi [this message]
2026-11-20 17:27 ` [PATCH 1/2] gdb/guile: remove unused orig_*_port_scm variables Andrew Burgess
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=66fd3284-fd74-49ee-965e-b48f382ea77d@simark.ca \
--to=simark@simark.ca \
--cc=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=simon.marchi@efficios.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