[gdb/testsuite] Fix gdb.base/fork-no-detach-follow-child-dlopen.exp for remote target
authorTom de Vries <tdevries@suse.de>
Tue, 7 Mar 2023 14:28:52 +0000 (15:28 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 7 Mar 2023 14:28:52 +0000 (15:28 +0100)
commitdfe30a41c8c1237f70a9cc31cc8cc90f1c1a46f6
tree52d90164898219331c4a69b35df095232ace6ba7
parentda4cc0cc3674024eaf51e6f98fef9fc6e558426a
[gdb/testsuite] Fix gdb.base/fork-no-detach-follow-child-dlopen.exp for remote target

Fix test-case gdb.base/fork-no-detach-follow-child-dlopen.exp for target board
remote-gdbserver-on-localhost.exp by using gdb_download_shlib and gdb_locate_shlib.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/fork-no-detach-follow-child-dlopen.exp