OSDN Git Service

* breakpoint.c (remove_breakpoint): Take an bp_location
authordrow <drow>
Thu, 6 Nov 2003 18:28:33 +0000 (18:28 +0000)
committerdrow <drow>
Thu, 6 Nov 2003 18:28:33 +0000 (18:28 +0000)
commitc104e55ce89554f9cc1ca7c0c109bf441e98e634
tree0987b3b254691c9a8b74b73636063addeb5adc7a
parent4d71794ec198a38825e239c3e52363ac89ad204e
* 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