From: Sandra Loosemore Date: Fri, 18 Sep 2015 16:05:37 +0000 (-0700) Subject: Fix shared library load in gdb.base/global-var-nested-by-dso.exp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7800dbe4301d831dd81a469107eb5f0e1bd0b927;p=binutils-gdb.git Fix shared library load in gdb.base/global-var-nested-by-dso.exp. 2015-09-18 Sandra Loosemore gdb/testsuite/ * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index acfef045ae1..7d3dc6d69fc 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,6 +1,9 @@ 2015-09-18 Sandra Loosemore - gdb/testsuite/ + * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs. + +2015-09-18 Sandra Loosemore + * gdb.linespec/explicit.exp: Check for readline support for tab-completion tests. Fix obvious typo. diff --git a/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp b/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp index a42ff495667..bc94cbac554 100644 --- a/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp +++ b/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp @@ -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