GDB (xrefs)
|
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "value.h"
#include "demangle.h"
#include "gdb-demangle.h"
#include "cp-abi.h"
#include "cp-support.h"
#include <ctype.h>
Go to the source code of this file.
Functions | |
static int | vb_match (struct type *, int, struct type *) |
static enum dtor_kinds | gnuv2_is_destructor_name (const char *name) |
static enum ctor_kinds | gnuv2_is_constructor_name (const char *name) |
static int | gnuv2_is_vtable_name (const char *name) |
static int | gnuv2_is_operator_name (const char *name) |
static struct value * | gnuv2_virtual_fn_field (struct value **arg1p, struct fn_field *f, int j, struct type *type, int offset) |
static struct type * | gnuv2_value_rtti_type (struct value *v, int *full, LONGEST *top, int *using_enc) |
static int | gnuv2_baseclass_offset (struct type *type, int index, const bfd_byte *valaddr, LONGEST embedded_offset, CORE_ADDR address, const struct value *val) |
static void | init_gnuv2_ops (void) |
void | _initialize_gnu_v2_abi () |
Variables | |
static cp_abi_ops | gnu_v2_abi_ops |
void _initialize_gnu_v2_abi | ( | ) |
Definition at line 418 of file gnu-v2-abi.c.
Referenced by initialize_all_files().
|
static |
Definition at line 342 of file gnu-v2-abi.c.
References BASETYPE_VIA_VIRTUAL, value::bytes_available(), check_typedef(), type::field(), gnuv2_baseclass_offset(), type::length(), field::loc_bitpos(), type::num_fields(), field::type(), TYPE_BASECLASS, TYPE_BASECLASS_BITPOS, TYPE_N_BASECLASSES, unpack_pointer(), and vb_match().
Referenced by gnuv2_baseclass_offset(), and init_gnuv2_ops().
|
static |
Definition at line 47 of file gnu-v2-abi.c.
References complete_object_ctor, and name.
Referenced by init_gnuv2_ops().
|
static |
Definition at line 37 of file gnu-v2-abi.c.
References complete_object_dtor, is_cplus_marker(), and name.
Referenced by init_gnuv2_ops().
|
static |
Definition at line 69 of file gnu-v2-abi.c.
References CP_OPERATOR_STR, and name.
Referenced by init_gnuv2_ops().
|
static |
Definition at line 58 of file gnu-v2-abi.c.
References is_cplus_marker(), and name.
Referenced by init_gnuv2_ops().
|
static |
Definition at line 185 of file gnu-v2-abi.c.
References check_typedef(), type::code(), cp_lookup_rtti_type(), gdb_demangle(), get_vptr_fieldno(), is_vtable_name(), type::length(), general_symbol_info::linkage_name(), lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, value::type(), TYPE_BASECLASS_BITPOS, TYPE_N_BASECLASSES, TYPE_VPTR_FIELDNO, value_as_address(), value_cast(), and value_field().
Referenced by init_gnuv2_ops().
|
static |
Definition at line 84 of file gnu-v2-abi.c.
References check_typedef(), type::code(), value::deprecated_set_type(), f(), value::fetch_lazy(), get_vptr_fieldno(), value::lazy(), lookup_pointer_type(), value::offset(), value::primitive_field(), value::set_lazy(), value::set_offset(), type::target_type(), value::type(), TYPE_FN_FIELD_FCONTEXT, TYPE_FN_FIELD_TYPE, TYPE_FN_FIELD_VOFFSET, TYPE_VPTR_BASETYPE, value_addr(), value_as_long(), value_cast(), value_field(), value_ind(), value_ptradd(), and value_subscript().
Referenced by init_gnuv2_ops().
|
static |
Definition at line 402 of file gnu-v2-abi.c.
References cp_abi_ops::baseclass_offset, cp_abi_ops::doc, gnu_v2_abi_ops, gnuv2_baseclass_offset(), gnuv2_is_constructor_name(), gnuv2_is_destructor_name(), gnuv2_is_operator_name(), gnuv2_is_vtable_name(), gnuv2_value_rtti_type(), gnuv2_virtual_fn_field(), cp_abi_ops::is_constructor_name, cp_abi_ops::is_destructor_name, cp_abi_ops::is_operator_name, cp_abi_ops::is_vtable_name, cp_abi_ops::longname, cp_abi_ops::rtti_type, cp_abi_ops::shortname, and cp_abi_ops::virtual_fn_field.
Definition at line 294 of file gnu-v2-abi.c.
References type::code(), type::field(), is_cplus_marker(), name, field::name(), type::name(), type::target_type(), and field::type().
Referenced by gnuv2_baseclass_offset().
|
static |
Definition at line 32 of file gnu-v2-abi.c.
Referenced by init_gnuv2_ops().