From 43892fdfa1aecb67d4830c47c9a40b0d74ed4c47 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 27 May 2021 14:58:36 -0400 Subject: gdb: add all_breakpoints function Introduce the all_breakpoints function, which returns a range that can be used to iterate on breakpoints. Replace all uses of the ALL_BREAKPOINTS macro with this. In one instance, I could replace the breakpoint iteration with a call to get_breakpoint. gdb/ChangeLog: * breakpoint.c (ALL_BREAKPOINTS): Remove, replace all uses with all_breakpoints. (breakpoint_iterator): New. (breakpoint_range): New. (all_breakpoints): New. Change-Id: I229595bddad7c9100b179a9dd56b04b8c206e86c --- gdb/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 739e773..f80c8f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2021-05-27 Simon Marchi + + * breakpoint.c (ALL_BREAKPOINTS): Remove, replace all uses with + all_breakpoints. + (breakpoint_iterator): New. + (breakpoint_range): New. + (all_breakpoints): New. + 2021-05-27 Hannes Domani * python/py-tui.c (tui_py_window::output): Add full_window -- cgit v1.1