diff options
Diffstat (limited to 'gdb/varobj.h')
-rw-r--r-- | gdb/varobj.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/varobj.h b/gdb/varobj.h index 28c5fac..e5e3254 100644 --- a/gdb/varobj.h +++ b/gdb/varobj.h @@ -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); |