From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id aSrRLjSFXWjvhSAAWB0awg (envelope-from ) for ; Thu, 26 Jun 2025 13:36:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1750959412; bh=b0tSHhZ/Vsh89LQD4ZegFFzZVncU0obD6FBsmPPlQ2c=; h=Date:Subject:To:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ZzSnnshx0r50v1JaEnZ/aFvsnHGrN9I4JKrRXuYpKBcUqNnaa0bznW8ggFcZAmV8W aN0ey3cDvzSkgKf3hBvAUuhfAtCF8jMxA3XMSFJLR4q3i4N4Kyr7WxJfDeAbtsOb1W ut4VdRqD9gZiuhyjdBdy17YAo7B1IvrzqGDUpEjU= Received: by simark.ca (Postfix, from userid 112) id 988821E11E; Thu, 26 Jun 2025 13:36:52 -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.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=h6JcM+EQ; dkim=pass (1024-bit key) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=cXE8pfTf; dkim-atps=neutral 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 1BD6A1E0C2 for ; Thu, 26 Jun 2025 13:36:52 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B25083854A86 for ; Thu, 26 Jun 2025 17:36:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B25083854A86 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=h6JcM+EQ; dkim=pass (1024-bit key) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=cXE8pfTf Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 37009385C6FF for ; Thu, 26 Jun 2025 17:35:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 37009385C6FF Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 37009385C6FF 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=1750959310; cv=none; b=Kl0t4ubZonZbbrjoEfIRQsMgBD09m3HRPVdMj3cOQ/ru6xGiqmapdMougiTCK5Qyxgv06WoMp+CGEr23S/MIsDTnES6EtTUNDv1SVy+w+GJHfN3IwwJ3gEH+pq5d8q/Sx7vnTw5TzVU0KzdbdiNMPzkrz9Ju7pKNz6FNZApx9Aw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1750959310; c=relaxed/simple; bh=b0tSHhZ/Vsh89LQD4ZegFFzZVncU0obD6FBsmPPlQ2c=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:MIME-Version: Subject:To:From; b=KsJ0ma/A2XulhfQ2p7YsxDzi9zRkbYPpg8+ra2Mte1XEKbvxlIN41bjBXFdRo3JnJVMpK8nhvJE557ZhSo6TtLFLfDCDWXSQZiQ3cUTwfBu6mgaQbjinSa9HCtRZEPqXRxcDPRaoQ4QIBbvOdh/swtSAiSyRNij0FottvQ4yRVI= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37009385C6FF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1750959309; bh=b0tSHhZ/Vsh89LQD4ZegFFzZVncU0obD6FBsmPPlQ2c=; h=Date:Subject:To:References:From:In-Reply-To:From; b=h6JcM+EQusAcykUBuEqYHZX4X4bqyRiTc2/4zHZ+RKFuSTSTk1uHjyrseyy0HgzfL c2XYcIYN0scAHZv84NTE9psLbNzyj59hrF1/NZpZILbfa02qDWk4Sz29jKmoLGadwv yer7Ub0snW6sbPhfr31CJA4Lz26iSquNE6M6uAGs= Received: by simark.ca (Postfix, from userid 112) id B876C1E11F; Thu, 26 Jun 2025 13:35:09 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1750959308; bh=b0tSHhZ/Vsh89LQD4ZegFFzZVncU0obD6FBsmPPlQ2c=; h=Date:Subject:To:References:From:In-Reply-To:From; b=cXE8pfTfxdlRoA5omm4aCwHpKVAN+cEt32afzxY+P1KOJeeQH4axMcaBHVqEcDp9v I9RyIbgkkUqLyQEeW45VlDCRXlK6nfEkbwpMbeywgIdti98R5oL2JEQ1fZGvxHsj00 wHFd9NmS9yvG1+05pE5meGyDREaXVqjI5aovu+BY= Received: from [10.0.0.11] (modemcable238.237-201-24.mc.videotron.ca [24.201.237.238]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id A977B1E0C2; Thu, 26 Jun 2025 13:35:08 -0400 (EDT) Message-ID: <6b8aef1c-1c5a-4181-9692-7d07285184f7@simark.ca> Date: Thu, 26 Jun 2025 13:35:08 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/6] gdb/solib: fix formatting of "info linker-namespaces" error message To: Pedro Alves , Simon Marchi , gdb-patches@sourceware.org References: <20250616193443.16703-1-simon.marchi@efficios.com> <20250616193443.16703-2-simon.marchi@efficios.com> <083adb1c-55b6-4cb2-836a-897b250d808b@palves.net> Content-Language: en-US From: Simon Marchi In-Reply-To: <083adb1c-55b6-4cb2-836a-897b250d808b@palves.net> 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 On 2025-06-20 14:12, Pedro Alves wrote: > On 2025-06-16 20:33, Simon Marchi wrote: >> 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.")); >> > > You could remove the useless continuation backslash too, while at it. Thanks, done. Simon