bfd_set_input_error
[deliverable/binutils-gdb.git] / gdb / mdebugread.c
index d9942166c5c3c921f87f744a545ac9befdded117..13140e707d9e323fad86046b566da03e25da6d3c 100644 (file)
@@ -1469,14 +1469,13 @@ basic_type (int bt, struct objfile *objfile)
 
     case btFloatDec:
       tp = init_type (objfile, TYPE_CODE_ERROR,
-                     gdbarch_double_bit (gdbarch) / TARGET_CHAR_BIT,
-                     "floating decimal");
+                     gdbarch_double_bit (gdbarch), "floating decimal");
       break;
 
     case btString:
       /* Is a "string" the way btString means it the same as TYPE_CODE_STRING?
         FIXME.  */
-      tp = init_type (objfile, TYPE_CODE_STRING, 1, "string");
+      tp = init_type (objfile, TYPE_CODE_STRING, TARGET_CHAR_BIT, "string");
       break;
 
     case btVoid:
This page took 0.023958 seconds and 4 git commands to generate.