diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-05 12:00:06 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-13 14:52:09 -0600 |
commit | a3504e96544b3f8918c4521116d537a4a07c2106 (patch) | |
tree | 0ee7a2446c9305b36e5fc54cdcc355b02ec216e7 /gdb/tui/tui-regs.c | |
parent | 011168429859e3e3a2342ee043cbc2c7a5cf5e2f (diff) | |
download | fsf-binutils-gdb-a3504e96544b3f8918c4521116d537a4a07c2106.zip fsf-binutils-gdb-a3504e96544b3f8918c4521116d537a4a07c2106.tar.gz fsf-binutils-gdb-a3504e96544b3f8918c4521116d537a4a07c2106.tar.bz2 |
clear_detail can only be called on TUI source windows
The clear_detail method can only be called on source windows, so
remove definitions from the base of the class hierarchy, leaving only
a single non-virtual method.
gdb/ChangeLog
2019-08-13 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.h (struct tui_source_window_base)
<clear_detail>: No longer "override".
* tui/tui-regs.h (struct tui_data_window) <clear_detail>: Remove.
* tui/tui-regs.c (tui_data_window::clear_detail): Remove.
* tui/tui-data.h (struct tui_win_info) <clear_detail>: Remove.
* tui/tui-command.h (struct tui_cmd_window) <clear_detail>:
Remove.
* tui/tui-command.c (tui_cmd_window::clear_detail): Remove.
Diffstat (limited to 'gdb/tui/tui-regs.c')
-rw-r--r-- | gdb/tui/tui-regs.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index c13a5b1..2765462 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -521,16 +521,6 @@ tui_data_window::do_scroll_vertical (int num_to_scroll) /* See tui-regs.h. */ void -tui_data_window::clear_detail () -{ - regs_content.clear (); - regs_column_count = 1; - display_regs = false; -} - -/* See tui-regs.h. */ - -void tui_data_window::set_new_height (int height) { /* Delete all data item windows. */ |