More type safety for TUI source window functions
authorTom Tromey <tom@tromey.com>
Sun, 23 Jun 2019 18:21:34 +0000 (12:21 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:50 +0000 (07:48 -0600)
commit7908abbf18dde6d3163758e447d72d6d2b267927
tree3ab27ce68edc2bdfebe0923c94fd1d526d90e52e
parent02c28df011542448e99041e32bec331c92b39945
More type safety for TUI source window functions

A few functions can only operate on a source or disassembly window.
This patch adds a bit more type safety to a few of these functions.
This simplifies a subsequent patch.

gdb/ChangeLog
2019-06-25  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.h (tui_clear_source_content)
(tui_erase_source_content, tui_show_source_content): Change type
of win_info.
* tui/tui-winsource.c (tui_clear_source_content)
(tui_erase_source_content, tui_show_source_content): Change type
of win_info.
* tui/tui-win.c (tui_resize_all, tui_adjust_win_heights): Update.
* tui/tui-source.h (tui_set_source_content_nil): Change type of
win_info.
* tui/tui-source.c (tui_set_source_content_nil): Change type of
win_info.
* tui/tui-layout.c (show_source_or_disasm_and_command): Update.
gdb/ChangeLog
gdb/tui/tui-layout.c
gdb/tui/tui-source.c
gdb/tui/tui-source.h
gdb/tui/tui-win.c
gdb/tui/tui-winsource.c
gdb/tui/tui-winsource.h
This page took 0.026158 seconds and 4 git commands to generate.