aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2018-03-16 20:40:38 +0100
committerAndreas Arnez <arnez@linux.vnet.ibm.com>2018-03-16 20:40:38 +0100
commit8b067d2cf5bf801eb143b4b04da5c22607673471 (patch)
treec6088ad220e98dfe596bd4929f57d959bd571f11 /gdb/testsuite/gdb.trace
parentca2fd32c5508ff1b68781ba5b82e6cdbf9ca100a (diff)
downloadfsf-binutils-gdb-8b067d2cf5bf801eb143b4b04da5c22607673471.zip
fsf-binutils-gdb-8b067d2cf5bf801eb143b4b04da5c22607673471.tar.gz
fsf-binutils-gdb-8b067d2cf5bf801eb143b4b04da5c22607673471.tar.bz2
Fix tspeed test case: copy libinproctrace to target
The tspeed test case does not execute correctly because libinproctrace.so is not copied to the target. This is fixed. gdb/testsuite/ChangeLog: * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure that libinproctrace is copied to the target.
Diffstat (limited to 'gdb/testsuite/gdb.trace')
-rw-r--r--gdb/testsuite/gdb.trace/tspeed.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.trace/tspeed.exp b/gdb/testsuite/gdb.trace/tspeed.exp
index d53608c..ecd36d2 100644
--- a/gdb/testsuite/gdb.trace/tspeed.exp
+++ b/gdb/testsuite/gdb.trace/tspeed.exp
@@ -19,6 +19,7 @@ standard_testfile
set executable $testfile
set ipalib [get_in_proc_agent]
+gdb_load_shlib $ipalib
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable [concat {debug nowarnings c} shlib=$ipalib]] != "" } {