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:
f1e5a2b
)
[gdb/testsuite] Fix gdb.btrace/gcore.exp for remote host
author
Tom de Vries
<tdevries@suse.de>
Tue, 28 Mar 2023 20:15:18 +0000
(22:15 +0200)
committer
Tom de Vries
<tdevries@suse.de>
Tue, 28 Mar 2023 20:15:18 +0000
(22:15 +0200)
Fix test-case gdb.btrace/gcore.exp for remote host using
host_standard_output.
Tested on x86_64-linux.
gdb/testsuite/gdb.btrace/gcore.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.btrace/gcore.exp
b/gdb/testsuite/gdb.btrace/gcore.exp
index d18bda5346946214d2152d37e8517dca9881f67a..12482bde8868c29adfef06670b819e67bf259e7f 100644
(file)
--- a/
gdb/testsuite/gdb.btrace/gcore.exp
+++ b/
gdb/testsuite/gdb.btrace/gcore.exp
@@
-36,6
+36,6
@@
gdb_test "next" ".*main\.3.*"
gdb_test "record goto begin" ".*main\.2.*"
# generate a core file - this used to assert
-set corefile [standard_output_file core]
+set corefile [
host_
standard_output_file core]
gdb_test "generate-core-file $corefile" "Saved corefile $corefile" \
"generate-core-file core"