This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH obv] Fix IPA detection in ftrace-insn-reloc.exp
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: gdb-patches at sourceware dot org
- Cc: Simon Marchi <simon dot marchi at polymtl dot ca>
- Date: Tue, 5 Apr 2016 20:38:31 -0400
- Subject: [PATCH obv] Fix IPA detection in ftrace-insn-reloc.exp
- Authentication-results: sourceware.org; auth=none
FYI, I just pushed this as obvious.
In commit 6e774b13c3b, I forgot to update this test.
gdb/testsuite/ChangeLog:
* gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
absolute.
---
gdb/testsuite/ChangeLog | 5 +++++
gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 69aea5e..222e2f5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
+ absolute.
+
2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
* gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
diff --git a/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp b/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp
index de48353..b7f7653 100644
--- a/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp
+++ b/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp
@@ -58,7 +58,7 @@ if ![runto_main] {
gdb_reinitialize_dir $srcdir/$subdir
-if { [gdb_test "info sharedlibrary" ".*${libipa}.*" "IPA loaded"] != 0 } {
+if { [gdb_test "info sharedlibrary" ".*[file tail ${libipa}].*" "IPA loaded"] != 0 } {
untested "Could not find IPA lib loaded"
return 1
}
--
2.8.0