Fix tspeed test case: copy libinproctrace to target
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Fri, 16 Mar 2018 19:40:38 +0000 (20:40 +0100)
committerAndreas Arnez <arnez@linux.vnet.ibm.com>
Fri, 16 Mar 2018 19:40:38 +0000 (20:40 +0100)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/tspeed.exp

index f31f91e..065d924 100644 (file)
@@ -1,3 +1,8 @@
+2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
+       that libinproctrace is copied to the target.
+
 2018-03-14  Tom Tromey  <tom@tromey.com>
 
        PR cli/14977:
index d53608c..ecd36d2 100644 (file)
@@ -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]] != "" } {