* gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
[deliverable/binutils-gdb.git] / gdb / varobj.h
index 28c5fac4d16b4cc3e81148fa79879d567a612b14..cd3023310a6cd412fb8b676ad6a419a01b7d65de 100644 (file)
@@ -1,5 +1,5 @@
 /* GDB variable objects API.
-   Copyright 1999 Free Software Foundation, Inc.
+   Copyright 1999, 2000 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -32,6 +32,13 @@ enum varobj_display_formats
     FORMAT_OCTAL               /* Octal display                     */
   };
 
+enum varobj_type
+  {
+    USE_SPECIFIED_FRAME,        /* Use the frame passed to varobj_create */
+    USE_CURRENT_FRAME,          /* Use the current frame */
+    USE_SELECTED_FRAME          /* Always reevaluate in selected frame */
+  };
+    
 /* String representations of gdb's format codes (defined in varobj.c) */
 extern char *varobj_format_string[];
 
@@ -50,7 +57,8 @@ struct varobj;
 /* API functions */
 
 extern struct varobj *varobj_create (char *objname,
-                                    char *expression, CORE_ADDR frame);
+                                    char *expression, CORE_ADDR frame,
+                                    enum varobj_type type);
 
 extern char *varobj_gen_name (void);
 
@@ -87,6 +95,6 @@ extern int varobj_set_value (struct varobj *var, char *expression);
 
 extern int varobj_list (struct varobj ***rootlist);
 
-extern int varobj_update (struct varobj *var, struct varobj ***changelist);
+extern int varobj_update (struct varobj **varp, struct varobj ***changelist);
 
 #endif /* VAROBJ_H */
This page took 0.025647 seconds and 4 git commands to generate.