From: Simon Marchi Date: Mon, 16 Jun 2025 19:33:00 +0000 (-0400) Subject: gdb/solib: fix formatting of "info linker-namespaces" error message X-Git-Tag: binutils-2_45~220 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=021108382a84cc8ddfee2c249049d9ecca6a0ec6;p=thirdparty%2Fbinutils-gdb.git 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 --- diff --git a/gdb/solib.c b/gdb/solib.c index 4acabd9308d..396fd181e00 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>> all_solibs_to_print;