aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m32r-desc.c
diff options
context:
space:
mode:
authorPatrick Macdonald <patrickm@redhat.com>2001-03-20 20:56:34 +0000
committerPatrick Macdonald <patrickm@redhat.com>2001-03-20 20:56:34 +0000
commit27fca2d871b27e82e9e461bbad4fefdb45910e05 (patch)
tree5a1c80dd3fdc7e39863be18ff714d60297d8b987 /opcodes/m32r-desc.c
parentcc5ce0523570ebca894a56c35a88c0696f32c8c3 (diff)
downloadgdb-27fca2d871b27e82e9e461bbad4fefdb45910e05.zip
gdb-27fca2d871b27e82e9e461bbad4fefdb45910e05.tar.gz
gdb-27fca2d871b27e82e9e461bbad4fefdb45910e05.tar.bz2
Add support for cgen machine determination.
* cgen-dis.in (print_insn_@arch@): Add support for target machine determination via CGEN_COMPUTE_MACH. * fr30-desc.c: Regenerate. * fr30-dis.c: Regenerate. * fr30-opc.h: Regenerate. * m32r-desc.c: Regenerate. * m32r-dis.c: Regenerate. * m32r-opc.h: Regenerate. * m32r-opinst.c: Regenerate.
Diffstat (limited to 'opcodes/m32r-desc.c')
-rw-r--r--opcodes/m32r-desc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/m32r-desc.c b/opcodes/m32r-desc.c
index 111eb2d..8bcd790 100644
--- a/opcodes/m32r-desc.c
+++ b/opcodes/m32r-desc.c
@@ -1324,7 +1324,7 @@ m32r_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
const CGEN_MACH *mach =
lookup_mach_via_bfd_name (m32r_cgen_mach_table, name);
- machs |= mach->num << 1;
+ machs |= 1 << mach->num;
break;
}
case CGEN_CPU_OPEN_ENDIAN :