diff options
author | Pedro Alves <palves@redhat.com> | 2015-04-10 19:23:24 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-04-10 19:23:24 +0100 |
commit | 07473109e11e41d979c33b839551ac1c6f8495b9 (patch) | |
tree | caa165629db96969e5549243615cedeeda862387 | |
parent | f74839702efcea048ac61374b1539ae81e7c86cc (diff) | |
download | fsf-binutils-gdb-07473109e11e41d979c33b839551ac1c6f8495b9.zip fsf-binutils-gdb-07473109e11e41d979c33b839551ac1c6f8495b9.tar.gz fsf-binutils-gdb-07473109e11e41d979c33b839551ac1c6f8495b9.tar.bz2 |
step-over-trips-on-watchpoint.exp: Don't put addresses in test messages
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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.exp | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f28a08f..e482bbb 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.exp b/gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.exp index aa983f7..89b66e5 100644 --- a/gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.exp +++ b/gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.exp @@ -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. |