GDB (xrefs)
Classes | Enumerations | Functions
/home/stan/gdb/src/gdb/cp-abi.h File Reference

Go to the source code of this file.

Classes

struct  cp_abi_ops

Enumerations

enum  ctor_kinds { complete_object_ctor = 1, base_object_ctor, complete_object_allocating_ctor }
enum  dtor_kinds { deleting_dtor = 1, complete_object_dtor, base_object_dtor }

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)
struct valuevalue_virtual_fn_field (struct value **valuep, struct fn_field *f, int j, struct type *type, int offset)
struct typevalue_rtti_type (struct value *value, int *full, int *top, int *using_enc)
int baseclass_offset (struct type *type, int index, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, const struct value *val)
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)
struct valuecplus_method_ptr_to_value (struct value **this_p, struct value *method_ptr)
void cplus_make_method_ptr (struct type *type, gdb_byte *CONTENTS, CORE_ADDR address, int is_virtual)
void cplus_print_vtable (struct value *value)
struct valuecplus_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)
CORE_ADDR cplus_skip_trampoline (struct frame_info *frame, CORE_ADDR stop_pc)
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)

Enumeration Type Documentation

enum ctor_kinds
Enumerator:
complete_object_ctor 
base_object_ctor 
complete_object_allocating_ctor 

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

enum dtor_kinds
Enumerator:
deleting_dtor 
complete_object_dtor 
base_object_dtor 

Definition at line 61 of file cp-abi.h.


Function Documentation

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

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

References cp_abi_ops::pass_by_reference, and type.

void cplus_make_method_ptr ( struct type type,
gdb_byte CONTENTS,
CORE_ADDR  address,
int  is_virtual 
)

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

References _, error(), and cp_abi_ops::make_method_ptr.

Referenced by value_cast().

int cplus_method_ptr_size ( struct type to_type)

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

References _, error(), and cp_abi_ops::method_ptr_size.

Referenced by smash_to_methodptr_type().

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.

References _, error(), and cp_abi_ops::method_ptr_to_value.

Referenced by evaluate_subexp_standard().

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.

References _, error(), and cp_abi_ops::print_method_ptr.

Referenced by c_val_print().

void cplus_print_vtable ( struct value value)

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

References _, error(), and cp_abi_ops::print_vtable.

Referenced by info_vtbl_command().

CORE_ADDR cplus_skip_trampoline ( struct frame_info frame,
CORE_ADDR  stop_pc 
)

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

References cp_abi_ops::skip_trampoline, and stop_pc.

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

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

References _, error(), and cp_abi_ops::get_type_from_type_info.

Referenced by compute_exception().

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

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

References _, error(), and cp_abi_ops::get_typeid.

Referenced by evaluate_subexp_standard().

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

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

References _, error(), and cp_abi_ops::get_typeid_type.

Referenced by evaluate_subexp_standard().

char* cplus_typename_from_type_info ( struct value value)

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

References _, error(), and cp_abi_ops::get_typename_from_type_info.

Referenced by check_status_exception_catchpoint().

enum ctor_kinds is_constructor_name ( const char *  name)
enum dtor_kinds is_destructor_name ( const char *  name)
int is_operator_name ( const char *  name)

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

References _, error(), cp_abi_ops::is_operator_name, and name.

Referenced by gdb_mangle_name(), and linespec_lexer_lex_string().

int is_vtable_name ( const char *  name)
int register_cp_abi ( struct cp_abi_ops abi)

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

References _, CP_ABI_MAX, internal_error(), and num_cp_abis.

Referenced by _initialize_cp_abi(), _initialize_gnu_v2_abi(), and _initialize_gnu_v3_abi().

void set_cp_abi_as_auto_default ( const char *  short_name)
struct type* value_rtti_type ( struct value value,
int full,
int top,
int using_enc 
) [read]
struct value* value_virtual_fn_field ( struct value **  valuep,
struct fn_field *  f,
int  j,
struct type type,
int  offset 
) [read]

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

References offset, type, and cp_abi_ops::virtual_fn_field.

Referenced by find_overload_match(), and search_struct_method().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines