|
GDB (xrefs)
|
Go to the source code of this file.
Classes | |
| struct | gdbarch_tdep |
| struct | arm_displaced_step_closure |
Macros | |
| #define | FP_REGISTER_SIZE 12 |
| #define | VFP_REGISTER_SIZE 8 |
| #define | NUM_FREGS 8 /* Number of floating point registers. */ |
| #define | NUM_SREGS 2 /* Number of status registers. */ |
| #define | NUM_GREGS 16 /* Number of general purpose registers. */ |
| #define | DISPLACED_TEMPS 16 |
| #define | DISPLACED_MODIFIED_INSNS 8 |
Variables | |
| struct target_desc * | tdesc_arm_with_m |
| struct target_desc * | tdesc_arm_with_iwmmxt |
| struct target_desc * | tdesc_arm_with_vfpv2 |
| struct target_desc * | tdesc_arm_with_vfpv3 |
| struct target_desc * | tdesc_arm_with_neon |
| #define DISPLACED_MODIFIED_INSNS 8 |
Definition at line 155 of file arm-tdep.h.
| #define DISPLACED_TEMPS 16 |
Definition at line 151 of file arm-tdep.h.
| #define FP_REGISTER_SIZE 12 |
Definition at line 38 of file arm-tdep.h.
Referenced by arm_extract_return_value(), arm_register_g_packet_guesses(), arm_store_return_value(), collect_nwfpe_register(), and supply_nwfpe_register().
| #define NUM_FREGS 8 /* Number of floating point registers. */ |
Definition at line 51 of file arm-tdep.h.
| #define NUM_GREGS 16 /* Number of general purpose registers. */ |
Definition at line 53 of file arm-tdep.h.
Referenced by arm_register_sim_regno().
| #define NUM_SREGS 2 /* Number of status registers. */ |
Definition at line 52 of file arm-tdep.h.
Referenced by arm_register_sim_regno().
| #define VFP_REGISTER_SIZE 8 |
Definition at line 42 of file arm-tdep.h.
Referenced by arm_register_g_packet_guesses().
| enum arm_abi_kind |
| Enumerator | |
|---|---|
| ARM_ABI_AUTO | |
| ARM_ABI_APCS | |
| ARM_ABI_AAPCS | |
| ARM_ABI_LAST | |
Definition at line 78 of file arm-tdep.h.
| enum arm_float_model |
| Enumerator | |
|---|---|
| ARM_FLOAT_AUTO | |
| ARM_FLOAT_SOFT_FPA | |
| ARM_FLOAT_FPA | |
| ARM_FLOAT_SOFT_VFP | |
| ARM_FLOAT_VFP | |
| ARM_FLOAT_LAST | |
Definition at line 67 of file arm-tdep.h.
| enum pc_write_style |
| Enumerator | |
|---|---|
| BRANCH_WRITE_PC | |
| BX_WRITE_PC | |
| LOAD_WRITE_PC | |
| ALU_WRITE_PC | |
| CANNOT_WRITE_PC | |
Definition at line 230 of file arm-tdep.h.
| enum struct_return |
| Enumerator | |
|---|---|
| pcc_struct_return | |
| reg_struct_return | |
| pcc_struct_return | |
| reg_struct_return | |
| pcc_struct_return | |
| reg_struct_return | |
Definition at line 88 of file arm-tdep.h.
| void arm_displaced_init_closure | ( | struct gdbarch * | gdbarch, |
| CORE_ADDR | from, | ||
| CORE_ADDR | to, | ||
| arm_displaced_step_closure * | dsc | ||
| ) |
Definition at line 7616 of file arm-tdep.c.
References gdbarch_tdep::arm_breakpoint, gdbarch_tdep::arm_breakpoint_size, debug_displaced, fprintf_unfiltered(), gdb_stdlog, gdbarch_byte_order_for_code(), gdbarch_tdep(), arm_displaced_step_closure::is_thumb, arm_displaced_step_closure::modinsn, arm_displaced_step_closure::numinsns, offset, paddress(), size, gdbarch_tdep::thumb_breakpoint, gdbarch_tdep::thumb_breakpoint_size, write_memory(), and write_memory_unsigned_integer().
Referenced by arm_linux_displaced_step_copy_insn().
| void arm_displaced_step_fixup | ( | struct gdbarch * | , |
| struct displaced_step_closure * | , | ||
| CORE_ADDR | , | ||
| CORE_ADDR | , | ||
| struct regcache * | |||
| ) |
Definition at line 7673 of file arm-tdep.c.
References ARM_PC_REGNUM, arm_displaced_step_closure::cleanup, arm_displaced_step_closure::insn_addr, arm_displaced_step_closure::insn_size, regcache_cooked_write_unsigned(), gdbarch_tdep::regs, and arm_displaced_step_closure::wrote_to_pc.
Referenced by arm_linux_init_abi().
| int arm_frame_is_thumb | ( | struct frame_info * | frame | ) |
Definition at line 310 of file arm-tdep.c.
References ARM_PS_REGNUM, arm_psr_thumb_bit(), get_frame_arch(), and get_frame_register_unsigned().
Referenced by arm_epilogue_frame_sniffer(), arm_exidx_unwind_sniffer(), arm_pc_is_thumb(), arm_scan_prologue(), and arm_skip_bx_reg().
| CORE_ADDR arm_get_next_pcs_addr_bits_remove | ( | struct arm_get_next_pcs * | self, |
| CORE_ADDR | val | ||
| ) |
Definition at line 6223 of file arm-tdep.c.
References gdbarch_addr_bits_remove().
| int arm_get_next_pcs_is_thumb | ( | struct arm_get_next_pcs * | self | ) |
Definition at line 6240 of file arm-tdep.c.
References arm_is_thumb().
| ULONGEST arm_get_next_pcs_read_memory_unsigned_integer | ( | CORE_ADDR | memaddr, |
| int | len, | ||
| int | byte_order | ||
| ) |
Definition at line 6213 of file arm-tdep.c.
References read_memory_unsigned_integer().
| int arm_is_thumb | ( | struct regcache * | regcache | ) |
Definition at line 297 of file arm-tdep.c.
References regcache::arch(), ARM_PS_REGNUM, arm_psr_thumb_bit(), and regcache_raw_get_unsigned().
Referenced by arm_get_next_pcs_is_thumb(), and arm_linux_get_next_pcs_syscall_next_pc().
Definition at line 398 of file arm-tdep.c.
References arm_fallback_mode_string, arm_find_mapping_symbol(), arm_force_mode_string, arm_frame_is_thumb(), debug_displaced, fprintf_unfiltered(), gdb_stdlog, get_current_frame(), get_displaced_step_closure_by_addr(), arm_displaced_step_closure::insn_addr, IS_THUMB_ADDR, lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, MSYMBOL_IS_SPECIAL, target_has_registers, and type.
Referenced by arm_adjust_breakpoint_address(), arm_analyze_load_stack_chk_guard(), arm_breakpoint_kind_from_pc(), arm_linux_hw_breakpoint_initialize(), arm_push_dummy_call(), arm_skip_prologue(), arm_skip_stack_protector(), arm_stack_frame_destroyed_p(), arm_write_pc(), and gdb_print_insn_arm().
| void arm_process_displaced_insn | ( | struct gdbarch * | gdbarch, |
| CORE_ADDR | from, | ||
| CORE_ADDR | to, | ||
| struct regcache * | regs, | ||
| arm_displaced_step_closure * | dsc | ||
| ) |
Definition at line 7556 of file arm-tdep.c.
References _, arm_decode_b_bl_ldmstm(), arm_decode_dp_misc(), arm_decode_ld_st_word_ubyte(), arm_decode_media(), arm_decode_svc_copro(), arm_decode_unconditional(), arm_get_next_pcs::byte_order_for_code, arm_displaced_step_closure::cleanup, debug_displaced, displaced_in_arm_mode(), err, fprintf_unfiltered(), gdb_stdlog, gdbarch_byte_order_for_code(), arm_displaced_step_closure::insn_addr, arm_displaced_step_closure::insn_size, internal_error(), arm_displaced_step_closure::is_thumb, arm_displaced_step_closure::numinsns, read_memory_unsigned_integer(), arm_displaced_step_closure::scratch_base, thumb_process_displaced_insn(), and arm_displaced_step_closure::wrote_to_pc.
Referenced by arm_linux_displaced_step_copy_insn().
Definition at line 13176 of file arm-tdep.c.
References _, arm_mem_r::addr, insn_decode_record_t::arm_insn, ARM_INSN_SIZE_BYTES, insn_decode_record_t::arm_mems, ARM_PC_REGNUM, ARM_PS_REGNUM, arm_psr_thumb_bit(), ARM_RECORD, insn_decode_record_t::arm_regs, bits, deallocate_reg_mem(), decode_insn(), extract_arm_insn(), fprintf_unfiltered(), gdb_stdlog, insn_decode_record_t::gdbarch, arm_mem_r::len, insn_decode_record_t::mem_rec_count, memset(), paddress(), printf_unfiltered(), record_debug, record_full_arch_list_add_end(), record_full_arch_list_add_mem(), record_full_arch_list_add_reg(), insn_decode_record_t::reg_rec_count, insn_decode_record_t::regcache, regcache_raw_read_unsigned(), insn_decode_record_t::this_addr, THUMB2_INSN_SIZE_BYTES, THUMB2_RECORD, THUMB_INSN_SIZE_BYTES, and THUMB_RECORD.
Referenced by arm_linux_init_abi().
| int arm_psr_thumb_bit | ( | struct gdbarch * | ) |
Definition at line 286 of file arm-tdep.c.
References CPSR_T, and XPSR_T.
Referenced by arm_dwarf2_prev_register(), arm_frame_is_thumb(), arm_is_thumb(), arm_linux_get_syscall_number(), arm_linux_restart_syscall_init(), arm_linux_sigreturn_next_pc(), arm_linux_sigreturn_return_addr(), arm_process_record(), arm_prologue_prev_register(), arm_write_pc(), bx_write_pc(), and displaced_in_arm_mode().
| CORE_ADDR arm_skip_stub | ( | struct frame_info * | , |
| CORE_ADDR | |||
| ) |
Definition at line 8282 of file arm-tdep.c.
References arm_skip_bx_reg(), BMSYMBOL_VALUE_ADDRESS, find_pc_partial_function(), find_pc_section(), get_frame_register_unsigned(), lookup_minimal_symbol(), bound_minimal_symbol::minsym, name, obj_section::objfile, objfile::objfile(), offset, gdbarch_tdep::pc, startswith(), and target_name.
Referenced by arm_gdbarch_init(), arm_linux_skip_trampoline_code(), and arm_pe_skip_trampoline_code().
Definition at line 6251 of file arm-tdep.c.
References regcache::arch(), arm_get_next_pcs(), arm_get_next_pcs_ctor(), gdbarch_addr_bits_remove(), gdbarch_byte_order(), and gdbarch_byte_order_for_code().
Referenced by arm_fbsd_init_abi(), arm_netbsd_init_abi_common(), arm_wince_init_abi(), and armobsd_init_abi().
| void armbsd_iterate_over_regset_sections | ( | struct gdbarch * | gdbarch, |
| iterate_over_regset_sections_cb * | cb, | ||
| void * | cb_data, | ||
| const struct regcache * | regcache | ||
| ) |
Definition at line 115 of file arm-bsd-tdep.c.
References armbsd_fpregset, armbsd_gregset, ARMBSD_SIZEOF_FPREGS, and ARMBSD_SIZEOF_GREGS.
Referenced by armobsd_init_abi().
| ULONGEST displaced_read_reg | ( | struct regcache * | regs, |
| arm_displaced_step_closure * | dsc, | ||
| int | regno | ||
| ) |
Definition at line 4417 of file arm-tdep.c.
References ARM_PC_REGNUM, debug_displaced, fprintf_unfiltered(), gdb_stdlog, arm_displaced_step_closure::insn_addr, arm_displaced_step_closure::is_thumb, and regcache_cooked_read_unsigned().
Referenced by arm_catch_kernel_helper_return(), arm_copy_alu_imm(), arm_copy_block_xfer(), arm_copy_extra_ld_st(), arm_linux_copy_svc(), cleanup_alu_imm(), cleanup_alu_reg(), cleanup_alu_shifted_reg(), cleanup_block_load_all(), cleanup_block_load_pc(), cleanup_block_store_pc(), cleanup_branch(), cleanup_copro_load_store(), cleanup_load(), cleanup_pop_pc_16bit_all(), cleanup_store(), install_alu_reg(), install_alu_shifted_reg(), install_bx_blx_reg(), install_copro_load_store(), install_load_store(), install_pc_relative(), install_preload(), install_preload_reg(), thumb2_copy_alu_imm(), thumb2_copy_block_xfer(), thumb2_copy_load_literal(), thumb2_copy_preload(), thumb2_copy_table_branch(), thumb_copy_16bit_ldr_literal(), thumb_copy_cbnz_cbz(), and thumb_copy_pop_pc_16bit().
| void displaced_write_reg | ( | struct regcache * | regs, |
| arm_displaced_step_closure * | dsc, | ||
| int | regno, | ||
| ULONGEST | val, | ||
| enum pc_write_style | write_pc | ||
| ) |
Definition at line 4537 of file arm-tdep.c.
References _, ALU_WRITE_PC, alu_write_pc(), ARM_PC_REGNUM, BRANCH_WRITE_PC, branch_write_pc(), BX_WRITE_PC, bx_write_pc(), CANNOT_WRITE_PC, debug_displaced, fprintf_unfiltered(), gdb_stdlog, internal_error(), LOAD_WRITE_PC, load_write_pc(), regcache_cooked_write_unsigned(), warning(), and arm_displaced_step_closure::wrote_to_pc.
Referenced by arm_catch_kernel_helper_return(), arm_copy_alu_imm(), arm_copy_extra_ld_st(), arm_linux_cleanup_svc(), cleanup_alu_imm(), cleanup_alu_reg(), cleanup_alu_shifted_reg(), cleanup_block_load_all(), cleanup_block_load_pc(), cleanup_branch(), cleanup_copro_load_store(), cleanup_kernel_helper_return(), cleanup_load(), cleanup_pop_pc_16bit_all(), cleanup_preload(), cleanup_store(), cleanup_svc(), install_alu_reg(), install_alu_shifted_reg(), install_copro_load_store(), install_load_store(), install_pc_relative(), install_preload(), install_preload_reg(), thumb2_copy_alu_imm(), thumb2_copy_load_literal(), thumb2_copy_preload(), and thumb_copy_16bit_ldr_literal().
| struct target_desc* tdesc_arm_with_iwmmxt |
Definition at line 8 of file arm-with-iwmmxt.c.
Referenced by arm_linux_read_description(), and initialize_tdesc_arm_with_iwmmxt().
| struct target_desc* tdesc_arm_with_m |
Definition at line 8 of file arm-with-m.c.
Referenced by arm_register_g_packet_guesses(), and initialize_tdesc_arm_with_m().
| struct target_desc* tdesc_arm_with_neon |
Definition at line 8 of file arm-with-neon.c.
Referenced by initialize_tdesc_arm_with_neon().
| struct target_desc* tdesc_arm_with_vfpv2 |
Definition at line 8 of file arm-with-vfpv2.c.
Referenced by arm_fbsd_read_description_auxv(), arm_linux_core_read_description(), arm_linux_read_description(), and initialize_tdesc_arm_with_vfpv2().
| struct target_desc* tdesc_arm_with_vfpv3 |
Definition at line 8 of file arm-with-vfpv3.c.
Referenced by arm_fbsd_read_description_auxv(), arm_linux_core_read_description(), arm_linux_read_description(), and initialize_tdesc_arm_with_vfpv3().
1.8.14