* breakpoint.c (remove_breakpoint): Take an bp_location
authorDaniel Jacobowitz <drow@false.org>
Thu, 6 Nov 2003 18:28:33 +0000 (18:28 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 6 Nov 2003 18:28:33 +0000 (18:28 +0000)
commit0bde7532f1e2f1ecc0585b4edbaeeeccdfb55b94
tree908d3c23203db35e09e619fd09fb7e6c5e51fa33
parent075f65829c0b8b09976337b178494f638f7900ed
* breakpoint.c (remove_breakpoint): Take an bp_location
instead of a breakpoint argument.  Check the bp_location's type.
Fix a reversed condition for hardware breakpoints.

(insert_bp_location): Update call to remove_breakpoint.
(remove_breakpoints): Likewise.  Use ALL_BP_LOCATIONS.
(remove_hw_watchpoints): Likewise.
(reattach_breakpoints): Likewise.
(detach_breakpoints): Likewise.
(delete_breakpoint): Likewise.
gdb/ChangeLog
gdb/breakpoint.c