GDB (API)
Classes | Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/varobj.h File Reference
#include "symtab.h"
#include "gdbtypes.h"
#include "vec.h"

Go to the source code of this file.

Classes

struct  varobj_update_result_t

Typedefs

typedef struct varobj * varobj_p
typedef struct
varobj_update_result_t 
varobj_update_result

Enumerations

enum  varobj_display_formats {
  FORMAT_NATURAL, FORMAT_BINARY, FORMAT_DECIMAL, FORMAT_HEXADECIMAL,
  FORMAT_OCTAL
}
enum  varobj_type { USE_SPECIFIED_FRAME, USE_CURRENT_FRAME, USE_SELECTED_FRAME }
enum  varobj_scope_status { VAROBJ_IN_SCOPE = 0, VAROBJ_NOT_IN_SCOPE = 1, VAROBJ_INVALID = 2 }
enum  varobj_languages {
  vlang_c = 0, vlang_cplus, vlang_java, vlang_ada,
  vlang_end
}

Functions

 DEF_VEC_P (varobj_p)
 DEF_VEC_O (varobj_update_result)
struct varobj * varobj_create (char *objname, char *expression, CORE_ADDR frame, enum varobj_type type)
char * varobj_gen_name (void)
struct varobj * varobj_get_handle (char *name)
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)
int varobj_get_thread_id (struct varobj *var)
void varobj_set_frozen (struct varobj *var, int frozen)
int varobj_get_frozen (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)
char * varobj_get_display_hint (struct varobj *var)
int varobj_get_num_children (struct varobj *var)
 VEC (varobj_p)*varobj_list_children(struct varobj *var
char * varobj_get_type (struct varobj *var)
struct typevarobj_get_gdb_type (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)
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)
void all_root_varobjs (void(*func)(struct varobj *var, void *data), void *data)
 VEC (varobj_update_result)*varobj_update(struct varobj **varp
void varobj_invalidate (void)
int varobj_editable_p (struct varobj *var)
int varobj_floating_p (struct varobj *var)
void varobj_set_visualizer (struct varobj *var, const char *visualizer)
void varobj_enable_pretty_printing (void)
int varobj_has_more (struct varobj *var, int to)
int varobj_pretty_printed_p (struct varobj *var)

Variables

char * varobj_format_string []
char * varobj_language_string []
intfrom
int intto
int explicit

Typedef Documentation

typedef struct varobj* varobj_p

Definition at line 68 of file varobj.h.


Enumeration Type Documentation

Enumerator:
FORMAT_NATURAL 
FORMAT_BINARY 
FORMAT_DECIMAL 
FORMAT_HEXADECIMAL 
FORMAT_OCTAL 

Definition at line 25 of file varobj.h.

Enumerator:
vlang_c 
vlang_cplus 
vlang_java 
vlang_ada 
vlang_end 

Definition at line 57 of file varobj.h.

Enumerator:
VAROBJ_IN_SCOPE 
VAROBJ_NOT_IN_SCOPE 
VAROBJ_INVALID 

Definition at line 42 of file varobj.h.

Enumerator:
USE_SPECIFIED_FRAME 
USE_CURRENT_FRAME 
USE_SELECTED_FRAME 

Definition at line 34 of file varobj.h.


Function Documentation

void all_root_varobjs ( void(*)(struct varobj *var, void *data)  func,
void *  data 
)

Definition at line 4114 of file varobj.c.

struct varobj* varobj_create ( char *  objname,
char *  expression,
CORE_ADDR  frame,
enum varobj_type  type 
) [read]

Definition at line 571 of file varobj.c.

int varobj_delete ( struct varobj *  var,
char ***  dellist,
int  only_children 
)

Definition at line 798 of file varobj.c.

int varobj_editable_p ( struct varobj *  var)

Definition at line 3036 of file varobj.c.

Definition at line 71 of file varobj.c.

int varobj_floating_p ( struct varobj *  var)

Definition at line 3073 of file varobj.c.

char* varobj_gen_name ( void  )

Definition at line 738 of file varobj.c.

int varobj_get_attributes ( struct varobj *  var)

Definition at line 1403 of file varobj.c.

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

Definition at line 1857 of file varobj.c.

enum varobj_display_formats varobj_get_display_format ( struct varobj *  var)

Definition at line 890 of file varobj.c.

char* varobj_get_display_hint ( struct varobj *  var)

Definition at line 896 of file varobj.c.

char* varobj_get_expression ( struct varobj *  var)

Definition at line 787 of file varobj.c.

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

Definition at line 1421 of file varobj.c.

int varobj_get_frozen ( struct varobj *  var)

Definition at line 955 of file varobj.c.

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

Definition at line 1341 of file varobj.c.

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

Definition at line 754 of file varobj.c.

enum varobj_languages varobj_get_language ( struct varobj *  var)

Definition at line 1397 of file varobj.c.

int varobj_get_num_children ( struct varobj *  var)

Definition at line 1235 of file varobj.c.

char* varobj_get_objname ( struct varobj *  var)

Definition at line 779 of file varobj.c.

char* varobj_get_path_expr ( struct varobj *  var)

Definition at line 1382 of file varobj.c.

int varobj_get_thread_id ( struct varobj *  var)

Definition at line 933 of file varobj.c.

char* varobj_get_type ( struct varobj *  var)

Definition at line 1327 of file varobj.c.

char* varobj_get_value ( struct varobj *  var)

Definition at line 1428 of file varobj.c.

int varobj_has_more ( struct varobj *  var,
int  to 
)

Definition at line 920 of file varobj.c.

void varobj_invalidate ( void  )

Definition at line 4183 of file varobj.c.

int varobj_pretty_printed_p ( struct varobj *  var)

Definition at line 1415 of file varobj.c.

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

Definition at line 1867 of file varobj.c.

enum varobj_display_formats varobj_set_display_format ( struct varobj *  var,
enum varobj_display_formats  format 
)

Definition at line 862 of file varobj.c.

void varobj_set_frozen ( struct varobj *  var,
int  frozen 
)

Definition at line 942 of file varobj.c.

int varobj_set_value ( struct varobj *  var,
char *  expression 
)

Definition at line 1438 of file varobj.c.

void varobj_set_visualizer ( struct varobj *  var,
const char *  visualizer 
)

Definition at line 1874 of file varobj.c.

VEC ( varobj_p  )

Variable Documentation

Definition at line 162 of file varobj.h.

Definition at line 139 of file varobj.h.

Definition at line 139 of file varobj.h.

Definition at line 61 of file varobj.c.

Definition at line 65 of file varobj.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines