Fix problems introduced with my last change.
[deliverable/binutils-gdb.git] / gdb / value.h
index ab22573a4806c064970530aa1721242c1d011e75..57fd38cbaf5fbf67572b3c26371f8d4986bb7a82 100644 (file)
@@ -186,8 +186,8 @@ extern int value_fetch_lazy PARAMS ((value_ptr val));
 do { struct type *value_type_arg_tmp = check_typedef (VALUE_TYPE (arg));\
      if (TYPE_CODE (value_type_arg_tmp) == TYPE_CODE_REF)              \
         arg = value_at_lazy (TYPE_TARGET_TYPE (value_type_arg_tmp),    \
-                             unpack_long (VALUE_TYPE (arg),            \
-                                          VALUE_CONTENTS (arg)),       \
+                             unpack_pointer (VALUE_TYPE (arg),         \
+                                             VALUE_CONTENTS (arg)),    \
                              VALUE_BFD_SECTION (arg));                 \
     } while (0)
 
@@ -264,6 +264,8 @@ extern LONGEST unpack_field_as_long PARAMS ((struct type * type, char *valaddr,
 
 extern value_ptr value_from_longest PARAMS ((struct type * type, LONGEST num));
 
+extern value_ptr value_from_pointer (struct type *type, CORE_ADDR addr);
+
 extern value_ptr value_from_double PARAMS ((struct type * type, DOUBLEST num));
 
 extern value_ptr value_from_string PARAMS ((char *string));
@@ -462,6 +464,9 @@ extern void write_register_bytes PARAMS ((int regbyte, char *myaddr, int len));
 extern void
 read_register_gen PARAMS ((int regno, char *myaddr));
 
+extern void
+write_register_gen PARAMS ((int regno, char *myaddr));
+
 extern CORE_ADDR
   read_register PARAMS ((int regno));
 
@@ -549,6 +554,10 @@ extern value_ptr value_slice PARAMS ((value_ptr, int, int));
 
 extern value_ptr call_function_by_hand PARAMS ((value_ptr, int, value_ptr *));
 
+extern int default_coerce_float_to_double (struct type *, struct type *);
+
+extern int standard_coerce_float_to_double (struct type *, struct type *);
+
 extern value_ptr value_literal_complex PARAMS ((value_ptr, value_ptr, struct type *));
 
 extern void find_rt_vbase_offset PARAMS ((struct type *, struct type *, char *, int, int *, int *));
This page took 0.023336 seconds and 4 git commands to generate.