diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2001-05-04 17:45:19 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2001-05-04 17:45:19 +0000 |
commit | 5264623336b345f3fe0a6b5cf855d89ad49fcb9e (patch) | |
tree | 21a2685773f2f7e48ae5bb5e1ed8f5d98ff9ae72 /opcodes/m32r-ibld.c | |
parent | 992aaec9a9e9657ab62a5fb3282a48ec778c903c (diff) | |
download | gdb-5264623336b345f3fe0a6b5cf855d89ad49fcb9e.zip gdb-5264623336b345f3fe0a6b5cf855d89ad49fcb9e.tar.gz gdb-5264623336b345f3fe0a6b5cf855d89ad49fcb9e.tar.bz2 |
* m32r disasm bug fix
2001-05-04 Frank Ch. Eigler <fche@redhat.com>
* m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.
2001-05-04 Frank Ch. Eigler <fche@redhat.com>
* cgen-dis.in (print_insn): Remove call to read_insn. Instead,
assume incoming buffer already has the base insn loaded. Handle
case of smaller-than-base instructions for variable-length case.
Diffstat (limited to 'opcodes/m32r-ibld.c')
-rw-r--r-- | opcodes/m32r-ibld.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/opcodes/m32r-ibld.c b/opcodes/m32r-ibld.c index a3c7624..f999bcd 100644 --- a/opcodes/m32r-ibld.c +++ b/opcodes/m32r-ibld.c @@ -202,10 +202,10 @@ insert_normal (cd, value, attrs, word_offset, start, length, word_length, } /* Default insn builder (insert handler). - The instruction is recorded in CGEN_INT_INSN_P byte order - (meaning that if CGEN_INT_INSN_P BUFFER is an int * and thus the value is - recorded in host byte order, otherwise BUFFER is an array of bytes and the - value is recorded in target byte order). + The instruction is recorded in CGEN_INT_INSN_P byte order (meaning + that if CGEN_INSN_BYTES_PTR is an int * and thus, the value is + recorded in host byte order, otherwise BUFFER is an array of bytes + and the value is recorded in target byte order). The result is an error message or NULL if success. */ static const char * @@ -265,7 +265,7 @@ insert_insn_normal (cd, insn, fields, buffer, pc) static void put_insn_int_value (cd, buf, length, insn_length, value) - CGEN_CPU_DESC cd; + CGEN_CPU_DESC cd ATTRIBUTE_UNUSED; CGEN_INSN_BYTES_PTR buf; int length; int insn_length; |