This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix mi-pending.exp test output to allow stable test diffing
- From: Antoine Tremblay <hexa at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 24 Mar 2015 17:49:52 -0000
- Subject: [binutils-gdb] Fix mi-pending.exp test output to allow stable test diffing
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ad235a410aebf08ca67589891388774aa1d03562
commit ad235a410aebf08ca67589891388774aa1d03562
Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Date: Tue Mar 24 13:28:42 2015 -0400
Fix mi-pending.exp test output to allow stable test diffing
gdb/testsuite/ChangeLog:
* gdb.mi/mi-pending.exp: Fix output of breakpoint test.
Diff:
---
gdb/testsuite/ChangeLog | 4 ++++
gdb/testsuite/gdb.mi/mi-pending.exp | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index e18d6c0..1286542 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
+ * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
+
+2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
PR breakpoints/16466
* gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
* gdb.mi/mi-pending.c (thread_func): New function.
diff --git a/gdb/testsuite/gdb.mi/mi-pending.exp b/gdb/testsuite/gdb.mi/mi-pending.exp
index e289cd9..88c6870 100644
--- a/gdb/testsuite/gdb.mi/mi-pending.exp
+++ b/gdb/testsuite/gdb.mi/mi-pending.exp
@@ -66,7 +66,7 @@ mi_gdb_test "-break-insert -f pendfunc1" \
# Set pending breakpoint with a condition via MI.
mi_gdb_test "-break-insert -f -c x==4 ${libsrc1}:pendfunc2" \
".*\\^done,bkpt=\{number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"<PENDING>\",pending=\"${libsrc1}:pendfunc2\",cond=\"x==4\",times=\"0\",original-location=\"${libsrc1}:pendfunc2\"\}"\
- "MI pending breakpoint on ${libsrc1}:pendfunc2 if x==4"
+ "MI pending breakpoint on ${libfile1}.c:pendfunc2 if x==4"
# Set breakpoint so that we can stop when the thread is created
mi_gdb_test "-break-insert -f thread_func" \