Move doc/ entries into doc/ChangeLog.
[deliverable/binutils-gdb.git] / gdb / value.h
index e66daa0b27c86791485f19f9ab0568ca8e94cff2..744c26c9f84aaa94a5e81426a57225d6844059bb 100644 (file)
@@ -186,6 +186,7 @@ extern bfd_byte *value_contents_all_raw (struct value *);
 extern const bfd_byte *value_contents_all (struct value *);
 
 extern int value_fetch_lazy (struct value *val);
+extern int value_contents_equal (struct value *val1, struct value *val2);
 
 /* If nonzero, this is the value of a variable which does not actually
    exist in the program.  */
@@ -261,11 +262,12 @@ extern LONGEST value_as_long (struct value *val);
 extern DOUBLEST value_as_double (struct value *val);
 extern CORE_ADDR value_as_address (struct value *val);
 
-extern LONGEST unpack_long (struct type *type, const char *valaddr);
-extern DOUBLEST unpack_double (struct type *type, const char *valaddr,
+extern LONGEST unpack_long (struct type *type, const bfd_byte *valaddr);
+extern DOUBLEST unpack_double (struct type *type, const bfd_byte *valaddr,
                               int *invp);
-extern CORE_ADDR unpack_pointer (struct type *type, const char *valaddr);
-extern LONGEST unpack_field_as_long (struct type *type, const char *valaddr,
+extern CORE_ADDR unpack_pointer (struct type *type, const bfd_byte *valaddr);
+extern LONGEST unpack_field_as_long (struct type *type,
+                                    const bfd_byte *valaddr,
                                     int fieldno);
 
 extern struct value *value_from_longest (struct type *type, LONGEST num);
@@ -325,6 +327,8 @@ extern struct value *value_addr (struct value *arg1);
 extern struct value *value_assign (struct value *toval,
                                   struct value *fromval);
 
+extern struct value *value_pos (struct value *arg1);
+
 extern struct value *value_neg (struct value *arg1);
 
 extern struct value *value_complement (struct value *arg1);
@@ -448,14 +452,15 @@ extern void release_value (struct value *val);
 
 extern int record_latest_value (struct value *val);
 
-extern void modify_field (char *addr, LONGEST fieldval, int bitpos,
+extern void modify_field (bfd_byte *addr, LONGEST fieldval, int bitpos,
                          int bitsize);
 
 extern void type_print (struct type *type, char *varstring,
                        struct ui_file *stream, int show);
 
-extern char *baseclass_addr (struct type *type, int index, char *valaddr,
-                            struct value **valuep, int *errp);
+extern bfd_byte *baseclass_addr (struct type *type, int index,
+                                bfd_byte *valaddr,
+                                struct value **valuep, int *errp);
 
 extern void print_longest (struct ui_file *stream, int format,
                           int use_local, LONGEST val);
@@ -478,6 +483,11 @@ extern int val_print (struct type *type, const bfd_byte *valaddr,
                      int deref_ref, int recurse,
                      enum val_prettyprint pretty);
 
+extern int common_val_print (struct value *val,
+                            struct ui_file *stream, int format,
+                            int deref_ref, int recurse,
+                            enum val_prettyprint pretty);
+
 extern int val_print_string (CORE_ADDR addr, int len, int width,
                             struct ui_file *stream);
 
@@ -485,7 +495,7 @@ extern void print_variable_value (struct symbol *var,
                                  struct frame_info *frame,
                                  struct ui_file *stream);
 
-extern int check_field (struct value *, const char *);
+extern int check_field (struct value *, const bfd_byte *);
 
 extern void typedef_print (struct type *type, struct symbol *news,
                           struct ui_file *stream);
This page took 0.023954 seconds and 4 git commands to generate.