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 acfef045ae1f888cd72a3e4763f24b621f4a3091..7d3dc6d69fce84bfaa29d09b87c5a184fff9c1ba 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 a42ff495667aedd4736dde26a50ff7dc19c21c1c..bc94cbac554cca822a82c0bceb4bdd08c5f89a75 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