aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-data.h')
-rw-r--r--gdb/tui/tui-data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h
index 081d0df..676345c 100644
--- a/gdb/tui/tui-data.h
+++ b/gdb/tui/tui-data.h
@@ -499,6 +499,10 @@ struct tui_data_window : public tui_win_info
elements there are, -1 is returned. */
int line_from_reg_element_no (int element_no) const;
+ /* Answer the index of the first element in line_no. If line_no is
+ past the register area (-1) is returned. */
+ int first_reg_element_no_inline (int line_no) const;
+
protected:
void do_scroll_vertical (int num_to_scroll) override;