GDB (xrefs)
|
#include "defs.h"
#include "gdbcore.h"
#include "frame.h"
#include "target.h"
#include "gdbtypes.h"
#include "osabi.h"
#include "regcache.h"
#include "objfiles.h"
#include "symtab.h"
#include "m68k-tdep.h"
#include "trad-frame.h"
#include "frame-unwind.h"
#include "glibc-tdep.h"
#include "solib-svr4.h"
#include "auxv.h"
#include "observable.h"
#include "elf/common.h"
#include "linux-tdep.h"
#include "regset.h"
Go to the source code of this file.
Classes | |
struct | m68k_linux_sigtramp_info |
Macros | |
#define | M68K_LINUX_JB_ELEMENT_SIZE 4 |
#define | M68K_LINUX_JB_PC 7 |
#define | IS_SIGTRAMP(insn1, insn2) |
#define | IS_RT_SIGTRAMP(insn1, insn2) |
#define | M68K_LINUX_GREGS_SIZE (20 * 4) |
#define | M68K_LINUX_FPREGS_SIZE (27 * 4) |
Functions | |
static int | m68k_linux_pc_in_sigtramp (frame_info_ptr this_frame) |
static void | m68k_linux_inferior_created (inferior *inf) |
static struct m68k_linux_sigtramp_info | m68k_linux_get_sigtramp_info (frame_info_ptr this_frame) |
static struct trad_frame_cache * | m68k_linux_sigtramp_frame_cache (frame_info_ptr this_frame, void **this_cache) |
static void | m68k_linux_sigtramp_frame_this_id (frame_info_ptr this_frame, void **this_cache, struct frame_id *this_id) |
static struct value * | m68k_linux_sigtramp_frame_prev_register (frame_info_ptr this_frame, void **this_cache, int regnum) |
static int | m68k_linux_sigtramp_frame_sniffer (const struct frame_unwind *self, frame_info_ptr this_frame, void **this_prologue_cache) |
static void | m68k_linux_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache) |
static void | m68k_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
void | _initialize_m68k_linux_tdep () |
Variables | |
static int | m68k_linux_sigcontext_reg_offset [M68K_NUM_REGS] |
static int | m68k_uclinux_sigcontext_reg_offset [M68K_NUM_REGS] |
static int | m68k_linux_ucontext_reg_offset [M68K_NUM_REGS] |
static int | target_is_uclinux |
static const struct frame_unwind | m68k_linux_sigtramp_frame_unwind |
static const struct regcache_map_entry | m68k_linux_gregmap [] |
static const struct regcache_map_entry | m68k_linux_fpregmap [] |
static const struct regset | m68k_linux_gregset |
static const struct regset | m68k_linux_fpregset |
#define IS_RT_SIGTRAMP | ( | insn1, | |
insn2 ) |
Definition at line 53 of file m68k-linux-tdep.c.
Referenced by m68k_linux_pc_in_sigtramp().
#define IS_SIGTRAMP | ( | insn1, | |
insn2 ) |
Definition at line 47 of file m68k-linux-tdep.c.
Referenced by m68k_linux_pc_in_sigtramp().
#define M68K_LINUX_FPREGS_SIZE (27 * 4) |
Definition at line 354 of file m68k-linux-tdep.c.
Referenced by m68k_linux_iterate_over_regset_sections().
#define M68K_LINUX_GREGS_SIZE (20 * 4) |
Definition at line 343 of file m68k-linux-tdep.c.
Referenced by m68k_linux_iterate_over_regset_sections().
#define M68K_LINUX_JB_ELEMENT_SIZE 4 |
Definition at line 42 of file m68k-linux-tdep.c.
Referenced by m68k_linux_init_abi().
#define M68K_LINUX_JB_PC 7 |
Definition at line 43 of file m68k-linux-tdep.c.
Referenced by m68k_linux_init_abi().
void _initialize_m68k_linux_tdep | ( | ) |
Definition at line 429 of file m68k-linux-tdep.c.
References GDB_OSABI_LINUX, gdbarch_register_osabi(), gdb::observers::inferior_created, m68k_linux_inferior_created(), and m68k_linux_init_abi().
|
static |
Definition at line 222 of file m68k-linux-tdep.c.
References gdbarch_byte_order(), get_frame_arch(), get_frame_register_unsigned(), linux_is_uclinux(), m68k_linux_pc_in_sigtramp(), m68k_linux_sigcontext_reg_offset, m68k_linux_ucontext_reg_offset, M68K_SP_REGNUM, m68k_uclinux_sigcontext_reg_offset, read_memory_unsigned_integer(), and target_is_uclinux.
Referenced by m68k_linux_sigtramp_frame_cache().
|
static |
Definition at line 214 of file m68k-linux-tdep.c.
References target_is_uclinux.
Referenced by _initialize_m68k_linux_tdep().
|
static |
Definition at line 385 of file m68k-linux-tdep.c.
References find_solib_trampoline_target(), frame_unwind_append_unwinder(), glibc_skip_solib_resolver(), m68k_gdbarch_tdep::jb_elt_size, m68k_gdbarch_tdep::jb_pc, linux_ilp32_fetch_link_map_offsets(), linux_init_abi(), M68K_A1_REGNUM, m68k_linux_iterate_over_regset_sections(), M68K_LINUX_JB_ELEMENT_SIZE, M68K_LINUX_JB_PC, m68k_linux_sigtramp_frame_unwind, m68k_svr4_init_abi(), reg_struct_return, set_gdbarch_decr_pc_after_break(), 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(), m68k_gdbarch_tdep::struct_value_regnum, and svr4_fetch_objfile_link_map().
Referenced by _initialize_m68k_linux_tdep().
|
static |
Definition at line 373 of file m68k-linux-tdep.c.
References M68K_LINUX_FPREGS_SIZE, m68k_linux_fpregset, M68K_LINUX_GREGS_SIZE, and m68k_linux_gregset.
Referenced by m68k_linux_init_abi().
|
static |
Definition at line 64 of file m68k-linux-tdep.c.
References extract_unsigned_integer(), gdbarch_byte_order(), get_frame_arch(), get_frame_pc(), IS_RT_SIGTRAMP, IS_SIGTRAMP, and safe_frame_unwind_memory().
Referenced by m68k_linux_get_sigtramp_info(), and m68k_linux_sigtramp_frame_sniffer().
|
static |
Definition at line 251 of file m68k-linux-tdep.c.
References extract_unsigned_integer(), frame_id_build(), gdbarch_byte_order(), get_frame_arch(), get_frame_pc(), get_frame_register(), m68k_linux_get_sigtramp_info(), M68K_NUM_REGS, M68K_SP_REGNUM, trad_frame_cache_zalloc(), trad_frame_set_id(), and trad_frame_set_reg_addr().
Referenced by m68k_linux_sigtramp_frame_prev_register(), and m68k_linux_sigtramp_frame_this_id().
|
static |
Definition at line 299 of file m68k-linux-tdep.c.
References m68k_linux_sigtramp_frame_cache(), regnum, trad_frame_cache::this_frame, and trad_frame_get_register().
|
static |
Definition at line 310 of file m68k-linux-tdep.c.
References m68k_linux_pc_in_sigtramp(), and trad_frame_cache::this_frame.
|
static |
Definition at line 289 of file m68k-linux-tdep.c.
References m68k_linux_sigtramp_frame_cache(), trad_frame_cache::this_frame, trad_frame_cache::this_id, and trad_frame_get_id().
|
static |
Definition at line 345 of file m68k-linux-tdep.c.
|
static |
Definition at line 364 of file m68k-linux-tdep.c.
Referenced by m68k_linux_iterate_over_regset_sections().
|
static |
Definition at line 330 of file m68k-linux-tdep.c.
|
static |
Definition at line 358 of file m68k-linux-tdep.c.
Referenced by m68k_linux_iterate_over_regset_sections().
|
static |
Definition at line 98 of file m68k-linux-tdep.c.
Referenced by m68k_linux_get_sigtramp_info().
|
static |
Definition at line 317 of file m68k-linux-tdep.c.
Referenced by m68k_linux_init_abi().
|
static |
Definition at line 165 of file m68k-linux-tdep.c.
Referenced by m68k_linux_get_sigtramp_info().
|
static |
Definition at line 131 of file m68k-linux-tdep.c.
Referenced by m68k_linux_get_sigtramp_info().
|
static |
Definition at line 211 of file m68k-linux-tdep.c.
Referenced by m68k_linux_get_sigtramp_info(), and m68k_linux_inferior_created().