aboutsummaryrefslogtreecommitdiff
path: root/opcodes/dis-init.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2008-07-07 18:35:24 +0000
committerStan Shebs <shebs@codesourcery.com>2008-07-07 18:35:24 +0000
commitbd2e25575ca4a83f509c2d6ea3c55d93eada210c (patch)
tree3687ce773bec24395d738e8fedf9fc4826748326 /opcodes/dis-init.c
parentb7292df399476ace3dc1eb8ae78b87e6ef91808e (diff)
downloadgdb-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.c1
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;