|
GDBserver
|
#include "server.h"#include "linux-low.h"#include <asm/ptrace.h>#include <xtensa-config.h>#include "arch/xtensa.h"#include "gdb_proc_service.h"#include "xtensa-xtregs.c"Go to the source code of this file.
Macros | |
| #define | XTENSA_BREAKPOINT {0xd2,0x0f} |
| #define | xtensa_breakpoint_len 2 |
Enumerations | |
| enum | regnum { R_PC =0, R_PS, R_LBEG, R_LEND, R_LCOUNT, R_SAR, R_WS, R_WB, R_THREADPTR, R_A0 = 64 } |
Functions | |
| void | init_registers_xtensa (void) |
| static void | xtensa_fill_gregset (struct regcache *regcache, void *buf) |
| static void | xtensa_store_gregset (struct regcache *regcache, const void *buf) |
| static void | xtensa_fill_xtregset (struct regcache *regcache, void *buf) |
| static void | xtensa_store_xtregset (struct regcache *regcache, const void *buf) |
| static const gdb_byte * | xtensa_sw_breakpoint_from_kind (int kind, int *size) |
| static int | xtensa_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 | xtensa_arch_setup (void) |
| static int | xtensa_supports_hardware_single_step (void) |
| static const struct regs_info * | xtensa_regs_info (void) |
| void | initialize_low_arch (void) |
Variables | |
| const struct target_desc * | tdesc_xtensa |
| static struct regset_info | xtensa_regsets [] |
| static const gdb_byte | xtensa_breakpoint [] = XTENSA_BREAKPOINT |
| static struct regsets_info | xtensa_regsets_info |
| static struct regs_info | regs_info |
| struct linux_target_ops | the_low_target |
| #define XTENSA_BREAKPOINT {0xd2,0x0f} |
Definition at line 188 of file linux-xtensa-low.c.
| #define xtensa_breakpoint_len 2 |
Definition at line 194 of file linux-xtensa-low.c.
Referenced by xtensa_breakpoint_at(), and xtensa_sw_breakpoint_from_kind().
| enum regnum |
| Enumerator | |
|---|---|
| R_PC | |
| R_PS | |
| R_LBEG | |
| R_LEND | |
| R_LCOUNT | |
| R_SAR | |
| R_WS | |
| R_WB | |
| R_THREADPTR | |
| R_A0 | |
Definition at line 34 of file linux-xtensa-low.c.
| void init_registers_xtensa | ( | void | ) |
Referenced by initialize_low_arch().
| void initialize_low_arch | ( | void | ) |
Definition at line 309 of file linux-xtensa-low.c.
References aarch64_regsets_info, init_registers_xtensa(), initialize_low_arch_aarch32(), initialize_low_tdesc(), and xtensa_regsets_info.
| ps_err_e ps_get_thread_area | ( | struct ps_prochandle * | ph, |
| lwpid_t | lwpid, | ||
| int | idx, | ||
| void ** | base | ||
| ) |
Definition at line 219 of file linux-xtensa-low.c.
|
static |
Definition at line 250 of file linux-xtensa-low.c.
References current_process(), process_info::tdesc, and tdesc_xtensa.
|
static |
Definition at line 206 of file linux-xtensa-low.c.
References target_ops::read_memory, the_target, xtensa_breakpoint, and xtensa_breakpoint_len.
|
static |
Definition at line 44 of file linux-xtensa-low.c.
References collect_register(), collect_register_by_name(), find_regno(), R_A0, R_LBEG, R_LCOUNT, R_LEND, R_PC, R_PS, R_SAR, R_THREADPTR, R_WB, R_WS, register_size(), and regcache::tdesc.
|
static |
Definition at line 154 of file linux-xtensa-low.c.
References collect_register_by_name(), xtensa_regtable_t::name, xtensa_regtable_t::ptrace_offset, and xtensa_regmap_table.
|
static |
Definition at line 264 of file linux-xtensa-low.c.
References regs_info.
|
static |
Definition at line 98 of file linux-xtensa-low.c.
References find_regno(), R_A0, R_LBEG, R_LCOUNT, R_LEND, R_PC, R_PS, R_SAR, R_THREADPTR, R_WB, R_WS, register_size(), supply_register(), supply_register_by_name(), and regcache::tdesc.
|
static |
Definition at line 166 of file linux-xtensa-low.c.
References xtensa_regtable_t::name, xtensa_regtable_t::ptrace_offset, supply_register_by_name(), and xtensa_regmap_table.
|
static |
Definition at line 258 of file linux-xtensa-low.c.
|
static |
Definition at line 199 of file linux-xtensa-low.c.
References xtensa_breakpoint, and xtensa_breakpoint_len.
Definition at line 242 of file linux-xtensa-low.c.
Referenced by xtensa_regs_info().
| const struct target_desc* tdesc_xtensa |
Referenced by xtensa_arch_setup().
| struct linux_target_ops the_low_target |
Definition at line 269 of file linux-xtensa-low.c.
|
static |
Definition at line 193 of file linux-xtensa-low.c.
Referenced by xtensa_breakpoint_at(), and xtensa_sw_breakpoint_from_kind().
|
static |
Definition at line 177 of file linux-xtensa-low.c.
|
static |
Definition at line 235 of file linux-xtensa-low.c.
Referenced by initialize_low_arch().
1.8.14