GDB (xrefs)
|
#include "gdbtypes.h"
Public Types | |
enum | type_allocator_kind { SAME = 0 , SMASH = 1 } |
Public Member Functions | |
type_allocator (objfile *objfile, enum language lang) | |
type_allocator (gdbarch *gdbarch) | |
type_allocator (struct type *type, type_allocator_kind kind=SAME) | |
type_allocator (const struct type *type) | |
type * | new_type () |
type * | new_type (enum type_code code, int bit, const char *name) |
gdbarch * | arch () |
Private Attributes | ||
union { | ||
struct objfile * objfile | ||
struct gdbarch * gdbarch | ||
struct type * type | ||
} | m_data | |
bool | m_is_objfile = false | |
bool | m_smash = false | |
enum language | m_lang | |
Definition at line 2243 of file gdbtypes.h.
Enumerator | |
---|---|
SAME | |
SMASH |
Definition at line 2265 of file gdbtypes.h.
Definition at line 2248 of file gdbtypes.h.
|
inlineexplicit |
Definition at line 2256 of file gdbtypes.h.
|
inlineexplicit |
Definition at line 2275 of file gdbtypes.h.
References type::arch_owner(), type::is_objfile_owned(), m_data, m_is_objfile, m_smash, type::objfile_owner(), SAME, and type.
|
inlineexplicit |
Definition at line 2297 of file gdbtypes.h.
References type::arch_owner(), type::is_objfile_owned(), m_data, and type::objfile_owner().
gdbarch * type_allocator::arch | ( | ) |
Definition at line 261 of file gdbtypes.c.
References m_data, m_is_objfile, and m_smash.
Referenced by init_float_type().
type * type_allocator::new_type | ( | ) |
Definition at line 208 of file gdbtypes.c.
References gdbarch_obstack(), m_data, m_is_objfile, m_lang, m_smash, OBJSTAT, type::set_code(), type::set_owner(), type, TYPE_CHAIN, TYPE_CODE_UNDEF, and TYPE_MAIN_TYPE.
Referenced by ada_template_to_fixed_record_type_1(), allocate_stub_method(), amd_dbgapi_register_type_to_gdb_type(), arch_composite_type(), arch_flags_type(), avr_gdbarch_init(), basic_type(), build_error_marker_type(), build_fortran_types(), build_std_type_info_type(), check_typedef(), coff_alloc_type(), copy_type(), copy_type_recursive(), create_array_type_with_stride(), create_enum(), create_gdbtypes_data(), create_range_type(), create_set_type(), cross_ref(), dbx_alloc_type(), dbx_init_float_type(), dwarf2_add_member_fn(), dwarf2_init_float_type(), empty_record(), fbsd_get_siginfo_type(), fixup_go_packaging(), ft32_gdbarch_init(), get_gdb_vtable_type(), init_boolean_type(), init_character_type(), init_complex_type(), init_decfloat_type(), init_fixed_point_type(), init_float_type(), init_integer_type(), init_pointer_type(), ada_language::language_arch_info(), linux_get_siginfo_type_with_fields(), lookup_memberptr_type(), lookup_methodptr_type(), make_function_type(), make_gdb_type(), make_pointer_type(), make_reference_type(), make_types(), nbsd_get_siginfo_type(), new_type(), new_type(), parse_type(), quirk_ada_thick_pointer(), quirk_gcc_member_function_pointer(), quirk_rust_enum(), read_base_type(), read_enumeration_type(), read_module_type(), read_namespace_type(), read_range_type(), read_structure_type(), read_sun_builtin_type(), read_tag_ptr_to_member_type(), read_typedef(), read_unspecified_type(), rl78_gdbarch_init(), rs6000_builtin_type(), rust_composite_type(), template_to_static_fixed_type(), to_record_with_fixed_variant_part(), windows_get_tlb_type(), and z80_gdbarch_init().
Definition at line 240 of file gdbtypes.c.
References bit, code, gdbarch_obstack(), m_data, m_is_objfile, name, new_type(), type::set_length(), type::set_name(), set_type_code(), and type.
struct gdbarch* type_allocator::gdbarch |
Definition at line 2327 of file gdbtypes.h.
Referenced by type_allocator().
union { ... } type_allocator::m_data |
Referenced by arch(), new_type(), new_type(), type_allocator(), type_allocator(), type_allocator(), and type_allocator().
|
private |
Definition at line 2332 of file gdbtypes.h.
Referenced by arch(), new_type(), new_type(), and type_allocator().
|
private |
Definition at line 2337 of file gdbtypes.h.
Referenced by new_type().
|
private |
Definition at line 2335 of file gdbtypes.h.
Referenced by arch(), new_type(), and type_allocator().
struct objfile* type_allocator::objfile |
Definition at line 2326 of file gdbtypes.h.
Referenced by type_allocator().
struct type* type_allocator::type |
Definition at line 2328 of file gdbtypes.h.
Referenced by new_type(), new_type(), and type_allocator().