|
GDBserver
|
#include "server.h"#include "linux-low.h"#include "elf/common.h"#include "nat/gdb_ptrace.h"#include <endian.h>#include "gdb_proc_service.h"#include <asm/ptrace.h>Go to the source code of this file.
Classes | |
| union | nios2_register |
Macros | |
| #define | PTRACE_GET_THREAD_AREA 25 |
| #define | nios2_num_regs 49 |
| #define | NIOS2_BREAKPOINT 0x003b6ffa |
| #define | nios2_breakpoint_len 4 |
Functions | |
| void | init_registers_nios2_linux (void) |
| static void | nios2_arch_setup (void) |
| static int | nios2_cannot_fetch_register (int regno) |
| static int | nios2_cannot_store_register (int regno) |
| static const gdb_byte * | nios2_sw_breakpoint_from_kind (int kind, int *size) |
| static int | nios2_breakpoint_at (CORE_ADDR where) |
| ps_err_e | ps_get_thread_area (struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base) |
| static void | nios2_collect_register (struct regcache *regcache, int regno, union nios2_register *reg) |
| static void | nios2_supply_register (struct regcache *regcache, int regno, const union nios2_register *reg) |
| static void | nios2_fill_gregset (struct regcache *regcache, void *buf) |
| static void | nios2_store_gregset (struct regcache *regcache, const void *buf) |
| static const struct regs_info * | nios2_regs_info (void) |
| void | initialize_low_arch (void) |
Variables | |
| const struct target_desc * | tdesc_nios2_linux |
| static int | nios2_regmap [] |
| static const unsigned int | nios2_breakpoint = NIOS2_BREAKPOINT |
| static struct regset_info | nios2_regsets [] |
| static struct regsets_info | nios2_regsets_info |
| static struct usrregs_info | nios2_usrregs_info |
| static struct regs_info | regs_info |
| struct linux_target_ops | the_low_target |
| #define NIOS2_BREAKPOINT 0x003b6ffa |
Definition at line 105 of file linux-nios2-low.c.
| #define nios2_breakpoint_len 4 |
Definition at line 114 of file linux-nios2-low.c.
Referenced by nios2_sw_breakpoint_from_kind().
| #define nios2_num_regs 49 |
Definition at line 39 of file linux-nios2-low.c.
Referenced by nios2_fill_gregset(), and nios2_store_gregset().
| #define PTRACE_GET_THREAD_AREA 25 |
Definition at line 31 of file linux-nios2-low.c.
Referenced by ps_get_thread_area().
| void init_registers_nios2_linux | ( | void | ) |
Referenced by initialize_low_arch().
| void initialize_low_arch | ( | void | ) |
Definition at line 254 of file linux-nios2-low.c.
References init_registers_nios2_linux(), and nios2_regsets_info.
|
static |
Definition at line 71 of file linux-nios2-low.c.
References current_process(), process_info::tdesc, and tdesc_nios2_linux.
|
static |
Definition at line 128 of file linux-nios2-low.c.
References nios2_breakpoint, target_ops::read_memory, and the_target.
|
static |
Definition at line 79 of file linux-nios2-low.c.
References nios2_regmap.
|
static |
Definition at line 90 of file linux-nios2-low.c.
References nios2_regmap.
|
static |
Definition at line 165 of file linux-nios2-low.c.
References collect_register(), and nios2_register::reg32.
Referenced by nios2_fill_gregset().
|
static |
Definition at line 184 of file linux-nios2-low.c.
References nios2_register::buf, nios2_collect_register(), and nios2_num_regs.
|
static |
Definition at line 232 of file linux-nios2-low.c.
References regs_info.
|
static |
Definition at line 194 of file linux-nios2-low.c.
References nios2_register::buf, nios2_num_regs, and nios2_supply_register().
|
static |
Definition at line 175 of file linux-nios2-low.c.
References nios2_register::buf, and supply_register().
Referenced by nios2_store_gregset().
|
static |
Definition at line 119 of file linux-nios2-low.c.
References nios2_breakpoint, and nios2_breakpoint_len.
| ps_err_e ps_get_thread_area | ( | struct ps_prochandle * | ph, |
| lwpid_t | lwpid, | ||
| int | idx, | ||
| void ** | base | ||
| ) |
Definition at line 148 of file linux-nios2-low.c.
References PS_ERR, PS_OK, ptrace(), and PTRACE_GET_THREAD_AREA.
|
static |
Definition at line 113 of file linux-nios2-low.c.
Referenced by nios2_breakpoint_at(), and nios2_sw_breakpoint_from_kind().
|
static |
Definition at line 57 of file linux-nios2-low.c.
Referenced by nios2_cannot_fetch_register(), and nios2_cannot_store_register().
|
static |
Definition at line 203 of file linux-nios2-low.c.
|
static |
Definition at line 211 of file linux-nios2-low.c.
Referenced by initialize_low_arch().
|
static |
Definition at line 218 of file linux-nios2-low.c.
Definition at line 224 of file linux-nios2-low.c.
Referenced by nios2_regs_info().
| const struct target_desc* tdesc_nios2_linux |
Referenced by nios2_arch_setup().
| struct linux_target_ops the_low_target |
Definition at line 237 of file linux-nios2-low.c.
1.8.14