diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-16 11:29:45 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:29 -0600 |
commit | 7778b9128f46b1bb7af965ae3821f63b05c627ef (patch) | |
tree | 954e2b9bb0870ce9e1bb5a487029dcad2d1bc695 /gdb/tui/tui-data.h | |
parent | f83d391c5aa3304faf8ef1384a6c64f082653260 (diff) | |
download | gdb-7778b9128f46b1bb7af965ae3821f63b05c627ef.zip gdb-7778b9128f46b1bb7af965ae3821f63b05c627ef.tar.gz gdb-7778b9128f46b1bb7af965ae3821f63b05c627ef.tar.bz2 |
Remove tui_clear_win_detail
An earlier patch changed the context of the sole call to
tui_clear_win_detail to make it clear that this can never be called
with a NULL window pointer. So, remove tui_clear_win_detail in favor
of calling the method directly.
gdb/ChangeLog
2019-06-25 Tom Tromey <tom@tromey.com>
* tui/tui-data.h (tui_clear_win_detail): Don't declare.
* tui/tui-data.c (tui_clear_source_windows_detail): Call the
clear_detail method directly.
(tui_clear_win_detail): Remove.
Diffstat (limited to 'gdb/tui/tui-data.h')
-rw-r--r-- | gdb/tui/tui-data.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 4170f24..c4ef455 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -439,7 +439,6 @@ extern struct tui_gen_win_info *tui_disassem_exec_info_win_ptr (void); extern std::vector<tui_win_info *> &tui_source_windows (); extern void tui_clear_source_windows (void); extern void tui_clear_source_windows_detail (void); -extern void tui_clear_win_detail (struct tui_win_info *); extern void tui_add_to_source_windows (struct tui_win_info *); extern struct tui_win_info *tui_win_with_focus (void); extern void tui_set_win_with_focus (struct tui_win_info *); |