From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 7L78HqikLmCUUQAAWB0awg (envelope-from ) for ; Thu, 18 Feb 2021 12:32:24 -0500 Received: by simark.ca (Postfix, from userid 112) id 71B811EF7C; Thu, 18 Feb 2021 12:32:24 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 1CCEA1EE39 for ; Thu, 18 Feb 2021 12:32:24 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1CB7D386F824; Thu, 18 Feb 2021 17:32:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1CB7D386F824 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1613669543; bh=9+m9RnkgAE7jxknLpKN9g08bREZ/d9jlMkX3XgfRFkw=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=I3P65Tn/xac2j5X6bKOd/JMa6I0QrXGSkUmv6ixmhtQOnrGvJwjrRDcoD4wYXB417 sK0B0L2zhOD7Zrc2o2ae3SekZWUHciDIzhLGTEvjcrBBmJIXBdhAzgiuLGW7F+FgqP CFJlOqKaccrhcgQHuDiPSIfyBgSFO/tQt6db5eps= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 468DD3861004 for ; Thu, 18 Feb 2021 17:32:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 468DD3861004 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46892) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCnA4-0003E4-9H; Thu, 18 Feb 2021 12:32:20 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3895 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lCnA3-0001Ar-HU; Thu, 18 Feb 2021 12:32:20 -0500 Date: Thu, 18 Feb 2021 19:32:31 +0200 Message-Id: <8335xt5ljk.fsf@gnu.org> To: Andrew Burgess In-Reply-To: (message from Andrew Burgess on Thu, 18 Feb 2021 16:41:04 +0000) Subject: Re: [PATCHv3 3/3] gdb: add "set startup-quietly" command References: X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: tom@tromey.com, gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" > From: Andrew Burgess > Date: Thu, 18 Feb 2021 16:41:04 +0000 > Cc: Tom Tromey > > gdb/ChangeLog: > > * NEWS: Add entry. > * main.c (captured_main_1): Call check_quiet_mode. > * top.c (startup_quiet): New global. > (check_quiet_mode): New function. > (show_startup_quiet): New function. > (init_main): Register new command. > * top.h (check_quiet_mode): Declare. > > gdb/doc/ChangeLog: > > * gdb.texinfo (Mode Options): Mention "set startup-quietly". > > gdb/testsuite/ChangeLog: > > * gdb.base/startup-file.exp: Add more tests. The documentation parts are okay, except that... > +set startup-quietly on|off > +show startup-quietly > + When 'on', this causes GDB to act as if "-silent" were passed on the > + command line. This command needs to be added to an early > + initialization file (e.g. ~/.config/gdb/gdbearlyinit) in order to > + affect GDB. ^^^^^^^^^^^^ > [...] > +Set whether GDB should start up quietly."), _(" \ > +Show whether GDB should start up quietly."), _("\ > +This setting will not affect the current session. Instead this command\n\ > +should be added to the .gdbstartup file in the users home directory to\n\ ^^^^^^^^^^^ ...there seems to be a disagreement regarding the name of that early initialization file.