diff options
author | DJ Delorie <dj@redhat.com> | 2005-07-20 19:36:54 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-07-20 19:36:54 +0000 |
commit | 760c0f6a1adca1236c856d879d48f77096a35ac9 (patch) | |
tree | 28c1d98bddbf402493e3832874d621982d1c8881 /opcodes/disassemble.c | |
parent | fe773494031c0e3f146307642f9591fc78e55f7c (diff) | |
download | gdb-760c0f6a1adca1236c856d879d48f77096a35ac9.zip gdb-760c0f6a1adca1236c856d879d48f77096a35ac9.tar.gz gdb-760c0f6a1adca1236c856d879d48f77096a35ac9.tar.bz2 |
* disassemble.c (disassemble_init_for_target): M32C ISAs are
enums, so convert them to bit masks, which attributes are.
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r-- | opcodes/disassemble.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index 377e64f..cbecfcd 100644 --- a/opcodes/disassemble.c +++ b/opcodes/disassemble.c @@ -452,9 +452,9 @@ disassemble_init_for_target (struct disassemble_info * info) case bfd_arch_m32c: info->endian = BFD_ENDIAN_BIG; if (info->mach == bfd_mach_m16c) - info->insn_sets = ISA_M16C; + info->insn_sets = 1 << ISA_M16C; else - info->insn_sets = ISA_M32C; + info->insn_sets = 1 << ISA_M32C; break; #endif default: |