From: Mark Kettenis Date: Sun, 28 Oct 2001 12:43:12 +0000 (+0000) Subject: * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e371b258f8fd8a710d01cf7528e707f6e2621ca0;p=binutils-gdb.git * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for builtin_type_i387_ext to floatformat_i387_ext. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e05d5e50f86..87761f78574 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-10-28 Mark Kettenis + + * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for + builtin_type_i387_ext to floatformat_i387_ext. + 2001-10-24 Daniel Jacobowitz * arm-linux-nat.c (fill_gregset): Do not check register_valid[]. diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index f15d10eed7a..2557d69edb3 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -3067,6 +3067,7 @@ _initialize_gdbtypes (void) builtin_type_i387_ext = init_type (TYPE_CODE_FLT, floatformat_i387_ext.totalsize / 8, 0, "builtin_type_i387_ext", NULL); + TYPE_FLOATFORMAT (builtin_type_i387_ext) = &floatformat_i387_ext; builtin_type_m68881_ext = init_type (TYPE_CODE_FLT, floatformat_m68881_ext.totalsize / 8, 0, "builtin_type_m68881_ext", NULL);