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 B57463850848 for ; Fri, 17 Mar 2023 18:26:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B57463850848 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 E08F11FDF1 for ; Fri, 17 Mar 2023 18:26:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1679077571; 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=LNnMSljuezux5OeuKaExqS10E5rIdi9cw5p3OPhc4RI=; b=yzggRdhqSNOy2kMmw/v88OgncIcrpbv49Xo4m3v3khLWCOEFfx4Mho5FopDQnqpgY3x3mC o6ug+1C0LldJkESm5EcFT9PXKGXTq375hOwsoR+uwavRHx2h5RuCaur8/QNkTdn2aFOiJx gfa7pFdtHFpZc1Gws5G4fOqsNakg1SI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1679077571; 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=LNnMSljuezux5OeuKaExqS10E5rIdi9cw5p3OPhc4RI=; b=9l3C4TGwPudv9uG6z/ITPZWE5EWDisaCl9hU8oP7AlFRQaLJM7wbaaelfkgDHuj87dqtYT X5QDSlAl2AbuLFBg== 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 C1CCB13A3E for ; Fri, 17 Mar 2023 18:26:11 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id IIwvLsOwFGTobQAAMHmgww (envelope-from ) for ; Fri, 17 Mar 2023 18:26:11 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [pushed 2/4] [gdb/testsuite] Fix gdb.arch/i386-biarch-core.exp for remote host Date: Fri, 17 Mar 2023 19:26:09 +0100 Message-Id: <20230317182611.11723-3-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230317182611.11723-1-tdevries@suse.de> References: <20230317182611.11723-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.arch/i386-biarch-core.exp using gdb_download_remote host. Tested on x86_64-linux. --- gdb/testsuite/gdb.arch/i386-biarch-core.exp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/testsuite/gdb.arch/i386-biarch-core.exp b/gdb/testsuite/gdb.arch/i386-biarch-core.exp index f70b0922212..7babfacf921 100644 --- a/gdb/testsuite/gdb.arch/i386-biarch-core.exp +++ b/gdb/testsuite/gdb.arch/i386-biarch-core.exp @@ -49,6 +49,8 @@ if {$corestat(size) != 102400} { return -1 } +set corefile [gdb_remote_download host $corefile] + # First check if this particular GDB supports i386, otherwise we should not # expect the i386 core file to be loaded successfully. set archs [get_set_option_choices "set architecture" "i386"] -- 2.35.3