From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id 201B33858D28 for ; Fri, 7 Apr 2023 08:25:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 201B33858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id AA69D1F892; Fri, 7 Apr 2023 08:25:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1680855903; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+VDBV5BQhjAPSSLRwgZMsEF9EUbxqDwksi++aRTxcEk=; b=F40WyPzDs92JI6849y7gQf1NZMNloaezVQG0BmDp0FR/OFBucSYMD+MzXtBfs2HHL9bATF mpkbYYya1nF78i06ZQ8x41BBmjZdDLeo1hPKtveJeV14Z5RKbVq0H0mTw9OcnFILdx5E03 onK6Y+Mbkzfv9cITkIArsw2d3ZI10kI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1680855903; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+VDBV5BQhjAPSSLRwgZMsEF9EUbxqDwksi++aRTxcEk=; b=PUZ9h2wL9lYeLSVzBWT/5BhnYqRjCV64EA0A1WueineYAOm66XI9GNl/5YdFSc4iqqH+QI 2xouEc7PZS4PmVCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 95B3A13911; Fri, 7 Apr 2023 08:25:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id GY5QI1/TL2QHAwAAMHmgww (envelope-from ); Fri, 07 Apr 2023 08:25:03 +0000 Message-ID: <6e123fa8-5619-361a-adae-ff115bdfa0e3@suse.de> Date: Fri, 7 Apr 2023 10:25:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH] [gdb/testsuite] Add -q to INTERNAL_GDBFLAGS Content-Language: en-US To: Simon Marchi , gdb-patches@sourceware.org References: <20230405183410.13468-1-tdevries@suse.de> <8ca29409-2a43-c4a1-ebbe-02ae519b79e4@simark.ca> <62b4adb5-b810-c2a1-8c62-8f2347243971@suse.de> From: Tom de Vries In-Reply-To: <62b4adb5-b810-c2a1-8c62-8f2347243971@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-13.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 4/7/23 09:25, Tom de Vries via Gdb-patches wrote: >> Not having the license text makes it a little less obvious in the log >> when gdb has been restarted, so that might be a bit more confusing. > > Ack, true. And if you want something more verbose, we could always do some variant of: ... diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 7538071d1cf..4743150a878 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2305,7 +2305,7 @@ proc default_gdb_start { } { } -re "^$gdb_prompt $" { # Output with -q. - verbose "GDB initialized." + verbose -log "GDB initialized." } -re "^\033\\\[.2004h$gdb_prompt $" { # Output with -q, and bracketed paste mode enabled, see above. ... to get: ... PASS: gdb.threads/attach-many-short-lived-threads.exp: successfully compiled posix threads test case builtin_spawn /data/vries/gdb/leap-15-4/build/gdb/testsuite/../../gdb/gdb -nw -nx -q -iex set height 0 -iex set width 0 -data-directory /data/vries/gdb/leap-15-4/build/gdb/data-directory^M (gdb) GDB initialized. set height 0^M (gdb) set width 0^M ... Thanks, - Tom