gdb/
authorPedro Alves <palves@redhat.com>
Thu, 4 Mar 2010 15:37:26 +0000 (15:37 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 4 Mar 2010 15:37:26 +0000 (15:37 +0000)
commitc7437ca6e4ecefbaa0a0ebef0e68f09f8f19c449
tree5d9969e4bbb8254fdf79911c4e5f1009a76a5880
parent58dadb1bdf0ace689fd17cab2676338fe32b44c0
gdb/
* breakpoint.c (update_watchpoint): Create a sentinel location if
the software watchpoint isn't watching any memory.
(breakpoint_address_bits): Skip dummy software watchpoint locations.

gdb/testsuite/
* gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
gdb/ChangeLog
gdb/breakpoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watch-non-mem.c [new file with mode: 0644]
gdb/testsuite/gdb.base/watch-non-mem.exp [new file with mode: 0644]