diff options
author | Stan Shebs <shebs@codesourcery.com> | 2008-07-07 18:35:24 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 2008-07-07 18:35:24 +0000 |
commit | bd2e25575ca4a83f509c2d6ea3c55d93eada210c (patch) | |
tree | 3687ce773bec24395d738e8fedf9fc4826748326 /opcodes/dis-init.c | |
parent | b7292df399476ace3dc1eb8ae78b87e6ef91808e (diff) | |
download | gdb-bd2e25575ca4a83f509c2d6ea3c55d93eada210c.zip gdb-bd2e25575ca4a83f509c2d6ea3c55d93eada210c.tar.gz gdb-bd2e25575ca4a83f509c2d6ea3c55d93eada210c.tar.bz2 |
2008-07-07 Stan Shebs <stan@codesourcery.com>
* dis-init.c (init_disassemble_info): Init endian_code field.
* arm-dis.c (print_insn): Disassemble code according to
setting of endian_code.
(print_insn_big_arm): Detect when BE8 extension flag has been set.
Diffstat (limited to 'opcodes/dis-init.c')
-rw-r--r-- | opcodes/dis-init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/dis-init.c b/opcodes/dis-init.c index dff91eb..8027963 100644 --- a/opcodes/dis-init.c +++ b/opcodes/dis-init.c @@ -32,6 +32,7 @@ init_disassemble_info (struct disassemble_info *info, void *stream, info->flavour = bfd_target_unknown_flavour; info->arch = bfd_arch_unknown; info->endian = BFD_ENDIAN_UNKNOWN; + info->endian_code = info->endian; info->octets_per_byte = 1; info->fprintf_func = fprintf_func; info->stream = stream; |