mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* value.h (value_contents_equal): New prototype.
* value.c (value_contents_equal): New function. * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't include <math.h>. (varobj_set_value): Initialize error to zero. (varobj_update): Rename error2 to error and initialize it to zero. Slightly change the wording of some comments. (my_value_equal): Reimplement using TRY_CATCH and value_contents_equal.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user