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 ESMTP id 4EBCA385DC00 for ; Sat, 4 Apr 2020 16:24:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4EBCA385DC00 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]:45955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jKlai-0004l1-FC; Sat, 04 Apr 2020 12:24:16 -0400 Received: from [176.228.60.248] (port=2589 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jKlah-0001tG-Ql; Sat, 04 Apr 2020 12:24:16 -0400 Date: Sat, 04 Apr 2020 19:24:07 +0300 Message-Id: <83zhbrte1k.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey Cc: gdb-patches@sourceware.org In-Reply-To: <20200404145422.19917-7-tom@tromey.com> (message from Tom Tromey on Sat, 4 Apr 2020 08:54:22 -0600) Subject: Re: [RFC 6/6] Add "set startup-quietly" References: <20200404145422.19917-1-tom@tromey.com> <20200404145422.19917-7-tom@tromey.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, 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: Sat, 04 Apr 2020 16:24:19 -0000 > From: Tom Tromey > Date: Sat, 4 Apr 2020 08:54:22 -0600 > Cc: Tom Tromey > > This adds a new command to change gdb to behave as though "-quiet" > were always given. This is done by creating a special sentinel file > in the config directory. > > 2020-03-28 Tom Tromey > > * tips: Add a tip. > * NEWS: Add entry. > * top.h (check_quiet_mode): Declare. > * top.c (startup_quiet, store_startup_quiet): New globals. > (QUIET_FILE): New define. > (check_quiet_mode, set_startup_quiet, show_startup_quiet): New > functions. > (init_main): Register new command. > * main.c (captured_main_1): Call check_quiet_mode. > > gdb/doc/ChangeLog > 2020-03-28 Tom Tromey > > * gdb.texinfo (Mode Options): Mention "set startup-quietly". Thanks, the documentation parts are OK. > +automatically saved by creating a special in a configuration ^^^ "file" seems to be missing there.