GDB (xrefs)
|
#include "defs.h"
#include "osabi.h"
#include "glibc-tdep.h"
#include "linux-tdep.h"
#include "gdbarch.h"
#include "solib-svr4.h"
#include "regset.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "csky-tdep.h"
Go to the source code of this file.
Macros | |
#define | SIZEOF_CSKY_GREGSET 34*4 |
#define | SIZEOF_CSKY_FREGSET 34*4 |
#define | SIZEOF_CSKY_FREGSET_K4X 400 |
Functions | |
static void | csky_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *regs, size_t len) |
static void | csky_collect_gregset (const struct regset *regset, const struct regcache *regcache, int regnum, void *gregs_buf, size_t len) |
static void | csky_supply_fregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *regs, size_t len) |
static void | csky_collect_fregset (const struct regset *regset, const struct regcache *regcache, int regnum, void *fregs_buf, size_t len) |
static void | csky_linux_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache) |
static void | csky_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 | csky_linux_rt_sigreturn_init_pt_regs (const struct tramp_frame *self, frame_info_ptr this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func) |
static void | csky_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
void | _initialize_csky_linux_tdep () |
Variables | |
static const int | csky_gregset_offset [] |
static const int | csky_fregset_offset [] |
static const struct regset | csky_regset_general |
static const struct regset | csky_regset_float |
static struct tramp_frame | csky_linux_rt_sigreturn_tramp_frame |
static struct tramp_frame | csky_linux_rt_sigreturn_tramp_frame_kernel_4x |
#define SIZEOF_CSKY_FREGSET 34*4 |
Definition at line 38 of file csky-linux-tdep.c.
Referenced by csky_collect_fregset(), and csky_supply_fregset().
#define SIZEOF_CSKY_FREGSET_K4X 400 |
Definition at line 40 of file csky-linux-tdep.c.
Referenced by csky_collect_fregset(), and csky_supply_fregset().
#define SIZEOF_CSKY_GREGSET 34*4 |
Definition at line 36 of file csky-linux-tdep.c.
Referenced by csky_collect_gregset(), and csky_supply_gregset().
void _initialize_csky_linux_tdep | ( | ) |
Definition at line 432 of file csky-linux-tdep.c.
References csky_linux_init_abi(), GDB_OSABI_LINUX, and gdbarch_register_osabi().
|
static |
Definition at line 202 of file csky-linux-tdep.c.
References reg_buffer::arch(), CSKY_FR16_REGNUM, csky_fregset_offset, CSKY_VR0_REGNUM, gdbarch_register_name(), reg_buffer::raw_collect(), register_size(), regnum, SIZEOF_CSKY_FREGSET, and SIZEOF_CSKY_FREGSET_K4X.
|
static |
Definition at line 90 of file csky-linux-tdep.c.
References csky_gregset_offset, reg_buffer::raw_collect(), regnum, and SIZEOF_CSKY_GREGSET.
|
static |
Definition at line 404 of file csky-linux-tdep.c.
References csky_linux_iterate_over_regset_sections(), csky_linux_rt_sigreturn_tramp_frame, csky_linux_rt_sigreturn_tramp_frame_kernel_4x, find_solib_trampoline_target(), glibc_skip_solib_resolver(), linux_ilp32_fetch_link_map_offsets(), linux_init_abi(), set_gdbarch_fetch_tls_load_module_address(), set_gdbarch_iterate_over_regset_sections(), set_gdbarch_skip_solib_resolver(), set_gdbarch_skip_trampoline_code(), set_solib_svr4_fetch_link_map_offsets(), svr4_fetch_objfile_link_map(), and tramp_frame_prepend_unwinder().
Referenced by _initialize_csky_linux_tdep().
|
static |
Definition at line 300 of file csky-linux-tdep.c.
References csky_fregset_offset, csky_gregset_offset, csky_regset_float, and csky_regset_general.
Referenced by csky_linux_init_abi().
|
static |
Definition at line 312 of file csky-linux-tdep.c.
References CSKY_SIGCONTEXT_SC_A0, CSKY_SIGCONTEXT_SC_USP, CSKY_SIGINFO_OFFSET, CSKY_SIGINFO_SIZE, CSKY_UCONTEXT_SIGCONTEXT, frame_id_build(), func, get_frame_register_unsigned(), trad_frame_set_id(), and trad_frame_set_reg_addr().
|
static |
Definition at line 357 of file csky-linux-tdep.c.
References CSKY_CR0_REGNUM, CSKY_PC_REGNUM, CSKY_R15_REGNUM, CSKY_SIGCONTEXT_PT_REGS_TLS, CSKY_SIGINFO_OFFSET, CSKY_SIGINFO_SIZE, CSKY_SP_REGNUM, CSKY_UCONTEXT_SIGCONTEXT, frame_id_build(), func, get_frame_register_unsigned(), trad_frame_set_id(), and trad_frame_set_reg_addr().
|
static |
Definition at line 112 of file csky-linux-tdep.c.
References reg_buffer::arch(), CSKY_FR0_REGNUM, CSKY_FR16_REGNUM, csky_fregset_offset, CSKY_VR0_REGNUM, gdbarch_register_name(), reg_buffer::raw_supply(), register_size(), regnum, SIZEOF_CSKY_FREGSET, and SIZEOF_CSKY_FREGSET_K4X.
|
static |
Definition at line 69 of file csky-linux-tdep.c.
References csky_gregset_offset, reg_buffer::raw_supply(), regnum, and SIZEOF_CSKY_GREGSET.
|
static |
Definition at line 58 of file csky-linux-tdep.c.
Referenced by csky_collect_fregset(), csky_linux_iterate_over_regset_sections(), and csky_supply_fregset().
|
static |
Definition at line 44 of file csky-linux-tdep.c.
Referenced by csky_collect_gregset(), csky_linux_iterate_over_regset_sections(), and csky_supply_gregset().
|
static |
Definition at line 345 of file csky-linux-tdep.c.
Referenced by csky_linux_init_abi().
|
static |
Definition at line 390 of file csky-linux-tdep.c.
Referenced by csky_linux_init_abi().
|
static |
Definition at line 287 of file csky-linux-tdep.c.
Referenced by csky_linux_iterate_over_regset_sections().
|
static |
Definition at line 280 of file csky-linux-tdep.c.
Referenced by csky_linux_iterate_over_regset_sections().