Make init_type/arch_type take a size in bits
[deliverable/binutils-gdb.git] / gdb / ft32-tdep.c
index a988421ec3964cf78105d56f27e9a6080e0a94b5..0e61a4bdfe6d19771c2db11de86a5b39dfaa9290 100644 (file)
@@ -598,7 +598,7 @@ ft32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
 
   /* Create a type for PC.  We can't use builtin types here, as they may not
      be defined.  */
-  void_type = arch_type (gdbarch, TYPE_CODE_VOID, 1, "void");
+  void_type = arch_type (gdbarch, TYPE_CODE_VOID, TARGET_CHAR_BIT, "void");
   func_void_type = make_function_type (void_type, NULL);
   tdep->pc_type = arch_pointer_type (gdbarch, 4 * TARGET_CHAR_BIT, NULL,
                                     func_void_type);
This page took 0.024165 seconds and 4 git commands to generate.