diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-26 16:13:39 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:18:59 -0600 |
commit | 517e9505fa563c83b4d5cb192e423a0d6baac752 (patch) | |
tree | bf3b2abd0e001814dc825b3fce8e917afd736a8a /gdb/tui/tui-regs.h | |
parent | f76d8b19e80b43a141ce31c0e0230e23f676182d (diff) | |
download | gdb-517e9505fa563c83b4d5cb192e423a0d6baac752.zip gdb-517e9505fa563c83b4d5cb192e423a0d6baac752.tar.gz gdb-517e9505fa563c83b4d5cb192e423a0d6baac752.tar.bz2 |
Introduce two more tui_data_window methods
This changes tui_display_registers_from and
tui_display_registers_from_line to be methods on tui_data_window,
allowing for the removal of more uses of the TUI_DATA_WIN global.
gdb/ChangeLog
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-regs.h (tui_display_registers_from)
(tui_display_registers_from_line): Don't declare.
* tui/tui-windata.c (tui_data_window::display_all_data)
(tui_data_window::refresh_all)
(tui_data_window::do_scroll_vertical): Update.
* tui/tui-regs.c (tui_data_window::display_registers_from): Rename
from tui_display_registers_from.
(tui_display_reg_element_at_line): Update.
(tui_data_window::display_registers_from_line): Rename from
tui_display_registers_from_line.
* tui/tui-data.h (struct tui_data_window) <display_registers_from,
display_registers_from_line>: New methods.
Diffstat (limited to 'gdb/tui/tui-regs.h')
-rw-r--r-- | gdb/tui/tui-regs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/tui/tui-regs.h b/gdb/tui/tui-regs.h index c99910b..354605c 100644 --- a/gdb/tui/tui-regs.h +++ b/gdb/tui/tui-regs.h @@ -26,7 +26,5 @@ extern void tui_check_register_values (struct frame_info *); extern void tui_show_registers (struct reggroup *group); -extern void tui_display_registers_from (int); -extern int tui_display_registers_from_line (int); #endif /* TUI_TUI_REGS_H */ |