GDB (xrefs)
|
#include "defs.h"
#include "osabi.h"
#include "solib-svr4.h"
#include "symtab.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "glibc-tdep.h"
#include "sh-tdep.h"
#include "linux-tdep.h"
#include "gdbarch.h"
Go to the source code of this file.
Macros | |
#define | REGSx16(base) |
#define | SH_MOVW 0x9305 |
#define | SH_TRAP 0xc300 |
#define | SH_OR_R0_R0 0x200b |
#define | SH_NR_SIGRETURN 0x0077 |
#define | SH_NR_RT_SIGRETURN 0x00ad |
Functions | |
static void | sh_linux_sigtramp_cache (frame_info_ptr this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func, int regs_offset) |
static void | sh_linux_sigreturn_init (const struct tramp_frame *self, frame_info_ptr this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func) |
static void | sh_linux_rt_sigreturn_init (const struct tramp_frame *self, frame_info_ptr this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func) |
static void | sh_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
void | _initialize_sh_linux_tdep () |
Variables | |
static const struct sh_corefile_regmap | gregs_table [] |
static const struct sh_corefile_regmap | fpregs_table [] |
static struct tramp_frame | sh_linux_sigreturn_tramp_frame |
static struct tramp_frame | sh_linux_rt_sigreturn_tramp_frame |
#define REGSx16 | ( | base | ) |
Definition at line 34 of file sh-linux-tdep.c.
#define SH_MOVW 0x9305 |
Definition at line 142 of file sh-linux-tdep.c.
#define SH_NR_RT_SIGRETURN 0x00ad |
Definition at line 148 of file sh-linux-tdep.c.
#define SH_NR_SIGRETURN 0x0077 |
Definition at line 147 of file sh-linux-tdep.c.
#define SH_OR_R0_R0 0x200b |
Definition at line 144 of file sh-linux-tdep.c.
#define SH_TRAP 0xc300 |
Definition at line 143 of file sh-linux-tdep.c.
void _initialize_sh_linux_tdep | ( | ) |
Definition at line 213 of file sh-linux-tdep.c.
References GDB_OSABI_LINUX, gdbarch_register_osabi(), and sh_linux_init_abi().
|
static |
Definition at line 185 of file sh-linux-tdep.c.
References sh_gdbarch_tdep::core_fpregmap, sh_gdbarch_tdep::core_gregmap, find_solib_trampoline_target(), fpregs_table, glibc_skip_solib_resolver(), gregs_table, linux_ilp32_fetch_link_map_offsets(), linux_init_abi(), set_gdbarch_fetch_tls_load_module_address(), set_gdbarch_skip_solib_resolver(), set_gdbarch_skip_trampoline_code(), set_solib_svr4_fetch_link_map_offsets(), sh_linux_rt_sigreturn_tramp_frame, sh_linux_sigreturn_tramp_frame, sh_gdbarch_tdep::sizeof_fpregset, sh_gdbarch_tdep::sizeof_gregset, svr4_fetch_objfile_link_map(), and tramp_frame_prepend_unwinder().
Referenced by _initialize_sh_linux_tdep().
|
static |
Definition at line 127 of file sh-linux-tdep.c.
References func, and sh_linux_sigtramp_cache().
|
static |
Definition at line 116 of file sh-linux-tdep.c.
References func, and sh_linux_sigtramp_cache().
|
static |
Definition at line 80 of file sh-linux-tdep.c.
References FP_LAST_REGNUM, FPSCR_REGNUM, FPUL_REGNUM, FR0_REGNUM, frame_id_build(), func, GBR_REGNUM, gdbarch_fp0_regnum(), gdbarch_sp_regnum(), get_frame_arch(), get_frame_register_unsigned(), MACH_REGNUM, MACL_REGNUM, SR_REGNUM, trad_frame_set_id(), and trad_frame_set_reg_addr().
Referenced by sh_linux_rt_sigreturn_init(), and sh_linux_sigreturn_init().
|
static |
Definition at line 68 of file sh-linux-tdep.c.
Referenced by sh_linux_init_abi().
|
static |
Definition at line 54 of file sh-linux-tdep.c.
Referenced by sh_linux_init_abi().
|
static |
Definition at line 167 of file sh-linux-tdep.c.
Referenced by sh_linux_init_abi().
|
static |
Definition at line 150 of file sh-linux-tdep.c.
Referenced by sh_linux_init_abi().