diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-27 14:58:36 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-27 14:58:36 -0400 |
commit | 43892fdfa1aecb67d4830c47c9a40b0d74ed4c47 (patch) | |
tree | b16c8c8ff8427ddc817d539da3c43b0e463eafd9 /gdb/ChangeLog | |
parent | bdef5723041368f3e264ac641360950c936b7ce4 (diff) | |
download | gdb-43892fdfa1aecb67d4830c47c9a40b0d74ed4c47.zip gdb-43892fdfa1aecb67d4830c47c9a40b0d74ed4c47.tar.gz gdb-43892fdfa1aecb67d4830c47c9a40b0d74ed4c47.tar.bz2 |
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
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
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 <simon.marchi@polymtl.ca> + + * 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 <ssbssa@yahoo.de> * python/py-tui.c (tui_py_window::output): Add full_window |