diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-10-07 17:38:51 -0500 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-10-15 15:30:00 +0200 |
commit | 81e6b8eb208c427028d919afb2b5cabbc355fc88 (patch) | |
tree | 20cbd7f0f060297fe1e21538704f5a733968fb47 /gdb/ChangeLog | |
parent | 95da600f404ca159242f49441d9b4ea78183852b (diff) | |
download | gdb-81e6b8eb208c427028d919afb2b5cabbc355fc88.zip gdb-81e6b8eb208c427028d919afb2b5cabbc355fc88.tar.gz gdb-81e6b8eb208c427028d919afb2b5cabbc355fc88.tar.bz2 |
Make tui-winsource not use breakpoint_chain
That's an internal variable of breakpoint.c. Insted, use
iterate_over_breakpoints to update the breakpoint list.
gdb/ChangeLog:
2019-10-15 Christian Biesinger <cbiesinger@google.com>
* breakpoint.c (breakpoint_chain): Make static.
* tui/tui-winsource.c: Call iterate_over_breakpoints instead
of accessing breakpoint_chain.
Change-Id: Ic259b2c3a4c1f5a47f34cfd7fccbdcf274417429
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 39a8374..9d3ec1f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2019-10-15 Christian Biesinger <cbiesinger@google.com> + * breakpoint.c (breakpoint_chain): Make static. + * tui/tui-winsource.c: Call iterate_over_breakpoints instead + of accessing breakpoint_chain. + +2019-10-15 Christian Biesinger <cbiesinger@google.com> + * breakpoint.c (iterate_over_breakpoints): Change function pointer to a gdb::function_view and return value to bool. * breakpoint.h (iterate_over_breakpoints): Likewise. |