aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arc-dis.c
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@gmail.com>2020-01-13 10:21:30 +0200
committerClaudiu Zissulescu <claziss@gmail.com>2020-01-13 10:25:50 +0200
commitb9fe6b8aa6c7d662291764d22da09ad9f7c0288a (patch)
tree6dd7f2392a374e501241b147ef73eb712cbcb271 /opcodes/arc-dis.c
parent90dee485e5a5cf5eb51491feb8ebea1fcbf5d4cc (diff)
downloadgdb-b9fe6b8aa6c7d662291764d22da09ad9f7c0288a.zip
gdb-b9fe6b8aa6c7d662291764d22da09ad9f7c0288a.tar.gz
gdb-b9fe6b8aa6c7d662291764d22da09ad9f7c0288a.tar.bz2
[ARC] [COMMITTED] Change ACCL/ACCH reg name to generic.
ACCL/ACCH register names are only available for ARCv2 architecture, leading to a confusion when disassembling for any other ARC variants. This patch is changing the default names for ACCL/ACCH to generic r58/r59. 2012-01-13 Claudiu Zissulescu <claziss@gmail.com> * opcode/arc-dis.c (regnames): Correct ACCL/ACCH naming, fix typo reserved register name.
Diffstat (limited to 'opcodes/arc-dis.c')
-rw-r--r--opcodes/arc-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c
index ac8d6aa..9662c2f 100644
--- a/opcodes/arc-dis.c
+++ b/opcodes/arc-dis.c
@@ -90,7 +90,7 @@ static const char * const regnames[64] =
"r32", "r33", "r34", "r35", "r36", "r37", "r38", "r39",
"r40", "r41", "r42", "r43", "r44", "r45", "r46", "r47",
"r48", "r49", "r50", "r51", "r52", "r53", "r54", "r55",
- "r56", "r57", "ACCL", "ACCH", "lp_count", "rezerved", "LIMM", "pcl"
+ "r56", "r57", "r58", "r59", "lp_count", "reserved", "LIMM", "pcl"
};
static const char * const addrtypenames[ARC_NUM_ADDRTYPES] =