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 B79DE383E82B for ; Tue, 23 Jun 2020 14:46:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B79DE383E82B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=eliz@gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]:34799) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnkBh-0004JW-Ru; Tue, 23 Jun 2020 10:46:13 -0400 Received: from [176.228.60.248] (port=3323 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jnkBg-0001Fl-1x; Tue, 23 Jun 2020 10:46:13 -0400 Date: Tue, 23 Jun 2020 17:45:53 +0300 Message-Id: <83eeq5u9ge.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey Cc: gdb-patches@sourceware.org In-Reply-To: <20200623132006.15863-8-tom@tromey.com> (message from Tom Tromey on Tue, 23 Jun 2020 07:20:06 -0600) Subject: Re: [PATCH v2 7/7] Add "set startup-quietly" References: <20200623132006.15863-1-tom@tromey.com> <20200623132006.15863-8-tom@tromey.com> X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Tue, 23 Jun 2020 14:46:15 -0000 > From: Tom Tromey > Date: Tue, 23 Jun 2020 07:20:06 -0600 > Cc: Tom Tromey > > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -87,6 +87,13 @@ set style startup intensity VALUE > a special configuration file, so that it can be read during startup > and applied. > > +set startup-quietly on|off > +show startup-quietly > + When enabled, this causes GDB to act as if "-silent" were always > + passed on the command line. This saves the setting into a special > + configuration file, so that it can be read during startup and > + applied. OK for this part. > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -1124,6 +1124,19 @@ in your home directory. > ``Quiet''. Do not print the introductory and copyright messages. These > messages are also suppressed in batch mode. > > +This can also be enabled using @code{set startup-quietly on}. The > +default is @code{off}. Use @code{show startup-quietly} to see the > +current setting. Unlike most settings in @value{GDBN}, this one is > +automatically saved by creating a special file in a configuration > +directory. Please index the new commands using @kindex, as we do for every command. The documentation parts are OK with this nit fixed, thanks.