Fix shared library load in gdb.base/global-var-nested-by-dso.exp.
authorSandra Loosemore <sandra@codesourcery.com>
Fri, 18 Sep 2015 16:05:37 +0000 (09:05 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Fri, 18 Sep 2015 16:05:37 +0000 (09:05 -0700)
2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>

gdb/testsuite/
* gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/global-var-nested-by-dso.exp

index acfef04..7d3dc6d 100644 (file)
@@ -1,6 +1,9 @@
 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
 
-       gdb/testsuite/
+       * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
+
+2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
+
        * gdb.linespec/explicit.exp: Check for readline support for
        tab-completion tests.  Fix obvious typo.
 
index a42ff49..bc94cba 100644 (file)
@@ -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