summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-09-16 14:27:57 +0100
committerPedro Alves <palves@redhat.com>2014-09-16 14:27:57 +0100
commit635856f584de7af4b21bb72688c05cd6d9a0aec6 (patch)
tree7c981d61fe51a69b112f05156829e0e82bff629f /gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
parent7280ceea02b97b2da8744b46edf6dab3429c3396 (diff)
Fix watchpoint-stops-at-right-insn.exp
Silly typo... gdb/testsuite/ 2014-09-16 Pedro Alves <palves@redhat.com> * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare software and hardware addresses, not software address against itself.
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp')
-rw-r--r--gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp b/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
index 9ad60803af..6039c4cb83 100644
--- a/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
+++ b/gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
@@ -168,7 +168,7 @@ proc test {always_inserted} {
set hw_watch_pc [get_pc "get hw watchpoint PC"]
- gdb_assert {$sw_watch_pc == $sw_watch_pc} "hw watchpoint stops at right instruction"
+ gdb_assert {$sw_watch_pc == $hw_watch_pc} "hw watchpoint stops at right instruction"
}
}