aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/trace-mt.exp
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-04-16 11:29:08 +0000
committerYao Qi <yao@codesourcery.com>2012-04-16 11:29:08 +0000
commitc0d4d1c0f81b3452286bdb9e30ede03706ba0a9f (patch)
tree3a063abdf0bef36a3b3c209fe968a8ae3c2402c8 /gdb/testsuite/gdb.trace/trace-mt.exp
parent42476b702c78006853f79b2013af919c313c1f7a (diff)
downloadgdb-c0d4d1c0f81b3452286bdb9e30ede03706ba0a9f.zip
gdb-c0d4d1c0f81b3452286bdb9e30ede03706ba0a9f.tar.gz
gdb-c0d4d1c0f81b3452286bdb9e30ede03706ba0a9f.tar.bz2
gdb/testsuite/
* lib/trace-support.exp (get_in_proc_agent): New. * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location of in process trace agent. * gdb.trace/ftrace.exp: Likewise. * gdb.trace/pending.exp: Likewise. * gdb.trace/trace-break.exp: Likewise. * gdb.trace/trace-mt.exp * gdb.trace/tspeed.exp: Likewise. * gdb.trace/tstatus.exp * gdb.trace/strace.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.trace/trace-mt.exp')
-rw-r--r--gdb/testsuite/gdb.trace/trace-mt.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.trace/trace-mt.exp b/gdb/testsuite/gdb.trace/trace-mt.exp
index 961c934..d6b619c 100644
--- a/gdb/testsuite/gdb.trace/trace-mt.exp
+++ b/gdb/testsuite/gdb.trace/trace-mt.exp
@@ -108,7 +108,7 @@ foreach break_always_inserted { "on" "off" } {
step_over_tracepoint "trace"
-set libipa $objdir/../gdbserver/libinproctrace.so
+set libipa [get_in_proc_agent]
gdb_load_shlibs $libipa
# Compile test case again with IPA.
@@ -125,7 +125,7 @@ if ![runto_main] {
}
gdb_reinitialize_dir $srcdir/$subdir
-if { [gdb_test "info sharedlibrary" ".*libinproctrace\.so.*" "IPA loaded"] != 0 } {
+if { [gdb_test "info sharedlibrary" ".*${libipa}.*" "IPA loaded"] != 0 } {
untested "Could not find IPA lib loaded"
} else {
foreach break_always_inserted { "on" "off" } {