diff options
author | Tom de Vries <tdevries@suse.de> | 2023-03-07 16:11:19 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-03-07 16:11:19 +0100 |
commit | 711b1f02f3e1789b0bd33816210a750cd0932f32 (patch) | |
tree | 4b0be8ed5350873b97c7fcdcd577c3b6c550b04c | |
parent | f0c3dcc1ca714cb17602f4c12c00b3604f36b035 (diff) | |
download | binutils-711b1f02f3e1789b0bd33816210a750cd0932f32.zip binutils-711b1f02f3e1789b0bd33816210a750cd0932f32.tar.gz binutils-711b1f02f3e1789b0bd33816210a750cd0932f32.tar.bz2 |
[gdb/testsuite] Fix gdb.threads/execl.exp for remote target
Fix test-case gdb.threads/execl.exp on target board
remote-gdbserver-on-localhost using gdb_remote_download.
Tested on x86_64-linux.
-rw-r--r-- | gdb/testsuite/gdb.threads/execl.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/execl.exp b/gdb/testsuite/gdb.threads/execl.exp index ef4f1ea..92c6a6c 100644 --- 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 |