[gdb/testsuite] Fix gdb.dwarf2/dw2-zero-range.exp for remote-gdbserver-on-localhost
authorTom de Vries <tdevries@suse.de>
Tue, 7 Mar 2023 14:12:06 +0000 (15:12 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 7 Mar 2023 14:12:06 +0000 (15:12 +0100)
commitb7b7151da0535ce34a329c3e7648312cd2379b58
tree455eaca0a09d04bb7c8a0fe3dc6cf545cb16ada3
parent3a80a48386ac12d04aa98802cf497a394d0bb74c
[gdb/testsuite] Fix gdb.dwarf2/dw2-zero-range.exp for remote-gdbserver-on-localhost

Fix test-case gdb.dwarf2/dw2-zero-range.exp for target board
remote-gdbserver-on-localhost using gdb_load_shlib.

Tested on x86_64-linux.
gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp