[binutils-gdb] [gdb/testsuite] Fix gdb.arch/i386-biarch-core.exp for remote host

Tom de Vries vries@sourceware.org
Fri Mar 17 18:25:27 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=68f2478faab051348a2e194549d9325bc92476b1

commit 68f2478faab051348a2e194549d9325bc92476b1
Author: Tom de Vries <tdevries@suse.de>
Date:   Fri Mar 17 19:25:18 2023 +0100

    [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:
---
 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"]


More information about the Gdb-cvs mailing list