diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-02-11 20:46:14 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-02-11 20:46:14 +0000 |
commit | 2ea116f49bae8b5a168af1fb478ab5b1a1f3b330 (patch) | |
tree | 9f1213c8e2f3570477290ae10e7373d88d44bdfe /opcodes/mips-dis.c | |
parent | e7886d4ba19fc81c1bad8ce411107e46094665ef (diff) | |
download | gdb-2ea116f49bae8b5a168af1fb478ab5b1a1f3b330.zip gdb-2ea116f49bae8b5a168af1fb478ab5b1a1f3b330.tar.gz gdb-2ea116f49bae8b5a168af1fb478ab5b1a1f3b330.tar.bz2 |
* mips-dis.c (_print_insn_mips): Set bytes_per_chunk and
display_endian.
(print_insn_mips16): Likewise.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r-- | opcodes/mips-dis.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index f4e5ca6..89d3e90 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -255,6 +255,9 @@ _print_insn_mips (memaddr, word, info) init = 1; } + info->bytes_per_chunk = 4; + info->display_endian = info->endian; + op = mips_hash[(word >> OP_SH_OP) & OP_MASK_OP]; if (op != NULL) { @@ -351,6 +354,9 @@ print_insn_mips16 (memaddr, info) int extend; const struct mips_opcode *op, *opend; + info->bytes_per_chunk = 2; + info->display_endian = info->endian; + info->insn_info_valid = 1; info->branch_delay_insns = 0; info->data_size = 0; |