OSDN Git Service

Fix loc_type of `bp_location's created by update_watchpoint.
authorjkratoch <jkratoch>
Mon, 8 Dec 2008 13:27:36 +0000 (13:27 +0000)
committerjkratoch <jkratoch>
Mon, 8 Dec 2008 13:27:36 +0000 (13:27 +0000)
commit9073463ffd21f8ee1cf131cb00f4ea5e0f76627d
tree590c70286513eb6d9269be78c9f16e00c8d4f57e
parentd789ce8ecebfd9fc608946c1108ca03d614c144b
Fix loc_type of `bp_location's created by update_watchpoint.
* breakpoint.c (allocate_bp_location): Remove the bp_type parameter.
Replace bp_type by bpt->type.  Update prototype.  All callers updated.
(add_location_to_breakpoint):  Remove the bp_type parameter.
Replace bp_type by b->type.  All callers updated.
(set_breakpoint_location_function): Replace bptype by b->type.
gdb/ChangeLog
gdb/breakpoint.c