gdb: remove iterate_over_bp_locations function
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 27 May 2021 18:58:38 +0000 (14:58 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 27 May 2021 18:58:38 +0000 (14:58 -0400)
commit055c879fcf242e43a6ef8190f83905109922da93
tree540862da9c8482b7adfe5151f0d32f42d2445cdd
parent240edef62f0cb5c6cb3dc6da9e35bd8f8af69e01
gdb: remove iterate_over_bp_locations function

Remove it, change users (well, a single one) to use all_bp_locations.
This requires moving all_bp_locations to breakpoint.h to expose it.

gdb/ChangeLog:

* breakpoint.h (iterate_over_bp_locations): Remove.  Update
users to use all_bp_locations.
(all_bp_locations): New.
* breakpoint.c (all_bp_locations): Make non-static.
(iterate_over_bp_locations): Remove.

Change-Id: Iaf1f716d6c2c5b2975579b3dc113a86f5d0975be
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/record-full.c