mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-01 16:35:04 +00:00
2008-08-06 Phil Muldoon <pmuldoon@redhat.com>
* breakpoint.c (hw_breakpoint_used_count): Use breakpoint_enabled. (insert_breakpoint_locations): Likewise.
This commit is contained in:
parent
e7d92e2ec6
commit
d6b74ac48c
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1320,7 +1320,7 @@ insert_breakpoint_locations (void)
|
||||
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)
|
||||
@ -4765,7 +4765,7 @@ hw_breakpoint_used_count (void)
|
||||
|
||||
ALL_BREAKPOINTS (b)
|
||||
{
|
||||
if (b->type == bp_hardware_breakpoint && b->enable_state == bp_enabled)
|
||||
if (b->type == bp_hardware_breakpoint && breakpoint_enabled (b))
|
||||
i++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user