aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-03-17 19:25:18 +0100
committerTom de Vries <tdevries@suse.de>2023-03-17 19:25:18 +0100
commit68f2478faab051348a2e194549d9325bc92476b1 (patch)
tree8e78df0c08a5bc143cd05e8b12af15ef26d8a85e
parent2a7d1e5ebbab35a6f3ff164653dfd0ba0e4448c0 (diff)
downloadbinutils-68f2478faab051348a2e194549d9325bc92476b1.zip
binutils-68f2478faab051348a2e194549d9325bc92476b1.tar.gz
binutils-68f2478faab051348a2e194549d9325bc92476b1.tar.bz2
[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.
-rw-r--r--gdb/testsuite/gdb.arch/i386-biarch-core.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-biarch-core.exp b/gdb/testsuite/gdb.arch/i386-biarch-core.exp
index f70b092..7babfac 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"]