From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id bJCzKmKbQGFxQwAAWB0awg (envelope-from ) for ; Tue, 14 Sep 2021 08:53:54 -0400 Received: by simark.ca (Postfix, from userid 112) id 9C7671EE25; Tue, 14 Sep 2021 08:53:54 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 06D0D1EE14 for ; Tue, 14 Sep 2021 08:53:54 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 55F893858039 for ; Tue, 14 Sep 2021 12:53:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55F893858039 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1631624033; bh=cq/8zkjfFtjA/E+uS9z0CoIV7ygxLsdiBlY0Vi+uXbg=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=LTRCKFEbAh318G6BJMREXiIiY154bg4t+Xol2A6Z2LR0DBmf2UKuAzpn3xkQiaxVr /STlCwlaH6bz7EClhpUhjx478KrhLnOQMTaP7b3p/tAsbOB5U2xayU4mZodsRTF6ih 9/+H6oqZHCS4FjSFqecdAmUhDmZAvgRhUH3tUqe8= Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id AFF893858436 for ; Tue, 14 Sep 2021 12:53:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AFF893858436 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 E0D66220DB for ; Tue, 14 Sep 2021 12:53:07 +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 BFC7A13B8A for ; Tue, 14 Sep 2021 12:53:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id V0BZKjObQGEtOgAAMHmgww (envelope-from ) for ; Tue, 14 Sep 2021 12:53:07 +0000 Date: Tue, 14 Sep 2021 14:53:05 +0200 To: gdb-patches@sourceware.org Subject: [committed][gdb/testsuite] Fix gdb_load_no_complaints with gnu-debuglink Message-ID: <20210914125259.GA7837@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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: , From: Tom de Vries via Gdb-patches Reply-To: Tom de Vries Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Hi, When running test-case gdb.dwarf2/dw2-ranges-psym-warning.exp with target board gnu-debuglink I run into: ... (gdb) file dw2-ranges-psym-warning^M Reading symbols from dw2-ranges-psym-warning...^M Reading symbols from .debug/dw2-ranges-psym-warning.debug...^M (gdb) FAIL: gdb.dwarf2/dw2-ranges-psym-warning.exp: No complaints ... Fix this by updating the regexp in gdb_load_no_complaints. Tested on x86_64-linux. Committed to trunk. Thanks, - Tom [gdb/testsuite] Fix gdb_load_no_complaints with gnu-debuglink --- gdb/testsuite/lib/gdb.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 926c33293d2..929e6b1650a 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -5406,8 +5406,8 @@ proc gdb_load_no_complaints { arg } { # Verify that there were no complaints. set re \ [multi_line \ - "^Reading symbols from \[^\r\n\]*" \ - "(Expanding full symbols from \[^\r\n\]*" \ + "^(Reading symbols from \[^\r\n\]*" \ + ")+(Expanding full symbols from \[^\r\n\]*" \ ")?$gdb_prompt $"] gdb_assert {[regexp $re $gdb_file_cmd_msg]} "No complaints" }