* breakpoint.c (hw_breakpoint_used_count): Use breakpoint_enabled.
(insert_breakpoint_locations): Likewise.
+2008-08-06 Phil Muldoon <pmuldoon@redhat.com>
+
+ * breakpoint.c (hw_breakpoint_used_count): Use breakpoint_enabled.
+ (insert_breakpoint_locations): Likewise.
+
2008-08-05 Phil Muldoon <pmuldoon@redhat.com>
* breakpoint.c (create_longjmp_breakpoint): Remove unused struct
if (!is_hardware_watchpoint (bpt))
continue;
- if (bpt->enable_state != bp_enabled)
+ if (!breakpoint_enabled (bpt))
continue;
if (bpt->disposition == disp_del_at_next_stop)
ALL_BREAKPOINTS (b)
{
- if (b->type == bp_hardware_breakpoint && b->enable_state == bp_enabled)
+ if (b->type == bp_hardware_breakpoint && breakpoint_enabled (b))
i++;
}