Remove struct tui_command_info
authorTom Tromey <tom@tromey.com>
Sun, 16 Jun 2019 19:55:51 +0000 (13:55 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:30 +0000 (07:48 -0600)
commit81491aa0968e5bcab0388914f909ccb12e084e32
treef7842a0373f0f8a55549761358f9611d6cb2cb0b
parente6e4150110bcee66adfadb9f126eb3bb1fd7c054
Remove struct tui_command_info

Like the previous patch, this removes tui_command_info in favor of
putting it elements directly into tui_cmd_window.

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

* tui/tui-layout.c (show_source_disasm_command)
(show_source_or_disasm_and_command): Update.
* tui/tui-io.c (update_cmdwin_start_line)
(tui_redisplay_readline): Update.
* tui/tui-data.h (struct tui_command_info): Remove.
(struct tui_win_info) <detail>: Remove command_info member.
(struct tui_data_window) <start_line>: New member, from
tui_command_info.
(TUI_CMD_WIN): Add casts.
gdb/ChangeLog
gdb/tui/tui-data.h
gdb/tui/tui-io.c
gdb/tui/tui-layout.c