From 68f2478faab051348a2e194549d9325bc92476b1 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 17 Mar 2023 19:25:18 +0100 Subject: [PATCH] [gdb/testsuite] Fix gdb.arch/i386-biarch-core.exp for remote host 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.30.2