[testsuite,committed] fix shared library load in gdb.base/global-var-nested-by-dso.exp
Commit Message
This patch fixes a problem I saw in remote-host testing where GDB could
not find the shared libraries for this testcase. It was missing a call
to gdb_load_shlibs to do that, and I think adding one is sufficiently
obvious that I've gone ahead and committed this patch.
-Sandra
@@ -45,6 +45,7 @@ if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable \
}
clean_restart $binfile
+gdb_load_shlibs $binfile_lib1 $binfile_lib2
if { ![runto_main] } {
return -1