OSDN Git Service

Associate bp_stat with bp_location, not breakpoint.
authorvprus <vprus>
Sat, 22 Sep 2007 17:49:40 +0000 (17:49 +0000)
committervprus <vprus>
Sat, 22 Sep 2007 17:49:40 +0000 (17:49 +0000)
commitdc279b9914b18535e3cb8f0c190f866d023d5253
treea24754fa2fd743762575a43c60a00482651e0b45
parent57dbbe9b6f0d7bed9c8dc021b08726e37edddbef
Associate bp_stat with bp_location, not breakpoint.
* breakpoint.h (breakpoint_at): Change type
to bp_location*.
* breakpoint.c (bpstat_alloc): Take bp_location,
not breakpoint.
(bpstat_find_breakpoint): Look at bpstat's location's
owner, not at bpstat->breakpoint_at.
(bpstat_find_step_resume_breakpoint): Likewise.
(bpstat_num): Likewise.
(print_it_typical): Likewise.
(print_bp_stop_message): Likewise.
(watchpoint_check): Likewise.
(bpstat_what): Likewise.
(bpstat_get_triggered_catchpoints): Likewise.
(breakpoint_auto_delete): Likewise.
(delete_breakpoint): Likewise.
(bpstat_stop_status): Pass location, not breakpoint,
to bpstat_alloc.  Look at bpstat's location's
owner, not at bpstat->breakpoint_at.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h