aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-12-18 00:23:00 +0000
committerRichard Henderson <rth@redhat.com>2001-12-18 00:23:00 +0000
commitc2274b2767dba3175e585bd17f9f4a93b56cdc63 (patch)
treebe6d1ea8d291771e1b51bd8ca1877a1d607a01b0 /opcodes
parent66ce524609b0ce9d4f1e95cad6a1a0b74d42bc60 (diff)
downloadgdb-c2274b2767dba3175e585bd17f9f4a93b56cdc63.zip
gdb-c2274b2767dba3175e585bd17f9f4a93b56cdc63.tar.gz
gdb-c2274b2767dba3175e585bd17f9f4a93b56cdc63.tar.bz2
* alpha-opc.c (unop): Encode with RB as $sp.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/alpha-opc.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 383e52a..4f01459 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2001-12-17 Richard Henderson <rth@redhat.com>
+
+ * alpha-opc.c (unop): Encode with RB as $sp.
+
2001-12-07 Geoffrey Keating <geoffk@redhat.com>
* Makefile.am: Add support for xstormy16.
diff --git a/opcodes/alpha-opc.c b/opcodes/alpha-opc.c
index d5f0314..7a20a55 100644
--- a/opcodes/alpha-opc.c
+++ b/opcodes/alpha-opc.c
@@ -542,7 +542,8 @@ const struct alpha_opcode alpha_opcodes[] = {
{ "lda", MEM(0x08), BASE, ARG_MEM },
{ "ldah", MEM(0x09), BASE, ARG_MEM },
{ "ldbu", MEM(0x0A), BWX, ARG_MEM },
- { "unop", MEM(0x0B), BASE, { ZA } }, /* pseudo */
+ { "unop", MEM_(0x0B) | (30 << 16),
+ MEM_MASK, BASE, { ZA } }, /* pseudo */
{ "ldq_u", MEM(0x0B), BASE, ARG_MEM },
{ "ldwu", MEM(0x0C), BWX, ARG_MEM },
{ "stw", MEM(0x0D), BWX, ARG_MEM },