diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-08 01:32:26 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-08 01:32:26 +0000 |
commit | d02c80cdf4c8426e911e897c4c6a9aa950354b1b (patch) | |
tree | 6e0f5a6804dd11cb105e43a6a7aca6e580ed35d9 /gdb/tui/tui-regs.c | |
parent | 6ba8e26f707d4fe30bf0ce56f521b7d6509b125b (diff) | |
download | gdb-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.zip gdb-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.tar.gz gdb-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.tar.bz2 |
2004-02-07 Andrew Cagney <cagney@redhat.com>
* tui/tui-command.c: Include "gdb_string.h", delete register
attribute, use ISO-C function signatures.
* tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
* tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
* tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
* tui/tui.c: Ditto.
Diffstat (limited to 'gdb/tui/tui-regs.c')
-rw-r--r-- | gdb/tui/tui-regs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index 3dc01e6..d3ff1eb 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -111,7 +111,7 @@ static void tui_scroll_regs_backward_command (char *, int); int tui_last_regs_line_no (void) { - register int num_lines = (-1); + int num_lines = (-1); if (TUI_DATA_WIN->detail.data_display_info.regs_content_count > 0) { @@ -282,7 +282,7 @@ tui_display_registers_from (int start_element_no) if (TUI_DATA_WIN->detail.data_display_info.regs_content != (tui_win_content) NULL && TUI_DATA_WIN->detail.data_display_info.regs_content_count > 0) { - register int i = start_element_no; + int i = start_element_no; int j, value_chars_wide, item_win_width, cur_y, label_width; enum precision_type precision; @@ -367,11 +367,11 @@ tui_display_reg_element_at_line (int start_element_no, int start_line_no) if (TUI_DATA_WIN->detail.data_display_info.regs_content != (tui_win_content) NULL && TUI_DATA_WIN->detail.data_display_info.regs_content_count > 0) { - register int element_no = start_element_no; + int element_no = start_element_no; if (start_element_no != 0 && start_line_no != 0) { - register int last_line_no, first_line_on_last_page; + int last_line_no, first_line_on_last_page; last_line_no = tui_last_regs_line_no (); first_line_on_last_page = last_line_no - (TUI_DATA_WIN->generic.height - 2); |