GDB (xrefs)
|
#include "defs.h"
#include "inferior.h"
#include "regcache.h"
#include "target.h"
#include <sys/types.h>
#include <sys/ptrace.h>
#include <machine/reg.h>
#include "hppa-tdep.h"
#include "inf-ptrace.h"
#include "obsd-nat.h"
Go to the source code of this file.
Functions | |
static int | hppaobsd_gregset_supplies_p (int regnum) |
static int | hppaobsd_fpregset_supplies_p (int regnum) |
static void | hppaobsd_supply_gregset (struct regcache *regcache, const void *gregs) |
static void | hppaobsd_supply_fpregset (struct regcache *regcache, const void *fpregs) |
static void | hppaobsd_collect_gregset (const struct regcache *regcache, void *gregs, int regnum) |
static void | hppaobsd_collect_fpregset (struct regcache *regcache, void *fpregs, int regnum) |
static void | hppaobsd_fetch_registers (struct target_ops *ops, struct regcache *regcache, int regnum) |
static void | hppaobsd_store_registers (struct target_ops *ops, struct regcache *regcache, int regnum) |
void | _initialize_hppaobsd_nat (void) |
void _initialize_hppaobsd_nat | ( | void | ) |
Definition at line 257 of file hppaobsd-nat.c.
References hppaobsd_fetch_registers(), hppaobsd_store_registers(), inf_ptrace_target(), obsd_add_target(), target_ops::to_fetch_registers, and target_ops::to_store_registers.
|
static |
Definition at line 168 of file hppaobsd-nat.c.
References HPPA_FP0_REGNUM, HPPA_FP31R_REGNUM, and regcache_raw_collect().
Referenced by hppaobsd_store_registers().
|
static |
Definition at line 106 of file hppaobsd-nat.c.
References HPPA_CR26_REGNUM, HPPA_CR27_REGNUM, HPPA_IPSW_REGNUM, HPPA_PCOQ_HEAD_REGNUM, HPPA_PCOQ_TAIL_REGNUM, HPPA_PCSQ_HEAD_REGNUM, HPPA_PCSQ_TAIL_REGNUM, HPPA_R1_REGNUM, HPPA_R31_REGNUM, HPPA_SAR_REGNUM, HPPA_SR0_REGNUM, HPPA_SR1_REGNUM, HPPA_SR2_REGNUM, HPPA_SR3_REGNUM, HPPA_SR4_REGNUM, HPPA_SR5_REGNUM, HPPA_SR6_REGNUM, HPPA_SR7_REGNUM, and regcache_raw_collect().
Referenced by hppaobsd_store_registers().
|
static |
Definition at line 189 of file hppaobsd-nat.c.
References _, hppaobsd_fpregset_supplies_p(), hppaobsd_gregset_supplies_p(), hppaobsd_supply_fpregset(), hppaobsd_supply_gregset(), inferior_ptid, perror_with_name(), ptid_get_pid(), ptrace(), and PTRACE_TYPE_ARG3.
Referenced by _initialize_hppaobsd_nat().
Definition at line 41 of file hppaobsd-nat.c.
References HPPA_FP0_REGNUM, and HPPA_FP31R_REGNUM.
Referenced by hppaobsd_fetch_registers(), and hppaobsd_store_registers().
Definition at line 35 of file hppaobsd-nat.c.
References HPPA_CR27_REGNUM, and HPPA_R0_REGNUM.
Referenced by hppaobsd_fetch_registers(), and hppaobsd_store_registers().
|
static |
Definition at line 219 of file hppaobsd-nat.c.
References _, hppaobsd_collect_fpregset(), hppaobsd_collect_gregset(), hppaobsd_fpregset_supplies_p(), hppaobsd_gregset_supplies_p(), inferior_ptid, perror_with_name(), ptid_get_pid(), ptrace(), and PTRACE_TYPE_ARG3.
Referenced by _initialize_hppaobsd_nat().
Definition at line 89 of file hppaobsd-nat.c.
References HPPA_FP0_REGNUM, HPPA_FP31R_REGNUM, regcache_raw_supply(), and regnum.
Referenced by hppaobsd_fetch_registers().
Definition at line 49 of file hppaobsd-nat.c.
References HPPA_CR26_REGNUM, HPPA_CR27_REGNUM, HPPA_IPSW_REGNUM, HPPA_PCOQ_HEAD_REGNUM, HPPA_PCOQ_TAIL_REGNUM, HPPA_PCSQ_HEAD_REGNUM, HPPA_PCSQ_TAIL_REGNUM, HPPA_R0_REGNUM, HPPA_R1_REGNUM, HPPA_R31_REGNUM, HPPA_SAR_REGNUM, HPPA_SR0_REGNUM, HPPA_SR1_REGNUM, HPPA_SR2_REGNUM, HPPA_SR3_REGNUM, HPPA_SR4_REGNUM, HPPA_SR5_REGNUM, HPPA_SR6_REGNUM, HPPA_SR7_REGNUM, regcache_raw_supply(), and regnum.
Referenced by hppaobsd_fetch_registers().