* gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
authorMark Kettenis <kettenis@gnu.org>
Sun, 28 Oct 2001 12:43:12 +0000 (12:43 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 28 Oct 2001 12:43:12 +0000 (12:43 +0000)
builtin_type_i387_ext to floatformat_i387_ext.

gdb/ChangeLog
gdb/gdbtypes.c

index e05d5e50f86c2f5f54aee1501a22104b0ff80c6a..87761f7857425bea93cfba64d4aecfe62a034a48 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
+       builtin_type_i387_ext to floatformat_i387_ext.
+
 2001-10-24  Daniel Jacobowitz  <drow@mvista.com>
 
        * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
index f15d10eed7adccf4d27a74c3113f2a2e60667425..2557d69edb394034dc2da76bb9c7c63c77811b70 100644 (file)
@@ -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);