GDBserver
|
#include "server.h"
#include "linux-low.h"
#include <sys/ptrace.h>
#include <endian.h>
#include "gdb_proc_service.h"
#include <asm/ptrace.h>
Go to the source code of this file.
Classes | |
union | tic6x_register |
Macros | |
#define | PTRACE_GET_THREAD_AREA 25 |
#define | TIC6X_NUM_REGS 69 |
#define | tic6x_breakpoint_len 4 |
Variables | |
const struct target_desc * | tdesc_tic6x_c64xp_linux |
const struct target_desc * | tdesc_tic6x_c64x_linux |
const struct target_desc * | tdesc_tic6x_c62x_linux |
static int | tic6x_regmap_c64xp [] |
static int | tic6x_regmap_c64x [] |
static int | tic6x_regmap_c62x [] |
struct linux_target_ops | the_low_target |
static int * | tic6x_regmap |
static unsigned int | tic6x_breakpoint |
static struct usrregs_info | tic6x_usrregs_info |
static struct regset_info | tic6x_regsets [] |
static struct regsets_info | tic6x_regsets_info |
static struct regs_info | regs_info |
#define PTRACE_GET_THREAD_AREA 25 |
Definition at line 31 of file linux-tic6x-low.c.
Referenced by ps_get_thread_area().
#define tic6x_breakpoint_len 4 |
Definition at line 250 of file linux-tic6x-low.c.
#define TIC6X_NUM_REGS 69 |
Definition at line 35 of file linux-tic6x-low.c.
Referenced by tic6x_fill_gregset(), and tic6x_store_gregset().
void init_registers_tic6x_c62x_linux | ( | void | ) |
Referenced by initialize_low_arch().
void init_registers_tic6x_c64x_linux | ( | void | ) |
Referenced by initialize_low_arch().
void init_registers_tic6x_c64xp_linux | ( | void | ) |
Referenced by initialize_low_arch().
void initialize_low_arch | ( | void | ) |
Definition at line 378 of file linux-tic6x-low.c.
References init_registers_tic6x_c62x_linux(), init_registers_tic6x_c64x_linux(), init_registers_tic6x_c64xp_linux(), and tic6x_regsets_info.
ps_err_e ps_get_thread_area | ( | const struct ps_prochandle * | ph, |
lwpid_t | lwpid, | ||
int | idx, | ||
void ** | base | ||
) |
Definition at line 269 of file linux-tic6x-low.c.
References PS_ERR, PS_OK, and PTRACE_GET_THREAD_AREA.
|
static |
Definition at line 331 of file linux-tic6x-low.c.
References current_process(), process_info::tdesc, and tic6x_read_description().
|
static |
Definition at line 253 of file linux-tic6x-low.c.
References target_ops::read_memory, the_target, and tic6x_breakpoint.
|
static |
Definition at line 221 of file linux-tic6x-low.c.
References tic6x_regmap.
|
static |
Definition at line 227 of file linux-tic6x-low.c.
References tic6x_regmap.
|
static |
Definition at line 284 of file linux-tic6x-low.c.
References collect_register(), and tic6x_register::reg32.
Referenced by tic6x_fill_gregset().
|
static |
Definition at line 303 of file linux-tic6x-low.c.
References tic6x_register::buf, tic6x_collect_register(), TIC6X_NUM_REGS, and tic6x_regmap.
Definition at line 233 of file linux-tic6x-low.c.
References tic6x_register::buf, collect_register_by_name(), and tic6x_register::reg32.
|
static |
Definition at line 179 of file linux-tic6x-low.c.
References error(), usrregs_info::regmap, tdesc_tic6x_c62x_linux, tdesc_tic6x_c64x_linux, tdesc_tic6x_c64xp_linux, tic6x_breakpoint, tic6x_regmap, tic6x_regmap_c62x, tic6x_regmap_c64x, tic6x_regmap_c64xp, and tic6x_usrregs_info.
Referenced by tic6x_arch_setup().
|
static |
Definition at line 357 of file linux-tic6x-low.c.
References regs_info.
Definition at line 242 of file linux-tic6x-low.c.
References tic6x_register::buf, tic6x_register::reg32, and supply_register_by_name().
|
static |
Definition at line 314 of file linux-tic6x-low.c.
References tic6x_register::buf, TIC6X_NUM_REGS, tic6x_regmap, and tic6x_supply_register().
|
static |
Definition at line 294 of file linux-tic6x-low.c.
References tic6x_register::buf, offset, and supply_register().
Referenced by tic6x_store_gregset().
Definition at line 349 of file linux-tic6x-low.c.
Referenced by tic6x_regs_info().
const struct target_desc* tdesc_tic6x_c62x_linux |
Referenced by tic6x_read_description().
const struct target_desc* tdesc_tic6x_c64x_linux |
Referenced by tic6x_read_description().
const struct target_desc* tdesc_tic6x_c64xp_linux |
Referenced by tic6x_read_description().
struct linux_target_ops the_low_target |
Definition at line 362 of file linux-tic6x-low.c.
|
static |
Definition at line 173 of file linux-tic6x-low.c.
Referenced by tic6x_breakpoint_at(), and tic6x_read_description().
|
static |
Definition at line 172 of file linux-tic6x-low.c.
Referenced by tic6x_cannot_fetch_register(), tic6x_cannot_store_register(), tic6x_fill_gregset(), tic6x_read_description(), and tic6x_store_gregset().
|
static |
Definition at line 98 of file linux-tic6x-low.c.
Referenced by tic6x_read_description().
|
static |
Definition at line 80 of file linux-tic6x-low.c.
Referenced by tic6x_read_description().
|
static |
Definition at line 61 of file linux-tic6x-low.c.
Referenced by tic6x_read_description().
|
static |
Definition at line 324 of file linux-tic6x-low.c.
|
static |
Definition at line 336 of file linux-tic6x-low.c.
Referenced by initialize_low_arch().
|
static |
Definition at line 176 of file linux-tic6x-low.c.
Referenced by tic6x_read_description().