summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@redhat.com>2002-02-12 14:51:54 +0000
committerGraydon Hoare <graydon@redhat.com>2002-02-12 14:51:54 +0000
commitd7de8249f067d69d47f230d2d402b68f12f51205 (patch)
tree137e122226721f02d735237e4d21bcf569d787e6 /opcodes
parent2d20f7bf674ff3f0f43842677c70fc2879c5e2c7 (diff)
downloadbinutils-gdb-d7de8249f067d69d47f230d2d402b68f12f51205.tar.gz
[ opcodes/ChangeLog ]
2002-02-12 Graydon Hoare <graydon@redhat.com> * cgen-asm.in (parse_insn_normal): Change call from @arch@_cgen_parse_operand to cd->parse_operand, to facilitate CGEN_ASM_INIT_HOOK doing useful work.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/cgen-asm.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index a6a07e390bf..9a4ac0f9119 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2002-02-12 Graydon Hoare <graydon@redhat.com>
+
+ * cgen-asm.in (parse_insn_normal): Change call from
+ @arch@_cgen_parse_operand to cd->parse_operand, to
+ facilitate CGEN_ASM_INIT_HOOK doing useful work.
+
2002-02-11 Alexandre Oliva <aoliva@redhat.com>
* sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
diff --git a/opcodes/cgen-asm.in b/opcodes/cgen-asm.in
index 475a4f14690..525177c79d0 100644
--- a/opcodes/cgen-asm.in
+++ b/opcodes/cgen-asm.in
@@ -275,7 +275,7 @@ parse_insn_normal (cd, insn, strp, fields)
}
/* We have an operand of some sort. */
- errmsg = @arch@_cgen_parse_operand (cd, CGEN_SYNTAX_FIELD (*syn),
+ errmsg = cd->parse_operand (cd, CGEN_SYNTAX_FIELD (*syn),
&str, fields);
if (errmsg)
return errmsg;