* inferior.h (read_sp): Remove prototype.
[deliverable/binutils-gdb.git] / gdb / target-descriptions.c
index 1f8cf7e17e5b672584cf42941f04d86eb6f53d8b..7d6652d351bbf249076f110d3fc4847efbbb535f 100644 (file)
@@ -382,11 +382,11 @@ tdesc_named_type (const struct tdesc_feature *feature, const char *id)
   if (strcmp (id, "uint64") == 0)
     return builtin_type_uint64;
 
-  if (strcmp (id, "code_ptr") == 0)
-    return builtin_type_void_func_ptr;
+  if (strcmp (id, "ieee_single") == 0)
+    return builtin_type_ieee_single;
 
-  if (strcmp (id, "data_ptr") == 0)
-    return builtin_type_void_data_ptr;
+  if (strcmp (id, "ieee_double") == 0)
+    return builtin_type_ieee_double;
 
   if (strcmp (id, "arm_fpa_ext") == 0)
     return builtin_type_arm_ext;
@@ -555,6 +555,10 @@ tdesc_register_type (struct gdbarch *gdbarch, int regno)
        /* A bit desperate by this point... */
        return builtin_type_void_data_ptr;
     }
+  else if (strcmp (reg->type, "code_ptr") == 0)
+    return builtin_type_void_func_ptr;
+  else if (strcmp (reg->type, "data_ptr") == 0)
+    return builtin_type_void_data_ptr;
   else
     internal_error (__FILE__, __LINE__,
                    "Register \"%s\" has an unknown type \"%s\"",
This page took 0.024071 seconds and 4 git commands to generate.