Fix shared library load in gdb.base/global-var-nested-by-dso.exp.

2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/testsuite/
	* gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
This commit is contained in:
Sandra Loosemore 2015-09-18 09:05:37 -07:00
parent 515b89b30c
commit 7800dbe430
2 changed files with 5 additions and 1 deletions

View 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.

View 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