diff options
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index d994216..13140e7 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -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: |