diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-06 16:17:46 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-15 12:29:28 -0600 |
commit | c398c3d0b56823bb12718ae46a8c273b866ca246 (patch) | |
tree | 5e336430add83449e6b5ef7ca36195295faf2277 /gdb/target-descriptions.c | |
parent | e25d200487dba7dfdf92f638e4ef2aefd7bd7481 (diff) | |
download | gdb-c398c3d0b56823bb12718ae46a8c273b866ca246.zip gdb-c398c3d0b56823bb12718ae46a8c273b866ca246.tar.gz gdb-c398c3d0b56823bb12718ae46a8c273b866ca246.tar.bz2 |
Remove tui_clear_source_content
tui_clear_source_content is not needed. Instead, the callers can call
erase_source_content, which is also changed to clear the content
vector.
gdb/ChangeLog
2019-08-15 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.h (tui_clear_source_content): Don't declare.
* tui/tui-winsource.c (tui_update_source_window_as_is): Don't call
tui_clear_source_content.
(tui_clear_source_content): Remove.
(tui_source_window_base::do_erase_source_content): Hoist call to
content.clear().
* tui/tui-stack.c (tui_show_frame_info): Don't call
tui_clear_source_content.
Diffstat (limited to 'gdb/target-descriptions.c')
0 files changed, 0 insertions, 0 deletions