|
GDB (xrefs)
|
#include "arch/tdesc.h"Go to the source code of this file.
Definition at line 738 of file target-descriptions.c.
References target_desc_info::fetched, target_desc_info::filename, get_tdesc_info(), and target_desc_info::tdesc.
Referenced by clone_inferior_command(), and follow_fork_inferior().
| struct cleanup* make_cleanup_free_target_description | ( | struct target_desc * | ) |
Definition at line 1627 of file target-descriptions.c.
References free_target_description(), and make_cleanup().
Referenced by tdesc_parse_xml().
| void set_tdesc_architecture | ( | struct target_desc * | , |
| const struct bfd_arch_info * | |||
| ) |
Definition at line 1675 of file target-descriptions.c.
References target_desc::arch.
| void set_tdesc_osabi | ( | struct target_desc * | , |
| enum gdb_osabi | osabi | ||
| ) |
Definition at line 1690 of file target-descriptions.c.
References target_desc::osabi.
| void set_tdesc_property | ( | struct target_desc * | , |
| const char * | key, | ||
| const char * | value | ||
| ) |
Definition at line 1653 of file target-descriptions.c.
References _, gdb_assert, internal_error(), target_desc::properties, and tdesc_property().
Referenced by _initialize_mips_tdep().
| void set_tdesc_pseudo_register_name | ( | struct gdbarch * | gdbarch, |
| gdbarch_register_name_ftype * | pseudo_name | ||
| ) |
Definition at line 1341 of file target-descriptions.c.
References tdesc_arch_data::pseudo_register_name, and tdesc_data.
Referenced by aarch64_gdbarch_init(), amd64_init_abi(), arm_gdbarch_init(), i386_gdbarch_init(), nds32_gdbarch_init(), s390_gdbarch_init(), sparc32_gdbarch_init(), and sparc64_init_abi().
| void set_tdesc_pseudo_register_reggroup_p | ( | struct gdbarch * | gdbarch, |
| gdbarch_register_reggroup_p_ftype * | pseudo_reggroup_p | ||
| ) |
Definition at line 1362 of file target-descriptions.c.
References tdesc_arch_data::pseudo_register_reggroup_p, and tdesc_data.
Referenced by aarch64_gdbarch_init(), rs6000_gdbarch_init(), and s390_gdbarch_init().
| void set_tdesc_pseudo_register_type | ( | struct gdbarch * | gdbarch, |
| gdbarch_register_type_ftype * | pseudo_type | ||
| ) |
Definition at line 1351 of file target-descriptions.c.
References tdesc_arch_data::pseudo_register_type, and tdesc_data.
Referenced by aarch64_gdbarch_init(), amd64_x32_init_abi(), i386_gdbarch_init(), mips_gdbarch_init(), nds32_gdbarch_init(), rs6000_gdbarch_init(), s390_gdbarch_init(), sparc32_gdbarch_init(), and sparc64_init_abi().
| void target_clear_description | ( | void | ) |
Definition at line 840 of file target-descriptions.c.
References _, current_target_desc, gdbarch_info_init(), gdbarch_update_p(), internal_error(), and target_desc_fetched.
Referenced by follow_exec(), remote_start_remote(), set_tdesc_filename_cmd(), target_pre_inferior(), and unset_tdesc_filename_cmd().
| const struct target_desc* target_current_description | ( | void | ) |
Definition at line 861 of file target-descriptions.c.
References current_target_desc, and target_desc_fetched.
Referenced by gdbarch_update_p(), and set_gdbarch_from_file().
| void target_desc_info_free | ( | struct target_desc_info * | tdesc_info | ) |
Definition at line 751 of file target-descriptions.c.
References target_desc_info::filename, and xfree().
Referenced by inferior::~inferior().
| int target_desc_info_from_user_p | ( | struct target_desc_info * | info | ) |
Definition at line 730 of file target-descriptions.c.
References target_desc_info::filename.
Referenced by clone_inferior_command().
| void target_find_description | ( | void | ) |
Definition at line 777 of file target-descriptions.c.
References _, tdesc_arch_data::arch_regs, current_target, current_target_desc, file_read_description_xml(), gdb_assert, gdbarch_info_init(), gdbarch_target_desc(), gdbarch_update_p(), gdbarch_info::target_desc, target_desc_fetched, target_description_filename, target_gdbarch(), target_read_description(), target_read_description_xml(), tdesc_data, tdesc_has_registers(), and warning().
Referenced by extended_remote_attach(), follow_exec(), post_create_inferior(), remote_start_remote(), set_tdesc_filename_cmd(), tfile_open(), and unset_tdesc_filename_cmd().
| void tdesc_add_compatible | ( | struct target_desc * | , |
| const struct bfd_arch_info * | |||
| ) |
Definition at line 1633 of file target-descriptions.c.
References _, target_desc::compatible, and internal_error().
Referenced by initialize_tdesc_powerpc_cell32l(), initialize_tdesc_powerpc_cell64l(), and tdesc_end_compatible().
| void tdesc_add_enum_value | ( | tdesc_type_with_fields * | type, |
| int | value, | ||
| const char * | name | ||
| ) |
Definition at line 1590 of file target-descriptions.c.
References gdb_assert, name, tdesc_predefined_type(), TDESC_TYPE_ENUM, and TDESC_TYPE_INT32.
Referenced by tdesc_start_enum_value().
| void tdesc_add_typed_bitfield | ( | tdesc_type_with_fields * | type, |
| const char * | field_name, | ||
| int | start, | ||
| int | end, | ||
| struct tdesc_type * | field_type | ||
| ) |
Definition at line 1547 of file target-descriptions.c.
References field_name(), gdb_assert, TDESC_TYPE_FLAGS, and TDESC_TYPE_STRUCT.
Referenced by tdesc_add_bitfield(), and tdesc_start_field().
| const struct bfd_arch_info* tdesc_architecture | ( | const struct target_desc * | ) |
Definition at line 907 of file target-descriptions.c.
References target_desc::arch.
Referenced by arc_gdbarch_init(), choose_architecture_for_target(), and print_c_tdesc::visit_pre().
| int tdesc_compatible_p | ( | const struct target_desc * | , |
| const struct bfd_arch_info * | |||
| ) |
Definition at line 873 of file target-descriptions.c.
References target_desc::arch, and target_desc::compatible.
Referenced by choose_architecture_for_target(), and ppc_linux_init_abi().
| tdesc_type_with_fields* tdesc_create_enum | ( | struct tdesc_feature * | feature, |
| const char * | name, | ||
| int | size | ||
| ) |
Definition at line 1520 of file target-descriptions.c.
References gdb_assert, name, size, TDESC_TYPE_ENUM, type, and tdesc_feature::types.
Referenced by tdesc_start_enum().
| struct tdesc_arch_data* tdesc_data_alloc | ( | void | ) |
Definition at line 1051 of file target-descriptions.c.
Referenced by aarch64_gdbarch_init(), arc_tdesc_init(), arm_gdbarch_init(), i386_gdbarch_init(), m68k_gdbarch_init(), microblaze_gdbarch_init(), mips_gdbarch_init(), nds32_gdbarch_init(), nios2_gdbarch_init(), or1k_gdbarch_init(), rs6000_gdbarch_init(), s390_gdbarch_init(), sparc32_gdbarch_init(), and tic6x_gdbarch_init().
| void tdesc_data_cleanup | ( | void * | data_untyped | ) |
Definition at line 1061 of file target-descriptions.c.
Referenced by aarch64_gdbarch_init(), arc_tdesc_init(), arm_gdbarch_init(), i386_gdbarch_init(), m68k_gdbarch_init(), microblaze_gdbarch_init(), mips_gdbarch_init(), nds32_gdbarch_init(), nios2_gdbarch_init(), or1k_gdbarch_init(), rs6000_gdbarch_init(), s390_gdbarch_init(), sparc32_gdbarch_init(), and tic6x_gdbarch_init().
| const char* tdesc_feature_name | ( | const struct tdesc_feature * | feature | ) |
Definition at line 955 of file target-descriptions.c.
References tdesc_feature::name.
Referenced by arc_tdesc_init().
| const struct tdesc_feature* tdesc_find_feature | ( | const struct target_desc * | , |
| const char * | name | ||
| ) |
Definition at line 942 of file target-descriptions.c.
References target_desc::features, and name.
Referenced by aarch64_gdbarch_init(), amd64_init_abi(), amd64_linux_init_abi(), amd64_x32_linux_init_abi(), arc_tdesc_init(), arm_gdbarch_init(), i386_linux_init_abi(), i386_mpx_enabled(), i386_validate_tdesc_p(), m68k_gdbarch_init(), microblaze_gdbarch_init(), mips_gdbarch_init(), mips_linux_init_abi(), nds32_validate_tdesc_p(), nios2_gdbarch_init(), or1k_gdbarch_init(), ppc_linux_init_abi(), rs6000_gdbarch_init(), s390_gdbarch_init(), tic6x_gdbarch_init(), and validate_tdesc_registers().
Definition at line 1015 of file target-descriptions.c.
References tdesc_arch_data::arch_regs, reg::name, and tdesc_data.
Referenced by i387_ext_type(), tdesc_type_builtin::make_gdb_type(), tdesc_type_vector::make_gdb_type(), tdesc_type_with_fields::make_gdb_type(), and s390_pseudo_register_type().
| int tdesc_has_registers | ( | const struct target_desc * | ) |
Definition at line 926 of file target-descriptions.c.
References target_desc::features.
Referenced by aarch64_gdbarch_init(), amd64_init_abi(), arc_tdesc_init(), arm_gdbarch_init(), arm_register_type(), i386_gdbarch_init(), i386_go32_init_abi(), i386_linux_init_abi(), i386_validate_tdesc_p(), m68k_gdbarch_init(), microblaze_gdbarch_init(), mips_gdbarch_init(), mips_linux_restart_reg_p(), mips_register_name(), nds32_gdbarch_init(), nios2_gdbarch_init(), nios2_register_type(), or1k_gdbarch_init(), ppc_linux_trap_reg_p(), rs6000_gdbarch_init(), s390_gdbarch_init(), sparc32_gdbarch_init(), sparc32_register_name(), sparc32_register_type(), sparc64_register_name(), sparc64_register_type(), target_find_description(), tdesc_use_registers(), tic6x_gdbarch_init(), and tic6x_register_name().
| int tdesc_numbered_register | ( | const struct tdesc_feature * | feature, |
| struct tdesc_arch_data * | data, | ||
| int | regno, | ||
| const char * | name | ||
| ) |
Definition at line 1084 of file target-descriptions.c.
References tdesc_arch_data::arch_regs, name, and tdesc_find_register_early().
Referenced by aarch64_gdbarch_init(), amd64_init_abi(), amd64_linux_init_abi(), amd64_x32_linux_init_abi(), arc_tdesc_init(), arm_gdbarch_init(), i386_linux_init_abi(), i386_validate_tdesc_p(), m68k_gdbarch_init(), microblaze_gdbarch_init(), mips_gdbarch_init(), mips_linux_init_abi(), nds32_validate_tdesc_p(), nios2_gdbarch_init(), or1k_gdbarch_init(), ppc_linux_init_abi(), rs6000_gdbarch_init(), s390_gdbarch_init(), tdesc_numbered_register_choices(), tic6x_gdbarch_init(), and validate_tdesc_registers().
| int tdesc_numbered_register_choices | ( | const struct tdesc_feature * | feature, |
| struct tdesc_arch_data * | data, | ||
| int | regno, | ||
| const char *const | names[] | ||
| ) |
Definition at line 1121 of file target-descriptions.c.
References tdesc_numbered_register().
Referenced by arm_gdbarch_init(), and rs6000_gdbarch_init().
| enum gdb_osabi tdesc_osabi | ( | const struct target_desc * | ) |
Definition at line 916 of file target-descriptions.c.
References target_desc::osabi.
Referenced by gdbarch_info_fill(), and print_c_tdesc::visit_pre().
| const char* tdesc_property | ( | const struct target_desc * | , |
| const char * | key | ||
| ) |
Definition at line 894 of file target-descriptions.c.
References property::key, target_desc::properties, and property::value.
Referenced by mips_gdbarch_init(), and set_tdesc_property().
| int tdesc_register_in_reggroup_p | ( | struct gdbarch * | gdbarch, |
| int | regno, | ||
| struct reggroup * | reggroup | ||
| ) |
Definition at line 1292 of file target-descriptions.c.
References reggroup_name(), restore_reggroup, save_reggroup, and tdesc_find_register().
Referenced by mips_tdesc_register_reggroup_p(), nds32_register_reggroup_p(), and tdesc_register_reggroup_p().
| const char* tdesc_register_name | ( | struct gdbarch * | gdbarch, |
| int | regno | ||
| ) |
Definition at line 1173 of file target-descriptions.c.
References gdb_assert, gdbarch_num_pseudo_regs(), gdbarch_num_regs(), reg::name, tdesc_arch_data::pseudo_register_name, tdesc_data, and tdesc_find_register().
Referenced by i386_register_name(), mips_register_name(), nios2_register_name(), rs6000_register_name(), s390_register_name(), sparc32_register_name(), sparc64_register_name(), tdesc_use_registers(), and tic6x_register_name().
| int tdesc_register_size | ( | const struct tdesc_feature * | feature, |
| const char * | name | ||
| ) |
Definition at line 1138 of file target-descriptions.c.
References gdb_assert, name, and tdesc_find_register_early().
Referenced by rs6000_gdbarch_init().
Definition at line 1195 of file target-descriptions.c.
References _, builtin_type::builtin_char, builtin_type::builtin_data_ptr, builtin_type::builtin_double, builtin_type::builtin_float, builtin_type::builtin_int, builtin_type::builtin_int0, builtin_type::builtin_long, builtin_type::builtin_long_double, builtin_type::builtin_long_long, builtin_type::builtin_short, builtin_type(), gdb_assert, gdbarch_double_bit(), gdbarch_float_bit(), gdbarch_int_bit(), gdbarch_long_bit(), gdbarch_long_double_bit(), gdbarch_long_long_bit(), gdbarch_num_pseudo_regs(), gdbarch_num_regs(), gdbarch_ptr_bit(), gdbarch_short_bit(), internal_error(), reg::name, tdesc_arch_data::pseudo_register_type, tdesc_arch_reg::reg, TARGET_CHAR_BIT, tdesc_data, tdesc_find_arch_register(), tdesc_arch_reg::type, and warning().
Referenced by arm_register_type(), nios2_register_type(), sparc32_register_type(), sparc64_register_type(), and tdesc_use_registers().
| int tdesc_unnumbered_register | ( | const struct tdesc_feature * | feature, |
| const char * | name | ||
| ) |
Definition at line 1106 of file target-descriptions.c.
References name, and tdesc_find_register_early().
Referenced by arm_gdbarch_init(), nds32_validate_tdesc_p(), and s390_gdbarch_init().
| void tdesc_use_registers | ( | struct gdbarch * | gdbarch, |
| const struct target_desc * | target_desc, | ||
| struct tdesc_arch_data * | early_data | ||
| ) |
Definition at line 1374 of file target-descriptions.c.
References tdesc_arch_data::arch_regs, target_desc::features, gdb_assert, gdbarch_num_regs(), tdesc_arch_reg::reg, reggroup_add(), reggroup_find(), reggroup_gdbarch_new(), set_gdbarch_num_regs(), set_gdbarch_register_name(), set_gdbarch_register_reggroup_p(), set_gdbarch_register_type(), set_gdbarch_remote_register_number(), tdesc_data, tdesc_has_registers(), tdesc_register_name(), tdesc_register_reggroup_p(), tdesc_register_type(), tdesc_remote_register_number(), and USER_REGGROUP.
Referenced by aarch64_gdbarch_init(), arc_gdbarch_init(), arm_gdbarch_init(), i386_gdbarch_init(), m68k_gdbarch_init(), microblaze_gdbarch_init(), mips_gdbarch_init(), nds32_gdbarch_init(), nios2_gdbarch_init(), or1k_gdbarch_init(), rs6000_gdbarch_init(), s390_gdbarch_init(), sparc32_gdbarch_init(), and tic6x_gdbarch_init().
1.8.14