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