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.
This commit is contained in:
parent
7280ceea02
commit
635856f584
@ -1,3 +1,9 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2014-09-16 Pedro Alves <palves@redhat.com>
|
2014-09-16 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* gdb.base/watchpoint-stops-at-right-insn.c: New file.
|
* gdb.base/watchpoint-stops-at-right-insn.c: New file.
|
||||||
|
@ -168,7 +168,7 @@ proc test {always_inserted} {
|
|||||||
|
|
||||||
set hw_watch_pc [get_pc "get hw watchpoint PC"]
|
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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user