gdb: remove bp_location_pointer_iterator
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 10 May 2023 15:30:34 +0000 (11:30 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 25 May 2023 13:40:58 +0000 (09:40 -0400)
commitb00b30b2981d393743bafe86b5ea37fd2299eccc
treef986d2f0f1111ac762104272665afa1e4ec1919f
parent20afe380e8c1c2647e9475340a0f6a53d573331b
gdb: remove bp_location_pointer_iterator

Remove the bp_location_pointer_iterator layer.  Adjust all users of
breakpoint::locations to use references instead of pointers.

Change-Id: Iceed34f5e0f5790a9cf44736aa658be6d1ba1afa
Reviewed-By: Andrew Burgess <aburgess@redhat.com>
gdb/ada-lang.c
gdb/break-catch-load.c
gdb/breakpoint.c
gdb/breakpoint.h
gdb/jit.c
gdb/python/py-breakpoint.c
gdb/remote.c
gdb/solib-svr4.c
gdb/tracepoint.c
gdb/tui/tui-winsource.c