]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
step-over-trips-on-watchpoint.exp: Don't put addresses in test messages
authorPedro Alves <palves@redhat.com>
Fri, 10 Apr 2015 18:23:24 +0000 (19:23 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 10 Apr 2015 18:23:24 +0000 (19:23 +0100)
Diffing test results, I noticed:

 -PASS: gdb.threads/step-over-trips-on-watchpoint.exp: displaced=on: with thread-specific bp: next: b *0x0000000000400811 thread 1
 +PASS: gdb.threads/step-over-trips-on-watchpoint.exp: displaced=on: with thread-specific bp: next: b *0x00000000004007d1 thread 1

gdb/testsuite/ChangeLog:
2015-04-10  Pedro Alves  <palves@redhat.com>

* gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
test messages that don't include the breakpoint address.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.exp

index f28a08f7f226032161689a9d11b315c9535a1064..e482bbbc14e7a10e5c7f6ccab0257430c6282a81 100644 (file)
@@ -1,3 +1,8 @@
+2015-04-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
+       test messages that don't include the breakpoint address.
+
 2015-04-10  Yao Qi  <yao.qi@linaro.org>
 
        * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
index aa983f7c748a7cfba5d736ab14230fb43197c80a..89b66e55de65d0d403b818267ed90203ecb6f9d5 100644 (file)
@@ -96,7 +96,8 @@ proc do_test { displaced with_bp } {
                    delete_breakpoints
                }
 
-               gdb_breakpoint "*$address_triggers_watch"
+               gdb_test "break *$address_triggers_watch" "Breakpoint .*" \
+                   "set breakpoint at address that triggers watch"
                gdb_continue_to_breakpoint \
                    "run to instruction that triggers watch in thread 2"
 
@@ -105,7 +106,9 @@ proc do_test { displaced with_bp } {
                gdb_test "watch watch_me" "Hardware watchpoint .*"
 
                if ${with_bp} {
-                   gdb_test "b *$after_address_triggers_watch thread 1"
+                   gdb_test "b *$after_address_triggers_watch thread 1" \
+                       "Breakpoint .*" \
+                       "set breakpoint specific to thread 1"
                }
 
                # Switch back to thread 1 and disable scheduler locking.