Make tui-winsource not use breakpoint_chain
authorChristian Biesinger <cbiesinger@google.com>
Mon, 7 Oct 2019 22:38:51 +0000 (17:38 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Tue, 15 Oct 2019 13:30:00 +0000 (15:30 +0200)
commit81e6b8eb208c427028d919afb2b5cabbc355fc88
tree20cbd7f0f060297fe1e21538704f5a733968fb47
parent95da600f404ca159242f49441d9b4ea78183852b
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
gdb/ChangeLog
gdb/breakpoint.c
gdb/tui/tui-winsource.c