This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Add floating-point type to builtin_type_i387_ext
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH] Add floating-point type to builtin_type_i387_ext
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Sun, 28 Oct 2001 13:43:17 +0100
Checked in.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
builtin_type_i387_ext to floatformat_i387_ext.
Index: gdbtypes.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtypes.c,v
retrieving revision 1.25
diff -u -p -r1.25 gdbtypes.c
--- gdbtypes.c 2001/08/24 04:46:43 1.25
+++ gdbtypes.c 2001/10/28 12:41:34
@@ -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);