GDBserver
|
Go to the source code of this file.
Classes | |
struct | regs_range_t |
Macros | |
#define | BIAS 2047 |
#define | INSN_SIZE 4 |
#define | SPARC_R_REGS_NUM 32 |
#define | SPARC_F_REGS_NUM 48 |
#define | SPARC_CONTROL_REGS_NUM 6 |
#define | sparc_num_regs (SPARC_R_REGS_NUM + SPARC_F_REGS_NUM + SPARC_CONTROL_REGS_NUM) |
#define | N_GREGS_RANGES (sizeof (gregs_ranges) / sizeof (struct regs_range_t)) |
#define | N_FPREGS_RANGES (sizeof (fpregs_ranges) / sizeof (struct regs_range_t)) |
#define | sparc_breakpoint_len INSN_SIZE |
Functions | |
void | init_registers_sparc64 (void) |
static int | sparc_cannot_store_register (int regno) |
static int | sparc_cannot_fetch_register (int regno) |
static void | sparc_fill_gregset_to_stack (struct regcache *regcache, const void *buf) |
static void | sparc_fill_gregset (struct regcache *regcache, void *buf) |
static void | sparc_fill_fpregset (struct regcache *regcache, void *buf) |
static void | sparc_store_gregset_from_stack (struct regcache *regcache, const void *buf) |
static void | sparc_store_gregset (struct regcache *regcache, const void *buf) |
static void | sparc_store_fpregset (struct regcache *regcache, const void *buf) |
static CORE_ADDR | sparc_get_pc (struct regcache *regcache) |
static int | sparc_breakpoint_at (CORE_ADDR where) |
static CORE_ADDR | sparc_reinsert_addr (void) |
static void | sparc_arch_setup (void) |
static const struct regs_info * | sparc_regs_info (void) |
void | initialize_low_arch (void) |
Variables | |
static int | sparc_regmap [] |
static const struct regs_range_t | gregs_ranges [] |
static const struct regs_range_t | fpregs_ranges [] |
const struct target_desc * | tdesc_sparc64 |
int | debug_threads |
static const unsigned char | sparc_breakpoint [INSN_SIZE] |
static struct regset_info | sparc_regsets [] |
static struct regsets_info | sparc_regsets_info |
static struct usrregs_info | sparc_usrregs_info |
static struct regs_info | regs_info |
struct linux_target_ops | the_low_target |
#define BIAS 2047 |
Definition at line 30 of file linux-sparc-low.c.
Referenced by sparc_fill_gregset_to_stack(), and sparc_store_gregset_from_stack().
#define INSN_SIZE 4 |
Definition at line 36 of file linux-sparc-low.c.
Referenced by sparc_breakpoint_at().
#define N_FPREGS_RANGES (sizeof (fpregs_ranges) / sizeof (struct regs_range_t)) |
Definition at line 99 of file linux-sparc-low.c.
Referenced by sparc_fill_fpregset(), and sparc_store_fpregset().
#define N_GREGS_RANGES (sizeof (gregs_ranges) / sizeof (struct regs_range_t)) |
Definition at line 92 of file linux-sparc-low.c.
Referenced by sparc_fill_gregset(), and sparc_store_gregset().
#define sparc_breakpoint_len INSN_SIZE |
Definition at line 241 of file linux-sparc-low.c.
#define SPARC_CONTROL_REGS_NUM 6 |
Definition at line 40 of file linux-sparc-low.c.
#define SPARC_F_REGS_NUM 48 |
Definition at line 39 of file linux-sparc-low.c.
#define sparc_num_regs (SPARC_R_REGS_NUM + SPARC_F_REGS_NUM + SPARC_CONTROL_REGS_NUM) |
Definition at line 42 of file linux-sparc-low.c.
Referenced by sparc_cannot_fetch_register(), and sparc_cannot_store_register().
#define SPARC_R_REGS_NUM 32 |
Definition at line 38 of file linux-sparc-low.c.
void init_registers_sparc64 | ( | void | ) |
Referenced by initialize_low_arch().
void initialize_low_arch | ( | void | ) |
Definition at line 337 of file linux-sparc-low.c.
References init_registers_sparc64().
|
static |
Definition at line 274 of file linux-sparc-low.c.
References current_process(), process_info::tdesc, and tdesc_sparc64.
|
static |
Definition at line 245 of file linux-sparc-low.c.
References INSN_SIZE, target_ops::read_memory, sparc_breakpoint, and the_target.
|
static |
Definition at line 112 of file linux-sparc-low.c.
References sparc_num_regs, and sparc_regmap.
|
static |
Definition at line 106 of file linux-sparc-low.c.
References sparc_num_regs, and sparc_regmap.
|
static |
Definition at line 157 of file linux-sparc-low.c.
References collect_register(), N_FPREGS_RANGES, regs_range_t::regno_end, and sparc_regmap.
|
static |
Definition at line 142 of file linux-sparc-low.c.
References collect_register(), N_GREGS_RANGES, regs_range_t::regno_end, sparc_fill_gregset_to_stack(), and sparc_regmap.
|
static |
Definition at line 118 of file linux-sparc-low.c.
References BIAS, collect_register(), find_regno(), sparc_regmap, regcache::tdesc, the_target, and target_ops::write_memory.
Referenced by sparc_fill_gregset().
Definition at line 229 of file linux-sparc-low.c.
References collect_register_by_name(), debug_printf(), and debug_threads.
|
static |
Definition at line 312 of file linux-sparc-low.c.
References regs_info.
|
static |
Definition at line 264 of file linux-sparc-low.c.
References collect_register_by_name(), current_thread, and get_thread_regcache().
|
static |
Definition at line 214 of file linux-sparc-low.c.
References N_FPREGS_RANGES, regs_range_t::regno_end, sparc_regmap, and supply_register().
|
static |
Definition at line 194 of file linux-sparc-low.c.
References N_GREGS_RANGES, regs_range_t::regno_end, sparc_regmap, sparc_store_gregset_from_stack(), and supply_register().
|
static |
Definition at line 170 of file linux-sparc-low.c.
References BIAS, find_regno(), target_ops::read_memory, sparc_regmap, supply_register(), regcache::tdesc, and the_target.
Referenced by sparc_store_gregset().
int debug_threads |
Definition at line 24 of file debug.c.
Referenced by sparc_get_pc().
|
static |
Definition at line 94 of file linux-sparc-low.c.
|
static |
Definition at line 86 of file linux-sparc-low.c.
Definition at line 304 of file linux-sparc-low.c.
Referenced by sparc_regs_info().
|
static |
Definition at line 238 of file linux-sparc-low.c.
Referenced by sparc_breakpoint_at().
|
static |
Definition at line 50 of file linux-sparc-low.c.
Referenced by sparc_cannot_fetch_register(), sparc_cannot_store_register(), sparc_fill_fpregset(), sparc_fill_gregset(), sparc_fill_gregset_to_stack(), sparc_store_fpregset(), sparc_store_gregset(), and sparc_store_gregset_from_stack().
|
static |
Definition at line 279 of file linux-sparc-low.c.
|
static |
Definition at line 289 of file linux-sparc-low.c.
|
static |
Definition at line 296 of file linux-sparc-low.c.
const struct target_desc* tdesc_sparc64 |
Referenced by sparc_arch_setup().
struct linux_target_ops the_low_target |
Definition at line 317 of file linux-sparc-low.c.