GDB (xrefs)
|
#include "defs.h"
#include "gdbarch.h"
#include "fbsd-tdep.h"
#include "aarch64-tdep.h"
#include "aarch64-fbsd-tdep.h"
#include "inferior.h"
#include "osabi.h"
#include "solib-svr4.h"
#include "target.h"
#include "tramp-frame.h"
#include "trad-frame.h"
Go to the source code of this file.
Macros | |
#define | AARCH64_SIGFRAME_UCONTEXT_OFFSET 80 |
#define | AARCH64_UCONTEXT_MCONTEXT_OFFSET 16 |
#define | AARCH64_MCONTEXT_FPREGS_OFFSET 272 |
#define | AARCH64_MCONTEXT_FLAGS_OFFSET 800 |
#define | AARCH64_MCONTEXT_FLAG_FP_VALID 0x1 |
Functions | |
static void | aarch64_fbsd_sigframe_init (const struct tramp_frame *self, frame_info_ptr this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func) |
static void | aarch64_fbsd_supply_tls_regset (const struct regset *regset, struct regcache *regcache, int regnum, const void *buf, size_t size) |
static void | aarch64_fbsd_collect_tls_regset (const struct regset *regset, const struct regcache *regcache, int regnum, void *buf, size_t size) |
static void | aarch64_fbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache) |
static const struct target_desc * | aarch64_fbsd_core_read_description (struct gdbarch *gdbarch, struct target_ops *target, bfd *abfd) |
static CORE_ADDR | aarch64_fbsd_get_thread_local_address (struct gdbarch *gdbarch, ptid_t ptid, CORE_ADDR lm_addr, CORE_ADDR offset) |
static void | aarch64_fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
void | _initialize_aarch64_fbsd_tdep () |
Variables | |
static const struct regcache_map_entry | aarch64_fbsd_gregmap [] |
static const struct regcache_map_entry | aarch64_fbsd_fpregmap [] |
static const struct regcache_map_entry | aarch64_fbsd_tls_regmap [] |
static const struct tramp_frame | aarch64_fbsd_sigframe |
const struct regset | aarch64_fbsd_gregset |
const struct regset | aarch64_fbsd_fpregset |
const struct regset | aarch64_fbsd_tls_regset |
#define AARCH64_MCONTEXT_FLAG_FP_VALID 0x1 |
Definition at line 85 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_sigframe_init().
#define AARCH64_MCONTEXT_FLAGS_OFFSET 800 |
Definition at line 84 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_sigframe_init().
#define AARCH64_MCONTEXT_FPREGS_OFFSET 272 |
Definition at line 83 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_sigframe_init().
#define AARCH64_SIGFRAME_UCONTEXT_OFFSET 80 |
Definition at line 81 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_sigframe_init().
#define AARCH64_UCONTEXT_MCONTEXT_OFFSET 16 |
Definition at line 82 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_sigframe_init().
void _initialize_aarch64_fbsd_tdep | ( | ) |
Definition at line 267 of file aarch64-fbsd-tdep.c.
References aarch64_fbsd_init_abi(), GDB_OSABI_FREEBSD, and gdbarch_register_osabi().
|
static |
Definition at line 158 of file aarch64-fbsd-tdep.c.
References reg_buffer::arch(), regcache::collect_regset(), regnum, size, and aarch64_gdbarch_tdep::tls_regnum_base.
|
static |
Definition at line 198 of file aarch64-fbsd-tdep.c.
References aarch64_read_description(), target_desc::features, and aarch64_features::tls.
Referenced by aarch64_fbsd_init_abi().
|
static |
Definition at line 212 of file aarch64-fbsd-tdep.c.
References readable_regcache::cooked_read(), current_inferior(), fbsd_get_thread_local_address(), get_thread_arch_regcache(), lm_addr(), regcache::ptid(), reg_buffer::regcache, target_fetch_registers(), and aarch64_gdbarch_tdep::tls_regnum_base.
Referenced by aarch64_fbsd_init_abi().
|
static |
Definition at line 236 of file aarch64-fbsd-tdep.c.
References aarch64_fbsd_core_read_description(), aarch64_fbsd_get_thread_local_address(), aarch64_fbsd_iterate_over_regset_sections(), aarch64_fbsd_sigframe, fbsd_init_abi(), aarch64_gdbarch_tdep::has_tls(), aarch64_gdbarch_tdep::jb_pc, set_gdbarch_core_read_description(), set_gdbarch_fetch_tls_load_module_address(), set_gdbarch_get_thread_local_address(), set_gdbarch_iterate_over_regset_sections(), set_solib_svr4_fetch_link_map_offsets(), svr4_fetch_objfile_link_map(), svr4_lp64_fetch_link_map_offsets(), and tramp_frame_prepend_unwinder().
Referenced by _initialize_aarch64_fbsd_tdep().
|
static |
Definition at line 177 of file aarch64-fbsd-tdep.c.
References aarch64_fbsd_fpregset, aarch64_fbsd_gregset, AARCH64_FBSD_SIZEOF_FPREGSET, AARCH64_FBSD_SIZEOF_GREGSET, AARCH64_FBSD_SIZEOF_TLSREGSET, aarch64_fbsd_tls_regset, and aarch64_gdbarch_tdep::has_tls().
Referenced by aarch64_fbsd_init_abi().
|
static |
Definition at line 90 of file aarch64-fbsd-tdep.c.
References aarch64_fbsd_fpregmap, aarch64_fbsd_gregmap, AARCH64_MCONTEXT_FLAG_FP_VALID, AARCH64_MCONTEXT_FLAGS_OFFSET, AARCH64_MCONTEXT_FPREGS_OFFSET, AARCH64_SIGFRAME_UCONTEXT_OFFSET, AARCH64_SP_REGNUM, AARCH64_UCONTEXT_MCONTEXT_OFFSET, extract_unsigned_integer(), frame_id_build(), func, gdbarch_byte_order(), get_frame_arch(), get_frame_register_unsigned(), regcache_map_entry_size(), target_read_memory(), trad_frame_set_id(), and trad_frame_set_reg_regmap().
|
static |
Definition at line 147 of file aarch64-fbsd-tdep.c.
References reg_buffer::arch(), regnum, size, regcache::supply_regset(), and aarch64_gdbarch_tdep::tls_regnum_base.
|
static |
Definition at line 45 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_sigframe_init().
const struct regset aarch64_fbsd_fpregset |
Definition at line 140 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_iterate_over_regset_sections(), aarch64_fbsd_nat_target::fetch_registers(), and aarch64_fbsd_nat_target::store_registers().
|
static |
Definition at line 35 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_sigframe_init().
const struct regset aarch64_fbsd_gregset |
Definition at line 134 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_iterate_over_regset_sections(), aarch64_fbsd_nat_target::fetch_registers(), and aarch64_fbsd_nat_target::store_registers().
|
static |
Definition at line 118 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_init_abi().
|
static |
Definition at line 55 of file aarch64-fbsd-tdep.c.
const struct regset aarch64_fbsd_tls_regset |
Definition at line 168 of file aarch64-fbsd-tdep.c.
Referenced by aarch64_fbsd_iterate_over_regset_sections(), aarch64_fbsd_nat_target::fetch_registers(), and aarch64_fbsd_nat_target::store_registers().