GDB (xrefs)
|
#include "defs.h"
#include <ctype.h>
#include "frame.h"
#include "language.h"
#include "inferior.h"
#include "infrun.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "dis-asm.h"
#include "disasm.h"
#include "regcache.h"
#include "reggroups.h"
#include "target-float.h"
#include "value.h"
#include "arch-utils.h"
#include "osabi.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "trad-frame.h"
#include "objfiles.h"
#include "dwarf2.h"
#include "dwarf2/frame.h"
#include "gdbtypes.h"
#include "prologue-value.h"
#include "remote.h"
#include "target-descriptions.h"
#include "user-regs.h"
#include "observable.h"
#include "count-one-bits.h"
#include "arch/arm.h"
#include "arch/arm-get-next-pcs.h"
#include "arm-tdep.h"
#include "sim/sim-arm.h"
#include "elf-bfd.h"
#include "coff/internal.h"
#include "elf/arm.h"
#include "record.h"
#include "record-full.h"
#include <algorithm>
#include "producer.h"
#include "bfd-in2.h"
#include "libcoff.h"
Go to the source code of this file.
Classes | |
struct | arm_mapping_symbol |
struct | arm_per_bfd |
struct | arm_prologue_cache |
struct | arm_exidx_entry |
struct | arm_exidx_data |
struct | arm_dwarf2_prev_register_cache |
struct | arm_stack_item |
struct | arm_mem_r |
struct | arm_insn_decode_record |
Macros | |
#define | arm_debug_printf(fmt, ...) debug_prefixed_printf_cond (arm_debug, "arm", fmt, ##__VA_ARGS__) |
#define | MSYMBOL_SET_SPECIAL(msym) (msym)->set_target_flag_1 (true) |
#define | MSYMBOL_IS_SPECIAL(msym) (msym)->target_flag_1 () |
#define | DISPLACED_STEPPING_ARCH_VERSION 5 |
#define | EXTRACT_MOVW_MOVT_IMM_T(insn1, insn2) |
#define | EXTRACT_MOVW_MOVT_IMM_A(insn) |
#define | MAX_IT_BLOCK_PREFIX 14 |
#define | IT_SCAN_THRESHOLD 32 |
#define | ARM_NOP 0xe1a00000 |
#define | THUMB_NOP 0x4600 |
#define | ARM_LE_BREAKPOINT {0xFE,0xDE,0xFF,0xE7} |
#define | ARM_BE_BREAKPOINT {0xE7,0xFF,0xDE,0xFE} |
#define | THUMB_LE_BREAKPOINT {0xbe,0xbe} |
#define | THUMB_BE_BREAKPOINT {0xbe,0xbe} |
#define | ARM_INSN_SIZE_BYTES 4 |
#define | THUMB_INSN_SIZE_BYTES 2 |
#define | THUMB2_INSN_SIZE_BYTES 4 |
#define | INSN_S_L_BIT_NUM 20 |
#define | REG_ALLOC(REGS, LENGTH, RECORD_BUF) |
#define | MEM_ALLOC(MEMS, LENGTH, RECORD_BUF) |
#define | INSN_RECORDED(ARM_RECORD) (0 != (ARM_RECORD)->reg_rec_count || 0 != (ARM_RECORD)->mem_rec_count) |
Typedefs | |
typedef std::vector< arm_mapping_symbol > | arm_mapping_symbol_vec |
typedef int(* | sti_arm_hdl_fp_t) (arm_insn_decode_record *) |
Enumerations | |
enum | arm_vfp_cprc_base_type { VFP_CPRC_UNKNOWN , VFP_CPRC_SINGLE , VFP_CPRC_DOUBLE , VFP_CPRC_VEC64 , VFP_CPRC_VEC128 } |
enum | arm_record_result { ARM_RECORD_SUCCESS = 0 , ARM_RECORD_FAILURE = 1 } |
enum | arm_record_strx_t { ARM_RECORD_STRH =1 , ARM_RECORD_STRD } |
enum | record_type_t { ARM_RECORD =1 , THUMB_RECORD , THUMB2_RECORD } |
#define ARM_BE_BREAKPOINT {0xE7,0xFF,0xDE,0xFE} |
Definition at line 8798 of file arm-tdep.c.
#define arm_debug_printf | ( | fmt, | |
... ) debug_prefixed_printf_cond (arm_debug, "arm", fmt, ##__VA_ARGS__) |
Definition at line 75 of file arm-tdep.c.
Referenced by arm_analyze_prologue(), arm_push_dummy_call(), and thumb_analyze_prologue().
#define ARM_INSN_SIZE_BYTES 4 |
Definition at line 11129 of file arm-tdep.c.
Referenced by arm_process_record().
#define ARM_LE_BREAKPOINT {0xFE,0xDE,0xFF,0xE7} |
Definition at line 8797 of file arm-tdep.c.
#define ARM_NOP 0xe1a00000 |
Definition at line 5489 of file arm-tdep.c.
Referenced by arm_copy_b_bl_blx(), arm_copy_block_xfer(), and arm_copy_bx_blx_reg().
#define DISPLACED_STEPPING_ARCH_VERSION 5 |
Definition at line 594 of file arm-tdep.c.
Referenced by alu_write_pc(), and load_write_pc().
#define EXTRACT_MOVW_MOVT_IMM_A | ( | insn | ) |
Definition at line 973 of file arm-tdep.c.
Referenced by arm_analyze_load_stack_chk_guard().
#define EXTRACT_MOVW_MOVT_IMM_T | ( | insn1, | |
insn2 ) |
Definition at line 965 of file arm-tdep.c.
Referenced by arm_analyze_load_stack_chk_guard(), and thumb_analyze_prologue().
#define INSN_RECORDED | ( | ARM_RECORD | ) | (0 != (ARM_RECORD)->reg_rec_count || 0 != (ARM_RECORD)->mem_rec_count) |
Definition at line 11164 of file arm-tdep.c.
Referenced by arm_record_extension_space().
#define INSN_S_L_BIT_NUM 20 |
Definition at line 11136 of file arm-tdep.c.
Referenced by arm_record_data_proc_misc_ld_str(), arm_record_ld_st_imm_offset(), arm_record_ld_st_multiple(), arm_record_ld_st_reg_offset(), thumb2_record_ld_st_dual_ex_tbb(), and thumb2_record_ld_st_multiple().
#define IT_SCAN_THRESHOLD 32 |
Definition at line 5308 of file arm-tdep.c.
Referenced by arm_adjust_breakpoint_address().
#define MAX_IT_BLOCK_PREFIX 14 |
Definition at line 5304 of file arm-tdep.c.
Referenced by arm_adjust_breakpoint_address().
#define MEM_ALLOC | ( | MEMS, | |
LENGTH, | |||
RECORD_BUF ) |
Definition at line 11150 of file arm-tdep.c.
Referenced by arm_record_data_proc_imm(), arm_record_data_proc_misc_ld_str(), arm_record_exreg_ld_st_insn(), arm_record_extension_space(), arm_record_ld_st_imm_offset(), arm_record_ld_st_multiple(), arm_record_ld_st_reg_offset(), thumb2_record_asimd_struct_ld_st(), thumb2_record_ld_st_dual_ex_tbb(), thumb2_record_ld_st_multiple(), thumb2_record_str_single_data(), thumb_record_ld_st_imm_offset(), thumb_record_ld_st_reg_offset(), thumb_record_ld_st_stack(), thumb_record_ldm_stm_swi(), and thumb_record_misc().
#define MSYMBOL_IS_SPECIAL | ( | msym | ) | (msym)->target_flag_1 () |
Definition at line 88 of file arm-tdep.c.
Referenced by arm_pc_is_thumb().
#define MSYMBOL_SET_SPECIAL | ( | msym | ) | (msym)->set_target_flag_1 (true) |
Definition at line 85 of file arm-tdep.c.
Referenced by arm_coff_make_msymbol_special(), and arm_elf_make_msymbol_special().
#define REG_ALLOC | ( | REGS, | |
LENGTH, | |||
RECORD_BUF ) |
Definition at line 11138 of file arm-tdep.c.
Referenced by arm_record_asimd_vfp_coproc(), arm_record_b_bl(), arm_record_coproc_data_proc(), arm_record_data_proc_imm(), arm_record_data_proc_misc_ld_str(), arm_record_exreg_ld_st_insn(), arm_record_extension_space(), arm_record_ld_st_imm_offset(), arm_record_ld_st_multiple(), arm_record_ld_st_reg_offset(), arm_record_media(), arm_record_vdata_transfer_insn(), arm_record_vfp_data_proc_insn(), thumb2_record_asimd_struct_ld_st(), thumb2_record_branch_misc_cntrl(), thumb2_record_data_proc_sreg_mimm(), thumb2_record_ld_mem_hints(), thumb2_record_ld_st_dual_ex_tbb(), thumb2_record_ld_st_multiple(), thumb2_record_ld_word(), thumb2_record_lmul_lmla_div(), thumb2_record_ps_dest_generic(), thumb2_record_str_single_data(), thumb_record_add_sub_cmp_mov(), thumb_record_branch(), thumb_record_ld_st_imm_offset(), thumb_record_ld_st_reg_offset(), thumb_record_ld_st_stack(), thumb_record_ldm_stm_swi(), thumb_record_misc(), and thumb_record_shift_add_sub().
#define THUMB2_INSN_SIZE_BYTES 4 |
Definition at line 11131 of file arm-tdep.c.
Referenced by arm_process_record().
#define THUMB_BE_BREAKPOINT {0xbe,0xbe} |
Definition at line 8800 of file arm-tdep.c.
#define THUMB_INSN_SIZE_BYTES 2 |
Definition at line 11130 of file arm-tdep.c.
Referenced by arm_process_record().
#define THUMB_LE_BREAKPOINT {0xbe,0xbe} |
Definition at line 8799 of file arm-tdep.c.
#define THUMB_NOP 0x4600 |
Definition at line 5490 of file arm-tdep.c.
Referenced by thumb2_copy_b_bl_blx(), thumb_copy_b(), thumb_copy_bx_blx_reg(), and thumb_copy_cbnz_cbz().
typedef std::vector<arm_mapping_symbol> arm_mapping_symbol_vec |
Definition at line 100 of file arm-tdep.c.
typedef int(* sti_arm_hdl_fp_t) (arm_insn_decode_record *) |
Definition at line 14531 of file arm-tdep.c.
enum arm_record_result |
Enumerator | |
---|---|
ARM_RECORD_SUCCESS | |
ARM_RECORD_FAILURE |
Definition at line 11219 of file arm-tdep.c.
enum arm_record_strx_t |
Enumerator | |
---|---|
ARM_RECORD_STRH | |
ARM_RECORD_STRD |
Definition at line 11225 of file arm-tdep.c.
Enumerator | |
---|---|
VFP_CPRC_UNKNOWN | |
VFP_CPRC_SINGLE | |
VFP_CPRC_DOUBLE | |
VFP_CPRC_VEC64 | |
VFP_CPRC_VEC128 |
Definition at line 4362 of file arm-tdep.c.
enum record_type_t |
Enumerator | |
---|---|
ARM_RECORD | |
THUMB_RECORD | |
THUMB2_RECORD |
Definition at line 11231 of file arm-tdep.c.
void _initialize_arm_tdep | ( | ) |
Definition at line 10993 of file arm-tdep.c.
References add_setshow_boolean_cmd(), add_setshow_enum_cmd(), add_setshow_prefix_cmd(), arm_abi_string, arm_abi_strings, arm_apcs_32, arm_debug, arm_disassembler_options, arm_dump_tdep(), arm_elf_osabi_sniffer(), arm_exidx_new_objfile(), arm_fallback_mode_string, arm_force_mode_string, arm_gdbarch_init(), arm_mode_strings, arm_set_abi(), arm_show_abi(), arm_show_fallback_mode(), arm_show_force_mode(), arm_show_unwind_secure_frames(), arm_unwind_secure_frames, class_maintenance, class_support, current_fp_model, disassembly_style, fp_model_strings, gdbarch_register(), gdbarch_register_osabi_sniffer(), gdb::observers::new_objfile, no_class, set_disassembly_style_sfunc(), set_fp_model_sfunc(), setarmcmdlist, setdebuglist, setlist, show_disassembly_style_sfunc(), show_fp_model(), showarmcmdlist, showdebuglist, showlist, and valid_disassembly_styles.
|
static |
Definition at line 5603 of file arm-tdep.c.
References branch_write_pc(), bx_write_pc(), DISPLACED_STEPPING_ARCH_VERSION, and arm_displaced_step_copy_insn_closure::is_thumb.
Referenced by displaced_write_reg().
|
static |
Definition at line 893 of file arm-tdep.c.
References arm_apcs_32, arm_m_addr_is_magic(), arm_gdbarch_tdep::is_m, and UNMAKE_THUMB_ADDR.
Referenced by arm_dwarf2_prev_register(), arm_gdbarch_init(), and arm_prologue_prev_register().
|
static |
Definition at line 5314 of file arm-tdep.c.
References arm_find_mapping_symbol(), arm_pc_is_thumb(), extend_buffer_earlier(), extract_unsigned_integer(), find_pc_partial_function(), gdbarch_addr_bits_remove(), gdbarch_byte_order_for_code(), IT_SCAN_THRESHOLD, MAX_IT_BLOCK_PREFIX, target_read_code(), arm_gdbarch_tdep::thumb2_breakpoint, thumb_insn_size(), xfree(), and xmalloc().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 1575 of file arm-tdep.c.
References arm_pc_is_thumb(), bits, EXTRACT_MOVW_MOVT_IMM_A, EXTRACT_MOVW_MOVT_IMM_T, gdbarch_byte_order_for_code(), read_code_unsigned_integer(), and read_memory_unsigned_integer().
Referenced by arm_skip_stack_protector().
|
static |
Definition at line 1966 of file arm-tdep.c.
References arm_cache_set_active_sp_value(), arm_debug_printf, arm_expand_immediate(), ARM_F0_REGNUM, ARM_FP_REGNUM, ARM_FPS_REGNUM, arm_instruction_changes_pc(), arm_instruction_restores_sp(), ARM_IP_REGNUM, ARM_PC_REGNUM, ARM_SP_REGNUM, bits, BranchDest, pv_area::find_reg(), arm_prologue_cache::framereg, arm_prologue_cache::framesize, gdbarch_addr_bit(), gdbarch_byte_order_for_code(), arm_gdbarch_tdep::have_fpa_registers, prologue_value::k, paddress(), pv_add_constant(), pv_is_register(), pv_register(), arm_prologue_cache::saved_regs, trad_frame_saved_reg::set_addr(), skip_prologue_function(), pv_area::store(), and pv_area::store_would_trash().
Referenced by arm_scan_prologue(), and arm_skip_prologue().
|
static |
Definition at line 8868 of file arm-tdep.c.
References ARM_BP_KIND_ARM, arm_breakpoint_kind_from_pc(), arm_get_next_pcs(), arm_get_next_pcs_ctor(), gdbarch_byte_order(), gdbarch_byte_order_for_code(), IS_THUMB_ADDR, MAKE_THUMB_ADDR, regcache_read_pc(), target_read_memory(), and UNMAKE_THUMB_ADDR.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 8810 of file arm-tdep.c.
References ARM_BP_KIND_ARM, ARM_BP_KIND_THUMB, ARM_BP_KIND_THUMB2, arm_pc_is_thumb(), extract_unsigned_integer(), gdbarch_byte_order_for_code(), target_read_memory(), arm_gdbarch_tdep::thumb2_breakpoint, thumb_insn_size(), and UNMAKE_THUMB_ADDR.
Referenced by arm_breakpoint_kind_from_current_state(), and arm_gdbarch_init().
|
static |
Definition at line 474 of file arm-tdep.c.
References arm_prologue_cache::active_sp_regnum, and arm_cache_get_sp_register().
Referenced by arm_epilogue_frame_this_id(), arm_m_exception_cache(), arm_m_exception_frame_unwind_stop_reason(), arm_m_exception_prev_register(), arm_m_exception_this_id(), arm_make_epilogue_frame_cache(), arm_normal_frame_base(), arm_prologue_prev_register(), arm_prologue_this_id(), arm_prologue_unwind_stop_reason(), and arm_stub_this_id().
|
static |
Definition at line 435 of file arm-tdep.c.
References arm_prologue_cache::active_msp_regnum, arm_prologue_cache::active_psp_regnum, arm_prologue_cache::active_sp_regnum, arm_cache_get_sp_register(), ARM_SP_REGNUM, arm_gdbarch_tdep::have_sec_ext, arm_gdbarch_tdep::is_m, arm_gdbarch_tdep::m_profile_msp_ns_regnum, arm_gdbarch_tdep::m_profile_msp_regnum, arm_gdbarch_tdep::m_profile_msp_s_regnum, arm_gdbarch_tdep::m_profile_psp_ns_regnum, arm_gdbarch_tdep::m_profile_psp_regnum, arm_gdbarch_tdep::m_profile_psp_s_regnum, arm_prologue_cache::msp_ns, arm_prologue_cache::msp_s, arm_prologue_cache::psp_ns, arm_prologue_cache::psp_s, regnum, and arm_prologue_cache::sp.
Referenced by arm_cache_get_prev_sp_value(), arm_cache_get_sp_register(), arm_m_exception_prev_register(), and arm_prologue_prev_register().
|
static |
Definition at line 342 of file arm-tdep.c.
References arm_prologue_cache::active_msp_regnum, arm_prologue_cache::active_psp_regnum, arm_prologue_cache::active_sp_regnum, arm_cache_init(), ARM_SP_REGNUM, get_frame_arch(), get_frame_register_unsigned(), arm_gdbarch_tdep::have_sec_ext, arm_gdbarch_tdep::is_m, arm_gdbarch_tdep::m_profile_msp_ns_regnum, arm_gdbarch_tdep::m_profile_msp_regnum, arm_gdbarch_tdep::m_profile_msp_s_regnum, arm_gdbarch_tdep::m_profile_psp_ns_regnum, arm_gdbarch_tdep::m_profile_psp_regnum, arm_gdbarch_tdep::m_profile_psp_s_regnum, arm_prologue_cache::msp_ns, arm_prologue_cache::msp_s, arm_prologue_cache::psp_ns, arm_prologue_cache::psp_s, and arm_prologue_cache::sp.
|
static |
Definition at line 332 of file arm-tdep.c.
References arm_prologue_cache::active_sp_regnum, ARM_SP_REGNUM, arm_prologue_cache::saved_regs, and trad_frame_alloc_saved_regs().
Referenced by arm_cache_init(), arm_exidx_fill_cache(), arm_m_exception_cache(), arm_make_epilogue_frame_cache(), arm_make_prologue_cache(), and arm_make_stub_cache().
|
static |
Definition at line 483 of file arm-tdep.c.
References arm_prologue_cache::active_sp_regnum, ARM_SP_REGNUM, arm_gdbarch_tdep::have_sec_ext, arm_gdbarch_tdep::is_m, arm_gdbarch_tdep::m_profile_msp_ns_regnum, arm_gdbarch_tdep::m_profile_msp_regnum, arm_gdbarch_tdep::m_profile_msp_s_regnum, arm_gdbarch_tdep::m_profile_psp_ns_regnum, arm_gdbarch_tdep::m_profile_psp_regnum, arm_gdbarch_tdep::m_profile_psp_s_regnum, arm_prologue_cache::msp_ns, arm_prologue_cache::msp_s, arm_prologue_cache::psp_ns, arm_prologue_cache::psp_s, and arm_prologue_cache::sp.
Referenced by arm_analyze_prologue(), arm_exidx_fill_cache(), arm_m_exception_cache(), arm_make_epilogue_frame_cache(), arm_make_prologue_cache(), arm_make_stub_cache(), and thumb_analyze_prologue().
|
static |
Definition at line 536 of file arm-tdep.c.
References arm_prologue_cache::active_msp_regnum, arm_prologue_cache::active_psp_regnum, arm_prologue_cache::active_sp_regnum, arm_is_alternative_sp_register(), arm_gdbarch_tdep::have_sec_ext, arm_gdbarch_tdep::m_profile_msp_ns_regnum, arm_gdbarch_tdep::m_profile_msp_regnum, arm_gdbarch_tdep::m_profile_msp_s_regnum, arm_gdbarch_tdep::m_profile_psp_ns_regnum, arm_gdbarch_tdep::m_profile_psp_regnum, arm_gdbarch_tdep::m_profile_psp_s_regnum, and sp_regnum.
Referenced by arm_m_exception_cache().
|
static |
Definition at line 10042 of file arm-tdep.c.
References get_frame_type(), arm_gdbarch_tdep::is_m, and SIGTRAMP_FRAME.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 9713 of file arm-tdep.c.
References coff_sym_is_thumb(), and MSYMBOL_SET_SPECIAL.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 6221 of file arm-tdep.c.
References arm_copy_unmodified(), bits, CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_alu_imm(), displaced_debug_printf, displaced_read_reg(), displaced_write_reg(), insn_references_pc(), arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::rd, and arm_displaced_step_copy_insn_closure::tmp.
Referenced by arm_decode_dp_misc().
|
static |
Definition at line 6368 of file arm-tdep.c.
References arm_copy_unmodified(), bits, displaced_debug_printf, insn_references_pc(), install_alu_reg(), and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_decode_dp_misc().
|
static |
Definition at line 6467 of file arm-tdep.c.
References arm_copy_unmodified(), bits, displaced_debug_printf, insn_references_pc(), install_alu_shifted_reg(), and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_decode_dp_misc().
|
static |
Definition at line 6030 of file arm-tdep.c.
References ARM_NOP, bit, bits, displaced_debug_printf, install_b_bl_blx(), and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_decode_b_bl_ldmstm(), and arm_decode_unconditional().
|
static |
Definition at line 7050 of file arm-tdep.c.
References arm_copy_unmodified(), ARM_NOP, ARM_PC_REGNUM, arm_displaced_step_copy_insn_closure::before, bit, bits, arm_displaced_step_copy_insn_closure::block, arm_displaced_step_copy_insn_closure::cleanup, cleanup_block_load_all(), cleanup_block_load_pc(), cleanup_block_store_pc(), arm_displaced_step_copy_insn_closure::cond, displaced_debug_printf, displaced_read_reg(), arm_displaced_step_copy_insn_closure::increment, arm_displaced_step_copy_insn_closure::load, arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::regmask, arm_displaced_step_copy_insn_closure::rn, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, arm_displaced_step_copy_insn_closure::user, arm_displaced_step_copy_insn_closure::writeback, and arm_displaced_step_copy_insn_closure::xfer_addr.
Referenced by arm_decode_b_bl_ldmstm().
|
static |
Definition at line 6173 of file arm-tdep.c.
References ARM_NOP, bit, bits, displaced_debug_printf, install_bx_blx_reg(), and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_decode_miscellaneous().
|
static |
Definition at line 5922 of file arm-tdep.c.
References arm_copy_unmodified(), bit, bits, displaced_debug_printf, insn_references_pc(), install_copro_load_store(), and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_decode_ext_reg_ld_st(), arm_decode_svc_copro(), and arm_decode_unconditional().
|
static |
Definition at line 6552 of file arm-tdep.c.
References arm_copy_unmodified(), bit, bits, CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_load(), cleanup_store(), displaced_debug_printf, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::immed, insn_references_pc(), arm_displaced_step_copy_insn_closure::ldst, arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::rd, arm_displaced_step_copy_insn_closure::restore_r4, arm_displaced_step_copy_insn_closure::rn, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, arm_displaced_step_copy_insn_closure::writeback, and arm_displaced_step_copy_insn_closure::xfersize.
Referenced by arm_decode_dp_misc().
|
static |
Definition at line 6780 of file arm-tdep.c.
References arm_copy_unmodified(), ARM_PC_REGNUM, bit, bits, arm_displaced_step_copy_insn_closure::cleanup, cleanup_load(), cleanup_store(), displaced_debug_printf, insn_references_pc(), install_load_store(), arm_displaced_step_copy_insn_closure::ldst, arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::numinsns, arm_displaced_step_copy_insn_closure::restore_r4, size, and arm_displaced_step_copy_insn_closure::u.
Referenced by arm_decode_ld_st_word_ubyte().
|
static |
Definition at line 5769 of file arm-tdep.c.
References arm_copy_unmodified(), bits, displaced_debug_printf, insn_references_pc(), install_preload(), and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_decode_misc_memhint_neon().
|
static |
Definition at line 5859 of file arm-tdep.c.
References arm_copy_unmodified(), bits, displaced_debug_printf, insn_references_pc(), install_preload_reg(), and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_decode_misc_memhint_neon().
|
static |
Definition at line 7344 of file arm-tdep.c.
References displaced_debug_printf, install_svc(), and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_decode_svc_copro().
|
static |
Definition at line 7371 of file arm-tdep.c.
References displaced_debug_printf, and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_decode_media(), arm_decode_misc_memhint_neon(), arm_decode_miscellaneous(), arm_decode_svc_copro(), and arm_decode_unconditional().
|
static |
Definition at line 5697 of file arm-tdep.c.
References displaced_debug_printf, and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_copy_alu_imm(), arm_copy_alu_reg(), arm_copy_alu_shifted_reg(), arm_copy_block_xfer(), arm_copy_copro_load_store(), arm_copy_extra_ld_st(), arm_copy_ldr_str_ldrb_strb(), arm_copy_preload(), arm_copy_preload_reg(), arm_decode_dp_misc(), arm_decode_ext_reg_ld_st(), arm_decode_media(), arm_decode_misc_memhint_neon(), arm_decode_miscellaneous(), arm_decode_svc_copro(), and arm_decode_unconditional().
|
static |
Definition at line 7400 of file arm-tdep.c.
References displaced_debug_printf, and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by arm_decode_misc_memhint_neon().
|
static |
Definition at line 7750 of file arm-tdep.c.
References arm_copy_b_bl_blx(), arm_copy_block_xfer(), and bit.
Referenced by arm_process_displaced_insn().
|
static |
Definition at line 7611 of file arm-tdep.c.
References arm_copy_alu_imm(), arm_copy_alu_reg(), arm_copy_alu_shifted_reg(), arm_copy_extra_ld_st(), arm_copy_unmodified(), arm_decode_miscellaneous(), bit, and bits.
Referenced by arm_process_displaced_insn().
|
static |
Definition at line 7761 of file arm-tdep.c.
References arm_copy_copro_load_store(), arm_copy_unmodified(), and bits.
Referenced by arm_decode_svc_copro().
|
static |
Definition at line 7657 of file arm-tdep.c.
References arm_copy_ldr_str_ldrb_strb(), bit, and bits.
Referenced by arm_process_displaced_insn().
|
static |
Definition at line 7694 of file arm-tdep.c.
References arm_copy_undef(), arm_copy_unmodified(), and bits.
Referenced by arm_process_displaced_insn().
|
static |
Definition at line 7415 of file arm-tdep.c.
References arm_copy_preload(), arm_copy_preload_reg(), arm_copy_undef(), arm_copy_unmodified(), arm_copy_unpred(), and bits.
Referenced by arm_decode_unconditional().
|
static |
Definition at line 7560 of file arm-tdep.c.
References arm_copy_bx_blx_reg(), arm_copy_undef(), arm_copy_unmodified(), and bits.
Referenced by arm_decode_dp_misc().
|
static |
Definition at line 7851 of file arm-tdep.c.
References arm_copy_copro_load_store(), arm_copy_svc(), arm_copy_undef(), arm_copy_unmodified(), arm_decode_ext_reg_ld_st(), bit, and bits.
Referenced by arm_process_displaced_insn().
|
static |
Definition at line 7475 of file arm-tdep.c.
References arm_copy_b_bl_blx(), arm_copy_copro_load_store(), arm_copy_undef(), arm_copy_unmodified(), arm_decode_misc_memhint_neon(), bit, and bits.
Referenced by arm_process_displaced_insn().
void arm_displaced_init_closure | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | from, | ||
CORE_ADDR | to, | ||
arm_displaced_step_copy_insn_closure * | dsc ) |
Definition at line 8621 of file arm-tdep.c.
References arm_gdbarch_tdep::arm_breakpoint, arm_gdbarch_tdep::arm_breakpoint_size, arm_get_next_pcs::byte_order_for_code, displaced_debug_printf, gdbarch_byte_order_for_code(), arm_displaced_step_copy_insn_closure::is_thumb, arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::numinsns, paddress(), size, arm_gdbarch_tdep::thumb_breakpoint, arm_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 * | gdbarch, |
struct displaced_step_copy_insn_closure * | dsc_, | ||
CORE_ADDR | from, | ||
CORE_ADDR | to, | ||
struct regcache * | regs, | ||
bool | completed_p ) |
Definition at line 8672 of file arm-tdep.c.
References ARM_PC_REGNUM, arm_displaced_step_copy_insn_closure::cleanup, arm_displaced_step_copy_insn_closure::insn_addr, arm_displaced_step_copy_insn_closure::insn_size, regcache_cooked_write_unsigned(), regcache_read_pc(), regcache_write_pc(), and arm_displaced_step_copy_insn_closure::wrote_to_pc.
Referenced by arm_linux_init_abi().
Definition at line 10922 of file arm-tdep.c.
References gdb_printf(), arm_gdbarch_tdep::have_fpa_registers, arm_gdbarch_tdep::have_mve, arm_gdbarch_tdep::have_neon, arm_gdbarch_tdep::have_pacbti, arm_gdbarch_tdep::have_q_pseudos, arm_gdbarch_tdep::have_s_pseudos, arm_gdbarch_tdep::have_wmmx_registers, arm_gdbarch_tdep::is_m, arm_gdbarch_tdep::lowest_pc, arm_gdbarch_tdep::m_profile_msp_ns_regnum, arm_gdbarch_tdep::m_profile_msp_regnum, arm_gdbarch_tdep::m_profile_msp_s_regnum, arm_gdbarch_tdep::m_profile_psp_ns_regnum, arm_gdbarch_tdep::m_profile_psp_regnum, arm_gdbarch_tdep::m_profile_psp_s_regnum, arm_gdbarch_tdep::mve_pseudo_base, arm_gdbarch_tdep::mve_pseudo_count, arm_gdbarch_tdep::mve_vpr_regnum, arm_gdbarch_tdep::pacbti_pseudo_base, arm_gdbarch_tdep::pacbti_pseudo_count, arm_gdbarch_tdep::q_pseudo_base, arm_gdbarch_tdep::q_pseudo_count, arm_gdbarch_tdep::s_pseudo_base, arm_gdbarch_tdep::s_pseudo_count, and arm_gdbarch_tdep::vfp_register_count.
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 5248 of file arm-tdep.c.
References arm_dwarf2_prev_register(), arm_is_alternative_sp_register(), ARM_PC_REGNUM, ARM_PS_REGNUM, ARM_SP_REGNUM, DWARF2_FRAME_REG_CFA, DWARF2_FRAME_REG_FN, DWARF2_FRAME_REG_SAVED_VAL_EXP, dwarf2_frame_state_reg::exp, dwarf2_frame_state_reg::fn, dwarf2_frame_state_reg::how, is_pacbti_pseudo(), dwarf2_frame_state_reg::len, dwarf2_frame_state_reg::loc, op_lit0, regnum, and dwarf2_frame_state_reg::start.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 4000 of file arm-tdep.c.
References arm_addr_bits_remove(), arm_dwarf2_prev_register(), arm_is_alternative_sp_register(), ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_PS_REGNUM, ARM_SP_REGNUM, dwarf2_frame_allocate_fn_data(), dwarf2_frame_get_fn_data(), frame_unwind_got_constant(), frame_unwind_register_unsigned(), get_frame_arch(), get_frame_base(), get_frame_register_unsigned(), get_prev_frame(), arm_gdbarch_tdep::have_pacbti, arm_gdbarch_tdep::have_sec_ext, arm_gdbarch_tdep::is_m, arm_gdbarch_tdep::m_profile_msp_ns_regnum, arm_gdbarch_tdep::m_profile_msp_regnum, arm_gdbarch_tdep::m_profile_msp_s_regnum, arm_gdbarch_tdep::m_profile_psp_ns_regnum, arm_gdbarch_tdep::m_profile_psp_regnum, arm_gdbarch_tdep::m_profile_psp_s_regnum, arm_dwarf2_prev_register_cache::msp, arm_dwarf2_prev_register_cache::msp_ns, arm_dwarf2_prev_register_cache::msp_s, arm_gdbarch_tdep::pacbti_pseudo_base, arm_dwarf2_prev_register_cache::psp, arm_dwarf2_prev_register_cache::psp_ns, arm_dwarf2_prev_register_cache::psp_s, reconstruct_t_bit(), regnum, set_frame_previous_pc_masked(), size, and arm_dwarf2_prev_register_cache::sp.
Referenced by arm_dwarf2_frame_init_reg(), and arm_dwarf2_prev_register().
|
static |
Definition at line 5145 of file arm-tdep.c.
References ARM_DWARF_RA_AUTH_CODE, ARM_F0_REGNUM, ARM_WC0_REGNUM, ARM_WCGR0_REGNUM, ARM_WR0_REGNUM, arm_gdbarch_tdep::have_pacbti, arm_gdbarch_tdep::pacbti_pseudo_base, and user_reg_map_name_to_regnum().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 9703 of file arm-tdep.c.
References MSYMBOL_SET_SPECIAL.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 9955 of file arm-tdep.c.
References gdb_bfd_sections(), GDB_OSABI_UNKNOWN, and generic_elf_osabi_sniff_abi_tag_sections().
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 3262 of file arm-tdep.c.
References arm_make_epilogue_frame_cache(), arm_prologue_prev_register(), and regnum.
|
static |
Definition at line 3280 of file arm-tdep.c.
References arm_frame_is_thumb(), arm_stack_frame_destroyed_p_1(), frame_relative_level(), get_frame_arch(), get_frame_pc(), and thumb_stack_frame_destroyed_p().
|
static |
Definition at line 3234 of file arm-tdep.c.
References arm_cache_get_prev_sp_value(), arm_make_epilogue_frame_cache(), frame_id_build(), func, get_frame_arch(), get_frame_func(), and get_frame_pc().
|
static |
Definition at line 2797 of file arm-tdep.c.
References trad_frame_saved_reg::addr, arm_cache_init(), arm_cache_set_active_sp_value(), ARM_D0_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_SP_REGNUM, ARM_WCGR0_REGNUM, ARM_WR0_REGNUM, FRAME_OBSTACK_ZALLOC, arm_prologue_cache::framereg, arm_prologue_cache::framesize, get_frame_arch(), get_frame_memory_unsigned(), get_frame_register_unsigned(), trad_frame_saved_reg::is_addr(), trad_frame_saved_reg::is_realreg(), trad_frame_saved_reg::realreg, arm_prologue_cache::saved_regs, and trad_frame_saved_reg::set_addr().
Referenced by arm_exidx_unwind_sniffer().
|
static |
Definition at line 2538 of file arm-tdep.c.
References arm_exidx_entry::addr, obj_section::addr(), arm_exidx_data_key, arm_obj_section_from_vma(), arm_exidx_entry::entry, registry< T >::get(), lookup_minimal_symbol_by_pc_name(), objfile::obfd, objfile::objfile_obstack, obj_section::offset(), obj_section::the_bfd_section, and UNMAKE_THUMB_ADDR.
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 3094 of file arm-tdep.c.
References arm_exidx_fill_cache(), arm_find_exidx_entry(), arm_frame_is_thumb(), find_pc_partial_function(), gdbarch_byte_order_for_code(), get_frame_address_in_block(), get_frame_arch(), get_frame_pc(), get_frame_type(), get_next_frame(), NORMAL_FRAME, and safe_read_memory_unsigned_integer().
|
static |
Definition at line 1940 of file arm-tdep.c.
Referenced by arm_analyze_prologue().
Definition at line 4923 of file arm-tdep.c.
References arm_gdbarch_tdep::arm_ext_type, floatformats_arm_ext, and init_float_type().
Referenced by arm_extract_return_value(), arm_register_type(), and arm_store_return_value().
|
static |
Definition at line 8914 of file arm-tdep.c.
References reg_buffer::arch(), ARM_A1_REGNUM, arm_ext_type(), ARM_F0_REGNUM, ARM_FLOAT_FPA, ARM_FLOAT_SOFT_FPA, ARM_FLOAT_SOFT_VFP, ARM_FLOAT_VFP, ARM_FP_REGISTER_SIZE, ARM_INT_REGISTER_SIZE, type::code(), readable_regcache::cooked_read(), gdbarch_byte_order(), is_fixed_point_type(), type::length(), regcache_cooked_read_unsigned(), store_unsigned_integer(), target_float_convert(), and TYPE_IS_REFERENCE.
Referenced by arm_return_value().
|
static |
Definition at line 2740 of file arm-tdep.c.
References arm_exidx_entry::addr, obj_section::addr(), arm_exidx_data_key, find_pc_section(), registry< T >::get(), objfile::obfd, obj_section::objfile, and obj_section::the_bfd_section.
Referenced by arm_exidx_unwind_sniffer().
|
static |
Definition at line 653 of file arm-tdep.c.
References obj_section::addr(), arm_bfd_data_key, find_pc_section(), registry< T >::get(), objfile::obfd, obj_section::objfile, obj_section::the_bfd_section, and arm_mapping_symbol::value.
Referenced by arm_adjust_breakpoint_address(), and arm_pc_is_thumb().
|
static |
Definition at line 4877 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
int arm_frame_is_thumb | ( | frame_info_ptr | frame | ) |
Definition at line 631 of file arm-tdep.c.
References ARM_PS_REGNUM, arm_psr_thumb_bit(), gdbarch_bfd_arch_info(), 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().
|
static |
Definition at line 10086 of file arm-tdep.c.
References arches, ARM_ABI_AAPCS, ARM_ABI_APCS, ARM_ABI_AUTO, arm_abi_global, arm_addr_bits_remove(), arm_adjust_breakpoint_address(), arm_gdbarch_tdep::arm_breakpoint, arm_breakpoint_kind_from_current_state(), arm_breakpoint_kind_from_pc(), arm_gdbarch_tdep::arm_breakpoint_size, arm_code_of_frame_writable(), arm_coff_make_msymbol_special(), ARM_D0_REGNUM, arm_default_arm_be_breakpoint, arm_default_arm_le_breakpoint, arm_default_thumb_be_breakpoint, arm_default_thumb_le_breakpoint, arm_disassembler_options, ARM_DISPLACED_MODIFIED_INSNS, arm_dwarf2_frame_init_reg(), arm_dwarf_reg_to_regnum(), arm_elf_make_msymbol_special(), arm_epilogue_frame_unwind, arm_exidx_unwind, ARM_F0_REGNUM, ARM_FLOAT_AUTO, ARM_FLOAT_FPA, ARM_FLOAT_SOFT_FPA, ARM_FLOAT_SOFT_VFP, ARM_FLOAT_VFP, arm_fp_model, ARM_FPS_REGNUM, ARM_FPSCR_REGNUM, arm_frame_align(), arm_get_longjmp_target(), arm_get_pc_address_flags(), arm_gnu_triplet_regexp(), ARM_LR_REGNUM, arm_m_exception_unwind, ARM_MVE_NUM_Q_REGS, arm_normal_base, ARM_NUM_REGS, ARM_PC_REGNUM, arm_print_float_info(), arm_prologue_unwind, ARM_PS_REGNUM, arm_pseudo_read(), arm_pseudo_write(), arm_push_dummy_call(), arm_record_special_symbol(), arm_register_aliases, arm_register_g_packet_guesses(), arm_register_name(), arm_register_names, arm_register_reggroup_p(), arm_register_sim_regno(), arm_register_type(), arm_return_value(), arm_skip_prologue(), arm_skip_stub(), ARM_SP_REGNUM, arm_stack_frame_destroyed_p(), arm_stub_unwind, arm_sw_breakpoint_from_kind(), arm_type_align(), ARM_WC0_REGNUM, ARM_WCASF_REGNUM, ARM_WCGR0_REGNUM, ARM_WCGR3_REGNUM, ARM_WR0_REGNUM, ARM_WR15_REGNUM, arm_write_pc(), core_addr_lessthan(), dwarf2_append_unwinders(), dwarf2_frame_set_init_reg(), floatformats_ieee_double, floatformats_ieee_double_littlebyte_bigword, floatformats_ieee_single, frame_base_set_default(), frame_unwind_append_unwinder(), gdb_print_insn_arm(), gdbarch_list::gdbarch, gdbarch_alloc(), gdbarch_init_osabi(), gdbarch_list_lookup_by_info(), gdbarch_num_regs(), registry< T >::get(), arm_gdbarch_tdep::have_fpa_registers, arm_gdbarch_tdep::have_mve, arm_gdbarch_tdep::have_neon, arm_gdbarch_tdep::have_pacbti, arm_gdbarch_tdep::have_q_pseudos, arm_gdbarch_tdep::have_s_pseudos, arm_gdbarch_tdep::have_sec_ext, arm_gdbarch_tdep::have_wmmx_registers, arm_gdbarch_tdep::is_m, arm_gdbarch_tdep::jb_pc, arm_gdbarch_tdep::lowest_pc, arm_gdbarch_tdep::m_profile_msp_ns_regnum, arm_gdbarch_tdep::m_profile_msp_regnum, arm_gdbarch_tdep::m_profile_msp_s_regnum, arm_gdbarch_tdep::m_profile_psp_ns_regnum, arm_gdbarch_tdep::m_profile_psp_regnum, arm_gdbarch_tdep::m_profile_psp_s_regnum, arm_gdbarch_tdep::mve_pseudo_base, arm_gdbarch_tdep::mve_pseudo_count, arm_gdbarch_tdep::mve_vpr_regnum, name, gdbarch_list::next, arm_gdbarch_tdep::pacbti_pseudo_base, arm_gdbarch_tdep::pacbti_pseudo_count, arm_gdbarch_tdep::q_pseudo_base, arm_gdbarch_tdep::q_pseudo_count, reg_struct_return, regnum, arm_gdbarch_tdep::s_pseudo_base, arm_gdbarch_tdep::s_pseudo_count, set_gdbarch_addr_bits_remove(), set_gdbarch_adjust_breakpoint_address(), set_gdbarch_breakpoint_kind_from_current_state(), set_gdbarch_breakpoint_kind_from_pc(), set_gdbarch_char_signed(), set_gdbarch_code_of_frame_writable(), set_gdbarch_coff_make_msymbol_special(), set_gdbarch_disassembler_options(), set_gdbarch_displaced_step_buffer_length(), set_gdbarch_double_format(), set_gdbarch_dwarf2_reg_to_regnum(), set_gdbarch_elf_make_msymbol_special(), set_gdbarch_float_format(), set_gdbarch_frame_align(), set_gdbarch_get_longjmp_target(), set_gdbarch_get_pc_address_flags(), set_gdbarch_gnu_triplet_regexp(), set_gdbarch_have_nonsteppable_watchpoint(), set_gdbarch_inner_than(), set_gdbarch_long_double_format(), set_gdbarch_max_insn_length(), set_gdbarch_num_pseudo_regs(), set_gdbarch_num_regs(), set_gdbarch_pc_regnum(), set_gdbarch_print_float_info(), set_gdbarch_print_insn(), set_gdbarch_pseudo_register_read(), set_gdbarch_pseudo_register_write(), set_gdbarch_push_dummy_call(), set_gdbarch_record_special_symbol(), set_gdbarch_register_name(), set_gdbarch_register_reggroup_p(), set_gdbarch_register_sim_regno(), set_gdbarch_register_type(), set_gdbarch_return_value_as_value(), set_gdbarch_skip_prologue(), set_gdbarch_skip_trampoline_code(), set_gdbarch_sp_regnum(), set_gdbarch_stack_frame_destroyed_p(), set_gdbarch_sw_breakpoint_from_kind(), set_gdbarch_type_align(), set_gdbarch_valid_disassembler_options(), set_gdbarch_vbit_in_delta(), set_gdbarch_wchar_signed(), set_gdbarch_write_pc(), set_tdesc_pseudo_register_name(), tdesc_data, tdesc_data_alloc(), tdesc_find_feature(), tdesc_has_registers(), tdesc_numbered_register(), tdesc_numbered_register_choices(), tdesc_unnumbered_register(), tdesc_use_registers(), arm_gdbarch_tdep::thumb_breakpoint, arm_gdbarch_tdep::thumb_breakpoint_size, arm_gdbarch_tdep::tls_regnum, user_reg_add(), value_of_arm_user_reg(), and arm_gdbarch_tdep::vfp_register_count.
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 9327 of file arm-tdep.c.
References ARM_A1_REGNUM, ARM_INT_REGISTER_SIZE, extract_unsigned_integer(), gdbarch_byte_order(), get_frame_arch(), get_frame_register_unsigned(), arm_gdbarch_tdep::jb_elt_size, arm_gdbarch_tdep::jb_pc, and target_read_memory().
Referenced by arm_gdbarch_init().
CORE_ADDR arm_get_next_pcs_addr_bits_remove | ( | struct arm_get_next_pcs * | self, |
CORE_ADDR | val ) |
Definition at line 7255 of file arm-tdep.c.
References reg_buffer::arch(), gdbarch_addr_bits_remove(), and arm_get_next_pcs::regcache.
int arm_get_next_pcs_is_thumb | ( | struct arm_get_next_pcs * | self | ) |
Definition at line 7272 of file arm-tdep.c.
References arm_is_thumb(), and arm_get_next_pcs::regcache.
ULONGEST arm_get_next_pcs_read_memory_unsigned_integer | ( | CORE_ADDR | memaddr, |
int | len, | ||
int | byte_order ) |
Definition at line 7245 of file arm-tdep.c.
References read_memory_unsigned_integer().
|
static |
Definition at line 7264 of file arm-tdep.c.
|
static |
Definition at line 10070 of file arm-tdep.c.
References get_frame_pc_masked().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 10060 of file arm-tdep.c.
References gdbarch_bfd_arch_info().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 1915 of file arm-tdep.c.
Referenced by arm_analyze_prologue(), and arm_stack_frame_destroyed_p_1().
|
static |
Definition at line 520 of file arm-tdep.c.
References arm_gdbarch_tdep::m_profile_msp_ns_regnum, arm_gdbarch_tdep::m_profile_msp_regnum, arm_gdbarch_tdep::m_profile_msp_s_regnum, arm_gdbarch_tdep::m_profile_psp_ns_regnum, arm_gdbarch_tdep::m_profile_psp_regnum, arm_gdbarch_tdep::m_profile_psp_s_regnum, and regnum.
Referenced by arm_cache_switch_prev_sp(), arm_dwarf2_frame_init_reg(), arm_dwarf2_prev_register(), arm_m_exception_prev_register(), and arm_prologue_prev_register().
|
static |
Definition at line 9387 of file arm-tdep.c.
References obj_section::the_bfd_section.
Referenced by arm_skip_stub().
int arm_is_thumb | ( | struct regcache * | regcache | ) |
Definition at line 617 of file arm-tdep.c.
References reg_buffer::arch(), ARM_PS_REGNUM, and arm_psr_thumb_bit().
Referenced by arm_get_next_pcs_is_thumb(), and arm_linux_get_next_pcs_syscall_next_pc().
|
inlinestatic |
Definition at line 778 of file arm-tdep.c.
Referenced by arm_m_addr_is_magic(), and arm_m_exception_cache().
|
static |
Definition at line 845 of file arm-tdep.c.
References arm_m_addr_is_lockup(), and arm_gdbarch_tdep::have_sec_ext.
Referenced by arm_addr_bits_remove(), and arm_m_exception_unwind_sniffer().
|
static |
Definition at line 3445 of file arm-tdep.c.
References trad_frame_saved_reg::addr, arm_cache_get_prev_sp_value(), arm_cache_init(), arm_cache_set_active_sp_value(), arm_cache_switch_prev_sp(), ARM_D0_REGNUM, ARM_FPSCR_REGNUM, ARM_INT_REGISTER_SIZE, ARM_IP_REGNUM, ARM_LR_REGNUM, arm_m_addr_is_lockup(), ARM_PC_REGNUM, ARM_PS_REGNUM, arm_unwind_secure_frames, bit, FPCAR, FPCCR, FRAME_OBSTACK_ZALLOC, frame_relative_level(), gdbarch_byte_order(), get_frame_arch(), get_frame_pc(), get_frame_register_unsigned(), arm_gdbarch_tdep::have_sec_ext, arm_gdbarch_tdep::m_profile_msp_ns_regnum, arm_gdbarch_tdep::m_profile_msp_regnum, arm_gdbarch_tdep::m_profile_msp_s_regnum, arm_gdbarch_tdep::m_profile_psp_ns_regnum, arm_gdbarch_tdep::m_profile_psp_regnum, arm_gdbarch_tdep::m_profile_psp_s_regnum, safe_read_memory_unsigned_integer(), arm_prologue_cache::saved_regs, trad_frame_saved_reg::set_addr(), and sp_regnum.
Referenced by arm_m_exception_frame_unwind_stop_reason(), arm_m_exception_prev_register(), and arm_m_exception_this_id().
|
static |
Definition at line 3831 of file arm-tdep.c.
References arm_cache_get_prev_sp_value(), arm_m_exception_cache(), and get_frame_arch().
|
static |
Definition at line 3874 of file arm-tdep.c.
References arm_cache_get_prev_sp_value(), arm_cache_get_sp_register(), arm_is_alternative_sp_register(), arm_m_exception_cache(), ARM_PC_REGNUM, ARM_PS_REGNUM, ARM_SP_REGNUM, frame_unwind_got_constant(), get_frame_arch(), reconstruct_t_bit(), arm_prologue_cache::saved_regs, trad_frame_get_prev_register(), UNMAKE_THUMB_ADDR, value_as_address(), and value_as_long().
|
static |
Definition at line 3853 of file arm-tdep.c.
References arm_cache_get_prev_sp_value(), arm_m_exception_cache(), frame_id_build(), get_frame_arch(), and get_frame_pc().
|
static |
Definition at line 3938 of file arm-tdep.c.
References arm_m_addr_is_magic(), get_frame_arch(), and get_frame_pc().
|
static |
Definition at line 3202 of file arm-tdep.c.
References trad_frame_saved_reg::addr, arm_cache_get_prev_sp_value(), arm_cache_init(), arm_cache_set_active_sp_value(), arm_scan_prologue(), ARM_SP_REGNUM, FRAME_OBSTACK_ZALLOC, gdbarch_num_regs(), get_frame_arch(), get_frame_register_unsigned(), trad_frame_saved_reg::is_addr(), arm_prologue_cache::saved_regs, and trad_frame_saved_reg::set_addr().
Referenced by arm_epilogue_frame_prev_register(), and arm_epilogue_frame_this_id().
|
static |
Definition at line 2313 of file arm-tdep.c.
References trad_frame_saved_reg::addr, arm_cache_init(), arm_cache_set_active_sp_value(), arm_scan_prologue(), FRAME_OBSTACK_ZALLOC, arm_prologue_cache::framereg, arm_prologue_cache::framesize, gdbarch_num_regs(), get_frame_arch(), get_frame_register_unsigned(), trad_frame_saved_reg::is_addr(), arm_prologue_cache::saved_regs, and trad_frame_saved_reg::set_addr().
Referenced by arm_normal_frame_base(), arm_prologue_prev_register(), arm_prologue_this_id(), and arm_prologue_unwind_stop_reason().
|
static |
Definition at line 3370 of file arm-tdep.c.
References arm_cache_init(), arm_cache_set_active_sp_value(), ARM_SP_REGNUM, FRAME_OBSTACK_ZALLOC, get_frame_arch(), and get_frame_register_unsigned().
Referenced by arm_stub_this_id().
|
static |
Definition at line 9810 of file arm-tdep.c.
References arm_gdbarch_tdep::mve_vpr_regnum, and readable_regcache::raw_read_part().
Referenced by arm_pseudo_read().
|
static |
Definition at line 9896 of file arm-tdep.c.
References arm_gdbarch_tdep::mve_vpr_regnum, and regcache::raw_write_part().
Referenced by arm_pseudo_write().
Definition at line 4939 of file arm-tdep.c.
References append_composite_type_field(), arch_composite_type(), builtin_type::builtin_double, builtin_type::builtin_float, builtin_type(), builtin_type::builtin_uint16, builtin_type::builtin_uint32, builtin_type::builtin_uint64, builtin_type::builtin_uint8, init_vector_type(), arm_gdbarch_tdep::neon_double_type, type::set_is_vector(), and type::set_name().
Referenced by arm_register_type().
|
static |
Definition at line 9774 of file arm-tdep.c.
References gdbarch_byte_order(), readable_regcache::raw_read(), regnum, status, and user_reg_map_name_to_regnum().
Referenced by arm_pseudo_read(), and arm_return_value().
Definition at line 4978 of file arm-tdep.c.
References append_composite_type_field(), arch_composite_type(), builtin_type::builtin_double, builtin_type::builtin_float, builtin_type(), builtin_type::builtin_uint16, builtin_type::builtin_uint32, builtin_type::builtin_uint64, builtin_type::builtin_uint8, init_vector_type(), arm_gdbarch_tdep::neon_quad_type, type::set_is_vector(), and type::set_name().
Referenced by arm_register_type().
|
static |
Definition at line 9872 of file arm-tdep.c.
References gdbarch_byte_order(), regcache::raw_write(), regnum, and user_reg_map_name_to_regnum().
Referenced by arm_pseudo_write(), arm_push_dummy_call(), and arm_return_value().
|
static |
Definition at line 3967 of file arm-tdep.c.
References arm_cache_get_prev_sp_value(), arm_make_prologue_cache(), arm_prologue_cache::framesize, and get_frame_arch().
|
static |
Definition at line 2507 of file arm-tdep.c.
References objfile::sections(), and size.
Referenced by arm_exidx_new_objfile().
int arm_pc_is_thumb | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | memaddr ) |
Definition at line 713 of file arm-tdep.c.
References arm_fallback_mode_string, arm_find_mapping_symbol(), arm_force_mode_string, arm_frame_is_thumb(), current_inferior(), displaced_debug_printf, gdbarch_displaced_step_copy_insn_closure_by_addr(), gdbarch_displaced_step_copy_insn_closure_by_addr_p(), get_current_frame(), arm_displaced_step_copy_insn_closure::insn_addr, arm_gdbarch_tdep::is_m, 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().
|
static |
Definition at line 4902 of file arm-tdep.c.
References ARM_FPS_REGNUM, gdb_printf(), gdb_puts(), get_frame_register_unsigned(), print_fpu_flags(), status, and type.
Referenced by arm_gdbarch_init().
void arm_process_displaced_insn | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | from, | ||
CORE_ADDR | to, | ||
struct regcache * | regs, | ||
arm_displaced_step_copy_insn_closure * | dsc ) |
Definition at line 8564 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_copy_insn_closure::cleanup, displaced_debug_printf, displaced_in_arm_mode(), err, gdbarch_byte_order_for_code(), arm_displaced_step_copy_insn_closure::insn_addr, arm_displaced_step_copy_insn_closure::insn_size, arm_displaced_step_copy_insn_closure::is_thumb, arm_displaced_step_copy_insn_closure::numinsns, read_memory_unsigned_integer(), arm_displaced_step_copy_insn_closure::scratch_base, thumb_process_displaced_insn(), and arm_displaced_step_copy_insn_closure::wrote_to_pc.
Referenced by arm_linux_displaced_step_copy_insn().
int arm_process_record | ( | struct gdbarch * | gdbarch, |
struct regcache * | regcache, | ||
CORE_ADDR | insn_addr ) |
Definition at line 14830 of file arm-tdep.c.
References arm_mem_r::addr, arm_insn_decode_record::arm_insn, ARM_INSN_SIZE_BYTES, arm_insn_decode_record::arm_mems, ARM_PC_REGNUM, ARM_PS_REGNUM, arm_psr_thumb_bit(), ARM_RECORD, arm_insn_decode_record::arm_regs, bits, deallocate_reg_mem(), decode_insn(), gdb_printf(), gdb_stdlog, arm_insn_decode_record::gdbarch, gdbarch_byte_order_for_code(), arm_mem_r::len, arm_insn_decode_record::mem_rec_count, paddress(), record_debug, record_full_arch_list_add_end(), record_full_arch_list_add_mem(), record_full_arch_list_add_reg(), arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, regcache_raw_read_unsigned(), arm_insn_decode_record::this_addr, THUMB2_INSN_SIZE_BYTES, THUMB2_RECORD, THUMB_INSN_SIZE_BYTES, and THUMB_RECORD.
Referenced by arm_linux_init_abi().
|
static |
Definition at line 2403 of file arm-tdep.c.
References arm_addr_bits_remove(), arm_cache_get_prev_sp_value(), arm_cache_get_sp_register(), arm_is_alternative_sp_register(), ARM_LR_REGNUM, arm_make_prologue_cache(), ARM_PC_REGNUM, ARM_PS_REGNUM, ARM_SP_REGNUM, frame_unwind_got_constant(), frame_unwind_register_unsigned(), get_frame_arch(), get_frame_register_unsigned(), arm_gdbarch_tdep::have_pacbti, arm_prologue_cache::ra_signed_state, reconstruct_t_bit(), arm_prologue_cache::saved_regs, set_frame_previous_pc_masked(), and trad_frame_get_prev_register().
Referenced by arm_epilogue_frame_prev_register().
|
static |
Definition at line 2375 of file arm-tdep.c.
References arm_cache_get_prev_sp_value(), arm_make_prologue_cache(), frame_id_build(), func, get_frame_arch(), get_frame_func(), and get_frame_pc().
|
static |
Definition at line 2347 of file arm-tdep.c.
References arm_cache_get_prev_sp_value(), arm_make_prologue_cache(), get_frame_arch(), and get_frame_pc().
|
static |
Definition at line 9820 of file arm-tdep.c.
References arm_mve_pseudo_read(), arm_neon_quad_read(), gdbarch_byte_order(), gdbarch_num_regs(), is_mve_pseudo(), is_q_pseudo(), arm_gdbarch_tdep::q_pseudo_base, readable_regcache::raw_read(), regnum, arm_gdbarch_tdep::s_pseudo_base, status, and user_reg_map_name_to_regnum().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 9906 of file arm-tdep.c.
References arm_mve_pseudo_write(), arm_neon_quad_write(), gdbarch_byte_order(), gdbarch_num_regs(), is_mve_pseudo(), is_q_pseudo(), arm_gdbarch_tdep::q_pseudo_base, readable_regcache::raw_read(), regcache::raw_write(), regnum, arm_gdbarch_tdep::s_pseudo_base, and user_reg_map_name_to_regnum().
Referenced by arm_gdbarch_init().
int arm_psr_thumb_bit | ( | struct gdbarch * | gdbarch | ) |
Definition at line 604 of file arm-tdep.c.
References CPSR_T, arm_gdbarch_tdep::is_m, and XPSR_T.
Referenced by 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_write_pc(), bx_write_pc(), displaced_in_arm_mode(), and reconstruct_t_bit().
|
static |
Definition at line 4639 of file arm-tdep.c.
References ARM_A1_REGNUM, ARM_ABI_APCS, arm_debug_printf, ARM_INT_REGISTER_SIZE, ARM_LAST_ARG_REGNUM, ARM_LR_REGNUM, arm_neon_quad_write(), arm_pc_is_thumb(), ARM_SP_REGNUM, arm_vfp_abi_for_function(), arm_vfp_call_candidate(), arm_vfp_cprc_reg_char(), arm_vfp_cprc_unit_length(), check_typedef(), code, type::code(), regcache::cooked_write(), arm_stack_item::data, extract_unsigned_integer(), gdbarch_byte_order(), gdbarch_register_name(), arm_stack_item::len, type::length(), MAKE_THUMB_ADDR, paddress(), pop_stack_item(), push_stack_item(), regcache_cooked_write_unsigned(), regnum, return_method_struct, store_unsigned_integer(), type::target_type(), value::type(), type_align(), user_reg_map_name_to_regnum(), and write_memory().
Referenced by arm_gdbarch_init().
const target_desc * arm_read_description | ( | arm_fp_type | fp_type, |
bool | tls ) |
Definition at line 14927 of file arm-tdep.c.
References arm_create_target_description(), and tdesc_arm_list.
Referenced by arm_fbsd_read_description_auxv(), arm_linux_core_read_description(), arm_linux_nat_target::read_description(), and arm_netbsd_nat_target::read_description().
const target_desc * arm_read_mprofile_description | ( | arm_m_profile_type | m_type | ) |
Definition at line 14943 of file arm-tdep.c.
References arm_create_mprofile_target_description(), and tdesc_arm_mprofile_list.
Referenced by arm_register_g_packet_guesses().
|
static |
Definition at line 13075 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_record_exreg_ld_st_insn(), arm_record_unsupported_insn(), arm_insn_decode_record::arm_regs, bit, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by decode_insn(), and thumb2_record_coproc_insn().
|
static |
Definition at line 12549 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_LR_REGNUM, arm_insn_decode_record::arm_regs, bit, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by decode_insn().
|
static |
Definition at line 13129 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_PS_REGNUM, arm_record_vdata_transfer_insn(), arm_record_vfp_data_proc_insn(), arm_insn_decode_record::arm_regs, arm_gdbarch_tdep::arm_syscall_record, bit, bits, gdb_printf(), gdb_stderr, arm_insn_decode_record::gdbarch, arm_insn_decode_record::opcode, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by decode_insn(), and thumb2_record_coproc_insn().
|
static |
Definition at line 11964 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, ARM_PS_REGNUM, arm_insn_decode_record::arm_regs, bits, arm_insn_decode_record::decode, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, arm_insn_decode_record::opcode, REG_ALLOC, arm_insn_decode_record::reg_rec_count, and sbo_sbz().
Referenced by decode_insn().
|
static |
Definition at line 11671 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_LR_REGNUM, arm_insn_decode_record::arm_mems, ARM_PS_REGNUM, ARM_RECORD_STRD, ARM_RECORD_STRH, arm_record_strx(), arm_insn_decode_record::arm_regs, bit, bits, arm_insn_decode_record::decode, INSN_S_L_BIT_NUM, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, arm_insn_decode_record::opcode, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, regcache_raw_read_unsigned(), and sbo_sbz().
Referenced by decode_insn().
|
static |
Definition at line 12668 of file arm-tdep.c.
References ARM_D0_REGNUM, arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, arm_insn_decode_record::arm_regs, bit, bits, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by arm_record_asimd_vfp_coproc().
|
static |
Definition at line 11408 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_LR_REGNUM, arm_insn_decode_record::arm_mems, ARM_PS_REGNUM, ARM_RECORD_STRD, ARM_RECORD_STRH, arm_record_strx(), arm_insn_decode_record::arm_regs, bit, bits, arm_insn_decode_record::cond, INSN_RECORDED, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, arm_insn_decode_record::opcode, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by decode_insn().
|
static |
Definition at line 12092 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, ARM_PC_REGNUM, ARM_PS_REGNUM, arm_insn_decode_record::arm_regs, bit, bits, INSN_S_L_BIT_NUM, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by decode_insn().
|
static |
Definition at line 12449 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_INT_REGISTER_SIZE, arm_insn_decode_record::arm_mems, ARM_PS_REGNUM, arm_insn_decode_record::arm_regs, bit, bits, INSN_S_L_BIT_NUM, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by decode_insn().
|
static |
Definition at line 12183 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, ARM_PS_REGNUM, arm_record_media(), arm_insn_decode_record::arm_regs, bit, bits, arm_insn_decode_record::decode, INSN_S_L_BIT_NUM, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, arm_insn_decode_record::opcode, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, regcache_raw_read_signed(), and regcache_raw_read_unsigned().
Referenced by decode_insn().
|
static |
Definition at line 12008 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_PS_REGNUM, arm_insn_decode_record::arm_regs, bit, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by arm_record_ld_st_reg_offset().
|
static |
Definition at line 9720 of file arm-tdep.c.
References arm_bfd_data_key, registry< T >::get(), name, objfile::obfd, arm_mapping_symbol::type, and arm_mapping_symbol::value.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 11240 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_PC_REGNUM, ARM_RECORD_STRD, ARM_RECORD_STRH, bits, arm_insn_decode_record::decode, arm_insn_decode_record::mem_rec_count, arm_insn_decode_record::opcode, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by arm_record_data_proc_misc_ld_str(), and arm_record_extension_space().
|
static |
Definition at line 12569 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, gdb_printf(), gdb_stderr, arm_insn_decode_record::gdbarch, paddress(), and arm_insn_decode_record::this_addr.
Referenced by arm_record_asimd_vfp_coproc(), decode_insn(), thumb2_record_branch_misc_cntrl(), and thumb2_record_ld_st_multiple().
|
static |
Definition at line 12582 of file arm-tdep.c.
References ARM_D0_REGNUM, ARM_FPSCR_REGNUM, arm_insn_decode_record::arm_insn, ARM_PS_REGNUM, arm_insn_decode_record::arm_regs, bit, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by arm_record_coproc_data_proc().
|
static |
Definition at line 12863 of file arm-tdep.c.
References ARM_D0_REGNUM, ARM_FPSCR_REGNUM, arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_regs, bit, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by arm_record_coproc_data_proc().
|
static |
Definition at line 9999 of file arm-tdep.c.
References ARM_CORE_REGS_SIZE, ARM_FP_REGS_SIZE, ARM_INT_REGISTER_SIZE, ARM_M_TYPE_M_PROFILE, ARM_M_TYPE_MVE, ARM_M_TYPE_SYSTEM, ARM_M_TYPE_VFP_D16, ARM_M_TYPE_WITH_FPA, arm_read_mprofile_description(), ARM_VFP2_REGS_SIZE, arm_gdbarch_tdep::is_m, and register_remote_g_packet_guess().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 9640 of file arm-tdep.c.
References arm_register_names, is_mve_pseudo(), is_pacbti_pseudo(), is_q_pseudo(), is_s_pseudo(), arm_gdbarch_tdep::q_pseudo_base, and arm_gdbarch_tdep::s_pseudo_base.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 9975 of file arm-tdep.c.
References all_reggroup, ARM_FPS_REGNUM, default_register_reggroup_p(), float_reggroup, regnum, restore_reggroup, and save_reggroup.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 5216 of file arm-tdep.c.
References ARM_WC0_REGNUM, ARM_WC7_REGNUM, ARM_WCGR0_REGNUM, ARM_WCGR7_REGNUM, ARM_WR0_REGNUM, ARM_WR15_REGNUM, gdbarch_num_regs(), NUM_FREGS, NUM_GREGS, NUM_SREGS, and regnum.
Referenced by arm_gdbarch_init().
Definition at line 5091 of file arm-tdep.c.
References ARM_D0_REGNUM, arm_ext_type(), ARM_F0_REGNUM, arm_neon_double_type(), arm_neon_quad_type(), ARM_PC_REGNUM, arm_register_names, ARM_SP_REGNUM, builtin_type::builtin_data_ptr, builtin_type::builtin_float, builtin_type::builtin_func_ptr, builtin_type::builtin_int0, builtin_type::builtin_int16, builtin_type(), builtin_type::builtin_uint32, builtin_type::builtin_void, type::code(), gdbarch_target_desc(), arm_gdbarch_tdep::have_fpa_registers, arm_gdbarch_tdep::have_neon, is_mve_pseudo(), is_pacbti_pseudo(), is_q_pseudo(), is_s_pseudo(), NUM_FREGS, regnum, tdesc_has_registers(), and tdesc_register_type().
Referenced by arm_gdbarch_init().
Definition at line 9009 of file arm-tdep.c.
References ARM_ABI_APCS, ARM_INT_REGISTER_SIZE, field::bitsize(), check_typedef(), code, type::code(), type::field(), type::is_vector(), language_pass_by_reference(), type::length(), field::loc_bitpos(), type::num_fields(), field::type(), and TYPE_HAS_DYNAMIC_LENGTH.
Referenced by arm_return_value().
|
static |
Definition at line 9222 of file arm-tdep.c.
References value::allocate(), ARM_A1_REGNUM, arm_extract_return_value(), arm_neon_quad_read(), arm_neon_quad_write(), arm_return_in_memory(), arm_store_return_value(), arm_vfp_abi_for_function(), arm_vfp_call_candidate(), arm_vfp_cprc_reg_char(), arm_vfp_cprc_unit_length(), type::code(), readable_regcache::cooked_read(), regcache::cooked_write(), pcc_struct_return, regnum, RETURN_VALUE_ABI_RETURNS_ADDRESS, RETURN_VALUE_REGISTER_CONVENTION, RETURN_VALUE_STRUCT_CONVENTION, value::type(), user_reg_map_name_to_regnum(), and value_at_non_lval().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 2216 of file arm-tdep.c.
References ARM_ABI_AAPCS, arm_analyze_prologue(), ARM_FP_REGNUM, arm_frame_is_thumb(), ARM_SP_REGNUM, find_pc_partial_function(), arm_prologue_cache::framereg, arm_prologue_cache::framesize, gdbarch_addr_bits_remove(), gdbarch_byte_order(), get_frame_address_in_block(), get_frame_arch(), get_frame_pc(), get_frame_register_unsigned(), safe_read_memory_unsigned_integer(), and thumb_scan_prologue().
Referenced by arm_make_epilogue_frame_cache(), and arm_make_prologue_cache().
|
static |
Definition at line 9536 of file arm-tdep.c.
References ARM_ABI_AUTO, arm_abi_global, ARM_ABI_LAST, arm_abi_string, arm_abi_strings, and arm_update_current_architecture().
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 9556 of file arm-tdep.c.
References ARM_ABI_AUTO, arm_abi_global, arm_abi_string, arm_abi_strings, gdb_printf(), gdbarch_bfd_arch_info(), and target_gdbarch().
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 9575 of file arm-tdep.c.
References arm_fallback_mode_string, and gdb_printf().
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 9585 of file arm-tdep.c.
References arm_force_mode_string, and gdb_printf().
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 9595 of file arm-tdep.c.
References arm_unwind_secure_frames, and gdb_printf().
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 3338 of file arm-tdep.c.
References arm_frame_is_thumb(), bits, extract_unsigned_integer(), gdbarch_byte_order_for_code(), get_frame_arch(), get_frame_register_unsigned(), target_read_memory(), and UNMAKE_THUMB_ADDR.
Referenced by arm_skip_stub(), and arm_stub_unwind_sniffer().
|
static |
Definition at line 9369 of file arm-tdep.c.
References lookup_minimal_symbol(), bound_minimal_symbol::minsym, name, target_name, and minimal_symbol::value_address().
Referenced by arm_skip_stub().
|
static |
Definition at line 1770 of file arm-tdep.c.
References arm_analyze_prologue(), arm_pc_is_thumb(), arm_skip_stack_protector(), find_pc_compunit_symtab(), find_pc_partial_function(), compunit_symtab::producer(), producer_is_llvm(), skip_prologue_using_sal(), and thumb_analyze_prologue().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 1683 of file arm-tdep.c.
References arm_analyze_load_stack_chk_guard(), arm_pc_is_thumb(), bits, gdbarch_byte_order_for_code(), general_symbol_info::linkage_name(), lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, and read_code_unsigned_integer().
Referenced by arm_skip_prologue().
CORE_ADDR arm_skip_stub | ( | frame_info_ptr | frame, |
CORE_ADDR | pc ) |
Definition at line 9399 of file arm-tdep.c.
References arm_is_sgstubs_section(), arm_skip_bx_reg(), arm_skip_cmse_entry(), find_pc_partial_function(), find_pc_section(), get_frame_register_unsigned(), lookup_minimal_symbol(), bound_minimal_symbol::minsym, name, obj_section::objfile, objfile::objfile(), target_name, and bound_minimal_symbol::value_address().
Referenced by arm_gdbarch_init(), arm_linux_skip_trampoline_code(), and arm_pe_skip_trampoline_code().
std::vector< CORE_ADDR > arm_software_single_step | ( | struct regcache * | regcache | ) |
Definition at line 7283 of file arm-tdep.c.
References reg_buffer::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_pikeos_init_abi(), arm_wince_init_abi(), and armobsd_init_abi().
|
static |
Definition at line 4297 of file arm-tdep.c.
References arm_pc_is_thumb(), arm_stack_frame_destroyed_p_1(), and thumb_stack_frame_destroyed_p().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 4246 of file arm-tdep.c.
References arm_instruction_restores_sp(), bits, find_pc_partial_function(), gdbarch_byte_order_for_code(), INST_NV, and read_memory_unsigned_integer().
Referenced by arm_epilogue_frame_sniffer(), and arm_stack_frame_destroyed_p().
|
static |
Definition at line 9129 of file arm-tdep.c.
References reg_buffer::arch(), ARM_A1_REGNUM, arm_ext_type(), ARM_F0_REGNUM, ARM_FLOAT_FPA, ARM_FLOAT_SOFT_FPA, ARM_FLOAT_SOFT_VFP, ARM_FLOAT_VFP, ARM_FP_REGISTER_SIZE, ARM_INT_REGISTER_SIZE, type::code(), regcache::cooked_write(), gdbarch_byte_order(), type::length(), store_signed_integer(), target_float_convert(), TYPE_IS_REFERENCE, and unpack_long().
Referenced by arm_return_value().
|
static |
Definition at line 3389 of file arm-tdep.c.
References arm_cache_get_prev_sp_value(), arm_make_stub_cache(), frame_id_build(), get_frame_arch(), and get_frame_pc().
|
static |
Definition at line 3406 of file arm-tdep.c.
References arm_skip_bx_reg(), dummy, find_pc_partial_function(), get_frame_address_in_block(), get_frame_pc(), in_plt_section(), name, and target_read_memory().
|
static |
Definition at line 8845 of file arm-tdep.c.
References ARM_BP_KIND_ARM, ARM_BP_KIND_THUMB, ARM_BP_KIND_THUMB2, arm_gdbarch_tdep::arm_breakpoint, arm_gdbarch_tdep::arm_breakpoint_size, size, arm_gdbarch_tdep::thumb2_breakpoint, arm_gdbarch_tdep::thumb2_breakpoint_size, arm_gdbarch_tdep::thumb_breakpoint, and arm_gdbarch_tdep::thumb_breakpoint_size.
Referenced by arm_gdbarch_init().
Definition at line 4342 of file arm-tdep.c.
References check_typedef(), type::code(), type::is_vector(), and type::length().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 9483 of file arm-tdep.c.
References gdbarch_bfd_arch_info(), gdbarch_update_p(), and target_gdbarch().
Referenced by arm_set_abi(), and set_fp_model_sfunc().
Definition at line 4617 of file arm-tdep.c.
References ARM_ABI_AAPCS, ARM_FLOAT_VFP, and check_typedef().
Referenced by arm_push_dummy_call(), and arm_return_value().
|
static |
Definition at line 4600 of file arm-tdep.c.
References arm_vfp_cprc_sub_candidate(), and VFP_CPRC_UNKNOWN.
Referenced by arm_push_dummy_call(), and arm_return_value().
|
static |
Definition at line 4396 of file arm-tdep.c.
References VFP_CPRC_DOUBLE, VFP_CPRC_SINGLE, VFP_CPRC_VEC128, and VFP_CPRC_VEC64.
Referenced by arm_push_dummy_call(), and arm_return_value().
|
static |
Definition at line 4428 of file arm-tdep.c.
References arm_vfp_cprc_sub_candidate(), arm_vfp_cprc_unit_length(), check_typedef(), type::code(), type::field(), field::is_static(), type::is_vector(), type::length(), type::num_fields(), type::target_type(), field::type(), VFP_CPRC_DOUBLE, VFP_CPRC_SINGLE, VFP_CPRC_UNKNOWN, VFP_CPRC_VEC128, and VFP_CPRC_VEC64.
Referenced by arm_vfp_call_candidate(), and arm_vfp_cprc_sub_candidate().
|
static |
Definition at line 4374 of file arm-tdep.c.
References VFP_CPRC_DOUBLE, VFP_CPRC_SINGLE, VFP_CPRC_VEC128, and VFP_CPRC_VEC64.
Referenced by arm_push_dummy_call(), arm_return_value(), and arm_vfp_cprc_sub_candidate().
|
static |
Definition at line 9746 of file arm-tdep.c.
References reg_buffer::arch(), arm_apcs_32, arm_pc_is_thumb(), ARM_PC_REGNUM, ARM_PS_REGNUM, arm_psr_thumb_bit(), regcache_cooked_read_unsigned(), and regcache_cooked_write_unsigned().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 5545 of file arm-tdep.c.
References ARM_PC_REGNUM, arm_displaced_step_copy_insn_closure::is_thumb, and regcache_cooked_write_unsigned().
Referenced by alu_write_pc(), displaced_write_reg(), and load_write_pc().
|
static |
Definition at line 5561 of file arm-tdep.c.
References reg_buffer::arch(), ARM_PC_REGNUM, ARM_PS_REGNUM, arm_psr_thumb_bit(), regcache_cooked_read_unsigned(), and regcache_cooked_write_unsigned().
Referenced by alu_write_pc(), displaced_write_reg(), and load_write_pc().
|
static |
Definition at line 6211 of file arm-tdep.c.
References ALU_WRITE_PC, CANNOT_WRITE_PC, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::rd, and arm_displaced_step_copy_insn_closure::tmp.
Referenced by arm_copy_alu_imm(), and thumb2_copy_alu_imm().
|
static |
Definition at line 6320 of file arm-tdep.c.
References ALU_WRITE_PC, CANNOT_WRITE_PC, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::rd, and arm_displaced_step_copy_insn_closure::tmp.
Referenced by install_alu_reg().
|
static |
Definition at line 6415 of file arm-tdep.c.
References ALU_WRITE_PC, CANNOT_WRITE_PC, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::rd, and arm_displaced_step_copy_insn_closure::tmp.
Referenced by install_alu_shifted_reg().
|
static |
Definition at line 6864 of file arm-tdep.c.
References ARM_PC_REGNUM, ARM_PS_REGNUM, arm_displaced_step_copy_insn_closure::before, arm_displaced_step_copy_insn_closure::block, CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cond, condition_true(), displaced_debug_printf, displaced_read_reg(), displaced_write_reg(), gdbarch_byte_order(), arm_displaced_step_copy_insn_closure::increment, arm_displaced_step_copy_insn_closure::load, LOAD_WRITE_PC, read_memory_unsigned_integer(), arm_displaced_step_copy_insn_closure::regmask, arm_displaced_step_copy_insn_closure::rn, status, arm_displaced_step_copy_insn_closure::u, arm_displaced_step_copy_insn_closure::user, arm_displaced_step_copy_insn_closure::writeback, and arm_displaced_step_copy_insn_closure::xfer_addr.
Referenced by arm_copy_block_xfer().
|
static |
Definition at line 6974 of file arm-tdep.c.
References ARM_PC_REGNUM, ARM_PS_REGNUM, arm_displaced_step_copy_insn_closure::block, CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cond, condition_true(), displaced_debug_printf, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::increment, LOAD_WRITE_PC, arm_displaced_step_copy_insn_closure::regmask, arm_displaced_step_copy_insn_closure::rn, status, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, arm_displaced_step_copy_insn_closure::writeback, and arm_displaced_step_copy_insn_closure::xfer_addr.
Referenced by arm_copy_block_xfer(), thumb2_copy_block_xfer(), and thumb_copy_pop_pc_16bit().
|
static |
Definition at line 6924 of file arm-tdep.c.
References ARM_PS_REGNUM, arm_displaced_step_copy_insn_closure::before, arm_displaced_step_copy_insn_closure::block, arm_displaced_step_copy_insn_closure::cond, condition_true(), displaced_debug_printf, displaced_read_reg(), gdbarch_byte_order(), arm_displaced_step_copy_insn_closure::increment, arm_displaced_step_copy_insn_closure::insn_addr, read_memory_unsigned_integer(), arm_displaced_step_copy_insn_closure::regmask, arm_displaced_step_copy_insn_closure::scratch_base, status, arm_displaced_step_copy_insn_closure::u, write_memory_unsigned_integer(), and arm_displaced_step_copy_insn_closure::xfer_addr.
Referenced by arm_copy_block_xfer(), and thumb2_copy_block_xfer().
|
static |
Definition at line 5970 of file arm-tdep.c.
References ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_PS_REGNUM, arm_displaced_step_copy_insn_closure::branch, BRANCH_WRITE_PC, BX_WRITE_PC, CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cond, condition_true(), arm_displaced_step_copy_insn_closure::dest, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::exchange, arm_displaced_step_copy_insn_closure::insn_addr, arm_displaced_step_copy_insn_closure::insn_size, arm_displaced_step_copy_insn_closure::is_thumb, arm_displaced_step_copy_insn_closure::link, status, and arm_displaced_step_copy_insn_closure::u.
Referenced by install_b_bl_blx(), install_bx_blx_reg(), thumb2_copy_table_branch(), thumb_copy_b(), and thumb_copy_cbnz_cbz().
|
static |
Definition at line 5882 of file arm-tdep.c.
References CANNOT_WRITE_PC, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::ldst, LOAD_WRITE_PC, arm_displaced_step_copy_insn_closure::rn, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, and arm_displaced_step_copy_insn_closure::writeback.
Referenced by install_copro_load_store().
|
static |
Definition at line 6500 of file arm-tdep.c.
References CANNOT_WRITE_PC, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::immed, arm_displaced_step_copy_insn_closure::ldst, LOAD_WRITE_PC, arm_displaced_step_copy_insn_closure::rd, arm_displaced_step_copy_insn_closure::rn, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, arm_displaced_step_copy_insn_closure::writeback, and arm_displaced_step_copy_insn_closure::xfersize.
Referenced by arm_copy_extra_ld_st(), arm_copy_ldr_str_ldrb_strb(), install_load_store(), thumb2_copy_load_literal(), and thumb_copy_16bit_ldr_literal().
|
static |
Definition at line 8145 of file arm-tdep.c.
References ARM_PC_REGNUM, BX_WRITE_PC, CANNOT_WRITE_PC, displaced_read_reg(), displaced_write_reg(), and arm_displaced_step_copy_insn_closure::tmp.
Referenced by thumb_copy_pop_pc_16bit().
|
static |
Definition at line 5741 of file arm-tdep.c.
References CANNOT_WRITE_PC, displaced_write_reg(), arm_displaced_step_copy_insn_closure::immed, arm_displaced_step_copy_insn_closure::preload, arm_displaced_step_copy_insn_closure::tmp, and arm_displaced_step_copy_insn_closure::u.
Referenced by install_preload(), install_preload_reg(), and thumb2_copy_preload().
|
static |
Definition at line 6529 of file arm-tdep.c.
References CANNOT_WRITE_PC, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::immed, arm_displaced_step_copy_insn_closure::ldst, arm_displaced_step_copy_insn_closure::restore_r4, arm_displaced_step_copy_insn_closure::rn, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, arm_displaced_step_copy_insn_closure::writeback, and arm_displaced_step_copy_insn_closure::xfersize.
Referenced by arm_copy_extra_ld_st(), arm_copy_ldr_str_ldrb_strb(), and install_load_store().
|
static |
Definition at line 7307 of file arm-tdep.c.
References ARM_PC_REGNUM, BRANCH_WRITE_PC, displaced_debug_printf, displaced_write_reg(), arm_displaced_step_copy_insn_closure::insn_addr, and arm_displaced_step_copy_insn_closure::insn_size.
Referenced by install_svc().
|
static |
Definition at line 9686 of file arm-tdep.c.
Referenced by arm_coff_make_msymbol_special().
|
static |
Definition at line 14818 of file arm-tdep.c.
References xfree().
Referenced by arm_process_record().
|
static |
Definition at line 14537 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_RECORD, arm_record_asimd_vfp_coproc(), arm_record_b_bl(), arm_record_coproc_data_proc(), arm_record_data_proc_imm(), arm_record_data_proc_misc_ld_str(), arm_record_extension_space(), arm_record_ld_st_imm_offset(), arm_record_ld_st_multiple(), arm_record_ld_st_reg_offset(), ARM_RECORD_SUCCESS, arm_record_unsupported_insn(), bits, arm_insn_decode_record::cond, arm_insn_decode_record::gdbarch, gdbarch_byte_order_for_code(), arm_insn_decode_record::this_addr, THUMB2_RECORD, thumb2_record_decode_insn_handler(), THUMB_RECORD, thumb_record_add_sub_cmp_mov(), thumb_record_branch(), thumb_record_ld_st_imm_offset(), thumb_record_ld_st_reg_offset(), thumb_record_ld_st_stack(), thumb_record_ldm_stm_swi(), thumb_record_misc(), and thumb_record_shift_add_sub().
Referenced by arm_process_record().
|
static |
Definition at line 8333 of file arm-tdep.c.
References bit, bits, thumb2_copy_load_literal(), thumb2_copy_load_reg_imm(), thumb2_copy_preload(), thumb_32bit_copy_undef(), and thumb_copy_unmodified_32bit().
Referenced by thumb_process_displaced_32bit_insn().
|
static |
Definition at line 5532 of file arm-tdep.c.
References reg_buffer::arch(), ARM_PS_REGNUM, arm_psr_thumb_bit(), and regcache_cooked_read_unsigned().
Referenced by arm_process_displaced_insn().
ULONGEST displaced_read_reg | ( | regcache * | regs, |
arm_displaced_step_copy_insn_closure * | dsc, | ||
int | regno ) |
Definition at line 5497 of file arm-tdep.c.
References ARM_PC_REGNUM, displaced_debug_printf, arm_displaced_step_copy_insn_closure::insn_addr, arm_displaced_step_copy_insn_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 | ( | regcache * | regs, |
arm_displaced_step_copy_insn_closure * | dsc, | ||
int | regno, | ||
ULONGEST | val, | ||
enum pc_write_style | write_pc ) |
Definition at line 5617 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, displaced_debug_printf, load_write_pc(), LOAD_WRITE_PC, regcache_cooked_write_unsigned(), and arm_displaced_step_copy_insn_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().
|
static |
Definition at line 5283 of file arm-tdep.c.
References target_read_code(), xfree(), and xmalloc().
Referenced by arm_adjust_breakpoint_address().
|
static |
Definition at line 8717 of file arm-tdep.c.
References gdb_disassemble_info::arch(), arm_pc_is_thumb(), current_program_space, default_print_insn(), program_space::exec_bfd(), gdbarch_bfd_arch_info(), and UNMAKE_THUMB_ADDR.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 5668 of file arm-tdep.c.
Referenced by arm_copy_alu_imm(), arm_copy_alu_reg(), arm_copy_alu_shifted_reg(), arm_copy_copro_load_store(), arm_copy_extra_ld_st(), arm_copy_ldr_str_ldrb_strb(), arm_copy_preload(), and arm_copy_preload_reg().
|
static |
Definition at line 6335 of file arm-tdep.c.
References CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_alu_reg(), displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::rd, and arm_displaced_step_copy_insn_closure::tmp.
Referenced by arm_copy_alu_reg(), and thumb_copy_alu_reg().
|
static |
Definition at line 6429 of file arm-tdep.c.
References CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_alu_shifted_reg(), displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::rd, and arm_displaced_step_copy_insn_closure::tmp.
Referenced by arm_copy_alu_shifted_reg().
|
static |
Definition at line 6001 of file arm-tdep.c.
References arm_displaced_step_copy_insn_closure::branch, arm_displaced_step_copy_insn_closure::cleanup, cleanup_branch(), arm_displaced_step_copy_insn_closure::cond, arm_displaced_step_copy_insn_closure::dest, arm_displaced_step_copy_insn_closure::exchange, arm_displaced_step_copy_insn_closure::insn_addr, arm_displaced_step_copy_insn_closure::is_thumb, arm_displaced_step_copy_insn_closure::link, and arm_displaced_step_copy_insn_closure::u.
Referenced by arm_copy_b_bl_blx(), and thumb2_copy_b_bl_blx().
|
static |
Definition at line 6150 of file arm-tdep.c.
References arm_displaced_step_copy_insn_closure::branch, arm_displaced_step_copy_insn_closure::cleanup, cleanup_branch(), arm_displaced_step_copy_insn_closure::cond, arm_displaced_step_copy_insn_closure::dest, displaced_read_reg(), arm_displaced_step_copy_insn_closure::exchange, arm_displaced_step_copy_insn_closure::link, and arm_displaced_step_copy_insn_closure::u.
Referenced by arm_copy_bx_blx_reg(), and thumb_copy_bx_blx_reg().
|
static |
Definition at line 5895 of file arm-tdep.c.
References CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_copro_load_store(), displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::ldst, arm_displaced_step_copy_insn_closure::rn, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, and arm_displaced_step_copy_insn_closure::writeback.
Referenced by arm_copy_copro_load_store(), and thumb2_copy_copro_load_store().
|
static |
Definition at line 6624 of file arm-tdep.c.
References CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_load(), cleanup_store(), displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::immed, arm_displaced_step_copy_insn_closure::ldst, arm_displaced_step_copy_insn_closure::rd, arm_displaced_step_copy_insn_closure::rn, size, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, arm_displaced_step_copy_insn_closure::writeback, and arm_displaced_step_copy_insn_closure::xfersize.
Referenced by arm_copy_ldr_str_ldrb_strb(), and thumb2_copy_load_reg_imm().
|
static |
Definition at line 7937 of file arm-tdep.c.
References ARM_PC_REGNUM, CANNOT_WRITE_PC, displaced_read_reg(), and displaced_write_reg().
Referenced by thumb_copy_pc_relative_16bit(), and thumb_copy_pc_relative_32bit().
|
static |
Definition at line 5750 of file arm-tdep.c.
References CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_preload(), displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::immed, arm_displaced_step_copy_insn_closure::preload, arm_displaced_step_copy_insn_closure::tmp, and arm_displaced_step_copy_insn_closure::u.
Referenced by arm_copy_preload().
|
static |
Definition at line 5835 of file arm-tdep.c.
References CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_preload(), displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::immed, arm_displaced_step_copy_insn_closure::preload, arm_displaced_step_copy_insn_closure::tmp, and arm_displaced_step_copy_insn_closure::u.
Referenced by arm_copy_preload_reg().
|
static |
Definition at line 7322 of file arm-tdep.c.
References arm_displaced_step_copy_insn_closure::cleanup, cleanup_svc(), arm_displaced_step_copy_insn_closure::copy_svc_os, arm_displaced_step_copy_insn_closure::svc, arm_displaced_step_copy_insn_closure::u, and arm_displaced_step_copy_insn_closure::wrote_to_pc.
Referenced by arm_copy_svc(), and thumb_copy_svc().
|
static |
Definition at line 5056 of file arm-tdep.c.
References arm_gdbarch_tdep::have_mve, arm_gdbarch_tdep::mve_pseudo_base, arm_gdbarch_tdep::mve_pseudo_count, and regnum.
Referenced by arm_pseudo_read(), arm_pseudo_write(), arm_register_name(), and arm_register_type().
|
static |
Definition at line 5075 of file arm-tdep.c.
References arm_gdbarch_tdep::have_pacbti, arm_gdbarch_tdep::pacbti_pseudo_base, arm_gdbarch_tdep::pacbti_pseudo_count, and regnum.
Referenced by arm_dwarf2_frame_init_reg(), arm_register_name(), and arm_register_type().
|
static |
Definition at line 5016 of file arm-tdep.c.
References arm_gdbarch_tdep::have_q_pseudos, arm_gdbarch_tdep::q_pseudo_base, arm_gdbarch_tdep::q_pseudo_count, and regnum.
Referenced by arm_pseudo_read(), arm_pseudo_write(), arm_register_name(), and arm_register_type().
|
static |
Definition at line 5037 of file arm-tdep.c.
References arm_gdbarch_tdep::have_s_pseudos, regnum, arm_gdbarch_tdep::s_pseudo_base, and arm_gdbarch_tdep::s_pseudo_count.
Referenced by arm_register_name(), and arm_register_type().
|
static |
Definition at line 5591 of file arm-tdep.c.
References branch_write_pc(), bx_write_pc(), and DISPLACED_STEPPING_ARCH_VERSION.
Referenced by displaced_write_reg().
|
static |
Definition at line 4329 of file arm-tdep.c.
References arm_stack_item::data, arm_stack_item::prev, and xfree().
Referenced by arm_push_dummy_call().
|
static |
Definition at line 4884 of file arm-tdep.c.
References flags, gdb_putc(), and gdb_puts().
Referenced by arm_print_float_info().
|
static |
Definition at line 4316 of file arm-tdep.c.
References arm_stack_item::data, arm_stack_item::len, arm_stack_item::prev, and xmalloc().
Referenced by arm_push_dummy_call().
|
inlinestatic |
Definition at line 317 of file arm-tdep.c.
References arm_psr_thumb_bit(), and IS_THUMB_ADDR.
Referenced by arm_dwarf2_prev_register(), arm_m_exception_prev_register(), and arm_prologue_prev_register().
|
static |
Definition at line 11198 of file arm-tdep.c.
References bits, and arm_mem_r::len.
Referenced by arm_record_data_proc_imm(), and arm_record_data_proc_misc_ld_str().
|
static |
Definition at line 9609 of file arm-tdep.c.
References disassembly_style, and set_disassembler_options().
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 9496 of file arm-tdep.c.
References ARM_FLOAT_AUTO, ARM_FLOAT_LAST, arm_fp_model, arm_update_current_architecture(), current_fp_model, and fp_model_strings.
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 9619 of file arm-tdep.c.
References gdb_printf(), get_current_arch(), and get_disassembler_options().
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 9516 of file arm-tdep.c.
References ARM_FLOAT_AUTO, arm_fp_model, fp_model_strings, gdb_printf(), gdbarch_bfd_arch_info(), and target_gdbarch().
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 913 of file arm-tdep.c.
References gdbarch_byte_order_for_code(), general_symbol_info::linkage_name(), lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, name, read_code_unsigned_integer(), and bound_minimal_symbol::value_address().
Referenced by arm_analyze_prologue(), and thumb_analyze_prologue().
|
static |
Definition at line 6268 of file arm-tdep.c.
References ARM_PC_REGNUM, bits, CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_alu_imm(), displaced_debug_printf, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::numinsns, arm_displaced_step_copy_insn_closure::rd, thumb_copy_unmodified_32bit(), and arm_displaced_step_copy_insn_closure::tmp.
Referenced by thumb2_decode_dp_shift_reg().
|
static |
Definition at line 6058 of file arm-tdep.c.
References bit, bits, displaced_debug_printf, INST_AL, install_b_bl_blx(), arm_displaced_step_copy_insn_closure::modinsn, sbits, and THUMB_NOP.
Referenced by thumb_process_displaced_32bit_insn().
|
static |
Definition at line 7162 of file arm-tdep.c.
References ARM_PC_REGNUM, arm_displaced_step_copy_insn_closure::before, bit, bits, arm_displaced_step_copy_insn_closure::block, arm_displaced_step_copy_insn_closure::cleanup, cleanup_block_load_pc(), cleanup_block_store_pc(), arm_displaced_step_copy_insn_closure::cond, displaced_debug_printf, displaced_read_reg(), arm_displaced_step_copy_insn_closure::increment, INST_AL, arm_displaced_step_copy_insn_closure::load, arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::numinsns, arm_displaced_step_copy_insn_closure::regmask, arm_displaced_step_copy_insn_closure::rn, thumb_copy_unmodified_32bit(), arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, arm_displaced_step_copy_insn_closure::user, arm_displaced_step_copy_insn_closure::writeback, and arm_displaced_step_copy_insn_closure::xfer_addr.
Referenced by thumb_process_displaced_32bit_insn().
|
static |
Definition at line 5942 of file arm-tdep.c.
References ARM_PC_REGNUM, bits, displaced_debug_printf, install_copro_load_store(), arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::numinsns, and thumb_copy_unmodified_32bit().
Referenced by thumb2_decode_ext_reg_ld_st(), and thumb2_decode_svc_copro().
|
static |
Definition at line 6679 of file arm-tdep.c.
References ARM_PC_REGNUM, bit, bits, CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_load(), displaced_debug_printf, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::immed, arm_displaced_step_copy_insn_closure::insn_addr, arm_displaced_step_copy_insn_closure::ldst, arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::numinsns, arm_displaced_step_copy_insn_closure::rd, arm_displaced_step_copy_insn_closure::restore_r4, size, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, arm_displaced_step_copy_insn_closure::writeback, and arm_displaced_step_copy_insn_closure::xfersize.
Referenced by decode_thumb_32bit_ld_mem_hints().
|
static |
Definition at line 6733 of file arm-tdep.c.
References ARM_PC_REGNUM, bits, displaced_debug_printf, install_load_store(), arm_displaced_step_copy_insn_closure::ldst, arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::numinsns, arm_displaced_step_copy_insn_closure::restore_r4, thumb_copy_unmodified_32bit(), and arm_displaced_step_copy_insn_closure::u.
Referenced by decode_thumb_32bit_ld_mem_hints().
|
static |
Definition at line 5787 of file arm-tdep.c.
References ARM_PC_REGNUM, bit, bits, CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_preload(), displaced_debug_printf, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::immed, arm_displaced_step_copy_insn_closure::insn_addr, arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::numinsns, arm_displaced_step_copy_insn_closure::preload, thumb_copy_unmodified_32bit(), arm_displaced_step_copy_insn_closure::tmp, and arm_displaced_step_copy_insn_closure::u.
Referenced by decode_thumb_32bit_ld_mem_hints().
|
static |
Definition at line 8102 of file arm-tdep.c.
References bit, bits, arm_displaced_step_copy_insn_closure::branch, arm_get_next_pcs::byte_order, arm_displaced_step_copy_insn_closure::cleanup, cleanup_branch(), arm_displaced_step_copy_insn_closure::cond, arm_displaced_step_copy_insn_closure::dest, displaced_debug_printf, displaced_read_reg(), arm_displaced_step_copy_insn_closure::exchange, extract_unsigned_integer(), gdbarch_byte_order(), arm_displaced_step_copy_insn_closure::insn_addr, INST_AL, arm_displaced_step_copy_insn_closure::link, target_read_memory(), and arm_displaced_step_copy_insn_closure::u.
Referenced by thumb_process_displaced_32bit_insn().
|
static |
Definition at line 7794 of file arm-tdep.c.
References bits, thumb2_copy_alu_imm(), and thumb_copy_unmodified_32bit().
Referenced by thumb_process_displaced_32bit_insn().
|
static |
Definition at line 7815 of file arm-tdep.c.
References bits, thumb2_copy_copro_load_store(), and thumb_copy_unmodified_32bit().
Referenced by thumb2_decode_svc_copro().
|
static |
Definition at line 7896 of file arm-tdep.c.
References bit, bits, thumb2_copy_copro_load_store(), thumb2_decode_ext_reg_ld_st(), thumb_32bit_copy_undef(), and thumb_copy_unmodified_32bit().
Referenced by thumb_process_displaced_32bit_insn().
|
static |
Definition at line 14215 of file arm-tdep.c.
References ARM_D0_REGNUM, arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, arm_insn_decode_record::arm_regs, bit, bits, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 13995 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_LR_REGNUM, ARM_PS_REGNUM, ARM_RECORD_SUCCESS, arm_record_unsupported_insn(), arm_insn_decode_record::arm_regs, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 14204 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_record_asimd_vfp_coproc(), arm_record_coproc_data_proc(), and bit.
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 13947 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_PS_REGNUM, ARM_RECORD_SUCCESS, arm_insn_decode_record::arm_regs, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 14403 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, bit, bits, thumb2_record_asimd_struct_ld_st(), thumb2_record_branch_misc_cntrl(), thumb2_record_coproc_insn(), thumb2_record_data_proc_sreg_mimm(), thumb2_record_ld_mem_hints(), thumb2_record_ld_st_dual_ex_tbb(), thumb2_record_ld_st_multiple(), thumb2_record_ld_word(), thumb2_record_lmul_lmla_div(), thumb2_record_ps_dest_generic(), and thumb2_record_str_single_data().
Referenced by decode_insn().
|
static |
Definition at line 14125 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_PC_REGNUM, ARM_PS_REGNUM, ARM_RECORD_FAILURE, ARM_RECORD_SUCCESS, arm_insn_decode_record::arm_regs, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 13830 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, ARM_PS_REGNUM, ARM_RECORD_SUCCESS, arm_insn_decode_record::arm_regs, bit, bits, INSN_S_L_BIT_NUM, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 13735 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, ARM_PS_REGNUM, ARM_RECORD_SUCCESS, arm_record_unsupported_insn(), arm_insn_decode_record::arm_regs, bit, bits, INSN_S_L_BIT_NUM, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 14151 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_PS_REGNUM, ARM_RECORD_SUCCESS, arm_insn_decode_record::arm_regs, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 14168 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_PS_REGNUM, ARM_RECORD_FAILURE, ARM_RECORD_SUCCESS, arm_insn_decode_record::arm_regs, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 13976 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_PS_REGNUM, ARM_RECORD_SUCCESS, arm_insn_decode_record::arm_regs, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 14035 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, ARM_RECORD_SUCCESS, arm_insn_decode_record::arm_regs, bit, bits, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by thumb2_record_decode_insn_handler().
|
static |
Definition at line 7383 of file arm-tdep.c.
References displaced_debug_printf, arm_displaced_step_copy_insn_closure::modinsn, and arm_displaced_step_copy_insn_closure::numinsns.
Referenced by decode_thumb_32bit_ld_mem_hints(), and thumb2_decode_svc_copro().
|
static |
Definition at line 1019 of file arm-tdep.c.
References arm_cache_set_active_sp_value(), ARM_D0_REGNUM, arm_debug_printf, ARM_FP_REGNUM, ARM_LR_REGNUM, ARM_SP_REGNUM, bit, bits, EXTRACT_MOVW_MOVT_IMM_T, pv_area::find_reg(), arm_prologue_cache::framereg, arm_prologue_cache::framesize, gdbarch_addr_bit(), gdbarch_byte_order(), gdbarch_byte_order_for_code(), gdbarch_num_regs(), arm_gdbarch_tdep::have_pacbti, IS_AUT, IS_AUTG, IS_BTI, IS_PAC, IS_PACBTI, IS_PACG, prologue_value::k, loc, paddress(), pv_add(), pv_add_constant(), pv_constant(), pv_is_constant(), pv_is_register(), pv_register(), arm_prologue_cache::ra_signed_state, read_code_unsigned_integer(), read_memory_unsigned_integer(), arm_prologue_cache::saved_regs, sbits, trad_frame_saved_reg::set_addr(), skip_prologue_function(), pv_area::store(), pv_area::store_would_trash(), thumb2_instruction_changes_pc(), thumb_expand_immediate(), THUMB_FP_REGNUM, thumb_insn_size(), thumb_instruction_changes_pc(), and thumb_instruction_restores_sp().
Referenced by arm_skip_prologue(), and thumb_scan_prologue().
|
static |
Definition at line 8018 of file arm-tdep.c.
References ARM_PC_REGNUM, bits, CANNOT_WRITE_PC, arm_displaced_step_copy_insn_closure::cleanup, cleanup_load(), displaced_debug_printf, displaced_read_reg(), displaced_write_reg(), arm_displaced_step_copy_insn_closure::immed, arm_displaced_step_copy_insn_closure::ldst, arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::rd, arm_displaced_step_copy_insn_closure::restore_r4, arm_displaced_step_copy_insn_closure::rn, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, arm_displaced_step_copy_insn_closure::writeback, and arm_displaced_step_copy_insn_closure::xfersize.
Referenced by thumb_process_displaced_16bit_insn().
|
static |
Definition at line 6391 of file arm-tdep.c.
References ARM_PC_REGNUM, bit, bits, displaced_debug_printf, install_alu_reg(), arm_displaced_step_copy_insn_closure::modinsn, and thumb_copy_unmodified_16bit().
Referenced by thumb_process_displaced_16bit_insn().
|
static |
Definition at line 6112 of file arm-tdep.c.
References bits, arm_displaced_step_copy_insn_closure::branch, arm_displaced_step_copy_insn_closure::cleanup, cleanup_branch(), arm_displaced_step_copy_insn_closure::cond, arm_displaced_step_copy_insn_closure::dest, displaced_debug_printf, arm_displaced_step_copy_insn_closure::exchange, arm_displaced_step_copy_insn_closure::insn_addr, INST_AL, arm_displaced_step_copy_insn_closure::link, arm_displaced_step_copy_insn_closure::modinsn, sbits, THUMB_NOP, and arm_displaced_step_copy_insn_closure::u.
Referenced by thumb_process_displaced_16bit_insn().
|
static |
Definition at line 6191 of file arm-tdep.c.
References bit, bits, displaced_debug_printf, INST_AL, install_bx_blx_reg(), arm_displaced_step_copy_insn_closure::modinsn, and THUMB_NOP.
Referenced by thumb_process_displaced_16bit_insn().
|
static |
Definition at line 8065 of file arm-tdep.c.
References bit, bits, arm_displaced_step_copy_insn_closure::branch, arm_displaced_step_copy_insn_closure::cleanup, cleanup_branch(), arm_displaced_step_copy_insn_closure::cond, arm_displaced_step_copy_insn_closure::dest, displaced_debug_printf, displaced_read_reg(), arm_displaced_step_copy_insn_closure::exchange, arm_displaced_step_copy_insn_closure::insn_addr, INST_AL, arm_displaced_step_copy_insn_closure::link, arm_displaced_step_copy_insn_closure::modinsn, THUMB_NOP, and arm_displaced_step_copy_insn_closure::u.
Referenced by thumb_process_displaced_16bit_insn().
|
static |
Definition at line 7955 of file arm-tdep.c.
References install_pc_relative(), and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by thumb_decode_pc_relative_16bit().
|
static |
Definition at line 7983 of file arm-tdep.c.
References bit, bits, displaced_debug_printf, install_pc_relative(), arm_displaced_step_copy_insn_closure::modinsn, and arm_displaced_step_copy_insn_closure::numinsns.
Referenced by thumb_process_displaced_32bit_insn().
|
static |
Definition at line 8162 of file arm-tdep.c.
References arm_displaced_step_copy_insn_closure::block, arm_displaced_step_copy_insn_closure::cleanup, cleanup_block_load_pc(), cleanup_pop_pc_16bit_all(), arm_displaced_step_copy_insn_closure::cond, displaced_debug_printf, displaced_read_reg(), INST_AL, arm_displaced_step_copy_insn_closure::modinsn, arm_displaced_step_copy_insn_closure::numinsns, arm_displaced_step_copy_insn_closure::regmask, arm_displaced_step_copy_insn_closure::tmp, arm_displaced_step_copy_insn_closure::u, and arm_displaced_step_copy_insn_closure::writeback.
Referenced by thumb_process_displaced_16bit_insn().
|
static |
Definition at line 7357 of file arm-tdep.c.
References displaced_debug_printf, install_svc(), and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by thumb_process_displaced_16bit_insn().
|
static |
Definition at line 5726 of file arm-tdep.c.
References displaced_debug_printf, and arm_displaced_step_copy_insn_closure::modinsn.
Referenced by thumb_copy_alu_reg(), and thumb_process_displaced_16bit_insn().
|
static |
Definition at line 5709 of file arm-tdep.c.
References displaced_debug_printf, arm_displaced_step_copy_insn_closure::modinsn, and arm_displaced_step_copy_insn_closure::numinsns.
Referenced by decode_thumb_32bit_ld_mem_hints(), thumb2_copy_alu_imm(), thumb2_copy_block_xfer(), thumb2_copy_copro_load_store(), thumb2_copy_load_reg_imm(), thumb2_copy_preload(), thumb2_decode_dp_shift_reg(), thumb2_decode_ext_reg_ld_st(), thumb2_decode_svc_copro(), and thumb_process_displaced_32bit_insn().
|
static |
Definition at line 7969 of file arm-tdep.c.
References bits, displaced_debug_printf, and thumb_copy_pc_relative_16bit().
Referenced by thumb_process_displaced_16bit_insn().
|
static |
Definition at line 980 of file arm-tdep.c.
Referenced by thumb_analyze_prologue().
|
static |
Definition at line 1005 of file arm-tdep.c.
Referenced by thumb_analyze_prologue(), and thumb_stack_frame_destroyed_p().
|
static |
Definition at line 8231 of file arm-tdep.c.
References bit, bits, err, thumb_copy_16bit_ldr_literal(), thumb_copy_alu_reg(), thumb_copy_b(), thumb_copy_bx_blx_reg(), thumb_copy_cbnz_cbz(), thumb_copy_pop_pc_16bit(), thumb_copy_svc(), thumb_copy_unmodified_16bit(), and thumb_decode_pc_relative_16bit().
Referenced by thumb_process_displaced_insn().
|
static |
Definition at line 8413 of file arm-tdep.c.
References bit, bits, decode_thumb_32bit_ld_mem_hints(), err, thumb2_copy_b_bl_blx(), thumb2_copy_block_xfer(), thumb2_copy_table_branch(), thumb2_decode_dp_shift_reg(), thumb2_decode_svc_copro(), thumb_copy_pc_relative_32bit(), and thumb_copy_unmodified_32bit().
Referenced by thumb_process_displaced_insn().
|
static |
Definition at line 8540 of file arm-tdep.c.
References arm_get_next_pcs::byte_order_for_code, displaced_debug_printf, gdbarch_byte_order_for_code(), arm_displaced_step_copy_insn_closure::insn_size, arm_displaced_step_copy_insn_closure::is_thumb, read_memory_unsigned_integer(), thumb_insn_size(), thumb_process_displaced_16bit_insn(), and thumb_process_displaced_32bit_insn().
Referenced by arm_process_displaced_insn().
|
static |
Definition at line 13280 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_PS_REGNUM, arm_insn_decode_record::arm_regs, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by decode_insn().
|
static |
Definition at line 13703 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_LR_REGNUM, ARM_PS_REGNUM, arm_insn_decode_record::arm_regs, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by decode_insn().
|
static |
Definition at line 13391 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, arm_insn_decode_record::arm_regs, bits, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by decode_insn().
|
static |
Definition at line 13299 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, ARM_PS_REGNUM, arm_insn_decode_record::arm_regs, bit, bits, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by decode_insn().
|
static |
Definition at line 13431 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, arm_insn_decode_record::arm_regs, ARM_SP_REGNUM, bits, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by decode_insn().
|
static |
Definition at line 13618 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, arm_insn_decode_record::arm_mems, arm_insn_decode_record::arm_regs, arm_gdbarch_tdep::arm_syscall_record, bits, gdb_printf(), gdb_stderr, arm_insn_decode_record::gdbarch, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, and regcache_raw_read_unsigned().
Referenced by decode_insn().
|
static |
Definition at line 13487 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_LR_REGNUM, arm_insn_decode_record::arm_mems, ARM_PS_REGNUM, arm_insn_decode_record::arm_regs, ARM_SP_REGNUM, bit, bits, gdb_printf(), gdb_stderr, arm_insn_decode_record::gdbarch, MEM_ALLOC, arm_insn_decode_record::mem_rec_count, paddress(), REG_ALLOC, arm_insn_decode_record::reg_rec_count, arm_insn_decode_record::regcache, regcache_raw_read_unsigned(), and arm_insn_decode_record::this_addr.
Referenced by decode_insn().
|
static |
Definition at line 13260 of file arm-tdep.c.
References arm_insn_decode_record::arm_insn, ARM_PS_REGNUM, arm_insn_decode_record::arm_regs, bits, REG_ALLOC, and arm_insn_decode_record::reg_rec_count.
Referenced by decode_insn().
|
static |
Definition at line 1885 of file arm-tdep.c.
References find_pc_partial_function(), and thumb_analyze_prologue().
Referenced by arm_scan_prologue().
|
static |
Definition at line 4138 of file arm-tdep.c.
References extract_unsigned_integer(), find_pc_partial_function(), gdbarch_byte_order_for_code(), target_read_memory(), thumb_insn_size(), and thumb_instruction_restores_sp().
Referenced by arm_epilogue_frame_sniffer(), and arm_stack_frame_destroyed_p().
|
static |
Definition at line 9948 of file arm-tdep.c.
References value_of_register().
Referenced by arm_gdbarch_init().
|
static |
Definition at line 159 of file arm-tdep.c.
Referenced by arm_gdbarch_init(), arm_set_abi(), and arm_show_abi().
|
static |
Definition at line 160 of file arm-tdep.c.
Referenced by _initialize_arm_tdep(), arm_set_abi(), and arm_show_abi().
|
static |
Definition at line 150 of file arm-tdep.c.
Referenced by _initialize_arm_tdep(), arm_set_abi(), and arm_show_abi().
bool arm_apcs_32 = true |
Definition at line 598 of file arm-tdep.c.
Referenced by _initialize_arm_tdep(), aarch32_gp_regcache_collect(), aarch32_gp_regcache_supply(), arm_addr_bits_remove(), arm_linux_collect_gregset(), arm_linux_supply_gregset(), arm_nbsd_supply_gregset(), arm_none_collect_gregset(), arm_none_supply_gregset(), arm_write_pc(), fetch_regs(), store_register(), store_regs(), and store_regs().
|
static |
Definition at line 127 of file arm-tdep.c.
Referenced by arm_find_mapping_symbol(), and arm_record_special_symbol().
|
static |
Definition at line 71 of file arm-tdep.c.
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 8803 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 8802 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 8805 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 8804 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 235 of file arm-tdep.c.
Referenced by _initialize_arm_tdep(), and arm_gdbarch_init().
|
static |
Definition at line 3300 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 2504 of file arm-tdep.c.
Referenced by arm_exidx_new_objfile(), and arm_find_exidx_entry().
struct frame_unwind arm_exidx_unwind |
Definition at line 3191 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 171 of file arm-tdep.c.
Referenced by _initialize_arm_tdep(), arm_pc_is_thumb(), and arm_show_fallback_mode().
|
static |
Definition at line 172 of file arm-tdep.c.
Referenced by _initialize_arm_tdep(), arm_pc_is_thumb(), and arm_show_force_mode().
|
static |
Definition at line 146 of file arm-tdep.c.
Referenced by arm_gdbarch_init(), set_fp_model_sfunc(), and show_fp_model().
|
static |
Definition at line 267 of file arm-tdep.c.
struct frame_unwind arm_m_exception_unwind |
Definition at line 3955 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 163 of file arm-tdep.c.
Referenced by _initialize_arm_tdep().
struct frame_base arm_normal_base |
Definition at line 3980 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
|
static |
Definition at line 2472 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
const struct { ... } arm_register_aliases[] |
Referenced by arm_gdbarch_init().
|
static |
Definition at line 225 of file arm-tdep.c.
Referenced by arm_gdbarch_init(), arm_register_name(), and arm_register_type().
struct frame_unwind arm_stub_unwind |
Definition at line 3430 of file arm-tdep.c.
Referenced by arm_gdbarch_init().
bool arm_unwind_secure_frames = true |
Definition at line 599 of file arm-tdep.c.
Referenced by _initialize_arm_tdep(), arm_m_exception_cache(), and arm_show_unwind_secure_frames().
|
static |
Definition at line 147 of file arm-tdep.c.
Referenced by _initialize_arm_tdep(), and set_fp_model_sfunc().
|
static |
Definition at line 241 of file arm-tdep.c.
Referenced by _initialize_arm_tdep(), and set_disassembly_style_sfunc().
|
static |
Definition at line 135 of file arm-tdep.c.
Referenced by _initialize_arm_tdep(), set_fp_model_sfunc(), and show_fp_model().
const char* name |
Definition at line 180 of file arm-tdep.c.
Referenced by arm_gdbarch_init(), arm_record_special_symbol(), arm_skip_cmse_entry(), arm_skip_stub(), arm_stub_unwind_sniffer(), and skip_prologue_function().
|
static |
Definition at line 5245 of file arm-tdep.c.
Referenced by arm_dwarf2_frame_init_reg().
int regnum |
Definition at line 181 of file arm-tdep.c.
Referenced by arm_cache_get_sp_register(), arm_dwarf2_frame_init_reg(), arm_dwarf2_prev_register(), arm_epilogue_frame_prev_register(), arm_gdbarch_init(), arm_is_alternative_sp_register(), arm_neon_quad_read(), arm_neon_quad_write(), arm_pseudo_read(), arm_pseudo_write(), arm_push_dummy_call(), arm_register_reggroup_p(), arm_register_sim_regno(), arm_register_type(), arm_return_value(), is_mve_pseudo(), is_pacbti_pseudo(), is_q_pseudo(), and is_s_pseudo().
|
static |
Definition at line 130 of file arm-tdep.c.
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 131 of file arm-tdep.c.
Referenced by _initialize_arm_tdep().
|
static |
Definition at line 244 of file arm-tdep.c.
Referenced by arm_read_description().
|
static |
Definition at line 245 of file arm-tdep.c.
Referenced by arm_read_mprofile_description().
|
static |
Definition at line 238 of file arm-tdep.c.
Referenced by _initialize_arm_tdep().