From 6e3bbd1ac6116e293670f0d73e9202ccb6d54634 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 13 Apr 2007 15:07:15 +0000 Subject: [PATCH] 2007-04-13 Paul Brook * 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 | 6 ++++++ gdb/doc/gdb.texinfo | 6 ++++++ gdb/target-descriptions.c | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 418550a4995..fe5967d05c1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2007-04-13 Paul Brook + + * 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 * 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 4be576b8982..ce0764f3a53 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 e89aceca306..7d6652d351b 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; -- 2.30.2