*** empty log message ***
[binutils-gdb.git] / gdb / value.h
index c3dfb17276f22ce20e2e9324e9ec0c445fabb1e5..12cbc0a702ce2fbd04b878d92a25ed5fe99b14ca 100644 (file)
@@ -170,7 +170,7 @@ struct lval_funcs
   int (*check_validity) (const struct value *value, int offset, int length);
 
   /* Return 1 if any bit in VALUE is valid, 0 if they are all invalid.  */
-  int (*check_all_valid) (const struct value *value);
+  int (*check_any_valid) (const struct value *value);
 
   /* Return a duplicate of VALUE's closure, for use in a new value.
      This may simply return the same closure, if VALUE's is
@@ -366,6 +366,7 @@ extern LONGEST unpack_field_as_long (struct type *type,
 extern void pack_long (gdb_byte *buf, struct type *type, LONGEST num);
 
 extern struct value *value_from_longest (struct type *type, LONGEST num);
+extern struct value *value_from_ulongest (struct type *type, ULONGEST num);
 extern struct value *value_from_pointer (struct type *type, CORE_ADDR addr);
 extern struct value *value_from_double (struct type *type, DOUBLEST num);
 extern struct value *value_from_decfloat (struct type *type,
@@ -537,6 +538,10 @@ extern struct value *evaluate_subexp (struct type *expect_type,
 extern struct value *evaluate_subexpression_type (struct expression *exp,
                                                  int subexp);
 
+extern void fetch_subexp_value (struct expression *exp, int *pc,
+                               struct value **valp, struct value **resultp,
+                               struct value **val_chain);
+
 extern char *extract_field_op (struct expression *exp, int *subexp);
 
 extern struct value *evaluate_subexp_with_coercion (struct expression *,
@@ -634,6 +639,8 @@ extern void value_free (struct value *val);
 
 extern void free_all_values (void);
 
+extern void free_value_chain (struct value *v);
+
 extern void release_value (struct value *val);
 
 extern int record_latest_value (struct value *val);