|
GDB (xrefs)
|
#include "defs.h"#include "frame.h"#include "inferior.h"#include "gdbcore.h"#include "regcache.h"#include "gdbsupport/gdb_assert.h"#include "target.h"#include "linux-nat.h"#include "nat/gdb_ptrace.h"#include <stdint.h>#include <sys/types.h>#include <sys/param.h>#include <signal.h>#include <sys/user.h>#include <sys/ioctl.h>#include "gdbsupport/gdb_wait.h"#include <fcntl.h>#include <sys/procfs.h>#include <linux/elf.h>#include "gregset.h"#include "arc-tdep.h"#include "arc-linux-tdep.h"#include "arch/arc.h"#include "gdb_proc_service.h"Go to the source code of this file.
Classes | |
| class | arc_linux_nat_target |
Macros | |
| #define | arc_linux_nat_debug_printf(fmt, ...) |
Functions | |
| static void | fetch_gregs (struct regcache *regcache, int regnum) |
| static void | store_gregs (const struct regcache *regcache, int regnum) |
| void | fill_gregset (const struct regcache *regcache, gdb_gregset_t *gregs, int regnum) |
| void | supply_gregset (struct regcache *regcache, const gdb_gregset_t *gregs) |
| void | fill_fpregset (const struct regcache *regcache, gdb_fpregset_t *fpregsetp, int regnum) |
| void | supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregsetp) |
| ps_err_e | ps_get_thread_area (struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base) |
| void | _initialize_arc_linux_nat () |
Variables | |
| static arc_linux_nat_target | the_arc_linux_nat_target |
| #define arc_linux_nat_debug_printf | ( | fmt, | |
| ... ) |
Definition at line 51 of file arc-linux-nat.c.
Referenced by fill_fpregset(), ps_get_thread_area(), and supply_fpregset().
| void _initialize_arc_linux_nat | ( | ) |
Definition at line 315 of file arc-linux-nat.c.
References add_inf_child_target(), linux_target, and the_arc_linux_nat_target.
|
static |
Definition at line 80 of file arc-linux-nat.c.
References arc_linux_supply_gregset(), get_ptrace_pid(), regcache::ptid(), ptrace, PTRACE_GETREGSET, and regnum.
Referenced by arc_linux_nat_target::fetch_registers().
| void fill_fpregset | ( | const struct regcache * | regcache, |
| gdb_fpregset_t * | fpregsetp, | ||
| int | regnum ) |
Definition at line 224 of file arc-linux-nat.c.
References arc_linux_nat_debug_printf.
| void fill_gregset | ( | const struct regcache * | regcache, |
| gdb_gregset_t * | gregs, | ||
| int | regnum ) |
Definition at line 205 of file arc-linux-nat.c.
References arc_linux_collect_gregset(), and regnum.
| ps_err_e ps_get_thread_area | ( | struct ps_prochandle * | ph, |
| lwpid_t | lwpid, | ||
| int | idx, | ||
| void ** | base ) |
Definition at line 296 of file arc-linux-nat.c.
References arc_linux_nat_debug_printf, ptrace, and PTRACE_GET_THREAD_AREA.
|
static |
Definition at line 119 of file arc-linux-nat.c.
References arc_linux_collect_gregset(), get_ptrace_pid(), regcache::ptid(), ptrace, PTRACE_GETREGSET, PTRACE_SETREGSET, and regnum.
Referenced by arc_linux_nat_target::store_registers().
| void supply_fpregset | ( | struct regcache * | regcache, |
| const gdb_fpregset_t * | fpregsetp ) |
Definition at line 234 of file arc-linux-nat.c.
References arc_linux_nat_debug_printf.
| void supply_gregset | ( | struct regcache * | regcache, |
| const gdb_gregset_t * | gregs ) |
Definition at line 215 of file arc-linux-nat.c.
References arc_linux_supply_gregset().
|
static |
Definition at line 74 of file arc-linux-nat.c.
Referenced by _initialize_arc_linux_nat().