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 418550a..fe5967d 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 4be576b..ce0764f 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 e89acec..7d6652d 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;