forked from Imagelibrary/binutils-gdb
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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user