From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id aM8JBRVyUGhiEhEAWB0awg (envelope-from ) for ; Mon, 16 Jun 2025 15:35:49 -0400 Received: by simark.ca (Postfix, from userid 112) id 0EF2D1E11E; Mon, 16 Jun 2025 15:35:49 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-9.0 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE autolearn=unavailable autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 865AF1E089 for ; Mon, 16 Jun 2025 15:35:48 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 152FD3893771 for ; Mon, 16 Jun 2025 19:35:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 152FD3893771 Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id A3C3D3893764 for ; Mon, 16 Jun 2025 19:34:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A3C3D3893764 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=efficios.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=efficios.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A3C3D3893764 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1750102488; cv=none; b=uSxMir8n34mcXyfgTWphQ1vimIR8SmM8gZyKeFP37Bqm1mWPP2t4bfQDsFynzI2MOZpsYurC7dNx5gqTbkpp8oSsrn8nMWNkrRoF727J9a+VWkjiGQFaZiYdTVjDmWQU1qMJWJinJHwl12B1w+/dasBovFsf+qUWDPe3e7/yKpI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1750102488; c=relaxed/simple; bh=g0n966yiumsRuB3DNREa2/8MLJrN0pD4V/So2TkZOAs=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=lNAQsAexJsRXve/CIy7DQsToLrDCJExL33WgszJuAvEghb6RCbPvNOo3Cc+4SSpKmmOOGEJabWWm3pjMNtZxFP3mtWRQ4NY3QgOmKhCtcf/z7Q0hL2d/cpy6eHqhbGk5jX7dftbDuO84o95n6bVQ0FiQVRHrf7PYEGsr1qEU+eQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3C3D3893764 Received: by simark.ca (Postfix, from userid 112) id 5F6941E12B; Mon, 16 Jun 2025 15:34:48 -0400 (EDT) Received: from localhost.localdomain (modemcable238.237-201-24.mc.videotron.ca [24.201.237.238]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id B9EAC1E102; Mon, 16 Jun 2025 15:34:45 -0400 (EDT) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH v3 2/6] gdb/solib: fix formatting of "info linker-namespaces" error message Date: Mon, 16 Jun 2025 15:33:00 -0400 Message-ID: <20250616193443.16703-2-simon.marchi@efficios.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250616193443.16703-1-simon.marchi@efficios.com> References: <20250616193443.16703-1-simon.marchi@efficios.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org This patch is new in v3. 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 --- gdb/solib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/solib.c b/gdb/solib.c index 7721fd673ae3..90e7b906222c 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; -- 2.49.0