From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id pDJ6MqGEMmk2IRoAWB0awg (envelope-from ) for ; Fri, 05 Dec 2025 02:07:13 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=GAdC57y7; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id BDBF01E048; Fri, 05 Dec 2025 02:07:13 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from sourceware.org (vm01.sourceware.org [38.145.34.32]) (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 952DF1E048 for ; Fri, 05 Dec 2025 02:07:12 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 027464C3185F for ; Fri, 5 Dec 2025 07:07:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 027464C3185F Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=GAdC57y7 Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by sourceware.org (Postfix) with ESMTPS id D013E4BCA420 for ; Fri, 5 Dec 2025 07:06:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D013E4BCA420 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D013E4BCA420 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.51.188.92 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764918406; cv=none; b=KSib2C1xrWgdK8lj5rFQYKMyqtEim2O3Nc//kvzNWmtq74fwMatosFpaigrzxv4wKkLMAy91/nBer7qlCa1EvIK+1xapwXv60XY0dwtyRXsEaWp12FSzhTBQcyL5DG5PBB6cMw6LHwF5uf7dNdzEicGKRbpzb4/bSPQ0jcKO18Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764918406; c=relaxed/simple; bh=CMwXLRzA9WXS3sV2E/ayifvqzhhZg0nFkOo3F0beMHE=; h=DKIM-Signature:Date:Message-Id:From:To:Subject:MIME-version; b=bBYT1jWSlkDzi8RIKUtSz3N9QZCtc9wpRY70Ao4Ay182lYi2befiReZ0bsSEIxkYKa+Vg14rTr/YXKviOvRIWZ8KVl1yPskA8Zb5C0hDlmia0AKhv+H24GDI4Bo9zCQnvq6xfOqoqxOrEWJtAK5yNszrfUr/WBWDqJ8FiS9j+iA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D013E4BCA420 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vRPtt-0002pG-2U; Fri, 05 Dec 2025 02:06:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=wCNmm0NOrI1AFENiuFnNLFzVDP+Tax+bjO7d8jGNeh4=; b=GAdC57y7iHsUlaRZzgJ8 imY58zIxVH+4SX5Yo6zd7gN6yXbIVwUxd9pL4iTLx6bPWvFQwNN0LEmVY7utUUZnO/m4phyh5OHuo h+Ogt0Ej3RA8E2qwDii2xsR5v/c9fJW+vRxnRJpK1dcPSbzN3kqxweqKCDLt/r8GWreWbKMgOq5fE 4DN6LUE18Plulwm4hrJA4e+4RbQgQRU5NYx3UBNAgOqqZqRmuRTokW0E3mSHSO+SA6OFE558v+amQ vK0F3zRT3p8GF4JZS+c6LVBWU7vH08jvvdHOzxmphmtKh48UYTVjY6fyKGEJpNjOt3tq0f4BpzFqL nj1h/c0cvq6j7w==; Date: Fri, 05 Dec 2025 09:06:43 +0200 Message-Id: <86o6odz9to.fsf@gnu.org> From: Eli Zaretskii To: Andrew Burgess Cc: gdb-patches@sourceware.org, guinevere@redhat.com In-Reply-To: <4b43725ed933401645977e62651334d7510390a5.1764877519.git.aburgess@redhat.com> (message from Andrew Burgess on Thu, 4 Dec 2025 19:47:25 +0000) Subject: Re: [PATCH 2/2] gdb: fix crashes and weird output from new boxed hint text References: <4b43725ed933401645977e62651334d7510390a5.1764877519.git.aburgess@redhat.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 > From: Andrew Burgess > Cc: Andrew Burgess , > Guinevere Larsen > Date: Thu, 4 Dec 2025 19:47:25 +0000 > > After the commit: > > commit f6df8aa48f120b78f0670b429f8a3363020a47dc > Date: Mon Sep 15 11:56:17 2025 -0300 > > gdb: Make startup message more user friendly > > I noticed, that when I start GDB with a file on the command line, I > was seeing some stray '..'. Like this: > > $ gdb -nw -nh /tmp/hello.x > GNU gdb (GDB) 18.0.50.20251202-git > Copyright (C) 2025 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > Type "show copying" and "show warranty" for details. > This GDB was configured as "x86_64-pc-linux-gnu". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > . > > ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ > ┃ Find the GDB manual online at: ┃ > ┃ http://www.gnu.org/software/gdb/documentation/. ┃ > ┃ For help, type "help". ┃ > ┃ Type "apropos " to search for commands related to ┃ > ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ > .. > Reading symbols from /tmp/hello.x... > > Notice the '..' after the boxed hint text, that's what I'm complaining > about. > > Before the above commit these '..' used to appear after the line: > > Type "apropos " to search for commands related to > > The '..' are added to show that a file is being loaded, and that this > might take some time. But we have the 'Reading symbols from ...' text > to indicate this now, so I think these extra '..' are redundant. Lets > just drop them. But the single period will still be there, right? IOW, that line will, after applying the patch, look like this: Type "apropos word" to search for commands related to "word". with the single period at its end, right? What you wrote above could be interpreted as meaning there will be no periods at all, which IMO would be sub-optimal, and inconsistent with the line we show before, which says For help, type "help". and correctly ends in a period. Thanks.