From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH 05/10] [gdb] Add missing i18n support to errors strings (part 5)
Date: Sun, 7 Jun 2026 08:00:36 +0200 [thread overview]
Message-ID: <20260607060041.410491-6-tdevries@suse.de> (raw)
In-Reply-To: <20260607060041.410491-1-tdevries@suse.de>
Add missing i18n support to some multi-line error strings.
---
gdb/solib-rocm.c | 4 ++--
gdbserver/win32-low.cc | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gdb/solib-rocm.c b/gdb/solib-rocm.c
index 34cb2bb9e57..3a58a46d886 100644
--- a/gdb/solib-rocm.c
+++ b/gdb/solib-rocm.c
@@ -731,8 +731,8 @@ rocm_solib_ops::bfd_open (const char *pathname) const
if (amd_dbgapi_architecture_get_info
(architecture_id, AMD_DBGAPI_ARCHITECTURE_INFO_NAME,
sizeof (arch_name), &arch_name) != AMD_DBGAPI_STATUS_SUCCESS)
- error ("amd_dbgapi_architecture_get_info call failed for arch "
- "%#02x.", gfx_arch);
+ error (_("amd_dbgapi_architecture_get_info call failed for arch "
+ "%#02x."), gfx_arch);
gdb::unique_xmalloc_ptr<char> arch_name_cleaner (arch_name);
error (_("'%s': AMDGCN architecture %s not supported."),
diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc
index 5ffab38e6ee..1931c66871f 100644
--- a/gdbserver/win32-low.cc
+++ b/gdbserver/win32-low.cc
@@ -796,8 +796,8 @@ resume_one_thread (thread_info *thread, bool step, gdb_signal sig,
if (the_low_target.single_step != NULL)
(*the_low_target.single_step) (th);
else
- error ("Single stepping is not supported "
- "in this configuration.\n");
+ error (_("Single stepping is not supported "
+ "in this configuration.\n"));
}
win32_set_thread_context (th);
--
2.51.0
next prev parent reply other threads:[~2026-06-07 6:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-07 6:00 [PATCH 00/10] [gdb] Add some missing i18n support Tom de Vries
2026-06-07 6:00 ` [PATCH 01/10] [gdb] Add missing i18n support to error strings (part 1) Tom de Vries
2026-06-07 6:00 ` [PATCH 02/10] [gdb] Add missing i18n support to error strings (part 2) Tom de Vries
2026-06-09 16:56 ` Tom Tromey
2026-06-10 6:10 ` Tom de Vries
2026-06-07 6:00 ` [PATCH 03/10] [gdb] Add missing i18n support to error strings (part 3) Tom de Vries
2026-06-07 6:00 ` [PATCH 04/10] [gdb] Add missing i18n support to error strings (part 4) Tom de Vries
2026-06-07 6:00 ` Tom de Vries [this message]
2026-06-07 6:00 ` [PATCH 06/10] [gdb] Add missing i18n support to warning strings (part 1) Tom de Vries
2026-06-07 6:00 ` [PATCH 07/10] [gdb] Add missing i18n support to warning strings (part 2) Tom de Vries
2026-06-07 6:00 ` [PATCH 08/10] [gdb] Add missing i18n support to warning strings (part 3) Tom de Vries
2026-06-07 6:00 ` [PATCH 09/10] [gdb] Add missing i18n support to warning strings (part 4) Tom de Vries
2026-06-09 17:00 ` Tom Tromey
2026-06-07 6:00 ` [PATCH 10/10] [gdb] Add missing i18n support to warning strings (part 5) Tom de Vries
2026-06-09 17:01 ` [PATCH 00/10] [gdb] Add some missing i18n support Tom Tromey
2026-06-10 7:03 ` Tom de Vries
2026-06-10 13:21 ` Tom Tromey
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=20260607060041.410491-6-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