Remove tui_erase_exec_info_content
authorTom Tromey <tom@tromey.com>
Fri, 5 Jul 2019 23:36:16 +0000 (17:36 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 13 Aug 2019 20:52:09 +0000 (14:52 -0600)
commite321e7ce753f27ca9664ca08a8314924b5771d61
tree27f9ebf279c8d6a3569fdbdef8e3feffd1cd44fc
parent8270ac6229ac323fe7dfc1915b3f52d77df6bb9a
Remove tui_erase_exec_info_content

One call to tui_erase_exec_info_content can be removed.  This call is
not needed because the function in question then immediately sets the
execution info window contents.

Once this is done, tui_clear_exec_info_content is just a wrapper for
the only call to tui_erase_exec_info_content, so
tui_erase_exec_info_content can be renamed and the wrapper function
removed.

gdb/ChangeLog
2019-08-13  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.h (tui_erase_exec_info_content): Don't
declare.
* tui/tui-winsource.c (tui_source_window_base::refresh_all): Don't
call tui_erase_exec_info_content.
(tui_clear_exec_info_content): Rename from
tui_erase_exec_info_content.
(tui_clear_exec_info_content): Delete.
gdb/ChangeLog
gdb/tui/tui-winsource.c
gdb/tui/tui-winsource.h