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 027EA3857704 for ; Tue, 2 May 2023 15:45:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 027EA3857704 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 156C31FD72; Tue, 2 May 2023 15:45:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683042355; 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=3GapcQ5FQF6d4dYQuVrJqUox+GWAItVnY3sOfZOCKds=; b=TfHObCF633o95zZbHM60LPcieoLlhZ8xaW9RiIOHuMc6VBhnFs+pnssq7S+iyDlWmzkyIe jPeKhEUkT6bA4INaBnkevWIB98uAalkF68V0zEJqtLaEu/O63PTJ2zcj+Y5FGoxpi+AaTJ wEBMtk4Lld1K2iw3jFQhaugZ7O+TZm0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683042355; 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=3GapcQ5FQF6d4dYQuVrJqUox+GWAItVnY3sOfZOCKds=; b=2f5pcFgQjTpJ2Y5s7YhnFPpRv8Z/1B++bn+qb3yfQbXae9b34y+ylneDPlBmxOaA3KHgSd wGxYGGZ4TCDJHLBQ== 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 F062C134FB; Tue, 2 May 2023 15:45:54 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 9OGFOTIwUWTRKgAAMHmgww (envelope-from ); Tue, 02 May 2023 15:45:54 +0000 Message-ID: <0f29d248-ea37-d2a0-f013-9e087cbf0733@suse.de> Date: Tue, 2 May 2023 17:46:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: [PING] [PATCH] [gdb/testsuite] Use verbose -log for "GDB initialized" Content-Language: en-US To: John Baldwin , 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> <6e123fa8-5619-361a-adae-ff115bdfa0e3@suse.de> From: Tom de Vries In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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/19/23 16:04, Tom de Vries via Gdb-patches wrote: > [ was: Re: [PATCH] [gdb/testsuite] Add -q to INTERNAL_GDBFLAGS ] > > On 4/10/23 21:40, John Baldwin wrote: >> On 4/7/23 1:25 AM, Tom de Vries via Gdb-patches wrote: >>> 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 >> >> I would prefer this type of approach for the "start of a session" >> sentinel. >> > > Hi John, > > does this patch (currently testing) address your concern? > Ping. Thanks, - Tom