GDB (xrefs)
Classes | Defines | Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/varobj.c File Reference
#include "defs.h"
#include "exceptions.h"
#include "value.h"
#include "expression.h"
#include "frame.h"
#include "language.h"
#include "gdbcmd.h"
#include "block.h"
#include "valprint.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "gdb_regex.h"
#include "varobj.h"
#include "vec.h"
#include "gdbthread.h"
#include "inferior.h"
#include "ada-varobj.h"
#include "ada-lang.h"

Go to the source code of this file.

Classes

struct  varobj_root
struct  varobj
struct  cpstack
struct  vlist
struct  language_specific

Defines

#define ANONYMOUS_STRUCT_NAME   _("<anonymous struct>")
#define ANONYMOUS_UNION_NAME   _("<anonymous union>")
#define VAROBJ_TABLE_SIZE   227
#define CPLUS_FAKE_CHILD(x)   ((x) != NULL && (x)->type == NULL && (x)->value == NULL)

Typedefs

typedef int PyObject

Enumerations

enum  vsections { v_public = 0, v_private, v_protected }
enum  accessibility { private_field, protected_field, public_field }

Functions

static void show_varobjdebug (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
void varobj_enable_pretty_printing (void)
static int delete_variable (struct cpstack **, struct varobj *, int)
static void delete_variable_1 (struct cpstack **, int *, struct varobj *, int, int)
static int install_variable (struct varobj *)
static void uninstall_variable (struct varobj *)
static struct varobjcreate_child (struct varobj *, int, char *)
static struct varobjcreate_child_with_value (struct varobj *parent, int index, char *name, struct value *value)
static struct varobjnew_variable (void)
static struct varobjnew_root_variable (void)
static void free_variable (struct varobj *var)
static struct cleanupmake_cleanup_free_variable (struct varobj *var)
static struct typeget_type (struct varobj *var)
static struct typeget_value_type (struct varobj *var)
static struct typeget_target_type (struct type *)
static enum varobj_display_formats variable_default_display (struct varobj *)
static void cppush (struct cpstack **pstack, char *name)
static char * cppop (struct cpstack **pstack)
static int update_type_if_necessary (struct varobj *var, struct value *new_value)
static int install_new_value (struct varobj *var, struct value *value, int initial)
static enum varobj_languages variable_language (struct varobj *var)
static int number_of_children (struct varobj *)
static char * name_of_variable (struct varobj *)
static char * name_of_child (struct varobj *, int)
static struct valuevalue_of_root (struct varobj **var_handle, int *)
static struct valuevalue_of_child (struct varobj *parent, int index)
static char * my_value_of_variable (struct varobj *var, enum varobj_display_formats format)
static char * value_get_print_value (struct value *value, enum varobj_display_formats format, struct varobj *var)
static int varobj_value_is_changeable_p (struct varobj *var)
static int is_root_p (struct varobj *var)
static int default_value_is_changeable_p (struct varobj *var)
static int c_number_of_children (struct varobj *var)
static char * c_name_of_variable (struct varobj *parent)
static char * c_name_of_child (struct varobj *parent, int index)
static char * c_path_expr_of_child (struct varobj *child)
static struct valuec_value_of_child (struct varobj *parent, int index)
static struct typec_type_of_child (struct varobj *parent, int index)
static char * c_value_of_variable (struct varobj *var, enum varobj_display_formats format)
static int cplus_number_of_children (struct varobj *var)
static void cplus_class_num_children (struct type *type, int children[3])
static char * cplus_name_of_variable (struct varobj *parent)
static char * cplus_name_of_child (struct varobj *parent, int index)
static char * cplus_path_expr_of_child (struct varobj *child)
static struct valuecplus_value_of_child (struct varobj *parent, int index)
static struct typecplus_type_of_child (struct varobj *parent, int index)
static char * cplus_value_of_variable (struct varobj *var, enum varobj_display_formats format)
static int java_number_of_children (struct varobj *var)
static char * java_name_of_variable (struct varobj *parent)
static char * java_name_of_child (struct varobj *parent, int index)
static char * java_path_expr_of_child (struct varobj *child)
static struct valuejava_value_of_child (struct varobj *parent, int index)
static struct typejava_type_of_child (struct varobj *parent, int index)
static char * java_value_of_variable (struct varobj *var, enum varobj_display_formats format)
static int ada_number_of_children (struct varobj *var)
static char * ada_name_of_variable (struct varobj *parent)
static char * ada_name_of_child (struct varobj *parent, int index)
static char * ada_path_expr_of_child (struct varobj *child)
static struct valueada_value_of_child (struct varobj *parent, int index)
static struct typeada_type_of_child (struct varobj *parent, int index)
static char * ada_value_of_variable (struct varobj *var, enum varobj_display_formats format)
static int ada_value_is_changeable_p (struct varobj *var)
static int ada_value_has_mutated (struct varobj *var, struct value *new_val, struct type *new_type)
static struct frame_infofind_frame_addr_in_frame_chain (CORE_ADDR frame_addr)
struct varobjvarobj_create (char *objname, char *expression, CORE_ADDR frame, enum varobj_type type)
char * varobj_gen_name (void)
struct varobjvarobj_get_handle (char *objname)
char * varobj_get_objname (struct varobj *var)
char * varobj_get_expression (struct varobj *var)
int varobj_delete (struct varobj *var, char ***dellist, int only_children)
enum varobj_display_formats varobj_set_display_format (struct varobj *var, enum varobj_display_formats format)
enum varobj_display_formats varobj_get_display_format (struct varobj *var)
char * varobj_get_display_hint (struct varobj *var)
int varobj_has_more (struct varobj *var, int to)
int varobj_get_thread_id (struct varobj *var)
void varobj_set_frozen (struct varobj *var, int frozen)
int varobj_get_frozen (struct varobj *var)
static void restrict_range (VEC(varobj_p)*children, int *from, int *to)
static int update_dynamic_varobj_children (struct varobj *var, VEC(varobj_p)**changed, VEC(varobj_p)**type_changed, VEC(varobj_p)**new, VEC(varobj_p)**unchanged, int *cchanged, int update_children, int from, int to)
int varobj_get_num_children (struct varobj *var)
 VEC (varobj_p)
char * varobj_get_type (struct varobj *var)
struct typevarobj_get_gdb_type (struct varobj *var)
static int is_path_expr_parent (struct varobj *var)
static struct varobjget_path_expr_parent (struct varobj *var)
char * varobj_get_path_expr (struct varobj *var)
enum varobj_languages varobj_get_language (struct varobj *var)
int varobj_get_attributes (struct varobj *var)
int varobj_pretty_printed_p (struct varobj *var)
char * varobj_get_formatted_value (struct varobj *var, enum varobj_display_formats format)
char * varobj_get_value (struct varobj *var)
int varobj_set_value (struct varobj *var, char *expression)
static void install_new_value_visualizer (struct varobj *var)
void varobj_get_child_range (struct varobj *var, int *from, int *to)
void varobj_set_child_range (struct varobj *var, int from, int to)
void varobj_set_visualizer (struct varobj *var, const char *visualizer)
static int varobj_value_has_mutated (struct varobj *var, struct value *new_value, struct type *new_type)
 VEC (varobj_update_result)
static int is_anonymous_child (struct varobj *child)
static void do_free_variable_cleanup (void *var)
static int check_scope (struct varobj *var)
static struct valuevalue_of_root_1 (struct varobj **var_handle)
int varobj_editable_p (struct varobj *var)
int varobj_floating_p (struct varobj *var)
static void adjust_value_for_child_access (struct value **value, struct type **type, int *was_ptr, int lookup_actual_type)
static struct valuevalue_struct_element_index (struct value *value, int type_index)
static void c_describe_child (struct varobj *parent, int index, char **cname, struct value **cvalue, struct type **ctype, char **cfull_expression)
static int match_accessibility (struct type *type, int index, enum accessibility acc)
static void cplus_describe_child (struct varobj *parent, int index, char **cname, struct value **cvalue, struct type **ctype, char **cfull_expression)
void all_root_varobjs (void(*func)(struct varobj *var, void *data), void *data)
void _initialize_varobj (void)
static void varobj_invalidate_iter (struct varobj *var, void *unused)
void varobj_invalidate (void)

Variables

unsigned int varobjdebug = 0
char * varobj_format_string []
char * varobj_language_string [] = { "C", "C++", "Java" }
static int pretty_printing = 0
static struct language_specific languages [vlang_end]
static int format_code [] = { 0, 't', 'd', 'x', 'o' }
static struct varobj_rootrootlist
static struct vlist ** varobj_table

Define Documentation

#define ANONYMOUS_STRUCT_NAME   _("<anonymous struct>")

Definition at line 47 of file varobj.c.

Referenced by c_describe_child(), cplus_describe_child(), and is_anonymous_child().

#define ANONYMOUS_UNION_NAME   _("<anonymous union>")

Definition at line 48 of file varobj.c.

Referenced by c_describe_child(), cplus_describe_child(), and is_anonymous_child().

#define CPLUS_FAKE_CHILD (   x)    ((x) != NULL && (x)->type == NULL && (x)->value == NULL)
#define VAROBJ_TABLE_SIZE   227

Definition at line 508 of file varobj.c.

Referenced by install_variable(), uninstall_variable(), and varobj_get_handle().


Typedef Documentation

typedef int PyObject

Definition at line 43 of file varobj.c.


Enumeration Type Documentation

Enumerator:
private_field 
protected_field 
public_field 

Definition at line 3648 of file varobj.c.

enum vsections
Enumerator:
v_public 
v_private 
v_protected 

Definition at line 493 of file varobj.c.


Function Documentation

void _initialize_varobj ( void  )
static char * ada_name_of_child ( struct varobj parent,
int  index 
) [static]

Definition at line 4000 of file varobj.c.

References ada_varobj_get_name_of_child(), varobj::name, varobj::type, and varobj::value.

static char * ada_name_of_variable ( struct varobj parent) [static]

Definition at line 3994 of file varobj.c.

References c_name_of_variable().

static int ada_number_of_children ( struct varobj var) [static]

Definition at line 3988 of file varobj.c.

References ada_varobj_get_number_of_children(), varobj::type, and varobj::value.

static char * ada_path_expr_of_child ( struct varobj child) [static]
static struct type * ada_type_of_child ( struct varobj parent,
int  index 
) [static, read]

Definition at line 4027 of file varobj.c.

References ada_varobj_get_type_of_child(), varobj::type, and varobj::value.

static int ada_value_has_mutated ( struct varobj var,
struct value new_val,
struct type new_type 
) [static]
static int ada_value_is_changeable_p ( struct varobj var) [static]
static struct value * ada_value_of_child ( struct varobj parent,
int  index 
) [static, read]

Definition at line 4020 of file varobj.c.

References ada_varobj_get_value_of_child(), varobj::name, varobj::type, and varobj::value.

static char * ada_value_of_variable ( struct varobj var,
enum varobj_display_formats  format 
) [static]
static void adjust_value_for_child_access ( struct value **  value,
struct type **  type,
int was_ptr,
int  lookup_actual_type 
) [static]
void all_root_varobjs ( void(*)(struct varobj *var, void *data)  func,
void *  data 
)

Definition at line 4114 of file varobj.c.

References varobj_root::next, and varobj_root::rootvar.

Referenced by mi_cmd_var_update(), and varobj_invalidate().

static void c_describe_child ( struct varobj parent,
int  index,
char **  cname,
struct value **  cvalue,
struct type **  ctype,
char **  cfull_expression 
) [static]
static char * c_name_of_child ( struct varobj parent,
int  index 
) [static]

Definition at line 3434 of file varobj.c.

References c_describe_child(), and name.

static char * c_name_of_variable ( struct varobj parent) [static]

Definition at line 3245 of file varobj.c.

References varobj::name.

Referenced by ada_name_of_variable(), and cplus_name_of_variable().

static int c_number_of_children ( struct varobj var) [static]
static char * c_path_expr_of_child ( struct varobj child) [static]

Definition at line 3443 of file varobj.c.

References c_describe_child(), varobj::index, varobj::parent, and varobj::path_expr.

static struct type * c_type_of_child ( struct varobj parent,
int  index 
) [static, read]

Definition at line 3460 of file varobj.c.

References c_describe_child(), and type.

static struct value * c_value_of_child ( struct varobj parent,
int  index 
) [static, read]

Definition at line 3451 of file varobj.c.

References c_describe_child().

static char * c_value_of_variable ( struct varobj var,
enum varobj_display_formats  format 
) [static]
static int check_scope ( struct varobj var) [static]

Definition at line 2702 of file varobj.c.

References BLOCK_END, BLOCK_START, frame_find_by_id(), get_frame_pc(), and select_frame().

Referenced by value_of_root_1().

static void cplus_class_num_children ( struct type type,
int  children[3] 
) [static]
static void cplus_describe_child ( struct varobj parent,
int  index,
char **  cname,
struct value **  cvalue,
struct type **  ctype,
char **  cfull_expression 
) [static]
static char * cplus_name_of_child ( struct varobj parent,
int  index 
) [static]

Definition at line 3867 of file varobj.c.

References cplus_describe_child(), and name.

Referenced by java_name_of_child().

static char * cplus_name_of_variable ( struct varobj parent) [static]

Definition at line 3643 of file varobj.c.

References c_name_of_variable().

Referenced by java_name_of_variable().

static int cplus_number_of_children ( struct varobj var) [static]
static char * cplus_path_expr_of_child ( struct varobj child) [static]

Definition at line 3876 of file varobj.c.

References cplus_describe_child(), varobj::index, varobj::parent, and varobj::path_expr.

static struct type * cplus_type_of_child ( struct varobj parent,
int  index 
) [static, read]

Definition at line 3893 of file varobj.c.

References cplus_describe_child(), and type.

Referenced by java_type_of_child().

static struct value * cplus_value_of_child ( struct varobj parent,
int  index 
) [static, read]

Definition at line 3884 of file varobj.c.

References cplus_describe_child().

Referenced by java_value_of_child().

static char * cplus_value_of_variable ( struct varobj var,
enum varobj_display_formats  format 
) [static]

Definition at line 3902 of file varobj.c.

References c_value_of_variable(), and CPLUS_FAKE_CHILD.

Referenced by java_value_of_variable().

static char * cppop ( struct cpstack **  pstack) [static]

Definition at line 2623 of file varobj.c.

References cpstack::name, cpstack::next, and xfree().

Referenced by varobj_delete().

static void cppush ( struct cpstack **  pstack,
char *  name 
) [static]

Definition at line 2611 of file varobj.c.

References name, cpstack::name, cpstack::next, and xmalloc().

Referenced by delete_variable_1(), and varobj_delete().

static struct varobj * create_child ( struct varobj parent,
int  index,
char *  name 
) [static, read]

Definition at line 2377 of file varobj.c.

References create_child_with_value(), and value_of_child().

Referenced by VEC().

static struct varobj * create_child_with_value ( struct varobj parent,
int  index,
char *  name,
struct value value 
) [static, read]
static int default_value_is_changeable_p ( struct varobj var) [static]
static int delete_variable ( struct cpstack **  resultp,
struct varobj var,
int  only_children_p 
) [static]

Definition at line 2193 of file varobj.c.

References delete_variable_1().

Referenced by varobj_delete().

static void delete_variable_1 ( struct cpstack **  resultp,
int delcountp,
struct varobj var,
int  only_children_p,
int  remove_from_parent_p 
) [static]
static void do_free_variable_cleanup ( void *  var) [static]

Definition at line 2524 of file varobj.c.

References free_variable().

Referenced by make_cleanup_free_variable().

static struct frame_info* find_frame_addr_in_frame_chain ( CORE_ADDR  frame_addr) [static, read]
static void free_variable ( struct varobj var) [static]
static struct varobj* get_path_expr_parent ( struct varobj var) [static, read]

Definition at line 1369 of file varobj.c.

References is_path_expr_parent(), is_root_p(), and varobj::parent.

Referenced by c_describe_child(), and cplus_describe_child().

static struct type * get_target_type ( struct type type) [static, read]
static struct type * get_type ( struct varobj var) [static, read]

Definition at line 2541 of file varobj.c.

References check_typedef(), type, and varobj::type.

Referenced by c_value_of_variable().

static struct type * get_value_type ( struct varobj var) [static, read]
static int install_new_value ( struct varobj var,
struct value value,
int  initial 
) [static]
static void install_new_value_visualizer ( struct varobj var) [static]

Definition at line 1596 of file varobj.c.

References do_cleanups(), gdb_python_initialized, and varobj::value.

Referenced by install_new_value().

static int install_variable ( struct varobj var) [static]
static int is_anonymous_child ( struct varobj child) [static]

Definition at line 2391 of file varobj.c.

References ANONYMOUS_STRUCT_NAME, ANONYMOUS_UNION_NAME, and varobj::name.

Referenced by create_child_with_value().

static int is_path_expr_parent ( struct varobj var) [static]
static int is_root_p ( struct varobj var) [static]
static char * java_name_of_child ( struct varobj parent,
int  index 
) [static]

Definition at line 3943 of file varobj.c.

References cplus_name_of_child(), name, and p.

static char * java_name_of_variable ( struct varobj parent) [static]

Definition at line 3923 of file varobj.c.

References cplus_name_of_variable(), name, and p.

static int java_number_of_children ( struct varobj var) [static]

Definition at line 3917 of file varobj.c.

References cplus_number_of_children().

static char * java_path_expr_of_child ( struct varobj child) [static]

Definition at line 3962 of file varobj.c.

static struct type * java_type_of_child ( struct varobj parent,
int  index 
) [static, read]

Definition at line 3974 of file varobj.c.

References cplus_type_of_child().

static struct value * java_value_of_child ( struct varobj parent,
int  index 
) [static, read]

Definition at line 3968 of file varobj.c.

References cplus_value_of_child().

static char * java_value_of_variable ( struct varobj var,
enum varobj_display_formats  format 
) [static]

Definition at line 3980 of file varobj.c.

References cplus_value_of_variable().

static struct cleanup * make_cleanup_free_variable ( struct varobj var) [static, read]

Definition at line 2530 of file varobj.c.

References do_free_variable_cleanup(), and make_cleanup().

Referenced by varobj_create().

static int match_accessibility ( struct type type,
int  index,
enum accessibility  acc 
) [static]
static char * my_value_of_variable ( struct varobj var,
enum varobj_display_formats  format 
) [static]

Definition at line 2889 of file varobj.c.

References varobj::value, and value_get_print_value().

Referenced by varobj_get_formatted_value(), and varobj_get_value().

static char * name_of_child ( struct varobj var,
int  index 
) [static]

Definition at line 2693 of file varobj.c.

Referenced by VEC().

static char * name_of_variable ( struct varobj var) [static]

Definition at line 2685 of file varobj.c.

Referenced by varobj_get_expression().

static struct varobj * new_root_variable ( void  ) [static, read]

Definition at line 2475 of file varobj.c.

References new_variable(), null_frame_id, and xmalloc().

Referenced by varobj_create().

static struct varobj * new_variable ( void  ) [static, read]
static int number_of_children ( struct varobj var) [static]

Definition at line 2677 of file varobj.c.

Referenced by varobj_get_num_children(), and VEC().

static void restrict_range ( VEC(varobj_p)*  children,
int from,
int to 
) [static]

Definition at line 966 of file varobj.c.

References to, and VEC_length.

Referenced by ada_value_has_mutated(), and VEC().

static void show_varobjdebug ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
) [static]

Definition at line 54 of file varobj.c.

References _, and fprintf_filtered().

static void uninstall_variable ( struct varobj var) [static]
static int update_dynamic_varobj_children ( struct varobj var,
VEC(varobj_p)**  changed,
VEC(varobj_p)**  type_changed,
VEC(varobj_p)**  new,
VEC(varobj_p)**  unchanged,
int cchanged,
int  update_children,
int  from,
int  to 
) [static]
static int update_type_if_necessary ( struct varobj var,
struct value new_value 
) [static]
static char * value_get_print_value ( struct value value,
enum varobj_display_formats  format,
struct varobj var 
) [static]
static struct value * value_of_child ( struct varobj parent,
int  index 
) [static, read]

Definition at line 2878 of file varobj.c.

Referenced by create_child(), and VEC().

static struct value * value_of_root ( struct varobj **  var_handle,
int type_changed 
) [static, read]
static struct value* value_of_root_1 ( struct varobj **  var_handle) [static, read]
static struct value* value_struct_element_index ( struct value value,
int  type_index 
) [static, read]
static enum varobj_display_formats variable_default_display ( struct varobj var) [static]

Definition at line 2604 of file varobj.c.

References FORMAT_NATURAL.

Referenced by varobj_create(), and varobj_set_display_format().

static enum varobj_languages variable_language ( struct varobj var) [static]
struct varobj* varobj_create ( char *  objname,
char *  expression,
CORE_ADDR  frame,
enum varobj_type  type 
) [read]
int varobj_delete ( struct varobj var,
char ***  dellist,
int  only_children 
)
int varobj_editable_p ( struct varobj var)

Definition at line 71 of file varobj.c.

References pretty_printing.

Referenced by mi_cmd_enable_pretty_printing().

int varobj_floating_p ( struct varobj var)

Definition at line 3073 of file varobj.c.

Referenced by mi_cmd_var_update_iter().

char* varobj_gen_name ( void  )

Definition at line 738 of file varobj.c.

References xstrprintf().

Referenced by mi_cmd_var_create(), and variable_create().

int varobj_get_attributes ( struct varobj var)

Definition at line 1403 of file varobj.c.

References attributes, and varobj_editable_p().

Referenced by mi_cmd_var_show_attributes(), variable_obj_command(), and variable_value().

void varobj_get_child_range ( struct varobj var,
int from,
int to 
)

Definition at line 1857 of file varobj.c.

Referenced by varobj_update_one().

Definition at line 890 of file varobj.c.

Referenced by mi_cmd_var_show_format(), and variable_format().

char* varobj_get_display_hint ( struct varobj var)
char* varobj_get_expression ( struct varobj var)

Definition at line 787 of file varobj.c.

References name_of_variable().

Referenced by mi_cmd_var_info_expression(), print_varobj(), and variable_obj_command().

char* varobj_get_formatted_value ( struct varobj var,
enum varobj_display_formats  format 
)

Definition at line 1421 of file varobj.c.

References my_value_of_variable().

Referenced by mi_cmd_var_evaluate_expression().

int varobj_get_frozen ( struct varobj var)

Definition at line 955 of file varobj.c.

Referenced by print_varobj().

struct type* varobj_get_gdb_type ( struct varobj var) [read]

Definition at line 1341 of file varobj.c.

References varobj::type.

Referenced by mi_print_value_p().

struct varobj* varobj_get_handle ( char *  objname) [read]

Definition at line 1397 of file varobj.c.

References variable_language().

Referenced by mi_cmd_var_info_expression().

int varobj_get_num_children ( struct varobj var)
char* varobj_get_objname ( struct varobj var)

Definition at line 779 of file varobj.c.

References varobj::obj_name.

Referenced by print_varobj(), variable_children(), variable_update(), and varobj_update_one().

char* varobj_get_path_expr ( struct varobj var)
int varobj_get_thread_id ( struct varobj var)

Definition at line 933 of file varobj.c.

Referenced by mi_cmd_var_update_iter(), and print_varobj().

char* varobj_get_type ( struct varobj var)
char* varobj_get_value ( struct varobj var)
int varobj_has_more ( struct varobj var,
int  to 
)

Definition at line 920 of file varobj.c.

References VEC_length.

Referenced by mi_cmd_var_create(), mi_cmd_var_list_children(), varobj_update_one(), and VEC().

void varobj_invalidate ( void  )

Definition at line 4183 of file varobj.c.

References all_root_varobjs(), and varobj_invalidate_iter().

Referenced by clear_symtab_users().

static void varobj_invalidate_iter ( struct varobj var,
void *  unused 
) [static]
int varobj_pretty_printed_p ( struct varobj var)

Definition at line 1415 of file varobj.c.

Referenced by mi_print_value_p(), print_varobj(), and varobj_update_one().

void varobj_set_child_range ( struct varobj var,
int  from,
int  to 
)

Definition at line 1867 of file varobj.c.

References from, and to.

Referenced by mi_cmd_var_set_update_range().

void varobj_set_frozen ( struct varobj var,
int  frozen 
)

Definition at line 942 of file varobj.c.

Referenced by mi_cmd_var_set_frozen().

int varobj_set_value ( struct varobj var,
char *  expression 
)
void varobj_set_visualizer ( struct varobj var,
const char *  visualizer 
)
static int varobj_value_has_mutated ( struct varobj var,
struct value new_value,
struct type new_type 
) [static]

Definition at line 1919 of file varobj.c.

References varobj::num_children.

Referenced by value_of_root(), and VEC().

static int varobj_value_is_changeable_p ( struct varobj var) [static]
VEC ( varobj_p  )

Variable Documentation

int format_code[] = { 0, 't', 'd', 'x', 'o' } [static]

Definition at line 501 of file varobj.c.

Referenced by ada_value_of_variable(), and value_get_print_value().

Definition at line 443 of file varobj.c.

int pretty_printing = 0 [static]

Definition at line 68 of file varobj.c.

Referenced by varobj_enable_pretty_printing().

struct varobj_root* rootlist [static]

Definition at line 504 of file varobj.c.

Referenced by install_variable(), and uninstall_variable().

Initial value:
  { "natural", "binary", "decimal", "hexadecimal", "octal" }

Definition at line 61 of file varobj.c.

Referenced by mi_cmd_var_set_format(), and mi_cmd_var_show_format().

char* varobj_language_string[] = { "C", "C++", "Java" }

Definition at line 65 of file varobj.c.

Referenced by mi_cmd_var_info_expression().

struct vlist** varobj_table [static]

Definition at line 511 of file varobj.c.

unsigned int varobjdebug = 0

Definition at line 52 of file varobj.c.

Referenced by mi_cmd_var_create(), and uninstall_variable().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines