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 "target.h"
#include "opcode/m68hc11.h"
#include "elf/m68hc11.h"
#include "elf-bfd.h"
Go to the source code of this file.
Classes | |
struct | gdbarch_tdep |
struct | m68hc11_unwind_cache |
struct | m68hc11_soft_reg |
struct | insn_sequence |
Enumerations | |
enum | insn_return_kind { RETURN_RTS, RETURN_RTC, RETURN_RTI } |
enum | m6811_seq_type { P_LAST = 0, P_SAVE_REG, P_SET_FRAME, P_LOCAL_1, P_LOCAL_2, P_LOCAL_N } |
Variables | |
static 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 |
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 struct reggroup * | m68hc11_soft_reggroup |
static struct reggroup * | m68hc11_hard_reggroup |
initialize_file_ftype | _initialize_m68hc11_tdep |
#define HARD_A_REGNUM 5 |
Definition at line 86 of file m68hc11-tdep.c.
Referenced by m68hc11_print_register(), and m68hc11_register_type().
#define HARD_B_REGNUM 6 |
Definition at line 87 of file m68hc11-tdep.c.
Referenced by m68hc11_print_register(), and m68hc11_register_type().
#define HARD_CCR_REGNUM 7 |
Definition at line 88 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 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_PAGE_REGNUM 8 |
Definition at line 95 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 84 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 83 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(), m68hc11_register_reggroup_p(), and m68hc11_unwind_sp().
#define HARD_X_REGNUM 0 |
Definition at line 80 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 82 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) |
Definition at line 418 of file m68hc11-tdep.c.
#define M6811_OP_DES (0x34) |
Definition at line 420 of file m68hc11-tdep.c.
#define M6811_OP_LDX (0xde) |
Definition at line 411 of file m68hc11-tdep.c.
#define M6811_OP_LDX_EXT (0xfe) |
Definition at line 412 of file m68hc11-tdep.c.
#define M6811_OP_PAGE2 (0x18) |
Definition at line 410 of file m68hc11-tdep.c.
#define M6811_OP_PSHX (0x3c) |
Definition at line 413 of file m68hc11-tdep.c.
#define M6811_OP_STS (0x9f) |
Definition at line 414 of file m68hc11-tdep.c.
#define M6811_OP_STS_EXT (0xbf) |
Definition at line 415 of file m68hc11-tdep.c.
#define M6811_OP_TSX (0x30) |
Definition at line 416 of file m68hc11-tdep.c.
#define M6811_OP_TXS (0x35) |
Definition at line 419 of file m68hc11-tdep.c.
#define M6811_OP_XGDX (0x8f) |
Definition at line 417 of file m68hc11-tdep.c.
#define M6812_OP_LEAS (0x1b) |
Definition at line 428 of file m68hc11-tdep.c.
#define M6812_OP_MOVW (0x01) |
Definition at line 424 of file m68hc11-tdep.c.
#define M6812_OP_PAGE2 (0x18) |
Definition at line 423 of file m68hc11-tdep.c.
#define M6812_OP_PSHX (0x34) |
Definition at line 429 of file m68hc11-tdep.c.
#define M6812_OP_PSHY (0x35) |
Definition at line 430 of file m68hc11-tdep.c.
#define M6812_OP_STS (0x5f) |
Definition at line 426 of file m68hc11-tdep.c.
#define M6812_OP_STS_EXT (0x7f) |
Definition at line 427 of file m68hc11-tdep.c.
#define M6812_PB_PSHW (0xae) |
Definition at line 425 of file m68hc11-tdep.c.
#define M68HC11_ALL_REGS (M68HC11_NUM_REGS+M68HC11_NUM_PSEUDO_REGS) |
Definition at line 117 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 189 of file m68hc11-tdep.c.
#define M68HC11_LAST_HARD_REG (HARD_PAGE_REGNUM) |
Definition at line 96 of file m68hc11-tdep.c.
Referenced by m68hc11_register_name().
#define M68HC11_MAX_SOFT_REGS 32 |
Definition at line 113 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info().
#define M68HC11_NUM_PSEUDO_REGS (M68HC11_MAX_SOFT_REGS+5) |
Definition at line 116 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
#define M68HC11_NUM_REGS (8) |
Definition at line 115 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
#define M68HC11_REG_SIZE (2) |
Definition at line 119 of file m68hc11-tdep.c.
Referenced by m68hc11_extract_return_value().
#define M68HC12_HARD_PC_REGNUM (SOFT_D32_REGNUM+1) |
Definition at line 123 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 122 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
#define M68HC12_NUM_REGS (9) |
Definition at line 121 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
#define MAX_CODES 12 |
Definition at line 406 of file m68hc11-tdep.c.
Referenced by m68hc11_analyze_instruction().
#define MSYMBOL_IS_RTC | ( | msym | ) | MSYMBOL_TARGET_FLAG_1 (msym) |
Definition at line 65 of file m68hc11-tdep.c.
Referenced by m68hc11_get_return_insn().
#define MSYMBOL_IS_RTI | ( | msym | ) | MSYMBOL_TARGET_FLAG_2 (msym) |
Definition at line 68 of file m68hc11-tdep.c.
Referenced by m68hc11_get_return_insn().
#define MSYMBOL_SET_RTC | ( | msym | ) | MSYMBOL_TARGET_FLAG_1 (msym) = 1 |
Definition at line 59 of file m68hc11-tdep.c.
Referenced by m68hc11_elf_make_msymbol_special().
#define MSYMBOL_SET_RTI | ( | msym | ) | MSYMBOL_TARGET_FLAG_2 (msym) = 1 |
Definition at line 62 of file m68hc11-tdep.c.
Referenced by m68hc11_elf_make_msymbol_special().
#define OP_DIRECT (0x100) /* 8-byte direct addressing. */ |
Definition at line 433 of file m68hc11-tdep.c.
Referenced by m68hc11_analyze_instruction().
#define OP_IMM_HIGH (0x300) /* High part of 16-bit constant/address. */ |
Definition at line 435 of file m68hc11-tdep.c.
Referenced by m68hc11_analyze_instruction().
#define OP_IMM_LOW (0x200) /* Low part of 16-bit constant/address. */ |
Definition at line 434 of file m68hc11-tdep.c.
Referenced by m68hc11_analyze_instruction().
#define OP_PBYTE (0x400) /* 68HC12 indexed operand. */ |
Definition at line 436 of file m68hc11-tdep.c.
Referenced by m68hc11_analyze_instruction().
#define SOFT_D1_REGNUM 14 |
Definition at line 111 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 112 of file m68hc11-tdep.c.
#define SOFT_FP_REGNUM 9 |
Definition at line 106 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 107 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info(), and m68hc11_register_reggroup_p().
#define SOFT_UNUSED_REGNUM 13 |
Definition at line 110 of file m68hc11-tdep.c.
#define SOFT_XY_REGNUM 12 |
Definition at line 109 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info(), and m68hc11_register_reggroup_p().
#define SOFT_Z_REGNUM 8 |
Definition at line 101 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info().
#define SOFT_ZS_REGNUM 11 |
Definition at line 108 of file m68hc11-tdep.c.
Referenced by m68hc11_initialize_register_info(), and m68hc11_register_reggroup_p().
#define STACK_CORRECTION | ( | gdbarch | ) | (gdbarch_tdep (gdbarch)->stack_correction) |
Definition at line 145 of file m68hc11-tdep.c.
Referenced by m68hc11_frame_unwind_cache(), and m68hc11_push_dummy_call().
#define USE_PAGE_REGISTER | ( | gdbarch | ) | (gdbarch_tdep (gdbarch)->use_page_register) |
Definition at line 146 of file m68hc11-tdep.c.
Referenced by m68hc11_frame_prev_register(), and m68hc11_register_name().
enum insn_return_kind |
Enumerator | |
---|---|
RETURN_RTS | |
RETURN_RTC | |
RETURN_RTI |
Definition at line 71 of file m68hc11-tdep.c.
enum m6811_seq_type |
Enumerator | |
---|---|
P_LAST | |
P_SAVE_REG | |
P_SET_FRAME | |
P_LOCAL_1 | |
P_LOCAL_2 | |
P_LOCAL_N |
Definition at line 439 of file m68hc11-tdep.c.
void _initialize_m68hc11_tdep | ( | void | ) |
Definition at line 1565 of file m68hc11-tdep.c.
References m68hc11_gdbarch_init(), m68hc11_init_reggroups(), and register_gdbarch_init().
|
static |
Definition at line 1356 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 1380 of file m68hc11-tdep.c.
References all_reggroup, float_reggroup, general_reggroup, reggroup_add(), restore_reggroup, save_reggroup, system_reggroup, and vector_reggroup.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 506 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, P_LAST, read_memory_unsigned_integer(), and insn_sequence::type.
Referenced by m68hc11_scan_prologue().
|
static |
Definition at line 394 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 1002 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 1344 of file m68hc11-tdep.c.
References flags, MSYMBOL_SET_RTC, and MSYMBOL_SET_RTI.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 1287 of file m68hc11-tdep.c.
References _, error(), HARD_D_REGNUM, HARD_X_REGNUM, M68HC11_REG_SIZE, regcache_raw_read(), and TYPE_LENGTH.
Referenced by m68hc11_return_value().
|
static |
Definition at line 967 of file m68hc11-tdep.c.
References m68hc11_unwind_cache::base, m68hc11_frame_unwind_cache(), m68hc11_unwind_cache::return_kind, RETURN_RTC, RETURN_RTI, and m68hc11_unwind_cache::size.
|
static |
Definition at line 958 of file m68hc11-tdep.c.
References m68hc11_unwind_cache::base, and m68hc11_frame_unwind_cache().
|
static |
Definition at line 909 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, release_value(), m68hc11_unwind_cache::return_kind, RETURN_RTC, m68hc11_unwind_cache::saved_regs, trad_frame_get_prev_register(), USE_PAGE_REGISTER, value_as_long(), and value_free().
|
static |
Definition at line 884 of file m68hc11-tdep.c.
References m68hc11_unwind_cache::base, frame_id_build(), func, get_frame_func(), m68hc11_frame_unwind_cache(), and m68hc11_unwind_cache::prev_sp.
|
static |
Definition at line 784 of file m68hc11-tdep.c.
References trad_frame_saved_reg::addr, m68hc11_unwind_cache::base, FRAME_OBSTACK_ZALLOC, gdbarch_num_pseudo_regs(), gdbarch_num_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::pc, m68hc11_unwind_cache::prev_sp, m68hc11_unwind_cache::return_kind, RETURN_RTC, RETURN_RTI, m68hc11_unwind_cache::saved_regs, m68hc11_unwind_cache::size, SOFT_FP_REGNUM, soft_regs, m68hc11_unwind_cache::sp_offset, STACK_CORRECTION, trad_frame_addr_p(), trad_frame_alloc_saved_regs(), and trad_frame_set_value().
Referenced by m68hc11_frame_args_address(), m68hc11_frame_base_address(), m68hc11_frame_prev_register(), and m68hc11_frame_this_id().
|
static |
Definition at line 1426 of file m68hc11-tdep.c.
References gdbarch_info::abfd, gdbarch_info::bfd_arch_info, core_addr_lessthan(), dwarf2_append_unwinders(), gdbarch_tdep::elf_flags, floatformats_ieee_double, floatformats_ieee_single, frame_base_set_default(), frame_unwind_append_unwinder(), gdb_print_insn_m68hc11(), gdbarch_list::gdbarch, gdbarch_alloc(), gdbarch_list_lookup_by_info(), HARD_PC_REGNUM, HARD_SP_REGNUM, m6811_prologue, m6812_prologue, m68hc11_add_reggroups(), m68hc11_breakpoint_from_pc(), m68hc11_dummy_id(), m68hc11_elf_make_msymbol_special(), 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(), m68hc11_unwind_pc(), m68hc11_unwind_sp(), M68HC12_HARD_PC_REGNUM, M68HC12_NUM_PSEUDO_REGS, M68HC12_NUM_REGS, gdbarch_list::next, gdbarch_tdep::prologue, set_gdbarch_addr_bit(), set_gdbarch_believe_pcc_promotion(), set_gdbarch_breakpoint_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_insn(), 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_unwind_pc(), set_gdbarch_unwind_sp(), soft_reg_initialized, gdbarch_tdep::stack_correction, gdbarch_tdep::use_page_register, and xmalloc().
Referenced by _initialize_m68hc11_tdep().
|
static |
Definition at line 199 of file m68hc11-tdep.c.
References m68hc11_soft_reg::addr, BMSYMBOL_VALUE_ADDRESS, lookup_minimal_symbol(), m68hc11_soft_reg::name, soft_max_addr, and soft_min_addr.
Referenced by m68hc11_initialize_register_info().
|
static |
Definition at line 587 of file m68hc11-tdep.c.
References lookup_minimal_symbol_by_pc(), MSYMBOL_IS_RTC, MSYMBOL_IS_RTI, RETURN_RTC, RETURN_RTI, and RETURN_RTS.
Referenced by m68hc11_frame_unwind_cache().
|
static |
Definition at line 1373 of file m68hc11-tdep.c.
References reggroup_new(), and USER_REGGROUP.
Referenced by _initialize_m68hc11_tdep().
|
static |
Definition at line 225 of file m68hc11-tdep.c.
References _, INT_MAX, 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, SOFT_ZS_REGNUM, warning(), and xsnprintf().
Referenced by m68hc11_pseudo_register_read(), m68hc11_pseudo_register_write(), m68hc11_register_name(), and m68hc11_scan_prologue().
|
static |
Definition at line 1015 of file m68hc11-tdep.c.
References fprintf_filtered(), 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(), and SOFT_FP_REGNUM.
Referenced by m68hc11_print_registers_info().
|
static |
Definition at line 1099 of file m68hc11-tdep.c.
References fprintf_filtered(), 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, and soft_regs.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 281 of file m68hc11-tdep.c.
References gdbarch_byte_order(), HARD_PAGE_REGNUM, HARD_PC_REGNUM, m68hc11_initialize_register_info(), M68HC12_HARD_PC_REGNUM, name, REG_VALID, regcache_cooked_read_unsigned(), soft_regs, status, store_unsigned_integer(), and target_read_memory().
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 329 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 1166 of file m68hc11-tdep.c.
References extract_unsigned_integer(), gdbarch_byte_order(), HARD_D_REGNUM, HARD_SP_REGNUM, HARD_X_REGNUM, regcache_cooked_write_unsigned(), SOFT_FP_REGNUM, STACK_CORRECTION, store_unsigned_integer(), type, TYPE_LENGTH, value_contents(), value_type(), and write_memory().
Referenced by m68hc11_gdbarch_init().
Definition at line 372 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 1394 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_register_name(), 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 1243 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 1321 of file m68hc11-tdep.c.
References m68hc11_extract_return_value(), m68hc11_store_return_value(), RETURN_VALUE_REGISTER_CONVENTION, RETURN_VALUE_STRUCT_CONVENTION, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_LENGTH.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 612 of file m68hc11-tdep.c.
References trad_frame_saved_reg::addr, gdbarch_tdep(), int, insn_sequence::length, m68hc11_analyze_instruction(), m68hc11_initialize_register_info(), m68hc11_which_soft_register(), P_LOCAL_1, P_LOCAL_2, P_LOCAL_N, P_SAVE_REG, P_SET_FRAME, gdbarch_tdep::prologue, m68hc11_unwind_cache::saved_regs, m68hc11_unwind_cache::size, size, m68hc11_unwind_cache::sp_offset, and insn_sequence::type.
Referenced by m68hc11_frame_unwind_cache(), and m68hc11_skip_prologue().
Definition at line 747 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 1262 of file m68hc11-tdep.c.
References _, error(), HARD_D_REGNUM, HARD_X_REGNUM, len, regcache_raw_write(), regcache_raw_write_part(), and TYPE_LENGTH.
Referenced by m68hc11_return_value().
|
static |
Definition at line 768 of file m68hc11-tdep.c.
References frame_unwind_register_unsigned(), gdbarch_pc_regnum(), and m68hc11_unwind_cache::pc.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 990 of file m68hc11-tdep.c.
References frame_unwind_register_unsigned(), and HARD_SP_REGNUM.
Referenced by m68hc11_gdbarch_init().
Definition at line 262 of file m68hc11-tdep.c.
References M68HC11_ALL_REGS, name, SOFT_FP_REGNUM, soft_max_addr, and soft_regs.
Referenced by m68hc11_scan_prologue().
initialize_file_ftype _initialize_m68hc11_tdep |
|
static |
Definition at line 456 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 490 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init().
|
static |
Definition at line 982 of file m68hc11-tdep.c.
|
static |
Definition at line 948 of file m68hc11-tdep.c.
|
static |
Definition at line 1370 of file m68hc11-tdep.c.
|
static |
Definition at line 170 of file m68hc11-tdep.c.
Referenced by m68hc11_register_name().
|
static |
Definition at line 1369 of file m68hc11-tdep.c.
|
static |
Definition at line 192 of file m68hc11-tdep.c.
Referenced by m68hc11_get_register_info(), m68hc11_initialize_register_info(), and m68hc11_which_soft_register().
|
static |
Definition at line 191 of file m68hc11-tdep.c.
Referenced by m68hc11_get_register_info(), and m68hc11_initialize_register_info().
|
static |
Definition at line 193 of file m68hc11-tdep.c.
Referenced by m68hc11_gdbarch_init(), and m68hc11_initialize_register_info().
|
static |
Definition at line 187 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().