[gdb/testsuite] Fix gdb.base/jit-reader-exec.exp for remote target
authorTom de Vries <tdevries@suse.de>
Tue, 15 Nov 2022 14:24:54 +0000 (15:24 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 15 Nov 2022 14:24:54 +0000 (15:24 +0100)
commit32e0d36918d0acaafba8940327a2ba12c96ac534
tree826cfc2ecc2a5891e5beb729f3f82995ac62c031
parente27e0e5d4147af715d479fda7583d74cf6a17266
[gdb/testsuite] Fix gdb.base/jit-reader-exec.exp for remote target

With test-case gdb.base/jit-reader-exec.exp and target board
remote-gdbserver-on-localhost (using REMOTE_TARGET_USERNAME) we run into some
failures.

Fix this by adding the missing gdb_remote_download.

Tested on x86_64-linux.

Co-Authored-by: Ivan Tetyushkin <ivan.tetyushkin@syntacore.com>
gdb/testsuite/gdb.base/jit-reader-exec.exp