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 90F923858C2D for ; Mon, 27 Mar 2023 16:06:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 90F923858C2D 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 B86E41FDBF for ; Mon, 27 Mar 2023 16:06:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1679933198; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=f0nYyyAX6j60HQORtwk8/WTHKhL3CBpNJsJFczjfLt8=; b=NXIJayrz1lT7jvXoyreT880QkVPBLhUtt1uFfDwe+/PnXbbsCqxaTle/7RxukmvBWDM0O7 I1kSVJxG0nr4SVHPH3kC+x/lJRcdp6Z39xeRcCm+AZbXaLTDtHPmIpdH12D08F/Z8xNOL4 1BxQHIAFtdo+XLEnGdjnUPvH6g+A6Lc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1679933198; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=f0nYyyAX6j60HQORtwk8/WTHKhL3CBpNJsJFczjfLt8=; b=E7WtLzszhrJHC8hrBJk+0o73at2FuviIVZy6bc3c48HN4Qw2pHEL1cBq6hV7/5tcDW+NJq HJ06ybfNtaUgRHBQ== 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 A60C313482 for ; Mon, 27 Mar 2023 16:06:38 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id u1RRJw6/IWQbTAAAMHmgww (envelope-from ) for ; Mon, 27 Mar 2023 16:06:38 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [pushed 1/2] [gdb/testsuite] Fix gdb.stabs/weird.exp for remote host Date: Mon, 27 Mar 2023 18:06:37 +0200 Message-Id: <20230327160638.9339-1-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 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.stabs/weird.exp for remote host by not using an absolute destfile argument to gdb_remote_download, which doesn't work well with remotedir. --- gdb/testsuite/gdb.stabs/weird.exp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp index 2375e4c96e4..1650d43fa6a 100644 --- a/gdb/testsuite/gdb.stabs/weird.exp +++ b/gdb/testsuite/gdb.stabs/weird.exp @@ -275,10 +275,9 @@ remote_file build delete ${srcfile} clean_restart -set binfile [gdb_remote_download host ${binfile} \ - [standard_output_file object.o]] -set binfile_re [string_to_regexp $binfile] -send_gdb "file $binfile\n" +set binfile_host [gdb_remote_download host $binfile] +set binfile_re [string_to_regexp $binfile_host] +send_gdb "file $binfile_host\n" # If $binfile is very long, a \r (but not a \n) will echo in the # middle of the echo of the command. So to match the echo, we # would like to match anything not containing \n base-commit: 8ee5cc9fc03d4edbdc316c0a0e0bc46b99616c61 -- 2.35.3