GDB (xrefs)
|
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "dwarf2/frame.h"
#include "trad-frame.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "value.h"
#include "inferior.h"
#include "dis-asm.h"
#include "symfile.h"
#include "objfiles.h"
#include "arch-utils.h"
#include "regcache.h"
#include "reggroups.h"
#include "gdbarch.h"
#include "target.h"
#include "opcode/m68hc11.h"
#include "elf/m68hc11.h"
#include "elf-bfd.h"
Go to the source code of this file.
Classes | |
struct | m68gc11_gdbarch_tdep |
struct | m68hc11_unwind_cache |
struct | m68hc11_soft_reg |
struct | insn_sequence |
Macros | |
#define | MSYMBOL_SET_RTC(msym) (msym)->set_target_flag_1 (true) |
#define | MSYMBOL_SET_RTI(msym) (msym)->set_target_flag_2 (true) |
#define | MSYMBOL_IS_RTC(msym) (msym)->target_flag_1 () |
#define | MSYMBOL_IS_RTI(msym) (msym)->target_flag_2 () |
#define | HARD_X_REGNUM 0 |
#define | HARD_D_REGNUM 1 |
#define | HARD_Y_REGNUM 2 |
#define | HARD_SP_REGNUM 3 |
#define | HARD_PC_REGNUM 4 |
#define | HARD_A_REGNUM 5 |
#define | HARD_B_REGNUM 6 |
#define | HARD_CCR_REGNUM 7 |
#define | HARD_PAGE_REGNUM 8 |
#define | M68HC11_LAST_HARD_REG (HARD_PAGE_REGNUM) |
#define | SOFT_Z_REGNUM 8 |
#define | SOFT_FP_REGNUM 9 |
#define | SOFT_TMP_REGNUM 10 |
#define | SOFT_ZS_REGNUM 11 |
#define | SOFT_XY_REGNUM 12 |
#define | SOFT_UNUSED_REGNUM 13 |
#define | SOFT_D1_REGNUM 14 |
#define | SOFT_D32_REGNUM (SOFT_D1_REGNUM+31) |
#define | M68HC11_MAX_SOFT_REGS 32 |
#define | M68HC11_NUM_REGS (M68HC11_LAST_HARD_REG + 1) |
#define | M68HC11_NUM_PSEUDO_REGS (M68HC11_MAX_SOFT_REGS+5) |
#define | M68HC11_ALL_REGS (M68HC11_NUM_REGS+M68HC11_NUM_PSEUDO_REGS) |
#define | M68HC11_REG_SIZE (2) |
#define | M68HC12_NUM_REGS (9) |
#define | M68HC12_NUM_PSEUDO_REGS ((M68HC11_MAX_SOFT_REGS+5)+1-1) |
#define | M68HC12_HARD_PC_REGNUM (SOFT_D32_REGNUM+1) |
#define | M68HC11_FP_ADDR soft_regs[SOFT_FP_REGNUM].addr |
#define | MAX_CODES 12 |
#define | M6811_OP_PAGE2 (0x18) |
#define | M6811_OP_LDX (0xde) |
#define | M6811_OP_LDX_EXT (0xfe) |
#define | M6811_OP_PSHX (0x3c) |
#define | M6811_OP_STS (0x9f) |
#define | M6811_OP_STS_EXT (0xbf) |
#define | M6811_OP_TSX (0x30) |
#define | M6811_OP_XGDX (0x8f) |
#define | M6811_OP_ADDD (0xc3) |
#define | M6811_OP_TXS (0x35) |
#define | M6811_OP_DES (0x34) |
#define | M6812_OP_PAGE2 (0x18) |
#define | M6812_OP_MOVW (0x01) |
#define | M6812_PB_PSHW (0xae) |
#define | M6812_OP_STS (0x5f) |
#define | M6812_OP_STS_EXT (0x7f) |
#define | M6812_OP_LEAS (0x1b) |
#define | M6812_OP_PSHX (0x34) |
#define | M6812_OP_PSHY (0x35) |
#define | OP_DIRECT (0x100) /* 8-byte direct addressing. */ |
#define | OP_IMM_LOW (0x200) /* Low part of 16-bit constant/address. */ |
#define | OP_IMM_HIGH (0x300) /* High part of 16-bit constant/address. */ |
#define | OP_PBYTE (0x400) /* 68HC12 indexed operand. */ |
Enumerations | |
enum | insn_return_kind { RETURN_RTS , RETURN_RTC , RETURN_RTI } |
Functions | |
static int | stack_correction (gdbarch *arch) |
static int | use_page_register (gdbarch *arch) |
static void | m68hc11_get_register_info (struct m68hc11_soft_reg *reg, const char *name) |
static void | m68hc11_initialize_register_info (void) |
static int | m68hc11_which_soft_register (CORE_ADDR addr) |
static enum register_status | m68hc11_pseudo_register_read (struct gdbarch *gdbarch, readable_regcache *regcache, int regno, gdb_byte *buf) |
static void | m68hc11_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, int regno, const gdb_byte *buf) |
static const char * | m68hc11_register_name (struct gdbarch *gdbarch, int reg_nr) |
typedef | BP_MANIPULATION (m68hc11_break_insn) |
static struct insn_sequence * | m68hc11_analyze_instruction (struct gdbarch *gdbarch, struct insn_sequence *seq, CORE_ADDR pc, CORE_ADDR *val) |
static enum insn_return_kind | m68hc11_get_return_insn (CORE_ADDR pc) |
static CORE_ADDR | m68hc11_scan_prologue (struct gdbarch *gdbarch, CORE_ADDR pc, CORE_ADDR current_pc, struct m68hc11_unwind_cache *info) |
static CORE_ADDR | m68hc11_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc) |
static struct m68hc11_unwind_cache * | m68hc11_frame_unwind_cache (frame_info_ptr this_frame, void **this_prologue_cache) |
static void | m68hc11_frame_this_id (frame_info_ptr this_frame, void **this_prologue_cache, struct frame_id *this_id) |
static struct value * | m68hc11_frame_prev_register (frame_info_ptr this_frame, void **this_prologue_cache, int regnum) |
static CORE_ADDR | m68hc11_frame_base_address (frame_info_ptr this_frame, void **this_cache) |
static CORE_ADDR | m68hc11_frame_args_address (frame_info_ptr this_frame, void **this_cache) |
static struct frame_id | m68hc11_dummy_id (struct gdbarch *gdbarch, frame_info_ptr this_frame) |
static void | m68hc11_print_register (struct gdbarch *gdbarch, struct ui_file *file, frame_info_ptr frame, int regno) |
static void | m68hc11_print_registers_info (struct gdbarch *gdbarch, struct ui_file *file, frame_info_ptr frame, int regno, int cpregs) |
static CORE_ADDR | m68hc11_push_dummy_call (struct gdbarch *gdbarch, struct value *function, struct regcache *regcache, CORE_ADDR bp_addr, int nargs, struct value **args, CORE_ADDR sp, function_call_return_method return_method, CORE_ADDR struct_addr) |
static struct type * | m68hc11_register_type (struct gdbarch *gdbarch, int reg_nr) |
static void | m68hc11_store_return_value (struct type *type, struct regcache *regcache, const gdb_byte *valbuf) |
static void | m68hc11_extract_return_value (struct type *type, struct regcache *regcache, void *valbuf) |
static enum return_value_convention | m68hc11_return_value (struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) |
static void | m68hc11_elf_make_msymbol_special (asymbol *sym, struct minimal_symbol *msym) |
static void | m68hc11_init_reggroups (void) |
static void | m68hc11_add_reggroups (struct gdbarch *gdbarch) |
static int | m68hc11_register_reggroup_p (struct gdbarch *gdbarch, int regnum, const struct reggroup *group) |
static struct gdbarch * | m68hc11_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) |
void | _initialize_m68hc11_tdep () |
Variables | |
static const char * | m68hc11_register_names [] |
static struct m68hc11_soft_reg | soft_regs [M68HC11_ALL_REGS] |
static int | soft_min_addr |
static int | soft_max_addr |
static int | soft_reg_initialized = 0 |
constexpr gdb_byte | m68hc11_break_insn [] = {0x0} |
static struct insn_sequence | m6811_prologue [] |
static struct insn_sequence | m6812_prologue [] |
static const struct frame_unwind | m68hc11_frame_unwind |
static const struct frame_base | m68hc11_frame_base |
static const reggroup * | m68hc11_soft_reggroup |
static const reggroup * | m68hc11_hard_reggroup |
#define HARD_A_REGNUM 5 |
Definition at line 87 of file m68hc11-tdep.c.
Referenced by m68hc11_print_register(), and m68hc11_register_type().
#define HARD_B_REGNUM 6 |
Definition at line 88 of file m68hc11-tdep.c.
Referenced by m68hc11_print_register(), and m68hc11_register_type().
#define HARD_CCR_REGNUM 7 |
Definition at line 89 of file m68hc11-tdep.c.
Referenced by m68hc11_frame_unwind_cache(), m68hc11_print_register(), m68hc11_print_registers_info(), m68hc11_register_reggroup_p(), and m68hc11_register_type().
#define HARD_D_REGNUM 1 |
Definition at line 82 of file m68hc11-tdep.c.
Referenced by m68hc11_extract_return_value(), m68hc11_frame_unwind_cache(), m68hc11_print_registers_info(), m68hc11_push_dummy_call(), m68hc11_register_reggroup_p(), and m68hc11_store_return_value().
#define HARD_PAGE_REGNUM 8 |
Definition at line 96 of file m68hc11-tdep.c.
Referenced by m68hc11_frame_prev_register(), m68hc11_frame_unwind_cache(), m68hc11_print_register(), m68hc11_print_registers_info(), m68hc11_pseudo_register_read(), m68hc11_pseudo_register_write(), and m68hc11_register_type().
#define HARD_PC_REGNUM 4 |
Definition at line 85 of file m68hc11-tdep.c.
Referenced by m68hc11_frame_prev_register(), m68hc11_frame_unwind_cache(), m68hc11_gdbarch_init(), m68hc11_print_register(), m68hc11_print_registers_info(), m68hc11_pseudo_register_read(), m68hc11_pseudo_register_write(), m68hc11_register_name(), and m68hc11_register_reggroup_p().
#define HARD_SP_REGNUM 3 |
Definition at line 84 of file m68hc11-tdep.c.
Referenced by m68hc11_frame_unwind_cache(), m68hc11_gdbarch_init(), m68hc11_print_register(), m68hc11_print_registers_info(), m68hc11_push_dummy_call(), and m68hc11_register_reggroup_p().
#define HARD_X_REGNUM 0 |
Definition at line 81 of file m68hc11-tdep.c.
Referenced by m68hc11_extract_return_value(), m68hc11_frame_unwind_cache(), m68hc11_print_registers_info(), m68hc11_push_dummy_call(), m68hc11_register_reggroup_p(), and m68hc11_store_return_value().
#define HARD_Y_REGNUM 2 |
Definition at line 83 of file m68hc11-tdep.c.
Referenced by m68hc11_frame_unwind_cache(), m68hc11_print_registers_info(), and m68hc11_register_reggroup_p().
#define M6811_OP_ADDD (0xc3) |
#define M6811_OP_DES (0x34) |
#define M6811_OP_LDX (0xde) |
#define M6811_OP_LDX_EXT (0xfe) |
#define M6811_OP_PAGE2 (0x18) |
#define M6811_OP_PSHX (0x3c) |
#define M6811_OP_STS (0x9f) |
#define M6811_OP_STS_EXT (0xbf) |
#define M6811_OP_TSX (0x30) |
#define M6811_OP_TXS (0x35) |
#define M6811_OP_XGDX (0x8f) |
#define M6812_OP_LEAS (0x1b) |
#define M6812_OP_MOVW (0x01) |
#define M6812_OP_PAGE2 (0x18) |
#define M6812_OP_PSHX (0x34) |
#define M6812_OP_PSHY (0x35) |
#define M6812_OP_STS (0x5f) |
#define M6812_OP_STS_EXT (0x7f) |
#define M6812_PB_PSHW (0xae) |
#define M68HC11_ALL_REGS (M68HC11_NUM_REGS+M68HC11_NUM_PSEUDO_REGS) |
Definition at line 118 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info(), m68hc11_print_registers_info(), m68hc11_register_name(), and m68hc11_which_soft_register().
#define M68HC11_FP_ADDR soft_regs[SOFT_FP_REGNUM].addr |
Definition at line 201 of file m68hc11-tdep.c.
#define M68HC11_LAST_HARD_REG (HARD_PAGE_REGNUM) |
Definition at line 97 of file m68hc11-tdep.c.
Referenced by m68hc11_register_name().
#define M68HC11_MAX_SOFT_REGS 32 |
Definition at line 114 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info().
#define M68HC11_NUM_PSEUDO_REGS (M68HC11_MAX_SOFT_REGS+5) |
Definition at line 117 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
#define M68HC11_NUM_REGS (M68HC11_LAST_HARD_REG + 1) |
Definition at line 116 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
#define M68HC11_REG_SIZE (2) |
Definition at line 120 of file m68hc11-tdep.c.
Referenced by m68hc11_extract_return_value().
#define M68HC12_HARD_PC_REGNUM (SOFT_D32_REGNUM+1) |
Definition at line 124 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init(), m68hc11_print_register(), m68hc11_pseudo_register_read(), m68hc11_pseudo_register_write(), m68hc11_register_name(), and m68hc11_register_type().
#define M68HC12_NUM_PSEUDO_REGS ((M68HC11_MAX_SOFT_REGS+5)+1-1) |
Definition at line 123 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
#define M68HC12_NUM_REGS (9) |
Definition at line 122 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
#define MAX_CODES 12 |
#define MSYMBOL_IS_RTC | ( | msym | ) | (msym)->target_flag_1 () |
Definition at line 66 of file m68hc11-tdep.c.
Referenced by m68hc11_get_return_insn().
#define MSYMBOL_IS_RTI | ( | msym | ) | (msym)->target_flag_2 () |
Definition at line 69 of file m68hc11-tdep.c.
Referenced by m68hc11_get_return_insn().
#define MSYMBOL_SET_RTC | ( | msym | ) | (msym)->set_target_flag_1 (true) |
Definition at line 60 of file m68hc11-tdep.c.
Referenced by m68hc11_elf_make_msymbol_special().
#define MSYMBOL_SET_RTI | ( | msym | ) | (msym)->set_target_flag_2 (true) |
Definition at line 63 of file m68hc11-tdep.c.
Referenced by m68hc11_elf_make_msymbol_special().
#define OP_DIRECT (0x100) /* 8-byte direct addressing. */ |
#define OP_IMM_HIGH (0x300) /* High part of 16-bit constant/address. */ |
#define OP_IMM_LOW (0x200) /* Low part of 16-bit constant/address. */ |
#define OP_PBYTE (0x400) /* 68HC12 indexed operand. */ |
#define SOFT_D1_REGNUM 14 |
Definition at line 112 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info(), m68hc11_print_registers_info(), and m68hc11_register_reggroup_p().
#define SOFT_D32_REGNUM (SOFT_D1_REGNUM+31) |
Definition at line 113 of file m68hc11-tdep.c.
#define SOFT_FP_REGNUM 9 |
Definition at line 107 of file m68hc11-tdep.c.
Referenced by m68hc11_dummy_id(), m68hc11_frame_unwind_cache(), m68hc11_initialize_register_info(), m68hc11_print_register(), m68hc11_print_registers_info(), m68hc11_push_dummy_call(), m68hc11_register_reggroup_p(), and m68hc11_which_soft_register().
#define SOFT_TMP_REGNUM 10 |
Definition at line 108 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info(), and m68hc11_register_reggroup_p().
#define SOFT_UNUSED_REGNUM 13 |
Definition at line 111 of file m68hc11-tdep.c.
#define SOFT_XY_REGNUM 12 |
Definition at line 110 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info(), and m68hc11_register_reggroup_p().
#define SOFT_Z_REGNUM 8 |
Definition at line 102 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info().
#define SOFT_ZS_REGNUM 11 |
Definition at line 109 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info(), and m68hc11_register_reggroup_p().
enum insn_return_kind |
Enumerator | |
---|---|
RETURN_RTS | |
RETURN_RTC | |
RETURN_RTI |
Definition at line 72 of file m68hc11-tdep.c.
void _initialize_m68hc11_tdep | ( | ) |
Definition at line 1532 of file m68hc11-tdep.c.
References gdbarch_register(), m68hc11_gdbarch_init(), and m68hc11_init_reggroups().
typedef BP_MANIPULATION | ( | m68hc11_break_insn | ) |
Definition at line 407 of file m68hc11-tdep.c.
|
static |
Definition at line 1357 of file m68hc11-tdep.c.
References m68hc11_hard_reggroup, m68hc11_soft_reggroup, and reggroup_add().
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 511 of file m68hc11-tdep.c.
References insn_sequence::code, gdbarch_byte_order(), insn_sequence::length, MAX_CODES, OP_DIRECT, OP_IMM_HIGH, OP_IMM_LOW, OP_PBYTE, read_memory_unsigned_integer(), and insn_sequence::type.
Referenced by m68hc11_scan_prologue().
|
static |
Definition at line 986 of file m68hc11-tdep.c.
References frame_id_build(), get_frame_pc(), get_frame_register_unsigned(), and SOFT_FP_REGNUM.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 1331 of file m68hc11-tdep.c.
References flags, MSYMBOL_SET_RTC, and MSYMBOL_SET_RTI.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 1274 of file m68hc11-tdep.c.
References HARD_D_REGNUM, HARD_X_REGNUM, type::length(), M68HC11_REG_SIZE, and readable_regcache::raw_read().
Referenced by m68hc11_return_value().
|
static |
Definition at line 959 of file m68hc11-tdep.c.
References m68hc11_frame_unwind_cache(), RETURN_RTC, and RETURN_RTI.
|
static |
Definition at line 950 of file m68hc11-tdep.c.
References m68hc11_frame_unwind_cache().
|
static |
Definition at line 902 of file m68hc11-tdep.c.
References frame_unwind_got_constant(), get_frame_arch(), HARD_PAGE_REGNUM, HARD_PC_REGNUM, m68hc11_frame_unwind_cache(), m68hc11_unwind_cache::pc, regnum, release_value(), RETURN_RTC, trad_frame_get_prev_register(), use_page_register(), value, and value_as_long().
|
static |
Definition at line 877 of file m68hc11-tdep.c.
References m68hc11_unwind_cache::base, frame_id_build(), func, get_frame_func(), and m68hc11_frame_unwind_cache().
|
static |
Definition at line 780 of file m68hc11-tdep.c.
References FRAME_OBSTACK_ZALLOC, gdbarch_num_cooked_regs(), get_frame_arch(), get_frame_func(), get_frame_pc(), get_frame_register_unsigned(), HARD_CCR_REGNUM, HARD_D_REGNUM, HARD_PAGE_REGNUM, HARD_PC_REGNUM, HARD_SP_REGNUM, HARD_X_REGNUM, HARD_Y_REGNUM, m68hc11_get_return_insn(), m68hc11_scan_prologue(), name, m68hc11_unwind_cache::prev_sp, RETURN_RTC, RETURN_RTI, SOFT_FP_REGNUM, soft_regs, stack_correction(), and trad_frame_alloc_saved_regs().
Referenced by m68hc11_frame_args_address(), m68hc11_frame_base_address(), m68hc11_frame_prev_register(), and m68hc11_frame_this_id().
|
static |
Definition at line 1396 of file m68hc11-tdep.c.
References arches, core_addr_lessthan(), dwarf2_append_unwinders(), m68gc11_gdbarch_tdep::elf_flags, floatformats_ieee_double, floatformats_ieee_single, frame_base_set_default(), frame_unwind_append_unwinder(), gdbarch_alloc(), gdbarch_list_lookup_by_info(), HARD_PC_REGNUM, HARD_SP_REGNUM, gdbarch::info(), m6811_prologue, m6812_prologue, m68hc11_add_reggroups(), m68hc11_dummy_id(), m68hc11_elf_make_msymbol_special(), m68hc11_frame_base, m68hc11_frame_unwind, M68HC11_NUM_PSEUDO_REGS, M68HC11_NUM_REGS, m68hc11_print_registers_info(), m68hc11_pseudo_register_read(), m68hc11_pseudo_register_write(), m68hc11_push_dummy_call(), m68hc11_register_name(), m68hc11_register_reggroup_p(), m68hc11_register_type(), m68hc11_return_value(), m68hc11_skip_prologue(), M68HC12_HARD_PC_REGNUM, M68HC12_NUM_PSEUDO_REGS, M68HC12_NUM_REGS, m68gc11_gdbarch_tdep::prologue, set_gdbarch_addr_bit(), set_gdbarch_believe_pcc_promotion(), set_gdbarch_breakpoint_kind_from_pc(), set_gdbarch_char_signed(), set_gdbarch_double_bit(), set_gdbarch_double_format(), set_gdbarch_dummy_id(), set_gdbarch_elf_make_msymbol_special(), set_gdbarch_float_bit(), set_gdbarch_fp0_regnum(), set_gdbarch_inner_than(), set_gdbarch_int_bit(), set_gdbarch_long_bit(), set_gdbarch_long_double_bit(), set_gdbarch_long_long_bit(), set_gdbarch_num_pseudo_regs(), set_gdbarch_num_regs(), set_gdbarch_pc_regnum(), set_gdbarch_print_registers_info(), set_gdbarch_pseudo_register_read(), set_gdbarch_pseudo_register_write(), set_gdbarch_ptr_bit(), set_gdbarch_push_dummy_call(), set_gdbarch_register_name(), set_gdbarch_register_reggroup_p(), set_gdbarch_register_type(), set_gdbarch_return_value(), set_gdbarch_short_bit(), set_gdbarch_skip_prologue(), set_gdbarch_sp_regnum(), set_gdbarch_sw_breakpoint_from_kind(), soft_reg_initialized, m68gc11_gdbarch_tdep::stack_correction, and m68gc11_gdbarch_tdep::use_page_register.
Referenced by _initialize_m68hc11_tdep().
|
static |
Definition at line 211 of file m68hc11-tdep.c.
References m68hc11_soft_reg::addr, lookup_minimal_symbol(), bound_minimal_symbol::minsym, name, m68hc11_soft_reg::name, soft_max_addr, soft_min_addr, and bound_minimal_symbol::value_address().
Referenced by m68hc11_initialize_register_info().
|
static |
Definition at line 592 of file m68hc11-tdep.c.
References lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, MSYMBOL_IS_RTC, MSYMBOL_IS_RTI, RETURN_RTC, RETURN_RTI, and RETURN_RTS.
Referenced by m68hc11_frame_unwind_cache().
|
static |
Definition at line 1350 of file m68hc11-tdep.c.
References m68hc11_hard_reggroup, m68hc11_soft_reggroup, reggroup_new(), and USER_REGGROUP.
Referenced by _initialize_m68hc11_tdep().
|
static |
Definition at line 237 of file m68hc11-tdep.c.
References M68HC11_ALL_REGS, m68hc11_get_register_info(), M68HC11_MAX_SOFT_REGS, name, m68hc11_soft_reg::name, SOFT_D1_REGNUM, SOFT_FP_REGNUM, soft_max_addr, soft_min_addr, soft_reg_initialized, soft_regs, SOFT_TMP_REGNUM, SOFT_XY_REGNUM, SOFT_Z_REGNUM, and SOFT_ZS_REGNUM.
Referenced by m68hc11_pseudo_register_read(), m68hc11_pseudo_register_write(), m68hc11_register_name(), and m68hc11_scan_prologue().
|
static |
Definition at line 999 of file m68hc11-tdep.c.
References gdb_printf(), get_frame_register_signed(), get_frame_register_unsigned(), HARD_A_REGNUM, HARD_B_REGNUM, HARD_CCR_REGNUM, HARD_PAGE_REGNUM, HARD_PC_REGNUM, HARD_SP_REGNUM, M68HC12_HARD_PC_REGNUM, print_longest(), SOFT_FP_REGNUM, and m68gc11_gdbarch_tdep::use_page_register.
Referenced by m68hc11_print_registers_info().
|
static |
Definition at line 1086 of file m68hc11-tdep.c.
References gdb_printf(), gdbarch_register_name(), HARD_CCR_REGNUM, HARD_D_REGNUM, HARD_PAGE_REGNUM, HARD_PC_REGNUM, HARD_SP_REGNUM, HARD_X_REGNUM, HARD_Y_REGNUM, M68HC11_ALL_REGS, m68hc11_print_register(), name, SOFT_D1_REGNUM, SOFT_FP_REGNUM, soft_regs, and m68gc11_gdbarch_tdep::use_page_register.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 293 of file m68hc11-tdep.c.
References readable_regcache::cooked_read(), gdbarch_byte_order(), HARD_PAGE_REGNUM, HARD_PC_REGNUM, m68hc11_initialize_register_info(), M68HC12_HARD_PC_REGNUM, name, soft_regs, status, store_unsigned_integer(), and target_read_memory().
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 341 of file m68hc11-tdep.c.
References extract_unsigned_integer(), gdbarch_byte_order(), HARD_PAGE_REGNUM, HARD_PC_REGNUM, m68hc11_initialize_register_info(), M68HC12_HARD_PC_REGNUM, name, regcache_cooked_write_unsigned(), soft_regs, and target_write_memory().
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 1155 of file m68hc11-tdep.c.
References extract_unsigned_integer(), gdbarch_byte_order(), HARD_D_REGNUM, HARD_SP_REGNUM, HARD_X_REGNUM, type::length(), regcache_cooked_write_unsigned(), return_method_struct, SOFT_FP_REGNUM, stack_correction(), store_unsigned_integer(), type, and write_memory().
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 384 of file m68hc11-tdep.c.
References HARD_PC_REGNUM, M68HC11_ALL_REGS, m68hc11_initialize_register_info(), M68HC11_LAST_HARD_REG, m68hc11_register_names, M68HC12_HARD_PC_REGNUM, name, soft_regs, and use_page_register().
Referenced by m68hc11_gdbarch_init(), and m68hc11_register_reggroup_p().
|
static |
Definition at line 1364 of file m68hc11-tdep.c.
References default_register_reggroup_p(), gdbarch_num_regs(), HARD_CCR_REGNUM, HARD_D_REGNUM, HARD_PC_REGNUM, HARD_SP_REGNUM, HARD_X_REGNUM, HARD_Y_REGNUM, m68hc11_hard_reggroup, m68hc11_register_name(), m68hc11_soft_reggroup, regnum, restore_reggroup, save_reggroup, SOFT_D1_REGNUM, SOFT_FP_REGNUM, SOFT_TMP_REGNUM, SOFT_XY_REGNUM, and SOFT_ZS_REGNUM.
Referenced by m68hc11_gdbarch_init().
Definition at line 1231 of file m68hc11-tdep.c.
References builtin_type(), builtin_type::builtin_uint16, builtin_type::builtin_uint32, builtin_type::builtin_uint8, HARD_A_REGNUM, HARD_B_REGNUM, HARD_CCR_REGNUM, HARD_PAGE_REGNUM, and M68HC12_HARD_PC_REGNUM.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 1308 of file m68hc11-tdep.c.
References type::code(), type::length(), m68hc11_extract_return_value(), m68hc11_store_return_value(), RETURN_VALUE_REGISTER_CONVENTION, and RETURN_VALUE_STRUCT_CONVENTION.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 617 of file m68hc11-tdep.c.
References insn_sequence::length, m68hc11_analyze_instruction(), m68hc11_initialize_register_info(), m68hc11_which_soft_register(), m68gc11_gdbarch_tdep::prologue, size, and insn_sequence::type.
Referenced by m68hc11_frame_unwind_cache(), and m68hc11_skip_prologue().
|
static |
Definition at line 753 of file m68hc11-tdep.c.
References symtab_and_line::end, find_pc_line(), find_pc_partial_function(), m68hc11_scan_prologue(), and m68hc11_unwind_cache::pc.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 1250 of file m68hc11-tdep.c.
References HARD_D_REGNUM, HARD_X_REGNUM, type::length(), regcache::raw_write(), and regcache::raw_write_part().
Referenced by m68hc11_return_value().
|
static |
Definition at line 274 of file m68hc11-tdep.c.
References M68HC11_ALL_REGS, name, SOFT_FP_REGNUM, soft_max_addr, and soft_regs.
Referenced by m68hc11_scan_prologue().
|
static |
Definition at line 147 of file m68hc11-tdep.c.
References m68gc11_gdbarch_tdep::stack_correction.
Referenced by m68hc11_frame_unwind_cache(), and m68hc11_push_dummy_call().
|
static |
Definition at line 154 of file m68hc11-tdep.c.
References m68gc11_gdbarch_tdep::stack_correction.
Referenced by m68hc11_frame_prev_register(), and m68hc11_register_name().
|
static |
Definition at line 461 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 495 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
|
constexpr |
Definition at line 405 of file m68hc11-tdep.c.
|
static |
Definition at line 974 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 939 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 1347 of file m68hc11-tdep.c.
Referenced by m68hc11_add_reggroups(), m68hc11_init_reggroups(), and m68hc11_register_reggroup_p().
|
static |
Definition at line 182 of file m68hc11-tdep.c.
Referenced by m68hc11_register_name().
|
static |
Definition at line 1346 of file m68hc11-tdep.c.
Referenced by m68hc11_add_reggroups(), m68hc11_init_reggroups(), and m68hc11_register_reggroup_p().
|
static |
Definition at line 204 of file m68hc11-tdep.c.
Referenced by m68hc11_get_register_info(), m68hc11_initialize_register_info(), and m68hc11_which_soft_register().
|
static |
Definition at line 203 of file m68hc11-tdep.c.
Referenced by m68hc11_get_register_info(), and m68hc11_initialize_register_info().
|
static |
Definition at line 205 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init(), and m68hc11_initialize_register_info().
|
static |
Definition at line 199 of file m68hc11-tdep.c.
Referenced by m68hc11_frame_unwind_cache(), m68hc11_initialize_register_info(), m68hc11_print_registers_info(), m68hc11_pseudo_register_read(), m68hc11_pseudo_register_write(), m68hc11_register_name(), and m68hc11_which_soft_register().