public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [testsuite, committed] fix shared library load in gdb.base/global-var-nested-by-dso.exp
@ 2015-09-18 16:10 Sandra Loosemore
  0 siblings, 0 replies; only message in thread
From: Sandra Loosemore @ 2015-09-18 16:10 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

This patch fixes a problem I saw in remote-host testing where GDB could 
not find the shared libraries for this testcase.  It was missing a call 
to gdb_load_shlibs to do that, and I think adding one is sufficiently 
obvious that I've gone ahead and committed this patch.

-Sandra


[-- Attachment #2: global-var.log --]
[-- Type: text/x-log, Size: 137 bytes --]

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

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

[-- Attachment #3: global-var.patch --]
[-- Type: text/x-patch, Size: 461 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-18 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-18 16:10 [testsuite, committed] fix shared library load in gdb.base/global-var-nested-by-dso.exp Sandra Loosemore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).