diff options
author | DJ Delorie <dj@delorie.com> | 2005-07-20 19:36:54 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2005-07-20 19:36:54 +0000 |
commit | 764b9f954bd4a62cebaa9ebfd0b751bfbef080f0 (patch) | |
tree | 35c49f330c5b93afef6b3771a214dbb52ce29ad1 /opcodes/disassemble.c | |
parent | 597ce7fe4f16d4fa07e689fee1e530310326ded3 (diff) | |
download | gdb-764b9f954bd4a62cebaa9ebfd0b751bfbef080f0.tar.gz |
* 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 377e64f7b97..cbecfcdf40e 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: |