GDB (API)
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.

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

void varobj_enable_pretty_printing (void)
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 *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)
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)
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)
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)
 VEC (varobj_update_result)
int varobj_editable_p (struct varobj *var)
int varobj_floating_p (struct varobj *var)
void all_root_varobjs (void(*func)(struct varobj *var, void *data), void *data)
void _initialize_varobj (void)
void varobj_invalidate (void)

Variables

unsigned int varobjdebug = 0
char * varobj_format_string []
char * varobj_language_string [] = { "C", "C++", "Java" }

Define Documentation

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

Definition at line 47 of file varobj.c.

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

Definition at line 48 of file varobj.c.

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

Definition at line 514 of file varobj.c.

#define VAROBJ_TABLE_SIZE   227

Definition at line 508 of file varobj.c.


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  )
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 *  objname) [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  )

Definition at line 1258 of file varobj.c.

Definition at line 1950 of file varobj.c.


Variable Documentation

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

Definition at line 61 of file varobj.c.

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

Definition at line 65 of file varobj.c.

unsigned int varobjdebug = 0

Definition at line 52 of file varobj.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines