aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-error.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-26 15:46:38 -0600
committerTom Tromey <tom@tromey.com>2019-07-17 12:18:53 -0600
commit3b23c5f2662d3240cdc586d3d2e5fb6eb8cba4c7 (patch)
tree3181cb32b78e06f3b3fdbf8f0913261040739802 /libctf/ctf-error.c
parent0b5ec21882bcc27e93144882b84935497da6e7fe (diff)
downloadbinutils-3b23c5f2662d3240cdc586d3d2e5fb6eb8cba4c7.zip
binutils-3b23c5f2662d3240cdc586d3d2e5fb6eb8cba4c7.tar.gz
binutils-3b23c5f2662d3240cdc586d3d2e5fb6eb8cba4c7.tar.bz2
Introduce tui_data_window::line_from_reg_element_no method
This changes tui_line_from_reg_element_no to be a method on tui_data_window, allowing for the removal of some uses of the TUI_DATA_WIN global. (Actually, in this particular patch, the number of uses is not decreased, but rather the uses are moved to spots that are already using the global, i.e., increasing the clustering.) gdb/ChangeLog 2019-07-17 Tom Tromey <tom@tromey.com> * tui/tui-windata.c (tui_display_data_from) (tui_data_window::do_scroll_vertical): Update. * tui/tui-regs.h (tui_line_from_reg_element_no): Don't declare. * tui/tui-regs.c (tui_data_window::line_from_reg_element_no): Rename from tui_line_from_reg_element_no. (tui_display_registers_from_line): Update. * tui/tui-data.h (struct tui_data_window) <line_from_reg_element_no>: New method.
Diffstat (limited to 'libctf/ctf-error.c')
0 files changed, 0 insertions, 0 deletions