GDB (xrefs)
|
#include "defs.h"
#include "dwarf2-frame.h"
#include "frame.h"
#include "frame-unwind.h"
#include "gdbtypes.h"
#include "regset.h"
#include "gdbarch.h"
#include "gdbcore.h"
#include "osabi.h"
#include "regcache.h"
#include "solib-svr4.h"
#include "symtab.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "xml-syscall.h"
#include "linux-tdep.h"
#include "sparc-tdep.h"
Go to the source code of this file.
Macros | |
#define | XML_SYSCALL_FILENAME_SPARC32 "syscalls/sparc-linux.xml" |
#define | PSR_SYSCALL 0x00004000 |
Enumerations | |
enum | { SPARC_LINUX_SIGEMT = 7, SPARC_LINUX_SIGBUS = 10, SPARC_LINUX_SIGSYS = 12, SPARC_LINUX_SIGURG = 16, SPARC_LINUX_SIGSTOP = 17, SPARC_LINUX_SIGTSTP = 18, SPARC_LINUX_SIGCONT = 19, SPARC_LINUX_SIGCHLD = 20, SPARC_LINUX_SIGIO = 23, SPARC_LINUX_SIGPOLL = SPARC_LINUX_SIGIO, SPARC_LINUX_SIGLOST = 29, SPARC_LINUX_SIGPWR = SPARC_LINUX_SIGLOST, SPARC_LINUX_SIGUSR1 = 30, SPARC_LINUX_SIGUSR2 = 31 } |
Variables | |
static const struct tramp_frame | sparc32_linux_sigframe |
static const struct tramp_frame | sparc32_linux_rt_sigframe |
const struct sparc_gregmap | sparc32_linux_core_gregmap |
static const struct regset | sparc32_linux_gregset |
static const struct regset | sparc32_linux_fpregset |
#define PSR_SYSCALL 0x00004000 |
Definition at line 251 of file sparc-linux-tdep.c.
Referenced by sparc_linux_write_pc().
#define XML_SYSCALL_FILENAME_SPARC32 "syscalls/sparc-linux.xml" |
Definition at line 38 of file sparc-linux-tdep.c.
Referenced by sparc32_linux_init_abi().
anonymous enum |
Definition at line 100 of file sparc-linux-tdep.c.
void _initialize_sparc_linux_tdep | ( | void | ) |
Definition at line 472 of file sparc-linux-tdep.c.
References GDB_OSABI_LINUX, gdbarch_register_osabi(), and sparc32_linux_init_abi().
|
static |
Definition at line 242 of file sparc-linux-tdep.c.
References sparc32_bsd_fpregmap, and sparc32_collect_fpregset().
|
static |
Definition at line 225 of file sparc-linux-tdep.c.
References sparc32_collect_gregset().
|
static |
Definition at line 300 of file sparc-linux-tdep.c.
References linux_gdb_signal_from_target(), SPARC_LINUX_SIGBUS, SPARC_LINUX_SIGCHLD, SPARC_LINUX_SIGCONT, SPARC_LINUX_SIGEMT, SPARC_LINUX_SIGIO, SPARC_LINUX_SIGLOST, SPARC_LINUX_SIGSTOP, SPARC_LINUX_SIGSYS, SPARC_LINUX_SIGTSTP, SPARC_LINUX_SIGURG, SPARC_LINUX_SIGUSR1, and SPARC_LINUX_SIGUSR2.
Referenced by sparc32_linux_init_abi().
|
static |
Definition at line 353 of file sparc-linux-tdep.c.
References linux_gdb_signal_to_target(), SPARC_LINUX_SIGBUS, SPARC_LINUX_SIGCHLD, SPARC_LINUX_SIGCONT, SPARC_LINUX_SIGEMT, SPARC_LINUX_SIGIO, SPARC_LINUX_SIGLOST, SPARC_LINUX_SIGPOLL, SPARC_LINUX_SIGPWR, SPARC_LINUX_SIGSTOP, SPARC_LINUX_SIGSYS, SPARC_LINUX_SIGTSTP, SPARC_LINUX_SIGURG, SPARC_LINUX_SIGUSR1, and SPARC_LINUX_SIGUSR2.
Referenced by sparc32_linux_init_abi().
Definition at line 276 of file sparc-linux-tdep.c.
References extract_signed_integer(), gdbarch_byte_order(), get_thread_regcache(), regcache_cooked_read(), and SPARC_G1_REGNUM.
Referenced by sparc32_linux_init_abi().
|
static |
Definition at line 421 of file sparc-linux-tdep.c.
References dwarf2_append_unwinders(), find_solib_trampoline_target(), gdbarch_tdep::fpregset, gdbarch_tdep(), gdbarch_tdep::gregset, linux_init_abi(), gdbarch_tdep::plt_entry_size, set_gdbarch_fetch_tls_load_module_address(), set_gdbarch_gdb_signal_from_target(), set_gdbarch_gdb_signal_to_target(), set_gdbarch_get_syscall_number(), set_gdbarch_skip_trampoline_code(), set_gdbarch_write_pc(), set_solib_svr4_fetch_link_map_offsets(), set_xml_syscall_file_name(), gdbarch_tdep::sizeof_fpregset, gdbarch_tdep::sizeof_gregset, sparc32_linux_fpregset, sparc32_linux_gdb_signal_from_target(), sparc32_linux_gdb_signal_to_target(), sparc32_linux_get_syscall_number(), sparc32_linux_gregset, sparc32_linux_step_trap(), sparc_linux_write_pc(), gdbarch_tdep::step_trap, svr4_fetch_objfile_link_map(), svr4_ilp32_fetch_link_map_offsets(), tramp_frame_prepend_unwinder(), and XML_SYSCALL_FILENAME_SPARC32.
Referenced by _initialize_sparc_linux_tdep().
|
static |
Definition at line 119 of file sparc-linux-tdep.c.
References frame_id_build(), get_frame_memory_unsigned(), get_frame_register_unsigned(), regnum, SPARC32_NPC_REGNUM, SPARC32_PC_REGNUM, SPARC32_PSR_REGNUM, SPARC32_Y_REGNUM, SPARC_G0_REGNUM, SPARC_G1_REGNUM, SPARC_I7_REGNUM, SPARC_L0_REGNUM, SPARC_O1_REGNUM, SPARC_O7_REGNUM, SPARC_SP_REGNUM, trad_frame_set_id(), and trad_frame_set_reg_addr().
|
static |
Definition at line 162 of file sparc-linux-tdep.c.
References gdbarch::byte_order, gdbarch_byte_order(), get_frame_arch(), get_frame_register_unsigned(), read_memory_unsigned_integer(), SPARC_G1_REGNUM, and SPARC_SP_REGNUM.
Referenced by sparc32_linux_init_abi().
|
static |
Definition at line 234 of file sparc-linux-tdep.c.
References sparc32_bsd_fpregmap, and sparc32_supply_fpregset().
|
static |
Definition at line 216 of file sparc-linux-tdep.c.
References sparc32_supply_gregset().
Definition at line 254 of file sparc-linux-tdep.c.
References gdbarch_tdep(), get_regcache_arch(), gdbarch_tdep::npc_regnum, gdbarch_tdep::pc_regnum, PSR_SYSCALL, regcache_cooked_read_unsigned(), regcache_cooked_write_unsigned(), and SPARC32_PSR_REGNUM.
Referenced by sparc32_linux_init_abi().
const struct sparc_gregmap sparc32_linux_core_gregmap |
Definition at line 201 of file sparc-linux-tdep.c.
Definition at line 413 of file sparc-linux-tdep.c.
Referenced by sparc32_linux_init_abi().
Definition at line 406 of file sparc-linux-tdep.c.
Referenced by sparc32_linux_init_abi().
|
static |
Definition at line 81 of file sparc-linux-tdep.c.
|
static |
Definition at line 66 of file sparc-linux-tdep.c.