From: Tom de Vries Date: Fri, 17 Mar 2023 18:25:18 +0000 (+0100) Subject: [gdb/testsuite] Fix gdb.arch/i386-biarch-core.exp for remote host X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68f2478faab051348a2e194549d9325bc92476b1;p=binutils-gdb.git [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. --- 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"]