aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-regs.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-26 15:44:51 -0600
committerTom Tromey <tom@tromey.com>2019-07-17 12:18:53 -0600
commit0b5ec21882bcc27e93144882b84935497da6e7fe (patch)
tree12d45778eaac85d03d3f0b5e60e4a78241ff4ee1 /gdb/tui/tui-regs.h
parent0807ab7b88fa5ffb138ba1ee22b33d26e239de2f (diff)
downloadgdb-0b5ec21882bcc27e93144882b84935497da6e7fe.zip
gdb-0b5ec21882bcc27e93144882b84935497da6e7fe.tar.gz
gdb-0b5ec21882bcc27e93144882b84935497da6e7fe.tar.bz2
Introduce tui_data_window::last_regs_line_no method
This changes tui_last_regs_line_no into a method on tui_data_window, allowing the removal of uses of the TUI_DATA_WIN global. gdb/ChangeLog 2019-07-17 Tom Tromey <tom@tromey.com> * tui/tui-regs.h (tui_last_regs_line_no): Don't declare. * tui/tui-regs.c (tui_data_window::last_regs_line_no): Rename from tui_last_regs_line_no. (tui_display_reg_element_at_line) (tui_display_registers_from_line): Update. * tui/tui-data.h (struct tui_data_window) <last_regs_line_no>: New method.
Diffstat (limited to 'gdb/tui/tui-regs.h')
-rw-r--r--gdb/tui/tui-regs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/tui/tui-regs.h b/gdb/tui/tui-regs.h
index 54b1b08..fcb440d 100644
--- a/gdb/tui/tui-regs.h
+++ b/gdb/tui/tui-regs.h
@@ -28,7 +28,6 @@ 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, int);
-extern int tui_last_regs_line_no (void);
extern int tui_first_reg_element_inline (int);
extern int tui_line_from_reg_element_no (int);
extern int tui_first_reg_element_no_inline (int lineno);