diff options
Diffstat (limited to 'gdb/varobj.h')
-rw-r--r-- | gdb/varobj.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/varobj.h b/gdb/varobj.h index 6e80d1b..3aba0cd 100644 --- a/gdb/varobj.h +++ b/gdb/varobj.h @@ -20,6 +20,7 @@ #include "symtab.h" #include "gdbtypes.h" #include "vec.h" +#include "value.h" /* Enumeration for the format types */ enum varobj_display_formats @@ -122,7 +123,7 @@ struct varobj indicates there was an error getting this value. Invariant: if varobj_value_is_changeable_p (this) is non-zero, the value is either NULL, or not lazy. */ - struct value *value = NULL; + value_ref_ptr value; /* The number of (immediate) children this variable has. */ int num_children = -1; |