GDB (xrefs)
|
#include "defs.h"
#include "solib.h"
#include "osabi.h"
#include "linux-tdep.h"
#include "tic6x-tdep.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "elf-bfd.h"
#include "elf/tic6x.h"
#include "gdbarch.h"
#include "solib-dsbt.h"
Go to the source code of this file.
Macros | |
#define | TIC6X_SP_RT_SIGFRAME 8 |
#define | TIC6X_SIGINFO_SIZE 128 |
#define | TIC6X_STACK_T_SIZE (3 * 4) |
Functions | |
static unsigned int | tic6x_register_sigcontext_offset (unsigned int regnum, struct gdbarch *gdbarch) |
static void | tic6x_linux_rt_sigreturn_init (const struct tramp_frame *self, frame_info_ptr this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func) |
static CORE_ADDR | tic6x_linux_syscall_next_pc (frame_info_ptr frame) |
static void | tic6x_uclinux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
void | _initialize_tic6x_linux_tdep () |
Variables | |
static const gdb_byte | tic6x_bkpt_bnop_be [] = { 0x00, 0x00, 0xa1, 0x22 } |
static const gdb_byte | tic6x_bkpt_bnop_le [] = { 0x22, 0xa1, 0x00, 0x00 } |
static struct tramp_frame | tic6x_linux_rt_sigreturn_tramp_frame |
#define TIC6X_SIGINFO_SIZE 128 |
Definition at line 35 of file tic6x-linux-tdep.c.
Referenced by tic6x_linux_rt_sigreturn_init().
#define TIC6X_SP_RT_SIGFRAME 8 |
Definition at line 33 of file tic6x-linux-tdep.c.
Referenced by tic6x_linux_rt_sigreturn_init().
#define TIC6X_STACK_T_SIZE (3 * 4) |
Definition at line 38 of file tic6x-linux-tdep.c.
Referenced by tic6x_linux_rt_sigreturn_init().
void _initialize_tic6x_linux_tdep | ( | ) |
Definition at line 209 of file tic6x-linux-tdep.c.
References GDB_OSABI_LINUX, gdbarch_register_osabi(), and tic6x_uclinux_init_abi().
|
static |
Definition at line 81 of file tic6x-linux-tdep.c.
References frame_id_build(), func, get_frame_arch(), get_frame_register_unsigned(), tic6x_gdbarch_tdep::has_gp, reg_offset, TIC6X_B0_REGNUM, TIC6X_PC_REGNUM, tic6x_register_sigcontext_offset(), TIC6X_SIGINFO_SIZE, TIC6X_SP_REGNUM, TIC6X_SP_RT_SIGFRAME, TIC6X_STACK_T_SIZE, trad_frame_set_id(), and trad_frame_set_reg_addr().
|
static |
Definition at line 152 of file tic6x-linux-tdep.c.
References frame_unwind_caller_pc(), get_frame_pc(), get_frame_register_unsigned(), and TIC6X_B0_REGNUM.
Referenced by tic6x_uclinux_init_abi().
|
static |
Definition at line 47 of file tic6x-linux-tdep.c.
References tic6x_gdbarch_tdep::has_gp, regnum, TIC6X_A4_REGNUM, TIC6X_A5_REGNUM, TIC6X_B0_REGNUM, TIC6X_B4_REGNUM, TIC6X_B5_REGNUM, TIC6X_PC_REGNUM, and TIC6X_SP_REGNUM.
Referenced by tic6x_linux_rt_sigreturn_init().
|
static |
Definition at line 166 of file tic6x-linux-tdep.c.
References tic6x_gdbarch_tdep::breakpoint, dsbt_so_ops, linux_init_abi(), set_gdbarch_so_ops(), tic6x_gdbarch_tdep::syscall_next_pc, tic6x_bkpt_bnop_be, tic6x_bkpt_bnop_le, tic6x_bkpt_illegal_opcode_be, tic6x_bkpt_illegal_opcode_le, tic6x_linux_rt_sigreturn_tramp_frame, tic6x_linux_syscall_next_pc(), and tramp_frame_prepend_unwinder().
Referenced by _initialize_tic6x_linux_tdep().
|
static |
Definition at line 40 of file tic6x-linux-tdep.c.
Referenced by tic6x_uclinux_init_abi().
|
static |
Definition at line 41 of file tic6x-linux-tdep.c.
Referenced by tic6x_uclinux_init_abi().
|
static |
Definition at line 136 of file tic6x-linux-tdep.c.
Referenced by tic6x_uclinux_init_abi().