GDB (xrefs)
|
#include "defs.h"
#include "gdbcore.h"
#include "regcache.h"
#include "inferior.h"
#include "target.h"
#include "linux-nat.h"
#include "inf-ptrace.h"
#include "gdbarch.h"
#include <sys/procfs.h>
#include "nat/gdb_ptrace.h"
#include <linux/version.h>
#include <asm/ptrace.h>
#include "hppa-linux-offsets.h"
#include "hppa-tdep.h"
#include "gregset.h"
Go to the source code of this file.
Classes | |
class | hppa_linux_nat_target |
Macros | |
#define | GR_REGNUM(_n) (HPPA_R0_REGNUM+_n) |
#define | TR_REGNUM(_n) (HPPA_TR0_REGNUM+_n) |
Functions | |
static CORE_ADDR | hppa_linux_register_addr (int regno, CORE_ADDR blockend) |
static void | fetch_register (struct regcache *regcache, int regno) |
static void | store_register (const struct regcache *regcache, int regno) |
void | supply_gregset (struct regcache *regcache, const gdb_gregset_t *gregsetp) |
void | fill_gregset (const struct regcache *regcache, gdb_gregset_t *gregsetp, int regno) |
void | supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregsetp) |
void | fill_fpregset (const struct regcache *regcache, gdb_fpregset_t *fpregsetp, int regno) |
void | _initialize_hppa_linux_nat () |
Variables | |
static hppa_linux_nat_target | the_hppa_linux_nat_target |
static const int | u_offsets [] |
static const int | greg_map [] |
#define GR_REGNUM | ( | _n | ) | (HPPA_R0_REGNUM+_n) |
Definition at line 191 of file hppa-linux-nat.c.
#define TR_REGNUM | ( | _n | ) | (HPPA_TR0_REGNUM+_n) |
Definition at line 192 of file hppa-linux-nat.c.
void _initialize_hppa_linux_nat | ( | ) |
Definition at line 389 of file hppa-linux-nat.c.
References add_inf_child_target(), linux_target, and the_hppa_linux_nat_target.
|
static |
Definition at line 225 of file hppa-linux-nat.c.
References reg_buffer::arch(), gdbarch_cannot_fetch_register(), gdbarch_register_name(), get_ptrace_pid(), hppa_linux_register_addr(), regcache::ptid(), ptrace, and reg_buffer::raw_supply().
Referenced by hppa_linux_nat_target::fetch_registers().
void fill_fpregset | ( | const struct regcache * | regcache, |
gdb_fpregset_t * | fpregsetp, | ||
int | regno ) |
Definition at line 371 of file hppa-linux-nat.c.
References HPPA_FP0_REGNUM, and reg_buffer::raw_collect().
void fill_gregset | ( | const struct regcache * | regcache, |
gdb_gregset_t * | gregsetp, | ||
int | regno ) |
Definition at line 333 of file hppa-linux-nat.c.
References greg_map, and reg_buffer::raw_collect().
|
static |
Definition at line 163 of file hppa-linux-nat.c.
References u_offsets.
Referenced by fetch_register(), and store_register().
|
static |
Definition at line 252 of file hppa-linux-nat.c.
References reg_buffer::arch(), gdbarch_cannot_store_register(), gdbarch_register_name(), get_ptrace_pid(), hppa_linux_register_addr(), regcache::ptid(), ptrace, and reg_buffer::raw_collect().
Referenced by hppa_linux_nat_target::store_registers().
void supply_fpregset | ( | struct regcache * | regcache, |
const gdb_fpregset_t * | fpregsetp ) |
Definition at line 352 of file hppa-linux-nat.c.
References HPPA_FP0_REGNUM, and reg_buffer::raw_supply().
void supply_gregset | ( | struct regcache * | regcache, |
const gdb_gregset_t * | gregsetp ) |
Definition at line 316 of file hppa-linux-nat.c.
References greg_map, and reg_buffer::raw_supply().
|
static |
Definition at line 193 of file hppa-linux-nat.c.
Referenced by fill_gregset(), and supply_gregset().
|
static |
Definition at line 46 of file hppa-linux-nat.c.
Referenced by _initialize_hppa_linux_nat().
|
static |
Definition at line 56 of file hppa-linux-nat.c.
Referenced by hppa_linux_register_addr().