aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2015-09-18 09:05:37 -0700
committerSandra Loosemore <sandra@codesourcery.com>2015-09-18 09:05:37 -0700
commit7800dbe4301d831dd81a469107eb5f0e1bd0b927 (patch)
treea0340ede69a145b65d94cfe7177519050ef32c07 /gdb/testsuite
parent515b89b30c18dae6b91e57ec2dd336919bb4578d (diff)
downloadgdb-7800dbe4301d831dd81a469107eb5f0e1bd0b927.zip
gdb-7800dbe4301d831dd81a469107eb5f0e1bd0b927.tar.gz
gdb-7800dbe4301d831dd81a469107eb5f0e1bd0b927.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/global-var-nested-by-dso.exp1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index acfef04..7d3dc6d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
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 a42ff49..bc94cba 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