* infcmd.c (print_return_value): Remove compatibility code calling
[deliverable/binutils-gdb.git] / gdb / value.h
index d6fa9ff9c1f4bf47df884f4bcd206eb112227eec..a596f5befce42c865a2b46fc3ce647c4eb53bbe2 100644 (file)
@@ -23,6 +23,8 @@
 #if !defined (VALUE_H)
 #define VALUE_H 1
 
+struct regcache;
+
 #include "doublest.h"
 
 /*
@@ -125,14 +127,6 @@ struct value
        list.  */
     struct value *next;
 
-    /* ??? When is this used?  */
-    union
-      {
-       CORE_ADDR memaddr;
-       char *myaddr;
-      }
-    substring_addr;
-
     /* Register number if the value is from a register.  Is not kept
        if you take a field of a structure that is stored in a
        register.  Shouldn't it be?  */
@@ -166,9 +160,10 @@ struct value
     union
       {
        long contents[1];
-       double force_double_align;
-       LONGEST force_longlong_align;
-       char *literal_data;
+       DOUBLEST force_doublest_align;
+       LONGEST force_longest_align;
+       CORE_ADDR force_core_addr_align;
+       void *force_pointer_align;
       }
     aligner;
     /* Do not add any new members here -- contents above will trash them */
@@ -317,7 +312,8 @@ extern struct value *value_from_register (struct type *type, int regnum,
 
 extern struct value *value_of_variable (struct symbol *var, struct block *b);
 
-extern struct value *value_of_register (int regnum);
+extern struct value *value_of_register (int regnum,
+                                       struct frame_info *frame);
 
 extern int symbol_read_needs_frame (struct symbol *);
 
@@ -381,7 +377,7 @@ extern struct value *value_struct_elt_for_reference (struct type *domain,
 extern struct value *value_static_field (struct type *type, int fieldno);
 
 extern struct fn_field *value_find_oload_method_list (struct value **, char *,
-                                                     int, int *, int *,
+                                                     int, int *,
                                                      struct type **, int *);
 
 extern int find_overload_match (struct type **arg_types, int nargs,
@@ -411,11 +407,9 @@ extern struct value *value_repeat (struct value *arg1, int count);
 
 extern struct value *value_subscript (struct value *array, struct value *idx);
 
-extern struct value *value_from_vtable_info (struct value *arg,
-                                            struct type *type);
-
 extern struct value *value_being_returned (struct type *valtype,
-                                          char *retbuf, int struct_return);
+                                          struct regcache *retbuf,
+                                          int struct_return);
 
 extern struct value *value_in (struct value *element, struct value *set);
 
This page took 0.026302 seconds and 4 git commands to generate.