aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-10-20 13:50:16 +0000
committerAlan Modra <amodra@gmail.com>2001-10-20 13:50:16 +0000
commit1f613cde70d34ffa70bbdcaf1830f022f04c8c84 (patch)
treec0e8a5ace80ce9e8168a05b3ab4eb64f999e810e /opcodes
parentb47c42085628603e890a783b8d2a612d19f66396 (diff)
downloadgdb-1f613cde70d34ffa70bbdcaf1830f022f04c8c84.zip
gdb-1f613cde70d34ffa70bbdcaf1830f022f04c8c84.tar.gz
gdb-1f613cde70d34ffa70bbdcaf1830f022f04c8c84.tar.bz2
* ppc-opc.c (CT): Make it an optional operand.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/ppc-opc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index f8269b2..5a47439 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-20 Alan Modra <amodra@bigpond.net.au>
+
+ * ppc-opc.c (CT): Make it an optional operand.
+
2001-10-17 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_isa_type): Make the ISA used to disassemble
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 8aab61b..82f8d56 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -195,7 +195,7 @@ const struct powerpc_operand powerpc_operands[] =
/* The CT field in an X form instruction. */
#define CT CR + 1
- { 5, 21, 0, 0, 0 },
+ { 5, 21, 0, 0, PPC_OPERAND_OPTIONAL },
/* The D field in a D form instruction. This is a displacement off
a register, and implies that the next operand is a register in