GDB (xrefs)
|
#include "defs.h"
#include "frame.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "dwarf2-frame.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "value.h"
#include "dis-asm.h"
#include "inferior.h"
#include "arch-utils.h"
#include "floatformat.h"
#include "regcache.h"
#include "doublest.h"
#include "osabi.h"
#include "objfiles.h"
Go to the source code of this file.
Classes | |
struct | xstormy16_frame_cache |
Macros | |
#define | E_MAX_RETTYPE_SIZE(regnum) |
Variables | |
static const struct frame_unwind | xstormy16_frame_unwind |
static const struct frame_base | xstormy16_frame_base |
initialize_file_ftype | _initialize_xstormy16_tdep |
#define E_MAX_RETTYPE_SIZE | ( | regnum | ) |
Definition at line 91 of file xstormy16-tdep.c.
Referenced by xstormy16_push_dummy_call().
anonymous enum |
Enumerator | |
---|---|
REG_UNAVAIL |
Definition at line 69 of file xstormy16-tdep.c.
anonymous enum |
Enumerator | |
---|---|
xstormy16_inst_size | |
xstormy16_reg_size | |
xstormy16_pc_size |
Definition at line 83 of file xstormy16-tdep.c.
anonymous enum |
Enumerator | |
---|---|
E_MAX_RETTYPE_SIZE_IN_REGS |
Definition at line 95 of file xstormy16-tdep.c.
enum gdb_regnum |
Definition at line 39 of file xstormy16-tdep.c.
void _initialize_xstormy16_tdep | ( | void | ) |
Definition at line 869 of file xstormy16-tdep.c.
References register_gdbarch_init(), and xstormy16_gdbarch_init().
|
static |
Definition at line 638 of file xstormy16-tdep.c.
References gdbarch::byte_order, gdbarch_byte_order(), store_unsigned_integer(), TYPE_CODE, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_LENGTH, TYPE_TARGET_TYPE, and xstormy16_find_jmp_table_entry().
Referenced by xstormy16_gdbarch_init().
|
static |
Definition at line 654 of file xstormy16-tdep.c.
References xstormy16_frame_cache::base, E_NUM_REGS, FRAME_OBSTACK_ZALLOC, xstormy16_frame_cache::framesize, xstormy16_frame_cache::pc, REG_UNAVAIL, xstormy16_frame_cache::saved_regs, xstormy16_frame_cache::saved_sp, and xstormy16_frame_cache::uses_fp.
Referenced by xstormy16_frame_cache().
|
static |
Definition at line 316 of file xstormy16-tdep.c.
References E_PC_REGNUM, xstormy16_frame_cache::framesize, gdbarch_byte_order(), offset, read_memory_unsigned_integer(), regnum, xstormy16_frame_cache::saved_regs, xstormy16_frame_cache::uses_fp, xstormy16_inst_size, xstormy16_pc_size, and xstormy16_reg_size.
Referenced by xstormy16_frame_cache(), and xstormy16_skip_prologue().
|
static |
Definition at line 510 of file xstormy16-tdep.c.
Referenced by xstormy16_gdbarch_init().
|
static |
Definition at line 777 of file xstormy16-tdep.c.
References E_SP_REGNUM, frame_id_build(), get_frame_pc(), and get_frame_register_unsigned().
Referenced by xstormy16_gdbarch_init().
|
static |
Definition at line 160 of file xstormy16-tdep.c.
References E_1ST_ARG_REGNUM, len, regcache_raw_read(), regnum, TYPE_LENGTH, and xstormy16_reg_size.
Referenced by xstormy16_return_value().
|
static |
Definition at line 552 of file xstormy16-tdep.c.
References ALL_OBJFILE_OSECTIONS, extract_unsigned_integer(), find_pc_section(), gdbarch_byte_order(), obj_section_addr, obj_section_endaddr, obj_section::objfile, objfile::sections_end, target_read_memory(), obj_section::the_bfd_section, and xstormy16_inst_size.
Referenced by xstormy16_address_to_pointer().
Definition at line 212 of file xstormy16-tdep.c.
Referenced by xstormy16_gdbarch_init(), and xstormy16_push_dummy_call().
|
static |
Definition at line 741 of file xstormy16-tdep.c.
References xstormy16_frame_cache::base, and xstormy16_frame_cache().
|
static |
Definition at line 673 of file xstormy16-tdep.c.
References xstormy16_frame_cache::base, E_FP_REGNUM, E_NUM_REGS, E_SP_REGNUM, xstormy16_frame_cache::framesize, get_frame_arch(), get_frame_func(), get_frame_pc(), get_frame_register_unsigned(), xstormy16_frame_cache::pc, REG_UNAVAIL, xstormy16_frame_cache::saved_regs, xstormy16_frame_cache::saved_sp, xstormy16_frame_cache::uses_fp, xstormy16_alloc_frame_cache(), and xstormy16_analyze_prologue().
Referenced by xstormy16_frame_base_address(), xstormy16_frame_prev_register(), and xstormy16_frame_this_id().
|
static |
Definition at line 709 of file xstormy16-tdep.c.
References E_SP_REGNUM, frame_unwind_got_constant(), frame_unwind_got_memory(), frame_unwind_got_register(), gdb_assert, REG_UNAVAIL, xstormy16_frame_cache::saved_regs, xstormy16_frame_cache::saved_sp, and xstormy16_frame_cache().
|
static |
Definition at line 727 of file xstormy16-tdep.c.
References xstormy16_frame_cache::base, frame_id_build(), xstormy16_frame_cache::pc, xstormy16_frame_cache::saved_sp, and xstormy16_frame_cache().
|
static |
Definition at line 789 of file xstormy16-tdep.c.
References core_addr_greaterthan(), dwarf2_append_unwinders(), E_NUM_REGS, E_PC_REGNUM, E_SP_REGNUM, frame_base_set_default(), frame_unwind_append_unwinder(), gdbarch_list::gdbarch, gdbarch_alloc(), gdbarch_init_osabi(), gdbarch_list_lookup_by_info(), set_gdbarch_addr_bit(), set_gdbarch_address_to_pointer(), set_gdbarch_breakpoint_from_pc(), set_gdbarch_char_signed(), set_gdbarch_double_bit(), set_gdbarch_dummy_id(), set_gdbarch_dwarf2_addr_size(), set_gdbarch_float_bit(), set_gdbarch_frame_align(), 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_pointer_to_address(), set_gdbarch_print_insn(), set_gdbarch_ptr_bit(), set_gdbarch_push_dummy_call(), set_gdbarch_register_name(), set_gdbarch_register_type(), set_gdbarch_return_value(), set_gdbarch_short_bit(), set_gdbarch_skip_prologue(), set_gdbarch_skip_trampoline_code(), set_gdbarch_sp_regnum(), set_gdbarch_stack_frame_destroyed_p(), set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), TARGET_CHAR_BIT, xstormy16_address_to_pointer(), xstormy16_breakpoint_from_pc(), xstormy16_dummy_id(), xstormy16_frame_align(), xstormy16_pointer_to_address(), xstormy16_push_dummy_call(), xstormy16_register_name(), xstormy16_register_type(), xstormy16_return_value(), xstormy16_skip_prologue(), xstormy16_skip_trampoline_code(), xstormy16_stack_frame_destroyed_p(), xstormy16_unwind_pc(), and xstormy16_unwind_sp().
Referenced by _initialize_xstormy16_tdep().
|
static |
Definition at line 619 of file xstormy16-tdep.c.
References gdbarch::byte_order, extract_unsigned_integer(), gdbarch_byte_order(), TYPE_CODE, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_LENGTH, TYPE_TARGET_TYPE, and xstormy16_resolve_jmp_table_entry().
Referenced by xstormy16_gdbarch_init().
|
static |
Definition at line 225 of file xstormy16-tdep.c.
References do_cleanups(), E_1ST_ARG_REGNUM, E_LST_ARG_REGNUM, E_MAX_RETTYPE_SIZE, E_PTR_RET_REGNUM, E_SP_REGNUM, extract_unsigned_integer(), gdbarch_byte_order(), make_cleanup(), regcache_cooked_write_unsigned(), size, store_unsigned_integer(), TYPE_LENGTH, value_contents(), value_enclosing_type(), write_memory(), xfree(), xmalloc(), xstormy16_frame_align(), xstormy16_pc_size, and xstormy16_reg_size.
Referenced by xstormy16_gdbarch_init().
Definition at line 104 of file xstormy16-tdep.c.
References _, E_NUM_REGS, internal_error(), and regnum.
Referenced by xstormy16_gdbarch_init().
Definition at line 122 of file xstormy16-tdep.c.
References builtin_type(), builtin_type::builtin_uint16, builtin_type::builtin_uint32, and E_PC_REGNUM.
Referenced by xstormy16_gdbarch_init().
|
static |
Definition at line 521 of file xstormy16-tdep.c.
References extract_unsigned_integer(), find_pc_section(), gdbarch_byte_order(), target_read_memory(), obj_section::the_bfd_section, and xstormy16_inst_size.
Referenced by xstormy16_pointer_to_address(), and xstormy16_skip_trampoline_code().
|
static |
Definition at line 198 of file xstormy16-tdep.c.
References RETURN_VALUE_REGISTER_CONVENTION, RETURN_VALUE_STRUCT_CONVENTION, xstormy16_extract_return_value(), xstormy16_store_return_value(), and xstormy16_use_struct_convention().
Referenced by xstormy16_gdbarch_init().
Definition at line 415 of file xstormy16-tdep.c.
References symtab_and_line::end, find_pc_line(), find_pc_partial_function(), language_asm, lookup_symbol(), xstormy16_frame_cache::pc, SYMBOL_LANGUAGE, xstormy16_frame_cache::uses_fp, VAR_DOMAIN, and xstormy16_analyze_prologue().
Referenced by xstormy16_gdbarch_init().
|
static |
Definition at line 601 of file xstormy16-tdep.c.
References get_frame_arch(), and xstormy16_resolve_jmp_table_entry().
Referenced by xstormy16_gdbarch_init().
Definition at line 463 of file xstormy16-tdep.c.
References find_pc_partial_function(), gdbarch_byte_order(), read_memory_unsigned_integer(), and xstormy16_inst_size.
Referenced by xstormy16_gdbarch_init().
|
static |
Definition at line 176 of file xstormy16-tdep.c.
References E_1ST_ARG_REGNUM, len, regcache_raw_write(), regnum, TYPE_LENGTH, and xstormy16_reg_size.
Referenced by xstormy16_return_value().
Definition at line 135 of file xstormy16-tdep.c.
References TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, and TYPE_CODE_UNION.
Referenced by xstormy16_use_struct_convention().
|
static |
Definition at line 771 of file xstormy16-tdep.c.
References E_PC_REGNUM, and frame_unwind_register_unsigned().
Referenced by xstormy16_gdbarch_init().
|
static |
Definition at line 765 of file xstormy16-tdep.c.
References E_SP_REGNUM, and frame_unwind_register_unsigned().
Referenced by xstormy16_gdbarch_init().
Definition at line 149 of file xstormy16-tdep.c.
References E_MAX_RETTYPE_SIZE_IN_REGS, TYPE_LENGTH, and xstormy16_type_is_scalar().
Referenced by xstormy16_return_value().
initialize_file_ftype _initialize_xstormy16_tdep |
|
static |
Definition at line 757 of file xstormy16-tdep.c.
|
static |
Definition at line 748 of file xstormy16-tdep.c.