projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a7d1e5
)
[gdb/testsuite] Fix gdb.arch/i386-biarch-core.exp for remote host
author
Tom de Vries
<tdevries@suse.de>
Fri, 17 Mar 2023 18:25:18 +0000
(19:25 +0100)
committer
Tom de Vries
<tdevries@suse.de>
Fri, 17 Mar 2023 18:25:18 +0000
(19:25 +0100)
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
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.arch/i386-biarch-core.exp
b/gdb/testsuite/gdb.arch/i386-biarch-core.exp
index f70b0922212731b18fda189f24ad9579f61306a0..7babfacf92110306896c780ff7af031d665aad59 100644
(file)
--- 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"]