aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Tremblay <antoine.tremblay@ericsson.com>2015-03-24 13:28:42 -0400
committerAntoine Tremblay <antoine.tremblay@ericsson.com>2015-03-24 13:38:19 -0400
commitad235a410aebf08ca67589891388774aa1d03562 (patch)
tree77a7a3b63db63bea76b0d5a126dd32856cec2f5b
parentfc42baf3cdc41bc8cf12e35ae78e4529c1470118 (diff)
downloadgdb-ad235a410aebf08ca67589891388774aa1d03562.zip
gdb-ad235a410aebf08ca67589891388774aa1d03562.tar.gz
gdb-ad235a410aebf08ca67589891388774aa1d03562.tar.bz2
Fix mi-pending.exp test output to allow stable test diffing
gdb/testsuite/ChangeLog: * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.mi/mi-pending.exp2
2 files changed, 5 insertions, 1 deletions
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" \