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:
f0c3dcc
)
[gdb/testsuite] Fix gdb.threads/execl.exp for remote target
author
Tom de Vries
<tdevries@suse.de>
Tue, 7 Mar 2023 15:11:19 +0000
(16:11 +0100)
committer
Tom de Vries
<tdevries@suse.de>
Tue, 7 Mar 2023 15:11:19 +0000
(16:11 +0100)
Fix test-case gdb.threads/execl.exp on target board
remote-gdbserver-on-localhost using gdb_remote_download.
Tested on x86_64-linux.
gdb/testsuite/gdb.threads/execl.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.threads/execl.exp
b/gdb/testsuite/gdb.threads/execl.exp
index ef4f1ea9c8d30634780d2d577a0f196d3711bf27..92c6a6c8d8170ee4c706568e2f3c3f7553da1b01 100644
(file)
--- a/
gdb/testsuite/gdb.threads/execl.exp
+++ b/
gdb/testsuite/gdb.threads/execl.exp
@@
-32,6
+32,9
@@
if {[gdb_compile "${srcdir}/${subdir}/${srcfile1}" "${binfile1}" executable {deb
}
clean_restart ${binfile}
+if { [is_remote target] } {
+ gdb_remote_download target $binfile1
+}
runto_main