GDB (xrefs)
|
#include "defs.h"
#include "frame.h"
#include "frame-base.h"
#include "frame-unwind.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 "dis-asm.h"
#include "inferior.h"
#include "arch-utils.h"
#include "floatformat.h"
#include "regcache.h"
#include "regset.h"
#include "doublest.h"
#include "osabi.h"
#include "linux-tdep.h"
#include "objfiles.h"
#include "solib-svr4.h"
#include "tilegx-tdep.h"
#include "opcode/tilegx.h"
Go to the source code of this file.
Classes | |
struct | tilegx_frame_cache |
struct | tilegx_reverse_regs |
Macros | |
#define | INT_SWINT_1_SIGRETURN (~0) |
Enumerations | |
enum | reverse_state { REVERSE_STATE_REGISTER, REVERSE_STATE_VALUE, REVERSE_STATE_UNKNOWN } |
Variables | |
static const struct tilegx_reverse_regs | template_reverse_regs [TILEGX_NUM_PHYS_REGS] |
static const struct frame_unwind | tilegx_frame_unwind |
static const struct frame_base | tilegx_frame_base |
initialize_file_ftype | _initialize_tilegx_tdep |
#define INT_SWINT_1_SIGRETURN (~0) |
Definition at line 820 of file tilegx-tdep.c.
Referenced by tilegx_write_pc().
enum reverse_state |
Enumerator | |
---|---|
REVERSE_STATE_REGISTER | |
REVERSE_STATE_VALUE | |
REVERSE_STATE_UNKNOWN |
Definition at line 57 of file tilegx-tdep.c.
void _initialize_tilegx_tdep | ( | void | ) |
Definition at line 1080 of file tilegx-tdep.c.
References register_gdbarch_init(), and tilegx_gdbarch_init().
|
static |
Definition at line 370 of file tilegx-tdep.c.
References trad_frame_saved_reg::addr, extract_unsigned_integer(), gdbarch_byte_order(), memory_error(), min, offset, trad_frame_saved_reg::realreg, regnum, REVERSE_STATE_REGISTER, REVERSE_STATE_UNKNOWN, REVERSE_STATE_VALUE, safe_frame_unwind_memory(), tilegx_frame_cache::saved_regs, tilegx_reverse_regs::state, status, TILEGX_LR_REGNUM, TILEGX_NUM_PHYS_REGS, TILEGX_R52_REGNUM, TILEGX_SP_REGNUM, TILEGX_ZERO_REGNUM, trad_frame_set_value(), and tilegx_reverse_regs::value.
Referenced by tilegx_frame_cache(), and tilegx_skip_prologue().
|
static |
Definition at line 850 of file tilegx-tdep.c.
Referenced by tilegx_gdbarch_init().
Definition at line 975 of file tilegx-tdep.c.
References TILEGX_FAULTNUM_REGNUM, TILEGX_NUM_EASY_REGS, and TILEGX_PC_REGNUM.
Referenced by tilegx_gdbarch_init().
Definition at line 180 of file tilegx-tdep.c.
Referenced by tilegx_gdbarch_init().
|
static |
Definition at line 215 of file tilegx-tdep.c.
References len, regcache_raw_read(), regnum, TILEGX_R0_REGNUM, tilegx_reg_size, and TYPE_LENGTH.
Referenced by tilegx_return_value().
Definition at line 270 of file tilegx-tdep.c.
Referenced by tilegx_gdbarch_init(), and tilegx_push_dummy_call().
|
static |
Definition at line 924 of file tilegx-tdep.c.
References tilegx_frame_cache::base, and tilegx_frame_cache().
|
static |
Definition at line 864 of file tilegx-tdep.c.
References tilegx_frame_cache::base, FRAME_OBSTACK_ZALLOC, get_frame_arch(), get_frame_func(), get_frame_pc(), get_frame_register_unsigned(), tilegx_frame_cache::saved_regs, tilegx_frame_cache::start_pc, tilegx_analyze_prologue(), TILEGX_LR_REGNUM, TILEGX_PC_REGNUM, TILEGX_SP_REGNUM, trad_frame_alloc_saved_regs(), and trad_frame_set_value().
Referenced by tilegx_frame_base_address(), tilegx_frame_prev_register(), and tilegx_frame_this_id().
|
static |
Definition at line 896 of file tilegx-tdep.c.
References tilegx_frame_cache::saved_regs, tilegx_frame_cache(), and trad_frame_get_prev_register().
|
static |
Definition at line 910 of file tilegx-tdep.c.
References tilegx_frame_cache::base, frame_id_build(), tilegx_frame_cache::start_pc, and tilegx_frame_cache().
|
static |
Definition at line 987 of file tilegx-tdep.c.
References gdbarch_info::abfd, core_addr_lessthan(), dwarf2_append_unwinders(), frame_base_set_default(), frame_unwind_append_unwinder(), gdbarch_list::gdbarch, gdbarch_alloc(), gdbarch_init_osabi(), gdbarch_list_lookup_by_info(), gdbarch_ptr_bit(), gdbarch_list::next, set_gdbarch_addr_bit(), 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_float_bit(), set_gdbarch_frame_align(), set_gdbarch_get_longjmp_target(), 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_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_sp_regnum(), set_gdbarch_stack_frame_destroyed_p(), set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), set_gdbarch_write_pc(), TARGET_CHAR_BIT, tilegx_breakpoint_from_pc(), tilegx_cannot_reference_register(), tilegx_dwarf2_reg_to_regnum(), tilegx_frame_align(), tilegx_get_longjmp_target(), TILEGX_NUM_REGS, TILEGX_PC_REGNUM, tilegx_push_dummy_call(), tilegx_register_name(), tilegx_register_type(), tilegx_return_value(), tilegx_skip_prologue(), TILEGX_SP_REGNUM, tilegx_stack_frame_destroyed_p(), tilegx_unwind_dummy_id(), tilegx_unwind_pc(), tilegx_unwind_sp(), and tilegx_write_pc().
Referenced by _initialize_tilegx_tdep().
|
static |
Definition at line 797 of file tilegx-tdep.c.
References gdbarch::byte_order, extract_unsigned_integer(), gdbarch_byte_order(), get_frame_arch(), get_frame_register_unsigned(), target_read_memory(), and TILEGX_R0_REGNUM.
Referenced by tilegx_gdbarch_init().
|
static |
Definition at line 279 of file tilegx-tdep.c.
References align_up(), do_cleanups(), extract_unsigned_integer(), gdbarch_byte_order(), make_cleanup(), regcache_cooked_write_unsigned(), tilegx_frame_align(), TILEGX_LR_REGNUM, TILEGX_R0_REGNUM, TILEGX_R9_REGNUM, tilegx_reg_size, TILEGX_SP_REGNUM, TYPE_LENGTH, value_contents(), value_enclosing_type(), write_memory(), xfree(), and xmalloc().
Referenced by tilegx_gdbarch_init().
Definition at line 143 of file tilegx-tdep.c.
References internal_error(), regnum, and TILEGX_NUM_REGS.
Referenced by tilegx_gdbarch_init().
Definition at line 169 of file tilegx-tdep.c.
References builtin_type::builtin_func_ptr, builtin_type(), builtin_type::builtin_uint64, and TILEGX_PC_REGNUM.
Referenced by tilegx_gdbarch_init().
|
static |
Definition at line 254 of file tilegx-tdep.c.
References RETURN_VALUE_REGISTER_CONVENTION, RETURN_VALUE_STRUCT_CONVENTION, tilegx_extract_return_value(), tilegx_store_return_value(), and tilegx_use_struct_convention().
Referenced by tilegx_gdbarch_init().
Definition at line 745 of file tilegx-tdep.c.
References find_pc_partial_function(), find_pc_section(), max, min, obj_section_endaddr, skip_prologue_using_sal(), and tilegx_analyze_prologue().
Referenced by tilegx_gdbarch_init().
Definition at line 777 of file tilegx-tdep.c.
References find_pc_partial_function().
Referenced by tilegx_gdbarch_init().
|
static |
Definition at line 230 of file tilegx-tdep.c.
References len, regcache_raw_write(), regnum, TILEGX_R0_REGNUM, tilegx_reg_size, and TYPE_LENGTH.
Referenced by tilegx_return_value().
Definition at line 189 of file tilegx-tdep.c.
References TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, and TYPE_CODE_UNION.
Referenced by tilegx_use_struct_convention().
|
static |
Definition at line 962 of file tilegx-tdep.c.
References frame_id_build(), get_frame_pc(), get_frame_register_unsigned(), and TILEGX_SP_REGNUM.
Referenced by tilegx_gdbarch_init().
|
static |
Definition at line 956 of file tilegx-tdep.c.
References frame_unwind_register_unsigned(), and TILEGX_PC_REGNUM.
Referenced by tilegx_gdbarch_init().
|
static |
Definition at line 950 of file tilegx-tdep.c.
References frame_unwind_register_unsigned(), and TILEGX_SP_REGNUM.
Referenced by tilegx_gdbarch_init().
Definition at line 202 of file tilegx-tdep.c.
References TILEGX_R0_REGNUM, TILEGX_R9_REGNUM, tilegx_reg_size, tilegx_type_is_scalar(), and TYPE_LENGTH.
Referenced by tilegx_return_value().
Definition at line 825 of file tilegx-tdep.c.
References INT_SWINT_1_SIGRETURN, regcache_cooked_write_unsigned(), TILEGX_FAULTNUM_REGNUM, and TILEGX_PC_REGNUM.
Referenced by tilegx_gdbarch_init().
initialize_file_ftype _initialize_tilegx_tdep |
|
static |
Definition at line 72 of file tilegx-tdep.c.
|
static |
Definition at line 942 of file tilegx-tdep.c.
|
static |
Definition at line 932 of file tilegx-tdep.c.