OSDN Git Service

Fix loc_type of `bp_location's created by update_watchpoint.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 8 Dec 2008 13:27:36 +0000 (13:27 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 8 Dec 2008 13:27:36 +0000 (13:27 +0000)
commit215063195ce04893ac22d83dfda12db2080cd614
treebe8a753fac5b2f115fa4a00de595c0bb5ed7562f
parent90b65158d7c9efbcc97386de78b37fdc87e65df1
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