diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-26 15:44:51 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:18:53 -0600 |
commit | 0b5ec21882bcc27e93144882b84935497da6e7fe (patch) | |
tree | 12d45778eaac85d03d3f0b5e60e4a78241ff4ee1 /config/mh-mingw | |
parent | 0807ab7b88fa5ffb138ba1ee22b33d26e239de2f (diff) | |
download | gdb-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 'config/mh-mingw')
0 files changed, 0 insertions, 0 deletions