2002-04-04 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 5 Apr 2002 02:35:26 +0000 (02:35 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 5 Apr 2002 02:35:26 +0000 (02:35 +0000)
commitc02f5703078fa9df65052c94c40354d6c99cd0e5
tree01c90426895e5479239ccd854437ef1cc7781b42
parentcd72150368372ac633adfe8e9c59c82274b3cd70
2002-04-04  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c: Add support for hardware breakpoints in overlays.
(overlay_events_enabled): New state variable.
(insert_breakpoints): Use overlay_events_enabled to decide
whether to attempt to set a breakpoint at the overlay load addr.
Handle bp_hardware_breakpoint as well as bp_breakpoint.
(remove_breakpoint): Use overlay_events_enabled to decide
whether breakpoints need to be removed from overlay load addr.
Handle bp_hardware_breakpoint as well as bp_breakpoint.
(bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
(create_overlay_event_breakpoint, enable_overlay_breakpoints,
disable_overlay_breakpoints): Update overlay_events_enabled.
gdb/ChangeLog
gdb/breakpoint.c