* top.c (init_main): Make `set history file name' complete on file
[deliverable/binutils-gdb.git] / gdb / varobj.h
index 28c5fac4d16b4cc3e81148fa79879d567a612b14..304f0fbda3a86c6958127a60a95a94e9c95b8530 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);
 
This page took 0.023311 seconds and 4 git commands to generate.