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 50F173858C74 for ; Mon, 27 Mar 2023 11:59:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 50F173858C74 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 237CA1FDC3 for ; Mon, 27 Mar 2023 11:59:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1679918340; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v/fvbDhFRswqUxiZNvcKnxASQIfHI04moo+UkxrdFEc=; b=S/6QoPUdeV1TfdTheJd5MgabNxOcnS2/HSZfdCebAMpar2VUfQnpUYpCZcRSpcnxCk+Qzs uB9gVYE6k7+c1ZqHeZp8lQaJQTJztz2LE1voH3Ks3S0xbAJgfVy79Uy9JxJHIH2JSqHTsY Qv2f8P2wNFfic0sNCRgKznsfddSjZ10= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1679918340; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v/fvbDhFRswqUxiZNvcKnxASQIfHI04moo+UkxrdFEc=; b=Hx7dmjb9yvKV0afvyeHv7zT6Phr/0GMsZWEHDFUSeNY2s7smA0PzwDUdEnc2zwqt8gvNVf aFUBxLqXPhf0WLDA== 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 1076213482 for ; Mon, 27 Mar 2023 11:59:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yOr5AgSFIWTCOgAAMHmgww (envelope-from ) for ; Mon, 27 Mar 2023 11:59:00 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [pushed 07/10] [gdb/testsuite] Fix gdb.dwarf2/enqueued-cu-base-addr.exp for remote host Date: Mon, 27 Mar 2023 13:58:55 +0200 Message-Id: <20230327115858.5950-8-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230327115858.5950-1-tdevries@suse.de> References: <20230327115858.5950-1-tdevries@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,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: Fix test-case gdb.dwarf2/enqueued-cu-base-addr.exp for remote host by using $testfile instead $binfile. Tested on x86_64-linux. --- gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp b/gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp index 658a9a4bb79..b60c02085b4 100644 --- a/gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp +++ b/gdb/testsuite/gdb.dwarf2/enqueued-cu-base-addr.exp @@ -89,7 +89,7 @@ set cu2_blockvector_re \ "" \ "block #000, \[^\r\n\]* in ($hex)..$hex" \ ".*"] -gdb_test_multiple "maint print symbols -objfile $binfile" "CU addr found" { +gdb_test_multiple "maint print symbols -objfile $testfile" "CU addr found" { -re -wrap $cu2_blockvector_re { set addr $expect_out(1,string) if { $addr eq "0x0" } { -- 2.35.3