From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH v2 2/3] [gdb] Fix warnings in gdb_buildall.sh
Date: Mon, 31 Aug 2026 09:41:54 +0200 [thread overview]
Message-ID: <20260831074155.3500918-3-tdevries@suse.de> (raw)
In-Reply-To: <20260831074155.3500918-1-tdevries@suse.de>
I ran into these warnings with gdb/gdb_buildall.sh:
...
./src/gdb/gdb_buildall.sh: line 27: warning: setlocale: LC_ALL: \
cannot change locale (c): No such file or directory
./src/gdb/gdb_buildall.sh: line 27: warning: setlocale: LC_ALL: \
cannot change locale (c): No such file or directory
...
Fix this by using 'C' instead of 'c'.
---
gdb/gdb_buildall.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdb/gdb_buildall.sh b/gdb/gdb_buildall.sh
index 65935ae10b2..57211ca887a 100644
--- a/gdb/gdb_buildall.sh
+++ b/gdb/gdb_buildall.sh
@@ -23,8 +23,8 @@
# Based on gdb_mbuild.sh from Richard Earnshaw.
-LANG=c ; export LANG
-LC_ALL=c ; export LC_ALL
+LANG=C ; export LANG
+LC_ALL=C ; export LC_ALL
# Prints a usage message.
usage()
--
2.51.0
next prev parent reply other threads:[~2026-08-31 7:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 7:41 [PATCH v2 0/3] [gdb] Three gdb_buildall.sh fixes Tom de Vries
2026-08-31 7:41 ` [PATCH v2 1/3] [gdb] Use --data-directory in gdb_buildall.sh Tom de Vries
2026-08-31 7:41 ` Tom de Vries [this message]
2026-08-31 7:41 ` [PATCH v2 3/3] [gdb] Make gdb_buildall.sh shellcheck-clean Tom de Vries
2026-09-14 21:32 ` [PATCH v2 0/3] [gdb] Three gdb_buildall.sh fixes Tom de Vries
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=20260831074155.3500918-3-tdevries@suse.de \
--to=tdevries@suse.de \
--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