Add test to make sure GDB knows which "kind" of watchpoint the target has
authorPedro Alves <palves@redhat.com>
Tue, 16 Sep 2014 13:05:06 +0000 (14:05 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 16 Sep 2014 13:05:06 +0000 (14:05 +0100)
commit7280ceea02b97b2da8744b46edf6dab3429c3396
tree27dfa643f1d01b735dd77175caae1a161f5e8aab
parent05db5edd7923711a20c6225ea8e15f36e819d140
Add test to make sure GDB knows which "kind" of watchpoint the target has

This adds a test that makes sure GDB knows whether the target has
continuable, or non-continuable watchpoints.

That is, the test confirms that GDB presents a watchpoint value change
at the first instruction right after the instruction that changes
memory.

gdb/testsuite/ChangeLog:
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.exp: New file.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.c [new file with mode: 0644]
gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp [new file with mode: 0644]