[gdb/testsuite] Fix gdb.base/break-probes.exp for remote target
authorTom de Vries <tdevries@suse.de>
Tue, 7 Mar 2023 14:20:18 +0000 (15:20 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 7 Mar 2023 14:20:18 +0000 (15:20 +0100)
commitda4cc0cc3674024eaf51e6f98fef9fc6e558426a
treea15825a7acf43c1bc976ad1f78a224110a3d38d7
parentb7b7151da0535ce34a329c3e7648312cd2379b58
[gdb/testsuite] Fix gdb.base/break-probes.exp for remote target

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

Fix these by adding the missing gdb_download_shlib and gdb_locate_shlib.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/break-probes.exp