aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-05-09 10:08:51 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-05-25 09:52:22 -0400
commita1decfc1df541de75e7506cb6ac7fbdd8648fbf6 (patch)
treed5fd8ef869ee0baf73c639c949242c481f2b8c68 /gdb/guile
parent410f4d7a76fec676ad1f22beafbdbe40c2f700de (diff)
downloadgdb-a1decfc1df541de75e7506cb6ac7fbdd8648fbf6.zip
gdb-a1decfc1df541de75e7506cb6ac7fbdd8648fbf6.tar.gz
gdb-a1decfc1df541de75e7506cb6ac7fbdd8648fbf6.tar.bz2
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>
Diffstat (limited to 'gdb/guile')
-rw-r--r--gdb/guile/scm-breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/guile/scm-breakpoint.c b/gdb/guile/scm-breakpoint.c
index 2931df2..6c6dacb 100644
--- a/gdb/guile/scm-breakpoint.c
+++ b/gdb/guile/scm-breakpoint.c
@@ -569,8 +569,8 @@ gdbscm_breakpoints (void)
{
SCM list = SCM_EOL;
- for (breakpoint *bp : all_breakpoints ())
- bpscm_build_bp_list (bp, &list);
+ for (breakpoint &bp : all_breakpoints ())
+ bpscm_build_bp_list (&bp, &list);
return scm_reverse_x (list, SCM_EOL);
}