]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Fix gdb.threads/pending-fork-event-detach.exp for remote target
authorTom de Vries <tdevries@suse.de>
Thu, 9 Mar 2023 14:49:17 +0000 (15:49 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 9 Mar 2023 14:49:17 +0000 (15:49 +0100)
commit2562954ede66f32bff7d985e752b8052c2ae5775
treede34c62b9cff1dcf45c359d818d6dcea704eaa05
parent093b56776fcf31ecc9342382341c1455fd397b16
[gdb/testsuite] Fix gdb.threads/pending-fork-event-detach.exp for remote target

Fix test-case gdb.threads/pending-fork-event-detach.exp for target board
remote-gdbserver-on-localhost using gdb_remote_download for $touch_file_bin.

Then, fix the test-case for target board remote-stdio-gdbserver with
REMOTE_TMPDIR=~/tmp.remote-stdio-gdbserver by creating $touch_file_path
on target using remote_download, and using the resulting path.

Tested on x86_64-linux.
gdb/testsuite/gdb.threads/pending-fork-event-detach.exp