diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-26 16:02:36 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:18:57 -0600 |
commit | 50daf2683bad925470f6f1bd08aef928c2f4d6fe (patch) | |
tree | deb09d7654e9d82a4a036c163a74ec6996a8e22a /gdb/tui/tui-regs.c | |
parent | df5f8cab00a8076a5582efec028002d323950c8f (diff) | |
download | gdb-50daf2683bad925470f6f1bd08aef928c2f4d6fe.zip gdb-50daf2683bad925470f6f1bd08aef928c2f4d6fe.tar.gz gdb-50daf2683bad925470f6f1bd08aef928c2f4d6fe.tar.bz2 |
Introduce tui_data_window::display_all_data method
This changes tui_display_all_data to be a method on tui_data_window.
This helps cluster uses of the TUI_DATA_WIN global.
gdb/ChangeLog
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-windata.h (tui_display_all_data): Don't declare.
* tui/tui-windata.c (tui_data_window::display_all_data): Rename
from tui_display_all_data.
* tui/tui-win.c
(tui_data_window::do_make_visible_with_new_height): Update.
* tui/tui-regs.c (tui_show_registers): Update.
* tui/tui-layout.c (tui_set_layout): Update.
* tui/tui-data.h (struct tui_data_window) <display_all_data>: New
method.
Diffstat (limited to 'gdb/tui/tui-regs.c')
-rw-r--r-- | gdb/tui/tui-regs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index ae38d34..5993363 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -157,7 +157,7 @@ tui_show_registers (struct reggroup *group) data_item_win->highlight = false; } TUI_DATA_WIN->current_group = group; - tui_display_all_data (); + TUI_DATA_WIN->display_all_data (); } } |