2007-04-13 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Fri, 13 Apr 2007 15:07:15 +0000 (15:07 +0000)
committerPaul Brook <paul@codesourcery.com>
Fri, 13 Apr 2007 15:07:15 +0000 (15:07 +0000)
* target-descriptions.c (tdesc_named_type): Add ieee_single and
ieee_double.
* doc/gdb.texinfo: Document ieee_single and ieee_double target types.

gdb/ChangeLog
gdb/doc/gdb.texinfo
gdb/target-descriptions.c

index 418550a49957f8df55c36257924963adfa504b18..fe5967d05c1caebb04df35ae909b5f94f9214fdc 100644 (file)
@@ -1,3 +1,9 @@
+2007-04-13  Paul Brook  <paul@codesourcery.com>
+
+       * target-descriptions.c (tdesc_named_type): Add ieee_single and
+       ieee_double.
+       * doc/gdb.texinfo: Document ieee_single and ieee_double target types.
+
 2007-04-13  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
index 4be576b8982b4b3ce42ba428e4e9c27855211f45..ce0764f3a53751d20141557def91299f75cd1826 100644 (file)
@@ -25611,6 +25611,12 @@ pointers; printing a code pointer converts it into a symbolic
 address.  The stack pointer and any dedicated address registers
 may be marked as data pointers.
 
+@item ieee_single
+Single precision IEEE floating point.
+
+@item ieee_double
+Double precision IEEE floating point.
+
 @item arm_fpa_ext
 The 12-byte extended precision format used by ARM FPA registers.
 
index e89aceca30699e82d87c24b3e5a7c54d26431b7f..7d6652d351bbf249076f110d3fc4847efbbb535f 100644 (file)
@@ -382,6 +382,12 @@ tdesc_named_type (const struct tdesc_feature *feature, const char *id)
   if (strcmp (id, "uint64") == 0)
     return builtin_type_uint64;
 
+  if (strcmp (id, "ieee_single") == 0)
+    return builtin_type_ieee_single;
+
+  if (strcmp (id, "ieee_double") == 0)
+    return builtin_type_ieee_double;
+
   if (strcmp (id, "arm_fpa_ext") == 0)
     return builtin_type_arm_ext;