From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id F3D033858C39 for ; Thu, 7 Oct 2021 03:43:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F3D033858C39 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-out1.suse.de (Postfix) with ESMTPS id 281D9225B5; Thu, 7 Oct 2021 03:43:03 +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 1305E13C4A; Thu, 7 Oct 2021 03:43:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id qAzQAsdsXmFlMQAAMHmgww (envelope-from ); Thu, 07 Oct 2021 03:43:03 +0000 Subject: Re: [PATCH 2/2] [gdb/testsuite] Fix FAIL in gdb.base/annota1.exp To: Simon Marchi , gdb-patches@sourceware.org References: <20211006153307.15868-1-tdevries@suse.de> <20211006153307.15868-2-tdevries@suse.de> From: Tom de Vries Message-ID: Date: Thu, 7 Oct 2021 05:43:02 +0200 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: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.5 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: Thu, 07 Oct 2021 03:43:05 -0000 On 10/6/21 10:51 PM, Simon Marchi wrote: > On 2021-10-06 11:33 a.m., Tom de Vries via Gdb-patches wrote: >> On openSUSE tumbleweed I run into: >> ... >> FAIL: gdb.base/annota1.exp: run until main breakpoint (timeout) >> ... >> due to a message related to libthread_db: >> ... >> ^Z^Zstarting^M >> [Thread debugging using libthread_db enabled]^M >> Using host libthread_db library "/lib64/libthread_db.so.1".^M >> ^M >> ^Z^Zframes-invalid^M >> ... >> which is not matched by the regexp. >> >> Fix this by updating the regexp. >> >> Tested on x86_64-linux. > > The patches LGTM. Do you know why you see this message for a single > threaded program? Is it related to gcc/glibc now always linking against > libpthread (or libpthread being merged into libc, I don't remember)? > The latter, indeed. Thanks for the review. - Tom