diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-23 12:21:34 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:50 -0600 |
commit | 7908abbf18dde6d3163758e447d72d6d2b267927 (patch) | |
tree | 3ab27ce68edc2bdfebe0923c94fd1d526d90e52e /gdb/agent.c | |
parent | 02c28df011542448e99041e32bec331c92b39945 (diff) | |
download | gdb-7908abbf18dde6d3163758e447d72d6d2b267927.zip gdb-7908abbf18dde6d3163758e447d72d6d2b267927.tar.gz gdb-7908abbf18dde6d3163758e447d72d6d2b267927.tar.bz2 |
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.
Diffstat (limited to 'gdb/agent.c')
0 files changed, 0 insertions, 0 deletions