gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 7 Jun 2010 13:38:25 +0000 (13:38 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 7 Jun 2010 13:38:25 +0000 (13:38 +0000)
commit1a2ab13a57bdddae90088e334aa792d2af742a3d
tree61e7fe10a9e201d05012b29202e468bd093032b7
parent1f4e49505385a998c734d2349a201ba03d7aee65
gdb/
Clear stale specific bp_location from former whole breakpoint.
* breakpoint.c (delete_breakpoint): Move the stale referencing clear
code ...
(free_bp_location): ... here.  Rename there the called function to
bpstat_remove_bp_location_callback.
(bpstat_remove_breakpoint_callback): Rename to ...
(bpstat_remove_bp_location_callback): ... here, change DATA resolution
to struct bp_location.  Change the called function to
bpstat_remove_bp_location.  Create new declaration for the function.
(bpstat_remove_breakpoint): Rename to ...
(bpstat_remove_bp_location): ..., change the parameter to loc, adjust
code for the new parameter type.
gdb/ChangeLog
gdb/breakpoint.c