GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/cp-abi.c File Reference
#include "defs.h"
#include "value.h"
#include "cp-abi.h"
#include "command.h"
#include "exceptions.h"
#include "gdbcmd.h"
#include "ui-out.h"
#include "gdb_assert.h"
#include "gdb_string.h"

Go to the source code of this file.

Defines

#define CP_ABI_MAX   8

Functions

enum ctor_kinds is_constructor_name (const char *name)
enum dtor_kinds is_destructor_name (const char *name)
int is_vtable_name (const char *name)
int is_operator_name (const char *name)
int baseclass_offset (struct type *type, int index, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, const struct value *val)
struct value * value_virtual_fn_field (struct value **arg1p, struct fn_field *f, int j, struct type *type, int offset)
struct typevalue_rtti_type (struct value *v, int *full, int *top, int *using_enc)
void cplus_print_method_ptr (const gdb_byte *contents, struct type *type, struct ui_file *stream)
int cplus_method_ptr_size (struct type *to_type)
void cplus_make_method_ptr (struct type *type, gdb_byte *contents, CORE_ADDR value, int is_virtual)
CORE_ADDR cplus_skip_trampoline (struct frame_info *frame, CORE_ADDR stop_pc)
struct value * cplus_method_ptr_to_value (struct value **this_p, struct value *method_ptr)
void cplus_print_vtable (struct value *value)
struct value * cplus_typeid (struct value *value)
struct typecplus_typeid_type (struct gdbarch *gdbarch)
struct typecplus_type_from_type_info (struct value *value)
char * cplus_typename_from_type_info (struct value *value)
int cp_pass_by_reference (struct type *type)
int register_cp_abi (struct cp_abi_ops *abi)
void set_cp_abi_as_auto_default (const char *short_name)
void _initialize_cp_abi (void)

Variables

initialize_file_ftype _initialize_cp_abi

Define Documentation

#define CP_ABI_MAX   8

Definition at line 35 of file cp-abi.c.


Function Documentation

void _initialize_cp_abi ( void  )

Definition at line 397 of file cp-abi.c.

int baseclass_offset ( struct type type,
int  index,
const gdb_byte valaddr,
int  embedded_offset,
CORE_ADDR  address,
const struct value *  val 
)

Definition at line 72 of file cp-abi.c.

int cp_pass_by_reference ( struct type type)

Definition at line 224 of file cp-abi.c.

void cplus_make_method_ptr ( struct type type,
gdb_byte contents,
CORE_ADDR  value,
int  is_virtual 
)

Definition at line 146 of file cp-abi.c.

int cplus_method_ptr_size ( struct type to_type)

Definition at line 138 of file cp-abi.c.

struct value* cplus_method_ptr_to_value ( struct value **  this_p,
struct value *  method_ptr 
) [read]

Definition at line 164 of file cp-abi.c.

void cplus_print_method_ptr ( const gdb_byte contents,
struct type type,
struct ui_file *  stream 
)

Definition at line 128 of file cp-abi.c.

void cplus_print_vtable ( struct value *  value)

Definition at line 175 of file cp-abi.c.

CORE_ADDR cplus_skip_trampoline ( struct frame_info *  frame,
CORE_ADDR  stop_pc 
)

Definition at line 155 of file cp-abi.c.

struct type* cplus_type_from_type_info ( struct value *  value) [read]

Definition at line 205 of file cp-abi.c.

struct value* cplus_typeid ( struct value *  value) [read]

Definition at line 185 of file cp-abi.c.

struct type* cplus_typeid_type ( struct gdbarch *  gdbarch) [read]

Definition at line 195 of file cp-abi.c.

char* cplus_typename_from_type_info ( struct value *  value)

Definition at line 215 of file cp-abi.c.

enum ctor_kinds is_constructor_name ( const char *  name)

Definition at line 40 of file cp-abi.c.

enum dtor_kinds is_destructor_name ( const char *  name)

Definition at line 48 of file cp-abi.c.

int is_operator_name ( const char *  name)

Definition at line 64 of file cp-abi.c.

int is_vtable_name ( const char *  name)

Definition at line 56 of file cp-abi.c.

int register_cp_abi ( struct cp_abi_ops abi)

Definition at line 249 of file cp-abi.c.

void set_cp_abi_as_auto_default ( const char *  short_name)

Definition at line 264 of file cp-abi.c.

struct type* value_rtti_type ( struct value *  v,
int full,
int top,
int using_enc 
) [read]

Definition at line 110 of file cp-abi.c.

struct value* value_virtual_fn_field ( struct value **  arg1p,
struct fn_field *  f,
int  j,
struct type type,
int  offset 
) [read]

Definition at line 99 of file cp-abi.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines