aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2025-06-16 15:33:00 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2025-06-26 14:08:31 -0400
commit021108382a84cc8ddfee2c249049d9ecca6a0ec6 (patch)
tree18b8fc7f273ce997d3e269727d7da416c6cf5c5c /gdb
parentf9fca5aa58340fe3cedb3fdb742030690403a518 (diff)
downloadbinutils-021108382a84cc8ddfee2c249049d9ecca6a0ec6.zip
binutils-021108382a84cc8ddfee2c249049d9ecca6a0ec6.tar.gz
binutils-021108382a84cc8ddfee2c249049d9ecca6a0ec6.tar.bz2
gdb/solib: fix formatting of "info linker-namespaces" error message
Add spaces after the first period and add a period at the end, resulting in: (gdb) info linker-namespaces ❌️ Current inferior does not support linker namespaces. Use "info sharedlibrary" instead. Change-Id: Ib3f1647cedcdb68852a3c63df26ea3e6f791b1b1 Approved-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/solib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 4acabd9..396fd18 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -1163,8 +1163,8 @@ info_linker_namespace_command (const char *pattern, int from_tty)
/* This command only really makes sense for inferiors that support
linker namespaces, so we can leave early. */
if (ops->num_active_namespaces == nullptr)
- error (_("Current inferior does not support linker namespaces." \
- "Use \"info sharedlibrary\" instead"));
+ error (_("Current inferior does not support linker namespaces. "
+ "Use \"info sharedlibrary\" instead."));
struct ui_out *uiout = current_uiout;
std::vector<std::pair<int, std::vector<const solib *>>> all_solibs_to_print;