Change varobj to use value_ref_ptr
[deliverable/binutils-gdb.git] / gdb / varobj.h
index 6e80d1b89e82e94a9b8883abbd915496faac3eb0..3aba0cda672e8f22b6997e2ff5ad305802b4f573 100644 (file)
@@ -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;
This page took 0.033847 seconds and 4 git commands to generate.