diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-12-10 23:07:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-12-10 23:07:24 +0000 |
commit | d70a61e74c649e3b3d64b821f5f5415e45febaf4 (patch) | |
tree | b07faa38ea128606f29277767e5bc616ad727b10 /gdb/tahoe-tdep.c | |
parent | 986b3b988a0d2418ced8f7d75158624673481b83 (diff) | |
download | gdb-d70a61e74c649e3b3d64b821f5f5415e45febaf4.zip gdb-d70a61e74c649e3b3d64b821f5f5415e45febaf4.tar.gz gdb-d70a61e74c649e3b3d64b821f5f5415e45febaf4.tar.bz2 |
CARP:
More replace reg_name[] with REGISTER_NAME().
Diffstat (limited to 'gdb/tahoe-tdep.c')
-rw-r--r-- | gdb/tahoe-tdep.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/tahoe-tdep.c b/gdb/tahoe-tdep.c index 281b1cf..ea8a752 100644 --- a/gdb/tahoe-tdep.c +++ b/gdb/tahoe-tdep.c @@ -121,17 +121,17 @@ print_insn_arg (d, p, addr, stream) case 4: /* Indexed */ p = (char *) print_insn_arg (d, p, addr + 1, stream); - fprintf_unfiltered (stream, "[%s]", reg_names[regnum]); + fprintf_unfiltered (stream, "[%s]", REGISTER_NAME (regnum)); break; case 5: /* Register */ - fprintf_unfiltered (stream, reg_names[regnum]); + fprintf_unfiltered (stream, REGISTER_NAME (regnum)); break; case 7: /* Autodecrement */ fputc_unfiltered ('-', stream); case 6: /* Register deferred */ - fprintf_unfiltered (stream, "(%s)", reg_names[regnum]); + fprintf_unfiltered (stream, "(%s)", REGISTER_NAME (regnum)); break; case 9: /* Absolute Address & Autoincrement deferred */ @@ -174,7 +174,7 @@ print_insn_arg (d, p, addr, stream) } else /*8E is Autoincrement SP Mode*/ - fprintf_unfiltered (stream, "(%s)+", reg_names[regnum]); + fprintf_unfiltered (stream, "(%s)+", REGISTER_NAME (regnum)); break; case 11: /* Register + Byte Displacement Deferred Mode*/ @@ -183,7 +183,7 @@ print_insn_arg (d, p, addr, stream) if (regnum == PC_REGNUM) print_address (addr + *p + 2, stream); else - fprintf_unfiltered (stream, "%d(%s)", *p, reg_names[regnum]); + fprintf_unfiltered (stream, "%d(%s)", *p, REGISTER_NAME (regnum)); p += 1; break; @@ -196,7 +196,7 @@ print_insn_arg (d, p, addr, stream) if (regnum == PC_REGNUM) print_address (addr + temp1 + 3, stream); else - fprintf_unfiltered (stream, "%d(%s)", temp1, reg_names[regnum]); + fprintf_unfiltered (stream, "%d(%s)", temp1, REGISTER_NAME (regnum)); p += 2; break; @@ -213,7 +213,7 @@ print_insn_arg (d, p, addr, stream) if (regnum == PC_REGNUM) print_address (addr + temp1 + 5, stream); else - fprintf_unfiltered (stream, "%d(%s)", temp1, reg_names[regnum]); + fprintf_unfiltered (stream, "%d(%s)", temp1, REGISTER_NAME (regnum)); p += 4; } |