GDB (xrefs)
|
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "symtab.h"
#include "dis-asm.h"
#include "arch-utils.h"
#include "gdbtypes.h"
#include "regcache.h"
#include "reggroups.h"
#include "gdbcore.h"
#include "trad-frame.h"
#include "inferior.h"
#include "dwarf2-frame.h"
#include "infcall.h"
#include "language.h"
#include "valprint.h"
Go to the source code of this file.
Classes | |
struct | gdbarch_tdep |
struct | mt_unwind_cache |
Macros | |
#define | wordsize 4 |
Variables | |
static const struct frame_unwind | mt_frame_unwind |
static struct frame_base | mt_frame_base |
initialize_file_ftype | _initialize_mt_tdep |
#define wordsize 4 |
Referenced by h8300_push_dummy_call(), mt_push_dummy_call(), ppc64_sysv_abi_push_val(), ppc_linux_target_wordsize(), ppc_register_u_addr(), rs6000_aix_iterate_over_regset_sections(), rs6000_frame_cache(), rs6000_gdbarch_init(), rs6000_lynx178_push_dummy_call(), rs6000_push_dummy_call(), and s390_target_wordsize().
enum mt_arch_constants |
enum mt_gdb_regnums |
void _initialize_mt_tdep | ( | void | ) |
Definition at line 1214 of file mt-tdep.c.
References mt_gdbarch_init(), and register_gdbarch_init().
|
static |
Definition at line 459 of file mt-tdep.c.
References gdbarch_bfd_arch_info().
Referenced by mt_gdbarch_init().
Definition at line 213 of file mt-tdep.c.
References builtin_type::builtin_int16, builtin_type::builtin_int32, builtin_type::builtin_long_long, builtin_type(), builtin_type::builtin_uint32, builtin_type::builtin_uint64, builtin_type::builtin_unsigned_char, gdbarch_bfd_arch_info(), MT_BYPA_REGNUM, MT_BYPB_REGNUM, MT_BYPC_REGNUM, MT_CONTEXT_REGNUM, MT_COPRO_PSEUDOREG_MAC_REGNUM, MT_CPR0_REGNUM, MT_CPR15_REGNUM, MT_EXMAC_REGNUM, MT_FLAG_REGNUM, MT_ICHANNEL_REGNUM, MT_INT_ENABLE_REGNUM, MT_ISCRAMB_REGNUM, MT_MAC_REGNUM, MT_OUT_REGNUM, MT_QCHANNEL_REGNUM, MT_QSCRAMB_REGNUM, MT_Z1_REGNUM, MT_Z2_REGNUM, MT_ZI2_REGNUM, and MT_ZQ2_REGNUM.
Referenced by mt_register_type().
|
static |
Definition at line 1069 of file mt-tdep.c.
References frame_id_build(), get_frame_pc(), get_frame_register_unsigned(), and MT_SP_REGNUM.
Referenced by mt_gdbarch_init().
|
static |
Definition at line 1102 of file mt-tdep.c.
References mt_unwind_cache::frame_base, and mt_frame_unwind_cache().
|
static |
Definition at line 1092 of file mt-tdep.c.
References mt_frame_unwind_cache(), mt_unwind_cache::saved_regs, and trad_frame_get_prev_register().
|
static |
Definition at line 1079 of file mt-tdep.c.
References frame_id_build(), get_frame_func(), mt_frame_unwind_cache(), and mt_unwind_cache::prev_sp.
|
static |
Definition at line 907 of file mt-tdep.c.
References trad_frame_saved_reg::addr, mt_unwind_cache::frame_base, FRAME_OBSTACK_ZALLOC, mt_unwind_cache::frameless_p, mt_unwind_cache::framesize, get_frame_arch(), get_frame_func(), get_frame_memory_unsigned(), get_frame_pc(), get_frame_register_unsigned(), MT_FP_REGNUM, MT_NUM_REGS, MT_PC_REGNUM, MT_RA_REGNUM, MT_SP_REGNUM, offset, mt_unwind_cache::prev_sp, regnum, mt_unwind_cache::saved_regs, skip_prologue_using_sal(), trad_frame_addr_p(), trad_frame_alloc_saved_regs(), and trad_frame_set_value().
Referenced by mt_frame_base_address(), mt_frame_prev_register(), and mt_frame_this_id().
|
static |
Definition at line 1138 of file mt-tdep.c.
References core_addr_lessthan(), dwarf2_append_unwinders(), floatformats_ieee_double, floatformats_ieee_single, frame_base_set_default(), frame_unwind_append_unwinder(), gdbarch_list::gdbarch, gdbarch_alloc(), gdbarch_list_lookup_by_info(), mt_breakpoint_from_pc(), mt_dummy_id(), mt_frame_align(), MT_NUM_PSEUDO_REGS, MT_NUM_REGS, MT_PC_REGNUM, mt_pseudo_register_read(), mt_pseudo_register_write(), mt_push_dummy_call(), mt_register_name(), mt_register_reggroup_p(), mt_register_type(), mt_registers_info(), mt_return_value(), mt_skip_prologue(), MT_SP_REGNUM, mt_unwind_pc(), mt_unwind_sp(), set_gdbarch_breakpoint_from_pc(), set_gdbarch_decr_pc_after_break(), set_gdbarch_double_bit(), set_gdbarch_double_format(), set_gdbarch_dummy_id(), set_gdbarch_float_bit(), set_gdbarch_float_format(), set_gdbarch_frame_align(), set_gdbarch_frame_args_skip(), set_gdbarch_inner_than(), set_gdbarch_int_bit(), set_gdbarch_long_bit(), set_gdbarch_long_double_bit(), set_gdbarch_long_double_format(), 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(), and set_gdbarch_unwind_sp().
Referenced by _initialize_mt_tdep().
|
static |
Definition at line 525 of file mt-tdep.c.
References gdbarch_bfd_arch_info(), gdbarch_byte_order(), MT_COPRO_PSEUDOREG_MAC_REGNUM, MT_COPRO_PSEUDOREG_REGNUM, MT_COPRO_REGNUM, MT_CPR0_REGNUM, MT_EXMAC_REGNUM, MT_MAC_PSEUDOREG_REGNUM, MT_MAC_REGNUM, MT_NUM_REGS, mt_select_coprocessor(), REG_VALID, regcache_cooked_read_unsigned(), regcache_raw_read(), status, and store_signed_integer().
Referenced by mt_gdbarch_init().
|
static |
Definition at line 585 of file mt-tdep.c.
References extract_unsigned_integer(), gdbarch_bfd_arch_info(), gdbarch_byte_order(), MT_COPRO_PSEUDOREG_MAC_REGNUM, MT_COPRO_PSEUDOREG_REGNUM, MT_COPRO_REGNUM, MT_CPR0_REGNUM, MT_EXMAC_REGNUM, MT_MAC_PSEUDOREG_REGNUM, MT_MAC_REGNUM, MT_NUM_REGS, mt_select_coprocessor(), regcache_cooked_write_unsigned(), regcache_invalidate(), and regcache_raw_write().
Referenced by mt_gdbarch_init().
|
static |
Definition at line 774 of file mt-tdep.c.
References do_cleanups(), extract_unsigned_integer(), gdbarch_byte_order(), make_cleanup(), MT_1ST_ARGREG, MT_LAST_ARGREG, MT_MAX_STRUCT_SIZE, MT_R11_REGNUM, MT_RA_REGNUM, MT_SP_REGNUM, regcache_cooked_write_unsigned(), TYPE_LENGTH, value_contents(), value_type(), wordsize, write_memory(), xfree(), and xmalloc().
Referenced by mt_gdbarch_init().
Definition at line 151 of file mt-tdep.c.
References MT_COPRO_PSEUDOREG_ARRAY, MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2, MT_COPRO_PSEUDOREG_MAC_REGNUM, MT_COPRO_PSEUDOREG_REGS, MT_CPR0_REGNUM, MT_MAC_PSEUDOREG_REGNUM, MT_NUM_REGS, name, regnum, and xmalloc().
Referenced by mt_gdbarch_init(), and mt_register_reggroup_p().
|
static |
Definition at line 308 of file mt-tdep.c.
References all_reggroup, default_register_reggroup_p(), float_reggroup, general_reggroup, MT_NUM_PSEUDO_REGS, MT_NUM_REGS, MT_R0_REGNUM, MT_R15_REGNUM, mt_register_name(), and vector_reggroup.
Referenced by mt_gdbarch_init().
Definition at line 259 of file mt-tdep.c.
References _, builtin_type::builtin_data_ptr, builtin_type::builtin_func_ptr, builtin_type::builtin_int16, builtin_type::builtin_int32, builtin_type(), gdbarch_tdep::copro_type, gdbarch_tdep(), internal_error(), lookup_array_range_type(), MT_COPRO_PSEUDOREG_ARRAY, MT_COPRO_PSEUDOREG_MAC_REGNUM, MT_COPRO_PSEUDOREG_REGNUM, MT_COPRO_PSEUDOREG_REGS, mt_copro_register_type(), MT_COPRO_REGNUM, MT_CPR0_REGNUM, MT_FP_REGNUM, MT_IRA_REGNUM, MT_MAC_PSEUDOREG_REGNUM, MT_NUM_PSEUDO_REGS, MT_NUM_REGS, MT_PC_REGNUM, MT_R0_REGNUM, MT_R15_REGNUM, MT_RA_REGNUM, and MT_SP_REGNUM.
Referenced by mt_gdbarch_init().
|
static |
Definition at line 645 of file mt-tdep.c.
References current_language, default_print_registers_info(), deprecated_frame_register_read(), value_print_options::deref_ref, extract_unsigned_integer(), fprintf_filtered(), fputs_filtered(), gdbarch_bfd_arch_info(), gdbarch_byte_order(), gdbarch_register_name(), get_no_prettyformat_print_options(), MT_CONTEXT_REGNUM, MT_COPRO_PSEUDOREG_REGNUM, MT_COPRO_REGNUM, MT_EXMAC_REGNUM, MT_ICHANNEL_REGNUM, MT_MAC_PSEUDOREG_REGNUM, MT_MAC_REGNUM, MT_NUM_CPU_REGS, MT_NUM_REGS, MT_QCHANNEL_REGNUM, print_longest(), print_spaces_filtered(), register_size(), register_type(), and val_print().
Referenced by mt_gdbarch_init().
|
static |
Definition at line 336 of file mt-tdep.c.
References gdbarch_byte_order(), MT_R11_REGNUM, read_memory(), regcache_cooked_read_unsigned(), regcache_cooked_write(), RETURN_VALUE_ABI_RETURNS_ADDRESS, RETURN_VALUE_REGISTER_CONVENTION, store_unsigned_integer(), TYPE_LENGTH, and write_memory().
Referenced by mt_gdbarch_init().
|
static |
Definition at line 476 of file mt-tdep.c.
References extract_signed_integer(), gdbarch_byte_order(), MT_COPRO_PSEUDOREG_ARRAY, MT_COPRO_PSEUDOREG_DIM_2, MT_COPRO_PSEUDOREG_REGS, MT_COPRO_REGNUM, MT_NUM_REGS, regcache_invalidate(), regcache_raw_read(), regcache_raw_write(), and store_signed_integer().
Referenced by mt_pseudo_register_read(), and mt_pseudo_register_write().
Definition at line 405 of file mt-tdep.c.
References symtab_and_line::end, find_pc_line(), find_pc_partial_function(), gdbarch_byte_order(), language_asm, lookup_symbol(), read_memory_unsigned_integer(), SYMBOL_LANGUAGE, and VAR_DOMAIN.
Referenced by mt_gdbarch_init().
|
static |
Definition at line 1047 of file mt-tdep.c.
References frame_unwind_register_unsigned(), and MT_PC_REGNUM.
Referenced by mt_gdbarch_init().
|
static |
Definition at line 1056 of file mt-tdep.c.
References frame_unwind_register_unsigned(), and MT_SP_REGNUM.
Referenced by mt_gdbarch_init().
initialize_file_ftype _initialize_mt_tdep |
|
static |
|
static |