|
GDB (xrefs)
|
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 value * | value_virtual_fn_field (struct value **valuep, struct fn_field *f, int j, struct type *type, int offset) |
| struct type * | value_rtti_type (struct value *value, int *full, LONGEST *top, int *using_enc) |
| int | baseclass_offset (struct type *type, int index, const gdb_byte *valaddr, LONGEST 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 value * | cplus_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 value * | cplus_typeid (struct value *value) |
| struct type * | cplus_typeid_type (struct gdbarch *gdbarch) |
| struct type * | cplus_type_from_type_info (struct value *value) |
| std::string | cplus_typename_from_type_info (struct value *value) |
| CORE_ADDR | cplus_skip_trampoline (frame_info_ptr frame, CORE_ADDR stop_pc) |
| struct language_pass_by_ref_info | 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) |
| enum ctor_kinds |
| enum dtor_kinds |
|
extern |
Definition at line 68 of file cp-abi.c.
References cp_abi_ops::baseclass_offset, and current_cp_abi.
Referenced by cp_print_value(), dynamic_cast_check_1(), dynamic_cast_check_2(), find_method_list(), get_baseclass_offset(), is_unique_ancestor_worker(), struct_field_searcher::search(), search_struct_method(), and value_primitive_field().
|
extern |
Definition at line 226 of file cp-abi.c.
References current_cp_abi, and cp_abi_ops::pass_by_reference.
Referenced by cplus_language::pass_by_reference_info().
| 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 current_cp_abi, and cp_abi_ops::make_method_ptr.
Referenced by value_cast(), and value_struct_elt_for_reference().
| int cplus_method_ptr_size | ( | struct type * | to_type | ) |
Definition at line 138 of file cp-abi.c.
References current_cp_abi, and cp_abi_ops::method_ptr_size.
Referenced by smash_to_methodptr_type().
Definition at line 164 of file cp-abi.c.
References current_cp_abi, and cp_abi_ops::method_ptr_to_value.
Referenced by eval_op_member(), and expr::structop_member_base::evaluate_funcall().
| 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 current_cp_abi, and cp_abi_ops::print_method_ptr.
Referenced by generic_value_print().
| void cplus_print_vtable | ( | struct value * | value | ) |
Definition at line 175 of file cp-abi.c.
References current_cp_abi, and cp_abi_ops::print_vtable.
Referenced by info_vtbl_command().
| CORE_ADDR cplus_skip_trampoline | ( | frame_info_ptr | frame, |
| CORE_ADDR | stop_pc | ||
| ) |
Definition at line 155 of file cp-abi.c.
References current_cp_abi, and cp_abi_ops::skip_trampoline.
Referenced by cplus_language::skip_trampoline().
Definition at line 205 of file cp-abi.c.
References current_cp_abi, and cp_abi_ops::get_type_from_type_info.
Referenced by compute_exception().
Definition at line 185 of file cp-abi.c.
References current_cp_abi, and cp_abi_ops::get_typeid.
Referenced by expr::typeid_operation::evaluate().
Definition at line 195 of file cp-abi.c.
References current_cp_abi, and cp_abi_ops::get_typeid_type.
Referenced by expr::typeid_operation::evaluate().
|
extern |
Definition at line 215 of file cp-abi.c.
References current_cp_abi, and cp_abi_ops::get_typename_from_type_info.
Referenced by exception_catchpoint::check_status().
|
extern |
Definition at line 36 of file cp-abi.c.
References current_cp_abi, cp_abi_ops::is_constructor_name, and name.
Referenced by c_type_print_base_struct_union(), gdb_mangle_name(), and gnuv3_pass_by_reference().
|
extern |
Definition at line 44 of file cp-abi.c.
References current_cp_abi, cp_abi_ops::is_destructor_name, and name.
Referenced by c_type_print_base_struct_union(), gdb_mangle_name(), and read_member_functions().
|
extern |
Definition at line 60 of file cp-abi.c.
References current_cp_abi, cp_abi_ops::is_operator_name, and name.
Referenced by gdb_mangle_name(), and linespec_lexer_lex_string().
|
extern |
Definition at line 52 of file cp-abi.c.
References current_cp_abi, cp_abi_ops::is_vtable_name, and name.
Referenced by gnuv2_value_rtti_type(), ia64_convert_from_func_ptr_addr(), and record_minimal_symbol().
|
extern |
Definition at line 251 of file cp-abi.c.
References CP_ABI_MAX, cp_abis, and num_cp_abis.
|
extern |
Definition at line 265 of file cp-abi.c.
References auto_cp_abi, current_cp_abi, cp_abi_ops::doc, find_cp_abi(), cp_abi_ops::longname, cp_abi_ops::shortname, switch_to_cp_abi(), and xfree().
|
extern |
Definition at line 107 of file cp-abi.c.
References check_typedef(), current_cp_abi, HAVE_CPLUS_STRUCT, cp_abi_ops::rtti_type, and value_type().
Referenced by c_value_print(), gdbscm_value_dynamic_type(), valpy_get_dynamic_type(), value_cast_structs(), value_dynamic_cast(), value_full_object(), value_rtti_indirect_type(), and whatis_exp().
|
extern |
Definition at line 96 of file cp-abi.c.
References current_cp_abi, f(), value::offset, value::type, and cp_abi_ops::virtual_fn_field.
Referenced by find_overload_match(), and search_struct_method().