From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 131E33858027 for ; Mon, 15 Nov 2021 11:22:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 131E33858027 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 4B2071FD66; Mon, 15 Nov 2021 11:22:44 +0000 (UTC) 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 339F313DF2; Mon, 15 Nov 2021 11:22:44 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yJ8CCwRDkmFGQwAAMHmgww (envelope-from ); Mon, 15 Nov 2021 11:22:44 +0000 Subject: Re: [pushed] [gdb/testsuite] Fix regexp in gdb.base/foll-vfork.exp To: Simon Marchi , gdb-patches@sourceware.org References: <20211112161246.4178-1-tdevries@suse.de> <613d0d70-1542-c68c-c4b2-c81408ad039d@simark.ca> <1ff3b0fc-0761-db5a-03bb-5143c74e9dae@suse.de> From: Tom de Vries Message-ID: <3210db7b-2ea7-6bba-beeb-29a478724c1d@suse.de> Date: Mon, 15 Nov 2021 12:22:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <1ff3b0fc-0761-db5a-03bb-5143c74e9dae@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Mon, 15 Nov 2021 11:22:46 -0000 On 11/12/21 6:13 PM, Tom de Vries via Gdb-patches wrote: > On 11/12/21 5:18 PM, Simon Marchi wrote: >> On 2021-11-12 11:12 a.m., Tom de Vries via Gdb-patches wrote: >>> On OBS I ran into: >>> ... >>> (gdb) PASS: gdb.base/foll-vfork.exp: exit: \ >>> vfork relations in info inferiors: continue to child exit >>> info inferiors^M >>> Num Description Connection Executable ^M >>> 1 foll-vfork-exit ^M >>> * 2 foll-vfork-exit ^M >>> (gdb) I'm the proud parent of child #5044!^M >>> FAIL: gdb.base/foll-vfork.exp: exit: vfork relations in info inferiors: \ >>> vfork relation no longer appears in info inferiors (timeout) >>> ... >>> >>> Fix this by removing the '$' anchor in the corresponding '$gdb_prompt $' >>> regexps. >> >> Alternatively, can we just remove the "I'm the proud parent of..." >> printout? It doesn't seem to be used for anything useful. > > That's not a bad idea. I could put it under '#if DEBUG' or some such to > disable it by default. > Submitted here: https://sourceware.org/pipermail/gdb-patches/2021-November/183405.html . Thanks, - Tom