GDB (xrefs)
|
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "trad-frame.h"
#include "dwarf2-frame.h"
#include "symtab.h"
#include "inferior.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "target.h"
#include "value.h"
#include "opcode/cris.h"
#include "osabi.h"
#include "arch-utils.h"
#include "regcache.h"
#include "objfiles.h"
#include "solib.h"
#include "solib-svr4.h"
#include "dis-asm.h"
#include "cris-tdep.h"
Go to the source code of this file.
Classes | |
struct | cris_unwind_cache |
struct | instruction_environment |
struct | stack_item |
Macros | |
#define | SIGTRAMP_INSN0 0x9c5f /* movu.w 0xXX, $r9 */ |
#define | SIGTRAMP_OFFSET0 0 |
#define | SIGTRAMP_INSN1 0xe93d /* break 13 */ |
#define | SIGTRAMP_OFFSET1 4 |
#define | SIGTRAMP_LEN (sizeof sigtramp_code) |
#define | CRISV10_ELF_NGREG 35 |
#define | CRISV32_ELF_NGREG 32 |
Typedefs | |
typedef struct instruction_environment | inst_env_type |
typedef unsigned char | cris_elf_greg_t[4] |
typedef cris_elf_greg_t | cris_elf_gregset_t[CRISV10_ELF_NGREG] |
typedef cris_elf_greg_t | crisv32_elf_gregset_t[CRISV32_ELF_NGREG] |
Functions | |
static CORE_ADDR | cris_sigtramp_start (struct frame_info *this_frame) |
static CORE_ADDR | cris_rt_sigtramp_start (struct frame_info *this_frame) |
static CORE_ADDR | cris_sigcontext_addr (struct frame_info *this_frame) |
static struct cris_unwind_cache * | cris_sigtramp_frame_unwind_cache (struct frame_info *this_frame, void **this_cache) |
static void | cris_sigtramp_frame_this_id (struct frame_info *this_frame, void **this_cache, struct frame_id *this_id) |
static struct value * | cris_frame_prev_register (struct frame_info *this_frame, void **this_cache, int regnum) |
static struct value * | cris_sigtramp_frame_prev_register (struct frame_info *this_frame, void **this_cache, int regnum) |
static int | cris_sigtramp_frame_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache) |
static int | crisv32_single_step_through_delay (struct gdbarch *gdbarch, struct frame_info *this_frame) |
static int | cris_get_operand2 (unsigned short insn) |
static int | cris_get_mode (unsigned short insn) |
static int | cris_get_opcode (unsigned short insn) |
static int | cris_get_size (unsigned short insn) |
static int | cris_get_operand1 (unsigned short insn) |
static int | cris_get_quick_value (unsigned short insn) |
static int | cris_get_bdap_quick_offset (unsigned short insn) |
static int | cris_get_branch_short_offset (unsigned short insn) |
static int | cris_get_asr_shift_steps (unsigned long value) |
static int | cris_get_clear_size (unsigned short insn) |
static int | cris_is_signed_extend_bit_on (unsigned short insn) |
static int | cris_is_xflag_bit_on (unsigned short insn) |
static void | cris_set_size_to_dword (unsigned short *insn) |
static signed char | cris_get_signed_offset (unsigned short insn) |
static void | cris_gdb_func (struct gdbarch *, enum cris_op_type, unsigned short, inst_env_type *) |
static struct gdbarch * | cris_gdbarch_init (struct gdbarch_info, struct gdbarch_list *) |
static void | cris_dump_tdep (struct gdbarch *, struct ui_file *) |
static void | set_cris_version (char *ignore_args, int from_tty, struct cmd_list_element *c) |
static void | set_cris_mode (char *ignore_args, int from_tty, struct cmd_list_element *c) |
static void | set_cris_dwarf2_cfi (char *ignore_args, int from_tty, struct cmd_list_element *c) |
static CORE_ADDR | cris_scan_prologue (CORE_ADDR pc, struct frame_info *this_frame, struct cris_unwind_cache *info) |
static CORE_ADDR | crisv32_scan_prologue (CORE_ADDR pc, struct frame_info *this_frame, struct cris_unwind_cache *info) |
static CORE_ADDR | cris_unwind_pc (struct gdbarch *gdbarch, struct frame_info *next_frame) |
static CORE_ADDR | cris_unwind_sp (struct gdbarch *gdbarch, struct frame_info *next_frame) |
static struct stack_item * | push_stack_item (struct stack_item *prev, const gdb_byte *contents, int len) |
static struct stack_item * | pop_stack_item (struct stack_item *si) |
static struct cris_unwind_cache * | cris_frame_unwind_cache (struct frame_info *this_frame, void **this_prologue_cache) |
static void | cris_frame_this_id (struct frame_info *this_frame, void **this_prologue_cache, struct frame_id *this_id) |
static struct frame_id | cris_dummy_id (struct gdbarch *gdbarch, struct frame_info *this_frame) |
static CORE_ADDR | cris_frame_align (struct gdbarch *gdbarch, CORE_ADDR sp) |
static CORE_ADDR | cris_push_dummy_code (struct gdbarch *gdbarch, CORE_ADDR sp, CORE_ADDR funaddr, struct value **args, int nargs, struct type *value_type, CORE_ADDR *real_pc, CORE_ADDR *bp_addr, struct regcache *regcache) |
static CORE_ADDR | cris_push_dummy_call (struct gdbarch *gdbarch, struct value *function, struct regcache *regcache, CORE_ADDR bp_addr, int nargs, struct value **args, CORE_ADDR sp, int struct_return, CORE_ADDR struct_addr) |
static CORE_ADDR | cris_frame_base_address (struct frame_info *this_frame, void **this_cache) |
static CORE_ADDR | cris_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc) |
static const unsigned char * | cris_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, int *lenptr) |
static int | cris_spec_reg_applicable (struct gdbarch *gdbarch, struct cris_spec_reg spec_reg) |
static int | cris_register_size (struct gdbarch *gdbarch, int regno) |
static int | cris_cannot_fetch_register (struct gdbarch *gdbarch, int regno) |
static int | cris_cannot_store_register (struct gdbarch *gdbarch, int regno) |
static int | crisv32_cannot_fetch_register (struct gdbarch *gdbarch, int regno) |
static int | crisv32_cannot_store_register (struct gdbarch *gdbarch, int regno) |
static struct type * | cris_register_type (struct gdbarch *gdbarch, int regno) |
static struct type * | crisv32_register_type (struct gdbarch *gdbarch, int regno) |
static void | cris_store_return_value (struct type *type, struct regcache *regcache, const gdb_byte *valbuf) |
static const char * | cris_special_register_name (struct gdbarch *gdbarch, int regno) |
static const char * | cris_register_name (struct gdbarch *gdbarch, int regno) |
static const char * | crisv32_register_name (struct gdbarch *gdbarch, int regno) |
static int | cris_dwarf2_reg_to_regnum (struct gdbarch *gdbarch, int reg) |
static void | cris_dwarf2_frame_init_reg (struct gdbarch *gdbarch, int regnum, struct dwarf2_frame_state_reg *reg, struct frame_info *this_frame) |
static void | cris_extract_return_value (struct type *type, struct regcache *regcache, gdb_byte *valbuf) |
static enum return_value_convention | cris_return_value (struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) |
static int | constraint (unsigned int insn, const char *inst_args, inst_env_type *inst_env) |
static int | number_of_bits (unsigned int value) |
static int | find_cris_op (unsigned short insn, inst_env_type *inst_env) |
static int | find_step_target (struct frame_info *frame, inst_env_type *inst_env) |
static int | cris_software_single_step (struct frame_info *frame) |
static void | quick_mode_bdap_prefix (unsigned short inst, inst_env_type *inst_env) |
static void | process_autoincrement (int size, unsigned short inst, inst_env_type *inst_env) |
static unsigned long | get_data_from_address (unsigned short *inst, CORE_ADDR address, enum bfd_endian byte_order) |
static void | bdap_prefix (unsigned short inst, inst_env_type *inst_env) |
static void | biap_prefix (unsigned short inst, inst_env_type *inst_env) |
static void | dip_prefix (unsigned short inst, inst_env_type *inst_env) |
static void | eight_bit_offset_branch_op (unsigned short inst, inst_env_type *inst_env) |
static void | sixteen_bit_offset_branch_op (unsigned short inst, inst_env_type *inst_env) |
static void | abs_op (unsigned short inst, inst_env_type *inst_env) |
static void | addi_op (unsigned short inst, inst_env_type *inst_env) |
static void | asr_op (unsigned short inst, inst_env_type *inst_env) |
static void | asrq_op (unsigned short inst, inst_env_type *inst_env) |
static void | ax_ei_setf_op (unsigned short inst, inst_env_type *inst_env) |
static void | check_assign (unsigned short inst, inst_env_type *inst_env) |
static void | two_operand_bound_op (unsigned short inst, inst_env_type *inst_env) |
static void | three_operand_bound_op (unsigned short inst, inst_env_type *inst_env) |
static void | btst_nop_op (unsigned short inst, inst_env_type *inst_env) |
static void | clearf_di_op (unsigned short inst, inst_env_type *inst_env) |
static void | reg_mode_clear_op (unsigned short inst, inst_env_type *inst_env) |
static void | reg_mode_test_op (unsigned short inst, inst_env_type *inst_env) |
static void | none_reg_mode_clear_test_op (unsigned short inst, inst_env_type *inst_env) |
static void | dstep_logshift_mstep_neg_not_op (unsigned short inst, inst_env_type *inst_env) |
static void | break_op (unsigned short inst, inst_env_type *inst_env) |
static void | scc_op (unsigned short inst, inst_env_type *inst_env) |
static void | reg_mode_jump_op (unsigned short inst, inst_env_type *inst_env) |
static void | none_reg_mode_jump_op (unsigned short inst, inst_env_type *inst_env) |
static void | move_to_preg_op (struct gdbarch *gdbarch, unsigned short inst, inst_env_type *inst_env) |
static void | none_reg_mode_move_from_preg_op (struct gdbarch *gdbarch, unsigned short inst, inst_env_type *inst_env) |
static void | reg_mode_move_from_preg_op (unsigned short inst, inst_env_type *inst_env) |
static void | move_mem_to_reg_movem_op (unsigned short inst, inst_env_type *inst_env) |
static void | move_reg_to_mem_movem_op (unsigned short inst, inst_env_type *inst_env) |
static void | not_implemented_op (unsigned short inst, inst_env_type *inst_env) |
static void | xor_op (unsigned short inst, inst_env_type *inst_env) |
static void | muls_op (unsigned short inst, inst_env_type *inst_env) |
static void | mulu_op (unsigned short inst, inst_env_type *inst_env) |
static void | add_sub_cmp_and_or_move_action (unsigned short inst, inst_env_type *inst_env, unsigned long source1, unsigned long source2) |
static unsigned long | do_sign_or_zero_extend (unsigned long value, unsigned short *inst) |
static void | reg_mode_add_sub_cmp_and_or_move_op (unsigned short inst, inst_env_type *inst_env) |
static void | handle_prefix_assign_mode_for_aritm_op (unsigned short inst, inst_env_type *inst_env) |
static void | three_operand_add_sub_cmp_and_or_op (unsigned short inst, inst_env_type *inst_env) |
static void | handle_prefix_index_mode_for_aritm_op (unsigned short inst, inst_env_type *inst_env) |
static void | handle_inc_and_index_mode_for_aritm_op (unsigned short inst, inst_env_type *inst_env) |
static void | none_reg_mode_add_sub_cmp_and_or_move_op (unsigned short inst, inst_env_type *inst_env) |
static void | quick_mode_add_sub_op (unsigned short inst, inst_env_type *inst_env) |
static void | quick_mode_and_cmp_move_or_op (unsigned short inst, inst_env_type *inst_env) |
static int | cris_delayed_get_disassembler (bfd_vma addr, struct disassemble_info *info) |
static void | cris_supply_gregset (struct regcache *regcache, cris_elf_gregset_t *gregsetp) |
static void | fetch_core_registers (struct regcache *regcache, char *core_reg_sect, unsigned core_reg_size, int which, CORE_ADDR reg_addr) |
void | _initialize_cris_tdep (void) |
Variables | |
const struct cris_spec_reg | cris_spec_regs [] |
static unsigned int | usr_cmd_cris_version |
static int | usr_cmd_cris_version_valid = 0 |
static const char | cris_mode_normal [] = "normal" |
static const char | cris_mode_guru [] = "guru" |
static const char *const | cris_modes [] |
static const char * | usr_cmd_cris_mode = cris_mode_normal |
static int | usr_cmd_cris_dwarf2_cfi = 1 |
static const unsigned short | sigtramp_code [] |
static const unsigned short | rt_sigtramp_code [] |
static const struct frame_unwind | cris_sigtramp_frame_unwind |
static const struct frame_unwind | cris_frame_unwind |
static const struct frame_base | cris_frame_base |
static struct core_fns | cris_elf_core_fns |
initialize_file_ftype | _initialize_cris_tdep |
#define CRISV10_ELF_NGREG 35 |
Definition at line 3819 of file cris-tdep.c.
#define CRISV32_ELF_NGREG 32 |
Definition at line 3822 of file cris-tdep.c.
#define SIGTRAMP_INSN0 0x9c5f /* movu.w 0xXX, $r9 */ |
Definition at line 170 of file cris-tdep.c.
Referenced by cris_rt_sigtramp_start(), and cris_sigtramp_start().
#define SIGTRAMP_INSN1 0xe93d /* break 13 */ |
Definition at line 172 of file cris-tdep.c.
Referenced by cris_rt_sigtramp_start(), and cris_sigtramp_start().
#define SIGTRAMP_LEN (sizeof sigtramp_code) |
Definition at line 181 of file cris-tdep.c.
Referenced by cris_rt_sigtramp_start(), and cris_sigtramp_start().
#define SIGTRAMP_OFFSET0 0 |
Definition at line 171 of file cris-tdep.c.
#define SIGTRAMP_OFFSET1 4 |
Definition at line 173 of file cris-tdep.c.
Referenced by cris_rt_sigtramp_start(), and cris_sigtramp_start().
typedef unsigned char cris_elf_greg_t[4] |
Definition at line 3816 of file cris-tdep.c.
typedef cris_elf_greg_t cris_elf_gregset_t[CRISV10_ELF_NGREG] |
Definition at line 3820 of file cris-tdep.c.
typedef cris_elf_greg_t crisv32_elf_gregset_t[CRISV32_ELF_NGREG] |
Definition at line 3823 of file cris-tdep.c.
typedef struct instruction_environment inst_env_type |
Enumerator | |
---|---|
REGISTER_MODE | |
INDIRECT_MODE | |
AUTOINC_MODE |
Definition at line 502 of file cris-tdep.c.
Enumerator | |
---|---|
INST_BYTE_SIZE | |
INST_WORD_SIZE | |
INST_DWORD_SIZE |
Definition at line 494 of file cris-tdep.c.
enum cris_num_regs |
Enumerator | |
---|---|
NUM_FREGS | |
NUM_GENREGS | |
NUM_SPECREGS | |
NUM_SUPPREGS |
Definition at line 49 of file cris-tdep.c.
enum cris_opcode_masks |
Definition at line 520 of file cris-tdep.c.
Enumerator | |
---|---|
PREFIX_INDEX_MODE | |
PREFIX_ASSIGN_MODE | |
PREFIX_OFFSET_MODE |
Definition at line 510 of file cris-tdep.c.
enum cris_regnums |
Definition at line 79 of file cris-tdep.c.
void _initialize_cris_tdep | ( | void | ) |
Definition at line 3899 of file cris-tdep.c.
References _, add_setshow_boolean_cmd(), add_setshow_enum_cmd(), add_setshow_zuinteger_cmd(), class_support, cris_dump_tdep(), cris_gdbarch_init(), cris_modes, deprecated_add_core_fns(), gdbarch_register(), set_cris_dwarf2_cfi(), set_cris_mode(), set_cris_version(), setlist, showlist, usr_cmd_cris_dwarf2_cfi, usr_cmd_cris_mode, and usr_cmd_cris_version.
|
static |
Definition at line 2348 of file cris-tdep.c.
References cris_get_operand2(), instruction_environment::disable_interrupt, if(), instruction_environment::invalid, gdb.printing::long, instruction_environment::prefix_found, instruction_environment::reg, SIGNED_DWORD_MASK, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3197 of file cris-tdep.c.
References cris_get_opcode(), cris_get_size(), INST_BYTE_SIZE, INST_DWORD_SIZE, INST_WORD_SIZE, instruction_environment::invalid, and instruction_environment::reg.
Referenced by handle_inc_and_index_mode_for_aritm_op(), handle_prefix_assign_mode_for_aritm_op(), quick_mode_add_sub_op(), quick_mode_and_cmp_move_or_op(), reg_mode_add_sub_cmp_and_or_move_op(), and three_operand_add_sub_cmp_and_or_op().
|
static |
Definition at line 2390 of file cris-tdep.c.
References cris_get_operand1(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2409 of file cris-tdep.c.
References cris_get_asr_shift_steps(), cris_get_operand1(), cris_get_operand2(), cris_get_size(), instruction_environment::disable_interrupt, INST_BYTE_SIZE, INST_DWORD_SIZE, INST_WORD_SIZE, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::reg, SIGNED_BYTE_MASK, SIGNED_DWORD_MASK, SIGNED_WORD_MASK, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2487 of file cris-tdep.c.
References cris_get_asr_shift_steps(), cris_get_operand2(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::reg, SIGNED_DWORD_MASK, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2534 of file cris-tdep.c.
References cris_is_xflag_bit_on(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2176 of file cris-tdep.c.
References AUTOINC_MODE, instruction_environment::byte_order, cris_get_mode(), cris_get_operand1(), cris_get_operand2(), cris_get_size(), get_data_from_address(), instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::prefix_value, process_autoincrement(), instruction_environment::reg, and instruction_environment::slot_needed.
Referenced by cris_gdb_func().
|
static |
Definition at line 2210 of file cris-tdep.c.
References cris_get_operand1(), cris_get_operand2(), cris_get_size(), instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::prefix_value, instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2760 of file cris-tdep.c.
References instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2624 of file cris-tdep.c.
References instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2560 of file cris-tdep.c.
References cris_get_mode(), cris_get_operand1(), PREFIX_ASSIGN_MODE, instruction_environment::prefix_value, and instruction_environment::reg.
Referenced by handle_prefix_assign_mode_for_aritm_op(), move_to_preg_op(), none_reg_mode_clear_test_op(), none_reg_mode_jump_op(), none_reg_mode_move_from_preg_op(), and two_operand_bound_op().
|
static |
Definition at line 2642 of file cris-tdep.c.
References instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 1875 of file cris-tdep.c.
References cris_spec_regs, name, and instruction_environment::prefix_found.
Referenced by find_cris_op().
|
static |
Definition at line 1413 of file cris-tdep.c.
References gdbarch_tdep::cris_mode, cris_mode_guru, and gdbarch_tdep().
Referenced by cris_gdbarch_init().
Definition at line 1517 of file cris-tdep.c.
References cris_register_size(), and gdbarch_num_regs().
Referenced by cris_gdbarch_init().
Definition at line 1527 of file cris-tdep.c.
References cris_register_size(), gdbarch_num_regs(), P0_REGNUM, P4_REGNUM, P8_REGNUM, and VR_REGNUM.
Referenced by cris_gdbarch_init().
|
static |
Definition at line 3803 of file cris-tdep.c.
References exec_bfd, gdb_assert, and int.
Referenced by cris_gdbarch_init().
|
static |
Definition at line 776 of file cris-tdep.c.
References frame_id_build(), gdbarch_sp_regnum(), get_frame_pc(), and get_frame_register_unsigned().
Referenced by cris_gdbarch_init().
Definition at line 3945 of file cris-tdep.c.
References gdbarch_tdep::cris_dwarf2_cfi, gdbarch_tdep::cris_mode, gdbarch_tdep::cris_version, fprintf_unfiltered(), and gdbarch_tdep().
Referenced by _initialize_cris_tdep().
|
static |
Definition at line 1803 of file cris-tdep.c.
References DWARF2_FRAME_REG_CFA, DWARF2_FRAME_REG_RA, gdbarch_pc_regnum(), gdbarch_sp_regnum(), and dwarf2_frame_state_reg::how.
Referenced by cris_gdbarch_init().
Definition at line 1774 of file cris-tdep.c.
References _, regnum, and warning().
Referenced by cris_gdbarch_init().
|
static |
Definition at line 1823 of file cris-tdep.c.
References _, ARG1_REGNUM, ARG2_REGNUM, gdbarch::byte_order, error(), gdbarch_byte_order(), get_regcache_arch(), len, regcache_cooked_read_unsigned(), store_unsigned_integer(), and TYPE_LENGTH.
Referenced by cris_return_value().
Definition at line 784 of file cris-tdep.c.
Referenced by cris_gdbarch_init().
|
static |
Definition at line 940 of file cris-tdep.c.
References cris_unwind_cache::base, and cris_frame_unwind_cache().
|
static |
Definition at line 763 of file cris-tdep.c.
References cris_frame_unwind_cache(), cris_unwind_cache::saved_regs, and trad_frame_get_prev_register().
Referenced by cris_sigtramp_frame_prev_register().
|
static |
Definition at line 737 of file cris-tdep.c.
References cris_unwind_cache::base, cris_frame_unwind_cache(), frame_id_build(), func, get_frame_func(), and cris_unwind_cache::prev_sp.
|
static |
Definition at line 700 of file cris-tdep.c.
References cris_unwind_cache::base, cris_scan_prologue(), gdbarch_tdep::cris_version, crisv32_scan_prologue(), FRAME_OBSTACK_ZALLOC, gdbarch_tdep(), get_frame_arch(), get_frame_func(), cris_unwind_cache::leaf_function, cris_unwind_cache::prev_sp, cris_unwind_cache::r8_offset, cris_unwind_cache::return_pc, cris_unwind_cache::saved_regs, cris_unwind_cache::size, cris_unwind_cache::sp_offset, trad_frame_alloc_saved_regs(), and cris_unwind_cache::uses_frame.
Referenced by cris_frame_base_address(), cris_frame_prev_register(), and cris_frame_this_id().
|
static |
Definition at line 3644 of file cris-tdep.c.
References abs_op(), addi_op(), asr_op(), asrq_op(), ax_ei_setf_op(), bdap_prefix(), biap_prefix(), break_op(), btst_nop_op(), clearf_di_op(), dip_prefix(), dstep_logshift_mstep_neg_not_op(), eight_bit_offset_branch_op(), move_mem_to_reg_movem_op(), move_reg_to_mem_movem_op(), move_to_preg_op(), muls_op(), mulu_op(), none_reg_mode_add_sub_cmp_and_or_move_op(), none_reg_mode_clear_test_op(), none_reg_mode_jump_op(), none_reg_mode_move_from_preg_op(), not_implemented_op(), quick_mode_add_sub_op(), quick_mode_and_cmp_move_or_op(), quick_mode_bdap_prefix(), reg_mode_add_sub_cmp_and_or_move_op(), reg_mode_clear_op(), reg_mode_jump_op(), reg_mode_move_from_preg_op(), reg_mode_test_op(), scc_op(), sixteen_bit_offset_branch_op(), three_operand_add_sub_cmp_and_or_op(), three_operand_bound_op(), two_operand_bound_op(), and xor_op().
Referenced by find_step_target().
|
static |
Definition at line 4001 of file cris-tdep.c.
References _, gdbarch_info::abfd, gdbarch_info::byte_order, core_addr_lessthan(), cris_breakpoint_from_pc(), cris_cannot_fetch_register(), cris_cannot_store_register(), cris_delayed_get_disassembler(), cris_dummy_id(), gdbarch_tdep::cris_dwarf2_cfi, cris_dwarf2_frame_init_reg(), cris_dwarf2_reg_to_regnum(), cris_frame_align(), gdbarch_tdep::cris_mode, cris_mode_guru, cris_push_dummy_call(), cris_push_dummy_code(), cris_register_name(), cris_register_type(), cris_return_value(), cris_skip_prologue(), cris_software_single_step(), cris_unwind_pc(), cris_unwind_sp(), gdbarch_tdep::cris_version, crisv32_cannot_fetch_register(), crisv32_cannot_store_register(), crisv32_register_name(), crisv32_register_type(), crisv32_single_step_through_delay(), dwarf2_append_unwinders(), dwarf2_frame_set_init_reg(), frame_base_set_default(), frame_unwind_append_unwinder(), gdbarch_list::gdbarch, gdbarch_alloc(), gdbarch_init_osabi(), gdbarch_list_lookup_by_info(), gdbarch_tdep(), internal_error(), gdbarch_list::next, set_gdbarch_breakpoint_from_pc(), set_gdbarch_cannot_fetch_register(), set_gdbarch_cannot_store_register(), set_gdbarch_double_bit(), set_gdbarch_dummy_id(), set_gdbarch_dwarf2_reg_to_regnum(), set_gdbarch_frame_align(), set_gdbarch_have_nonsteppable_watchpoint(), set_gdbarch_inner_than(), set_gdbarch_long_double_bit(), set_gdbarch_num_regs(), set_gdbarch_pc_regnum(), set_gdbarch_print_insn(), set_gdbarch_push_dummy_call(), set_gdbarch_push_dummy_code(), set_gdbarch_register_name(), set_gdbarch_register_type(), set_gdbarch_return_value(), set_gdbarch_single_step_through_delay(), set_gdbarch_skip_prologue(), set_gdbarch_software_single_step(), set_gdbarch_sp_regnum(), set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), usr_cmd_cris_dwarf2_cfi, usr_cmd_cris_mode, usr_cmd_cris_version, usr_cmd_cris_version_valid, and xmalloc().
Referenced by _initialize_cris_tdep().
|
static |
Definition at line 591 of file cris-tdep.c.
|
static |
Definition at line 579 of file cris-tdep.c.
Referenced by quick_mode_bdap_prefix().
|
static |
Definition at line 585 of file cris-tdep.c.
Referenced by eight_bit_offset_branch_op().
|
static |
Definition at line 597 of file cris-tdep.c.
Referenced by reg_mode_clear_op().
|
static |
Definition at line 547 of file cris-tdep.c.
Referenced by bdap_prefix(), check_assign(), cris_scan_prologue(), dip_prefix(), handle_inc_and_index_mode_for_aritm_op(), move_mem_to_reg_movem_op(), move_reg_to_mem_movem_op(), move_to_preg_op(), none_reg_mode_add_sub_cmp_and_or_move_op(), none_reg_mode_clear_test_op(), none_reg_mode_jump_op(), none_reg_mode_move_from_preg_op(), and two_operand_bound_op().
|
static |
Definition at line 553 of file cris-tdep.c.
Referenced by add_sub_cmp_and_or_move_action(), cris_scan_prologue(), get_data_from_address(), handle_inc_and_index_mode_for_aritm_op(), and reg_mode_add_sub_cmp_and_or_move_op().
|
static |
Definition at line 565 of file cris-tdep.c.
Referenced by addi_op(), asr_op(), bdap_prefix(), biap_prefix(), check_assign(), cris_scan_prologue(), dip_prefix(), handle_inc_and_index_mode_for_aritm_op(), handle_prefix_index_mode_for_aritm_op(), move_mem_to_reg_movem_op(), move_reg_to_mem_movem_op(), move_to_preg_op(), none_reg_mode_jump_op(), none_reg_mode_move_from_preg_op(), process_autoincrement(), reg_mode_add_sub_cmp_and_or_move_op(), reg_mode_jump_op(), reg_mode_move_from_preg_op(), three_operand_add_sub_cmp_and_or_op(), three_operand_bound_op(), and xor_op().
|
static |
Definition at line 541 of file cris-tdep.c.
Referenced by abs_op(), asr_op(), asrq_op(), bdap_prefix(), biap_prefix(), cris_scan_prologue(), dstep_logshift_mstep_neg_not_op(), handle_inc_and_index_mode_for_aritm_op(), handle_prefix_assign_mode_for_aritm_op(), handle_prefix_index_mode_for_aritm_op(), move_mem_to_reg_movem_op(), move_reg_to_mem_movem_op(), move_to_preg_op(), muls_op(), mulu_op(), none_reg_mode_move_from_preg_op(), quick_mode_add_sub_op(), quick_mode_and_cmp_move_or_op(), quick_mode_bdap_prefix(), reg_mode_add_sub_cmp_and_or_move_op(), reg_mode_clear_op(), reg_mode_move_from_preg_op(), scc_op(), three_operand_add_sub_cmp_and_or_op(), two_operand_bound_op(), and xor_op().
|
static |
Definition at line 573 of file cris-tdep.c.
Referenced by cris_scan_prologue(), quick_mode_add_sub_op(), and quick_mode_and_cmp_move_or_op().
|
static |
Definition at line 622 of file cris-tdep.c.
Referenced by cris_scan_prologue().
|
static |
Definition at line 559 of file cris-tdep.c.
Referenced by add_sub_cmp_and_or_move_action(), asr_op(), bdap_prefix(), biap_prefix(), cris_scan_prologue(), do_sign_or_zero_extend(), get_data_from_address(), handle_inc_and_index_mode_for_aritm_op(), none_reg_mode_clear_test_op(), and two_operand_bound_op().
|
static |
Definition at line 603 of file cris-tdep.c.
Referenced by do_sign_or_zero_extend().
|
static |
Definition at line 609 of file cris-tdep.c.
Referenced by ax_ei_setf_op().
|
static |
Definition at line 809 of file cris-tdep.c.
References ARG1_REGNUM, ARG4_REGNUM, stack_item::data, gdbarch_byte_order(), gdbarch_sp_regnum(), len, stack_item::len, pop_stack_item(), push_stack_item(), regcache_cooked_write(), regcache_cooked_write_unsigned(), SRP_REGNUM, store_unsigned_integer(), STR_REGNUM, TYPE_LENGTH, value_contents(), value_type(), and write_memory().
Referenced by cris_gdbarch_init().
|
static |
Definition at line 792 of file cris-tdep.c.
Referenced by cris_gdbarch_init().
Definition at line 1705 of file cris-tdep.c.
References cris_special_register_name(), gdbarch_num_regs(), and NUM_GENREGS.
Referenced by cris_gdbarch_init().
Definition at line 1474 of file cris-tdep.c.
References cris_spec_reg_applicable(), cris_spec_regs, gdbarch_num_regs(), gdbarch_pc_regnum(), gdbarch_tdep(), NUM_GENREGS, and NUM_SPECREGS.
Referenced by cris_cannot_fetch_register(), cris_cannot_store_register(), crisv32_cannot_fetch_register(), crisv32_cannot_store_register(), move_to_preg_op(), and none_reg_mode_move_from_preg_op().
Definition at line 1599 of file cris-tdep.c.
References builtin_type::builtin_data_ptr, builtin_type::builtin_func_ptr, builtin_type::builtin_int0, builtin_type(), builtin_type::builtin_uint16, builtin_type::builtin_uint32, builtin_type::builtin_uint8, CCR_REGNUM, CRIS_FP_REGNUM, gdbarch_pc_regnum(), gdbarch_sp_regnum(), MOF_REGNUM, P0_REGNUM, P4_REGNUM, USP_REGNUM, and VR_REGNUM.
Referenced by cris_gdbarch_init().
|
static |
Definition at line 1852 of file cris-tdep.c.
References cris_extract_return_value(), cris_store_return_value(), RETURN_VALUE_REGISTER_CONVENTION, RETURN_VALUE_STRUCT_CONVENTION, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_LENGTH.
Referenced by cris_gdbarch_init().
|
static |
Definition at line 223 of file cris-tdep.c.
References get_frame_pc(), rt_sigtramp_code, safe_frame_unwind_memory(), SIGTRAMP_INSN0, SIGTRAMP_INSN1, SIGTRAMP_LEN, and SIGTRAMP_OFFSET1.
Referenced by cris_sigcontext_addr(), and cris_sigtramp_frame_sniffer().
|
static |
Definition at line 1032 of file cris-tdep.c.
References trad_frame_saved_reg::addr, ARG4_REGNUM, cris_unwind_cache::base, gdbarch::byte_order, CRIS_FP_REGNUM, cris_get_mode(), cris_get_opcode(), cris_get_operand1(), cris_get_operand2(), cris_get_quick_value(), cris_get_signed_offset(), cris_get_size(), gdbarch_byte_order(), gdbarch_pc_regnum(), gdbarch_sp_regnum(), get_frame_arch(), get_frame_pc(), get_frame_register_unsigned(), cris_unwind_cache::leaf_function, PREFIX_ASSIGN_MODE, PREFIX_OFFSET_MODE, cris_unwind_cache::prev_sp, cris_unwind_cache::r8_offset, read_memory_unsigned_integer(), cris_unwind_cache::saved_regs, cris_unwind_cache::size, cris_unwind_cache::sp_offset, SRP_REGNUM, trad_frame_set_value(), and cris_unwind_cache::uses_frame.
Referenced by cris_frame_unwind_cache(), and cris_skip_prologue().
|
static |
Definition at line 615 of file cris-tdep.c.
Referenced by do_sign_or_zero_extend(), quick_mode_add_sub_op(), and quick_mode_and_cmp_move_or_op().
|
static |
Definition at line 251 of file cris-tdep.c.
References _, gdbarch::byte_order, cris_rt_sigtramp_start(), cris_sigtramp_start(), error(), extract_unsigned_integer(), gdbarch_byte_order(), gdbarch_sp_regnum(), get_frame_arch(), and get_frame_register().
Referenced by cris_sigtramp_frame_unwind_cache().
|
static |
Definition at line 418 of file cris-tdep.c.
References cris_frame_prev_register(), and cris_sigtramp_frame_unwind_cache().
|
static |
Definition at line 427 of file cris-tdep.c.
References cris_rt_sigtramp_start(), and cris_sigtramp_start().
|
static |
Definition at line 405 of file cris-tdep.c.
References cris_unwind_cache::base, cris_sigtramp_frame_unwind_cache(), frame_id_build(), and get_frame_pc().
|
static |
Definition at line 311 of file cris-tdep.c.
References ACR_REGNUM, trad_frame_saved_reg::addr, cris_unwind_cache::base, CCS_REGNUM, cris_sigcontext_addr(), gdbarch_tdep::cris_version, DCCR_REGNUM, EDA_REGNUM, ERP_REGNUM, EXS_REGNUM, extract_unsigned_integer(), FRAME_OBSTACK_ZALLOC, gdbarch_byte_order(), gdbarch_pc_regnum(), gdbarch_sp_regnum(), gdbarch_tdep(), get_frame_arch(), get_frame_register(), IRP_REGNUM, cris_unwind_cache::leaf_function, MOF_REGNUM, cris_unwind_cache::prev_sp, cris_unwind_cache::r8_offset, cris_unwind_cache::return_pc, cris_unwind_cache::saved_regs, cris_unwind_cache::size, cris_unwind_cache::sp_offset, SPC_REGNUM, SRP_REGNUM, SRS_REGNUM, trad_frame_alloc_saved_regs(), and cris_unwind_cache::uses_frame.
Referenced by cris_sigtramp_frame_prev_register(), and cris_sigtramp_frame_this_id().
|
static |
Definition at line 195 of file cris-tdep.c.
References get_frame_pc(), safe_frame_unwind_memory(), sigtramp_code, SIGTRAMP_INSN0, SIGTRAMP_INSN1, SIGTRAMP_LEN, and SIGTRAMP_OFFSET1.
Referenced by cris_sigcontext_addr(), and cris_sigtramp_frame_sniffer().
Definition at line 1364 of file cris-tdep.c.
References cris_scan_prologue(), gdbarch_tdep::cris_version, crisv32_scan_prologue(), symtab_and_line::end, find_pc_line(), find_pc_partial_function(), and gdbarch_tdep().
Referenced by cris_gdbarch_init().
|
static |
Definition at line 2076 of file cris-tdep.c.
References _, instruction_environment::branch_break_address, instruction_environment::branch_found, find_step_target(), gdbarch_pc_regnum(), get_frame_address_space(), get_frame_arch(), insert_single_step_breakpoint(), instruction_environment::reg, status, and warning().
Referenced by cris_gdbarch_init().
|
static |
Definition at line 1431 of file cris-tdep.c.
References gdbarch_tdep::cris_version, gdbarch_tdep(), and version.
Referenced by cris_register_size(), and cris_special_register_name().
Definition at line 1682 of file cris-tdep.c.
References cris_spec_reg_applicable(), cris_spec_regs, and NUM_GENREGS.
Referenced by cris_register_name(), and crisv32_register_name().
|
static |
Definition at line 1652 of file cris-tdep.c.
References _, ARG1_REGNUM, ARG2_REGNUM, gdbarch::byte_order, error(), extract_unsigned_integer(), gdbarch_byte_order(), get_regcache_arch(), len, regcache_cooked_write_unsigned(), and TYPE_LENGTH.
Referenced by cris_return_value().
|
static |
Definition at line 3828 of file cris-tdep.c.
References gdbarch_tdep::cris_version, ERP_REGNUM, fprintf_unfiltered(), gdb_stderr, gdbarch_pc_regnum(), gdbarch_tdep(), get_regcache_arch(), NUM_GENREGS, NUM_SPECREGS, and regcache_raw_supply().
Referenced by fetch_core_registers().
|
static |
Definition at line 1389 of file cris-tdep.c.
References frame_unwind_register_unsigned(), gdbarch_pc_regnum(), and symtab_and_line::pc.
Referenced by cris_gdbarch_init().
|
static |
Definition at line 1398 of file cris-tdep.c.
References frame_unwind_register_unsigned(), and gdbarch_sp_regnum().
Referenced by cris_gdbarch_init().
Definition at line 1558 of file cris-tdep.c.
References cris_register_size(), and gdbarch_num_regs().
Referenced by cris_gdbarch_init().
Definition at line 1568 of file cris-tdep.c.
References BZ_REGNUM, cris_register_size(), DZ_REGNUM, gdbarch_num_regs(), VR_REGNUM, and WZ_REGNUM.
Referenced by cris_gdbarch_init().
Definition at line 1730 of file cris-tdep.c.
References cris_special_register_name(), gdbarch_pc_regnum(), NUM_GENREGS, NUM_SPECREGS, S0_REGNUM, and S15_REGNUM.
Referenced by cris_gdbarch_init().
Definition at line 1620 of file cris-tdep.c.
References _, ACR_REGNUM, builtin_type::builtin_data_ptr, builtin_type::builtin_func_ptr, builtin_type::builtin_int0, builtin_type(), builtin_type::builtin_uint16, builtin_type::builtin_uint32, builtin_type::builtin_uint8, BZ_REGNUM, CRIS_FP_REGNUM, EXS_REGNUM, gdbarch_pc_regnum(), gdbarch_sp_regnum(), PID_REGNUM, S0_REGNUM, S15_REGNUM, SPC_REGNUM, SRS_REGNUM, VR_REGNUM, warning(), and WZ_REGNUM.
Referenced by cris_gdbarch_init().
|
static |
Definition at line 1319 of file cris-tdep.c.
References cris_unwind_cache::base, gdbarch_pc_regnum(), gdbarch_sp_regnum(), get_frame_arch(), get_frame_register_unsigned(), cris_unwind_cache::prev_sp, cris_unwind_cache::saved_regs, and SRP_REGNUM.
Referenced by cris_frame_unwind_cache(), and cris_skip_prologue().
|
static |
Definition at line 449 of file cris-tdep.c.
References breakpoint_here_p(), gdbarch_tdep::cris_mode, cris_mode_guru, ERP_REGNUM, gdbarch_tdep(), get_frame_address_space(), get_frame_register_unsigned(), and NRP_REGNUM.
Referenced by cris_gdbarch_init().
|
static |
Definition at line 2245 of file cris-tdep.c.
References AUTOINC_MODE, instruction_environment::byte_order, cris_get_mode(), cris_get_operand1(), instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::prefix_value, read_memory_unsigned_integer(), instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3279 of file cris-tdep.c.
References cris_get_size(), cris_is_signed_extend_bit_on(), cris_set_size_to_dword(), INST_WORD_SIZE, SIGNED_BYTE_EXTEND_MASK, SIGNED_BYTE_MASK, SIGNED_WORD_EXTEND_MASK, and SIGNED_WORD_MASK.
Referenced by get_data_from_address(), and reg_mode_add_sub_cmp_and_or_move_op().
|
static |
Definition at line 2741 of file cris-tdep.c.
References cris_get_operand2(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2279 of file cris-tdep.c.
References instruction_environment::branch_break_address, instruction_environment::branch_found, BRANCH_SIGNED_SHORT_OFFSET_MASK, cris_get_branch_short_offset(), instruction_environment::disable_interrupt, instruction_environment::invalid, offset, instruction_environment::prefix_found, instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3859 of file cris-tdep.c.
References _, cris_supply_gregset(), gdbarch_tdep::gregset, and warning().
|
static |
Definition at line 1965 of file cris-tdep.c.
References constraint(), and number_of_bits().
Referenced by find_step_target().
|
static |
Definition at line 2004 of file cris-tdep.c.
References instruction_environment::branch_found, gdbarch::byte_order, instruction_environment::byte_order, cris_gdb_func(), instruction_environment::delay_slot_pc, instruction_environment::delay_slot_pc_active, instruction_environment::disable_interrupt, find_cris_op(), gdbarch_byte_order(), gdbarch_pc_regnum(), get_frame_arch(), get_frame_register_unsigned(), instruction_environment::invalid, gdb.printing::long, NUM_GENREGS, NUM_SPECREGS, offset, instruction_environment::prefix_found, instruction_environment::preg, read_memory_unsigned_integer(), instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_software_single_step().
|
static |
Definition at line 3362 of file cris-tdep.c.
References cris_get_opcode(), cris_get_size(), do_sign_or_zero_extend(), read_memory_unsigned_integer(), SIGNED_EXTEND_BIT_MASK, and size.
Referenced by bdap_prefix(), handle_inc_and_index_mode_for_aritm_op(), handle_prefix_assign_mode_for_aritm_op(), and three_operand_add_sub_cmp_and_or_op().
|
static |
Definition at line 3478 of file cris-tdep.c.
References add_sub_cmp_and_or_move_action(), AUTOINC_MODE, instruction_environment::byte_order, cris_get_mode(), cris_get_opcode(), cris_get_operand1(), cris_get_operand2(), cris_get_size(), instruction_environment::disable_interrupt, get_data_from_address(), instruction_environment::prefix_found, process_autoincrement(), instruction_environment::reg, SIGNED_EXTEND_BIT_MASK, size, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by none_reg_mode_add_sub_cmp_and_or_move_op().
|
static |
Definition at line 3391 of file cris-tdep.c.
References add_sub_cmp_and_or_move_action(), instruction_environment::byte_order, check_assign(), cris_get_operand2(), instruction_environment::disable_interrupt, get_data_from_address(), instruction_environment::prefix_found, instruction_environment::prefix_value, instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by none_reg_mode_add_sub_cmp_and_or_move_op().
|
static |
Definition at line 3450 of file cris-tdep.c.
References cris_get_operand1(), cris_get_operand2(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, three_operand_add_sub_cmp_and_or_op(), and instruction_environment::xflag_found.
Referenced by none_reg_mode_add_sub_cmp_and_or_move_op().
|
static |
Definition at line 3012 of file cris-tdep.c.
References AUTOINC_MODE, instruction_environment::byte_order, cris_get_mode(), cris_get_operand1(), cris_get_operand2(), instruction_environment::disable_interrupt, instruction_environment::invalid, PREFIX_ASSIGN_MODE, instruction_environment::prefix_found, instruction_environment::prefix_value, read_memory_unsigned_integer(), instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3071 of file cris-tdep.c.
References AUTOINC_MODE, cris_get_mode(), cris_get_operand1(), cris_get_operand2(), instruction_environment::disable_interrupt, instruction_environment::invalid, PREFIX_ASSIGN_MODE, instruction_environment::prefix_found, instruction_environment::prefix_value, instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2865 of file cris-tdep.c.
References AUTOINC_MODE, check_assign(), cris_get_mode(), cris_get_operand1(), cris_get_operand2(), cris_register_size(), instruction_environment::disable_interrupt, INST_BYTE_SIZE, INST_DWORD_SIZE, INST_WORD_SIZE, instruction_environment::invalid, PREFIX_ASSIGN_MODE, instruction_environment::prefix_found, process_autoincrement(), instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3148 of file cris-tdep.c.
References cris_get_operand2(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3172 of file cris-tdep.c.
References cris_get_operand2(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3529 of file cris-tdep.c.
References cris_get_mode(), handle_inc_and_index_mode_for_aritm_op(), handle_prefix_assign_mode_for_aritm_op(), handle_prefix_index_mode_for_aritm_op(), instruction_environment::invalid, PREFIX_ASSIGN_MODE, instruction_environment::prefix_found, and PREFIX_INDEX_MODE.
Referenced by cris_gdb_func().
|
static |
Definition at line 2716 of file cris-tdep.c.
References AUTOINC_MODE, check_assign(), cris_get_mode(), cris_get_size(), instruction_environment::disable_interrupt, instruction_environment::prefix_found, process_autoincrement(), instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2819 of file cris-tdep.c.
References AUTOINC_MODE, instruction_environment::byte_order, check_assign(), cris_get_mode(), cris_get_operand1(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::prefix_value, read_memory_unsigned_integer(), instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2921 of file cris-tdep.c.
References AUTOINC_MODE, check_assign(), cris_get_mode(), cris_get_operand1(), cris_get_operand2(), cris_register_size(), instruction_environment::disable_interrupt, INST_BYTE_SIZE, INST_DWORD_SIZE, INST_WORD_SIZE, instruction_environment::invalid, PREFIX_ASSIGN_MODE, instruction_environment::prefix_found, process_autoincrement(), instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3111 of file cris-tdep.c.
References instruction_environment::invalid.
Referenced by cris_gdb_func().
Definition at line 1949 of file cris-tdep.c.
Referenced by find_cris_op().
|
static |
Definition at line 684 of file cris-tdep.c.
References stack_item::data, stack_item::prev, and xfree().
Referenced by cris_push_dummy_call().
|
static |
Definition at line 2138 of file cris-tdep.c.
References cris_get_operand1(), INST_BYTE_SIZE, INST_DWORD_SIZE, INST_WORD_SIZE, instruction_environment::invalid, and instruction_environment::reg.
Referenced by bdap_prefix(), handle_inc_and_index_mode_for_aritm_op(), move_to_preg_op(), none_reg_mode_clear_test_op(), none_reg_mode_move_from_preg_op(), and two_operand_bound_op().
|
static |
Definition at line 672 of file cris-tdep.c.
References stack_item::data, len, stack_item::len, stack_item::prev, and xmalloc().
Referenced by cris_push_dummy_call().
|
static |
Definition at line 3558 of file cris-tdep.c.
References add_sub_cmp_and_or_move_action(), cris_get_operand2(), cris_get_quick_value(), cris_set_size_to_dword(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3598 of file cris-tdep.c.
References add_sub_cmp_and_or_move_action(), cris_get_operand2(), cris_get_quick_value(), cris_set_size_to_dword(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::reg, SIGNED_QUICK_VALUE_EXTEND_MASK, SIGNED_QUICK_VALUE_MASK, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2114 of file cris-tdep.c.
References cris_get_bdap_quick_offset(), cris_get_operand2(), instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::prefix_value, instruction_environment::reg, and instruction_environment::slot_needed.
Referenced by cris_gdb_func().
|
static |
Definition at line 3317 of file cris-tdep.c.
References add_sub_cmp_and_or_move_action(), cris_get_opcode(), cris_get_operand1(), cris_get_operand2(), instruction_environment::disable_interrupt, do_sign_or_zero_extend(), instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2660 of file cris-tdep.c.
References cris_get_clear_size(), cris_get_operand2(), instruction_environment::delay_slot_pc, instruction_environment::delay_slot_pc_active, instruction_environment::disable_interrupt, INST_BYTE_SIZE, INST_DWORD_SIZE, INST_WORD_SIZE, instruction_environment::prefix_found, instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2798 of file cris-tdep.c.
References cris_get_operand1(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2977 of file cris-tdep.c.
References cris_get_operand1(), cris_get_operand2(), instruction_environment::delay_slot_pc, instruction_environment::delay_slot_pc_active, instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::preg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2697 of file cris-tdep.c.
References instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2779 of file cris-tdep.c.
References cris_get_operand2(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3988 of file cris-tdep.c.
References _, gdbarch_info_init(), gdbarch_update_p(), and internal_error().
Referenced by _initialize_cris_tdep().
|
static |
Definition at line 3975 of file cris-tdep.c.
References gdbarch_info_init(), gdbarch_update_p(), and internal_error().
Referenced by _initialize_cris_tdep().
|
static |
Definition at line 3960 of file cris-tdep.c.
References _, gdbarch_info_init(), gdbarch_update_p(), internal_error(), and usr_cmd_cris_version_valid.
Referenced by _initialize_cris_tdep().
|
static |
Definition at line 2316 of file cris-tdep.c.
References instruction_environment::branch_break_address, instruction_environment::branch_found, instruction_environment::byte_order, instruction_environment::disable_interrupt, instruction_environment::invalid, offset, instruction_environment::prefix_found, read_memory_integer(), instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3421 of file cris-tdep.c.
References add_sub_cmp_and_or_move_action(), instruction_environment::byte_order, cris_get_operand1(), cris_get_operand2(), instruction_environment::disable_interrupt, get_data_from_address(), instruction_environment::prefix_found, instruction_environment::prefix_value, instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func(), and handle_prefix_index_mode_for_aritm_op().
|
static |
Definition at line 2606 of file cris-tdep.c.
References cris_get_operand1(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 2573 of file cris-tdep.c.
References AUTOINC_MODE, check_assign(), cris_get_mode(), cris_get_operand2(), cris_get_size(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, process_autoincrement(), instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
|
static |
Definition at line 3119 of file cris-tdep.c.
References cris_get_operand1(), cris_get_operand2(), instruction_environment::disable_interrupt, instruction_environment::invalid, instruction_environment::prefix_found, instruction_environment::reg, instruction_environment::slot_needed, and instruction_environment::xflag_found.
Referenced by cris_gdb_func().
initialize_file_ftype _initialize_cris_tdep |
|
static |
Definition at line 3887 of file cris-tdep.c.
|
static |
Definition at line 947 of file cris-tdep.c.
|
static |
Definition at line 929 of file cris-tdep.c.
|
static |
Definition at line 154 of file cris-tdep.c.
Referenced by cris_breakpoint_from_pc(), cris_gdbarch_init(), and crisv32_single_step_through_delay().
|
static |
Definition at line 153 of file cris-tdep.c.
Definition at line 155 of file cris-tdep.c.
Referenced by _initialize_cris_tdep().
|
static |
Definition at line 438 of file cris-tdep.c.
const struct cris_spec_reg cris_spec_regs[] |
Referenced by constraint(), cris_register_size(), and cris_special_register_name().
|
static |
Definition at line 185 of file cris-tdep.c.
Referenced by cris_rt_sigtramp_start().
|
static |
Definition at line 175 of file cris-tdep.c.
Referenced by amd64_linux_sigtramp_start(), and cris_sigtramp_start().
|
static |
Definition at line 166 of file cris-tdep.c.
Referenced by _initialize_cris_tdep(), and cris_gdbarch_init().
|
static |
Definition at line 163 of file cris-tdep.c.
Referenced by _initialize_cris_tdep(), and cris_gdbarch_init().
|
static |
Definition at line 148 of file cris-tdep.c.
Referenced by _initialize_cris_tdep(), and cris_gdbarch_init().
|
static |
Definition at line 151 of file cris-tdep.c.
Referenced by cris_gdbarch_init(), and set_cris_version().