aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2007-04-13 15:07:15 +0000
committerPaul Brook <paul@codesourcery.com>2007-04-13 15:07:15 +0000
commit6e3bbd1ac6116e293670f0d73e9202ccb6d54634 (patch)
tree0d23cb9bb48e720c8ca2f377f5f7a6bd4d1b74ad /gdb
parentcb2a4ac5dae478fcd9d6e772530c3aba0576fc7a (diff)
downloadgdb-6e3bbd1ac6116e293670f0d73e9202ccb6d54634.zip
gdb-6e3bbd1ac6116e293670f0d73e9202ccb6d54634.tar.gz
gdb-6e3bbd1ac6116e293670f0d73e9202ccb6d54634.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo6
-rw-r--r--gdb/target-descriptions.c6
3 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 418550a..fe5967d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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,
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 4be576b..ce0764f 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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.
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c
index e89acec..7d6652d 100644
--- a/gdb/target-descriptions.c
+++ b/gdb/target-descriptions.c
@@ -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;