This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix tspeed test case: copy libinproctrace to target


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8b067d2cf5bf801eb143b4b04da5c22607673471

commit 8b067d2cf5bf801eb143b4b04da5c22607673471
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date:   Fri Mar 16 20:40:38 2018 +0100

    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.

Diff:
---
 gdb/testsuite/ChangeLog            | 5 +++++
 gdb/testsuite/gdb.trace/tspeed.exp | 1 +
 2 files changed, 6 insertions(+)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f31f91e..065d924 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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:
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]] != "" } {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]