GDB (xrefs)
|
#include "defs.h"
#include "gdbcore.h"
#include "regcache.h"
#include "sparc-tdep.h"
#include "inferior.h"
#include "ravenscar-thread.h"
#include "sparc-ravenscar-thread.h"
Go to the source code of this file.
Functions | |
static void | sparc_ravenscar_fetch_registers (struct regcache *regcache, int regnum) |
static void | sparc_ravenscar_store_registers (struct regcache *regcache, int regnum) |
static void | sparc_ravenscar_prepare_to_store (struct regcache *regcache) |
static void | supply_register_at_address (struct regcache *regcache, int regnum, CORE_ADDR register_addr) |
static int | register_on_stack_p (int regnum) |
static int | register_in_thread_descriptor_p (int regnum) |
void | register_sparc_ravenscar_ops (struct gdbarch *gdbarch) |
Variables | |
static const int | sparc_register_offsets [] |
static struct ravenscar_arch_ops | sparc_ravenscar_ops |
Definition at line 88 of file sparc-ravenscar-thread.c.
References SPARC32_FSR_REGNUM, SPARC32_PC_REGNUM, SPARC32_PSR_REGNUM, SPARC32_WIM_REGNUM, SPARC32_Y_REGNUM, SPARC_F0_REGNUM, SPARC_G1_REGNUM, SPARC_G7_REGNUM, SPARC_O0_REGNUM, and SPARC_O7_REGNUM.
Referenced by sparc_ravenscar_fetch_registers(), and sparc_ravenscar_store_registers().
Definition at line 78 of file sparc-ravenscar-thread.c.
References SPARC_I0_REGNUM, SPARC_I7_REGNUM, SPARC_L0_REGNUM, and SPARC_L7_REGNUM.
Referenced by sparc_ravenscar_fetch_registers(), and sparc_ravenscar_store_registers().
void register_sparc_ravenscar_ops | ( | struct gdbarch * | gdbarch | ) |
Definition at line 191 of file sparc-ravenscar-thread.c.
References set_gdbarch_ravenscar_ops().
Referenced by sparc32_gdbarch_init().
Definition at line 104 of file sparc-ravenscar-thread.c.
References gdbarch_num_regs(), gdbarch_sp_regnum(), get_regcache_arch(), inferior_ptid, gdbarch::num_regs, ptid_get_tid(), regcache_cooked_read_unsigned(), register_in_thread_descriptor_p(), register_on_stack_p(), sp_regnum, sparc_register_offsets, and supply_register_at_address().
|
static |
Definition at line 147 of file sparc-ravenscar-thread.c.
Definition at line 156 of file sparc-ravenscar-thread.c.
References get_regcache_arch(), inferior_ptid, ptid_get_tid(), regcache_cooked_read_unsigned(), regcache_raw_collect(), register_in_thread_descriptor_p(), register_on_stack_p(), register_size(), regnum, sparc_register_offsets, SPARC_SP_REGNUM, and write_memory().
|
static |
Definition at line 62 of file sparc-ravenscar-thread.c.
References get_regcache_arch(), read_memory(), regcache_raw_supply(), and register_size().
Referenced by sparc_ravenscar_fetch_registers().
|
static |
Definition at line 181 of file sparc-ravenscar-thread.c.
Definition at line 39 of file sparc-ravenscar-thread.c.
Referenced by sparc_ravenscar_fetch_registers(), and sparc_ravenscar_store_registers().