|
GDB (xrefs)
|
#include "defs.h"#include "inferior.h"#include "regcache.h"#include "elf/common.h"#include <sys/uio.h>#include "nat/gdb_ptrace.h"#include <asm/prctl.h>#include <sys/reg.h>#include "gregset.h"#include "gdb_proc_service.h"#include "amd64-nat.h"#include "amd64-tdep.h"#include "amd64-linux-tdep.h"#include "i386-linux-tdep.h"#include "gdbsupport/x86-xstate.h"#include "x86-linux-nat.h"#include "nat/linux-ptrace.h"#include "nat/amd64-linux-siginfo.h"Go to the source code of this file.
Classes | |
| struct | amd64_linux_nat_target |
Macros | |
| #define | PTRACE_ARCH_PRCTL 30 |
Functions | |
| static void | amd64_linux_collect_native_gregset (const struct regcache *regcache, void *gregs, int regnum) |
| void | supply_gregset (struct regcache *regcache, const elf_gregset_t *gregsetp) |
| void | fill_gregset (const struct regcache *regcache, elf_gregset_t *gregsetp, int regnum) |
| void | supply_fpregset (struct regcache *regcache, const elf_fpregset_t *fpregsetp) |
| void | fill_fpregset (const struct regcache *regcache, elf_fpregset_t *fpregsetp, int regnum) |
| ps_err_e | ps_get_thread_area (struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base) |
| void | _initialize_amd64_linux_nat () |
Variables | |
| static amd64_linux_nat_target | the_amd64_linux_nat_target |
| static int | amd64_linux_gregset32_reg_offset [] |
| #define PTRACE_ARCH_PRCTL 30 |
Definition at line 45 of file amd64-linux-nat.c.
| void _initialize_amd64_linux_nat | ( | ) |
Definition at line 427 of file amd64-linux-nat.c.
Referenced by initialize_all_files().
|
static |
Definition at line 101 of file amd64-linux-nat.c.
References amd64_collect_native_gregset(), amd64_linux_gregset32_reg_offset, reg_buffer::arch(), gdbarch_bfd_arch_info(), I386_EAX_REGNUM, and regnum.
Referenced by fill_gregset(), and amd64_linux_nat_target::store_registers().
| void fill_fpregset | ( | const struct regcache * | regcache, |
| elf_fpregset_t * | fpregsetp, | ||
| int | regnum | ||
| ) |
Definition at line 196 of file amd64-linux-nat.c.
References amd64_collect_fxsave(), and regnum.
| void fill_gregset | ( | const struct regcache * | regcache, |
| elf_gregset_t * | gregsetp, | ||
| int | regnum | ||
| ) |
Definition at line 174 of file amd64-linux-nat.c.
References amd64_linux_collect_native_gregset(), and regnum.
| ps_err_e ps_get_thread_area | ( | struct ps_prochandle * | ph, |
| lwpid_t | lwpid, | ||
| int | idx, | ||
| void ** | base | ||
| ) |
Definition at line 335 of file amd64-linux-nat.c.
References ELF_NGREG, inferior::gdbarch, gdbarch_bfd_arch_info(), thread_info::inf, ptrace, ps_prochandle::thread, and x86_linux_get_thread_area().
| void supply_fpregset | ( | struct regcache * | regcache, |
| const elf_fpregset_t * | fpregsetp | ||
| ) |
Definition at line 186 of file amd64-linux-nat.c.
References amd64_supply_fxsave().
| void supply_gregset | ( | struct regcache * | regcache, |
| const elf_gregset_t * | gregsetp | ||
| ) |
Definition at line 164 of file amd64-linux-nat.c.
References amd64_supply_native_gregset().
|
static |
Definition at line 69 of file amd64-linux-nat.c.
Referenced by amd64_linux_collect_native_gregset().
|
static |
Definition at line 58 of file amd64-linux-nat.c.