Index: gdb/tui/tui-regs.c |
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c |
index a093e91926c8328c11082a351cacaf7ff861be31..62c0fad755d7ef38d9fbb306e9ec86477decd98c 100644 |
--- a/gdb/tui/tui-regs.c |
+++ b/gdb/tui/tui-regs.c |
@@ -131,19 +131,6 @@ tui_first_reg_element_no_inline (int line_no) |
} |
-/* Answer the index of the last element in line_no. If line_no is |
- past the register area (-1) is returned. */ |
-int |
-tui_last_reg_element_no_in_line (int line_no) |
-{ |
- if ((line_no * TUI_DATA_WIN->detail.data_display_info.regs_column_count) <= |
- TUI_DATA_WIN->detail.data_display_info.regs_content_count) |
- return ((line_no + 1) * |
- TUI_DATA_WIN->detail.data_display_info.regs_column_count) - 1; |
- else |
- return (-1); |
-} |
- |
/* Show the registers of the given group in the data window |
and refresh the window. */ |
void |