From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id E11A23857715 for ; Tue, 20 Jun 2023 13:43:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E11A23857715 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org 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 1qBbdw-0001GH-IS; Tue, 20 Jun 2023 09:43:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=esr5d5WhPSc+8T+a/BdA19Ei3wwp1jUxON6dcF1TnqY=; b=DZXsJBy/lBOv 8vuKE7jUfchzlpHP/8ARCAVE7dEC/iUIWMaMPU0lm9MTTGBAR0h8cpextcqPxH5gS/YuAdqsmrH/5 hPTdqkkioRQN6ku+CaN0ThejjFI6Zj1tPtH3dpR0xrgEF9lcWLlgnrbAco72f+QazVzWk45OOPdAw JLU1+FMyAgl+t5OVLZbZGjOJcOanWnpacN2QzJ4sSV+xp0n3jcyMXlUYuxjDRuq9JhBIEeG5JSG4a SQ6pf4YQX6VKg9Ahv/Mm4ZdxXfmav8vZ/QtuywXZxGkqhl7DhRLvmEq/Sk/BQLZLlebtWcUOnoCHu 7oZaPpGGtJQsCaob0GkFeA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBbdv-0003IE-L7; Tue, 20 Jun 2023 09:43:36 -0400 Date: Tue, 20 Jun 2023 16:43:43 +0300 Message-Id: <83ttv25jw0.fsf@gnu.org> From: Eli Zaretskii To: Bruno Larsen Cc: gdb-patches@sourceware.org In-Reply-To: <20230620122910.2459069-3-blarsen@redhat.com> (message from Bruno Larsen via Gdb-patches on Tue, 20 Jun 2023 14:29:12 +0200) Subject: Re: [PATCH 2/3] gdb/cli: Improve UX when using list with no args References: <20230620122910.2459069-1-blarsen@redhat.com> <20230620122910.2459069-3-blarsen@redhat.com> X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Cc: Bruno Larsen > Date: Tue, 20 Jun 2023 14:29:12 +0200 > From: Bruno Larsen via Gdb-patches > > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -78,6 +78,11 @@ > functionality is also available for dprintf when dprintf-style is > 'gdb'. > > +* Using the 'list' command with no arguments in a situation where the > + command would attempt to list past the end of the file, instead of > + erroring out, it will now warn the user that the end of file has been > + reached and the default location. ^^^^^^^^^^^^^^^^^^^^^^^^ What is that "and the default location" part about? It looks misplaced. Thanks.