gdb: remove breakpoint_pointer_iterator
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 9 May 2023 14:08:51 +0000 (10:08 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 25 May 2023 13:52:22 +0000 (09:52 -0400)
commita1decfc1df541de75e7506cb6ac7fbdd8648fbf6
treed5fd8ef869ee0baf73c639c949242c481f2b8c68
parent410f4d7a76fec676ad1f22beafbdbe40c2f700de
gdb: remove breakpoint_pointer_iterator

Remove the breakpoint_pointer_iterator layer.  Adjust all users of
all_breakpoints and all_tracepoints to use references instead of
pointers.

Change-Id: I376826f812117cee1e6b199c384a10376973af5d
Reviewed-By: Andrew Burgess <aburgess@redhat.com>
gdb/break-catch-load.c
gdb/break-catch-syscall.c
gdb/breakpoint.c
gdb/breakpoint.h
gdb/dummy-frame.c
gdb/guile/scm-breakpoint.c
gdb/python/py-breakpoint.c
gdb/python/py-finishbreakpoint.c
gdb/solib-svr4.c
gdb/tracepoint.c
gdb/tui/tui-winsource.c