aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-10-28 12:43:12 +0000
committerMark Kettenis <kettenis@gnu.org>2001-10-28 12:43:12 +0000
commite371b258f8fd8a710d01cf7528e707f6e2621ca0 (patch)
tree384386d8f29ac0f35c932e334396f904c5ef887c /gdb
parent6884aa54f12958089afae41a9dd6fa5d63ea6e16 (diff)
downloadgdb-e371b258f8fd8a710d01cf7528e707f6e2621ca0.zip
gdb-e371b258f8fd8a710d01cf7528e707f6e2621ca0.tar.gz
gdb-e371b258f8fd8a710d01cf7528e707f6e2621ca0.tar.bz2
* gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
builtin_type_i387_ext to floatformat_i387_ext.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbtypes.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e05d5e5..87761f7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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[].
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index f15d10e..2557d69 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);