aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-disasm.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-08 01:32:26 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-08 01:32:26 +0000
commitd02c80cdf4c8426e911e897c4c6a9aa950354b1b (patch)
tree6e0f5a6804dd11cb105e43a6a7aca6e580ed35d9 /gdb/tui/tui-disasm.c
parent6ba8e26f707d4fe30bf0ce56f521b7d6509b125b (diff)
downloadgdb-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-disasm.c')
-rw-r--r--gdb/tui/tui-disasm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tui-disasm.c b/gdb/tui/tui-disasm.c
index 6258032..a431121 100644
--- a/gdb/tui/tui-disasm.c
+++ b/gdb/tui/tui-disasm.c
@@ -95,7 +95,7 @@ tui_disassemble (struct tui_asm_line* lines, CORE_ADDR pc, int count)
static CORE_ADDR
tui_find_disassembly_address (CORE_ADDR pc, int from)
{
- register CORE_ADDR new_low;
+ CORE_ADDR new_low;
int max_lines;
int i;
struct tui_asm_line* lines;
@@ -176,9 +176,9 @@ enum tui_status
tui_set_disassem_content (CORE_ADDR pc)
{
enum tui_status ret = TUI_FAILURE;
- register int i;
+ int i;
int offset = TUI_DISASM_WIN->detail.source_info.horizontal_offset;
- register int line_width, max_lines;
+ int line_width, max_lines;
CORE_ADDR cur_pc;
struct tui_gen_win_info * locator = tui_locator_win_info_ptr ();
int tab_len = tui_default_tab_len ();