aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-regs.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-03-01 21:08:07 +0000
committerPedro Alves <palves@redhat.com>2012-03-01 21:08:07 +0000
commit983fb1048b2680d710715bd24c57e66a69ba9622 (patch)
tree3fd1b71fe3f295b765d23eae16c0338785b31d77 /gdb/tui/tui-regs.c
parent5fbce5dfb1729f6183be7b96b9b2c42ab2e595f4 (diff)
downloadgdb-983fb1048b2680d710715bd24c57e66a69ba9622.zip
gdb-983fb1048b2680d710715bd24c57e66a69ba9622.tar.gz
gdb-983fb1048b2680d710715bd24c57e66a69ba9622.tar.bz2
2012-03-01 Pedro Alves <palves@redhat.com>
* tui/tui-data.c (set_gen_win_origin): Delete. * tui/tui-data.h (tui_set_gen_win_origin): Delete declaration. * tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete.
Diffstat (limited to 'gdb/tui/tui-regs.c')
-rw-r--r--gdb/tui/tui-regs.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index a093e91..62c0fad 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