diff options
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 849692b..8c8208e 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -3027,6 +3027,7 @@ _initialize_xcoffread (void) "<function, no debug info>", NULL); TYPE_TARGET_TYPE (func_symbol_type) = builtin_type_int; var_symbol_type = - init_type (TYPE_CODE_INT, TARGET_INT_BIT / HOST_CHAR_BIT, 0, + init_type (TYPE_CODE_INT, + gdbarch_int_bit (current_gdbarch) / HOST_CHAR_BIT, 0, "<variable, no debug info>", NULL); } |