[gdb/testsuite] Fix gdb.cp/breakpoint-shlib-func.exp with remote-gdbserver-on-localhost
authorTom de Vries <tdevries@suse.de>
Tue, 7 Mar 2023 10:11:03 +0000 (11:11 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 7 Mar 2023 10:11:03 +0000 (11:11 +0100)
commita50a8e305d4406d96adb5b2967236d7b8767997f
treec96a6da955233b7307afdbe39443d6f8f78d0c48
parent60204874f5a987b164f7f194d3f96729847fe329
[gdb/testsuite] Fix gdb.cp/breakpoint-shlib-func.exp with remote-gdbserver-on-localhost

Test-case gdb.cp/breakpoint-shlib-func.exp fails with target board
remote-gdbserver-on-localhost.

Fix this by adding the missing gdb_load_shlib.

Tested on x86_64-linux.
gdb/testsuite/gdb.cp/breakpoint-shlib-func.exp