[binutils-gdb] [gdb] Add missing i18n support to errors strings (part 5)
Tom de Vries via Gdb-cvs <[email protected]> Tue, 9 Jun 2026 20:14:37 +0000 (GMT)
| Newsgroups | gmane.comp.gdb.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=635572ef07dce4a90c530dc7c18817e1a2107371 commit 635572ef07dce4a90c530dc7c18817e1a2107371 Author: Tom de Vries <[email protected]> Date: Tue Jun 9 22:14:07 2026 +0200 [gdb] Add missing i18n support to errors strings (part 5) Add missing i18n support to some multi-line error strings. Approved-By: Tom Tromey <[email protected]> Diff: --- 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);