|
GDBserver
|
#include "server.h"#include "linux-low.h"#include "nat/gdb_ptrace.h"#include "gdb_proc_service.h"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 const unsigned char * | sparc_sw_breakpoint_from_kind (int kind, int *size) |
| static int | sparc_breakpoint_at (CORE_ADDR where) |
| 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 |
| static const gdb_byte | 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 229 of file linux-sparc-low.c.
Referenced by sparc_sw_breakpoint_from_kind().
| #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 320 of file linux-sparc-low.c.
References init_registers_sparc64(), and sparc_regsets_info.
|
static |
Definition at line 257 of file linux-sparc-low.c.
References current_process(), process_info::tdesc, and tdesc_sparc64.
|
static |
Definition at line 241 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(), fpregs_ranges, 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(), gregs_ranges, 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().
|
static |
Definition at line 295 of file linux-sparc-low.c.
References regs_info.
|
static |
Definition at line 214 of file linux-sparc-low.c.
References fpregs_ranges, 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 gregs_ranges, memset(), 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().
|
static |
Definition at line 234 of file linux-sparc-low.c.
References sparc_breakpoint, and sparc_breakpoint_len.
|
static |
Definition at line 94 of file linux-sparc-low.c.
Referenced by sparc_fill_fpregset(), and sparc_store_fpregset().
|
static |
Definition at line 86 of file linux-sparc-low.c.
Referenced by sparc_fill_gregset(), and sparc_store_gregset().
Definition at line 287 of file linux-sparc-low.c.
Referenced by sparc_regs_info().
Definition at line 226 of file linux-sparc-low.c.
Referenced by sparc_breakpoint_at(), and sparc_sw_breakpoint_from_kind().
|
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 262 of file linux-sparc-low.c.
|
static |
Definition at line 272 of file linux-sparc-low.c.
Referenced by initialize_low_arch().
|
static |
Definition at line 279 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 300 of file linux-sparc-low.c.
1.8.14