2009-01-01 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Thu, 1 Jan 2009 22:02:03 +0000 (22:02 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 1 Jan 2009 22:02:03 +0000 (22:02 +0000)
commitccc57cf9e6782a19d8bccb1fdd0d02dd6ab98702
tree8f5a92c1161105aae211fbdd06369748a2eee8e3
parent023b0f5cefb067d6338e9bfd2987e4ed54b8b379
2009-01-01  Pedro Alves  <pedro@codesourcery.com>

PR breakpoints/9681:
* exceptions.h (enum errors): New error type, MEMORY_ERROR.
* corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
* breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
retrow all other exceptions.

2009-01-01  Pedro Alves  <pedro@codesourcery.com>

PR breakpoints/9681:
* gdb.base/watchpoint.exp: Add regression test.
gdb/ChangeLog
gdb/breakpoint.c
gdb/corefile.c
gdb/exceptions.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint.exp