GDB (xrefs)
|
#include "defs.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "hppa-tdep.h"
#include "hppa-bsd-tdep.h"
#include "gdbarch.h"
Go to the source code of this file.
Macros | |
#define | HPPAOBSD_SIZEOF_GREGS (34 * 4) /* OpenBSD 5.1 and earlier. */ |
#define | HPPANBSD_SIZEOF_GREGS (46 * 4) /* NetBSD and OpenBSD 5.2 and later. */ |
#define | HPPAOBSD_SIZEOF_FPREGS (32 * 8) |
Functions | |
static void | hppaobsd_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len) |
static void | hppaobsd_supply_fpregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *fpregs, size_t len) |
static void | hppaobsd_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache) |
static void | hppaobsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
void | _initialize_hppabsd_tdep () |
Variables | |
static const struct regset | hppaobsd_gregset |
static const struct regset | hppaobsd_fpregset |
#define HPPANBSD_SIZEOF_GREGS (46 * 4) /* NetBSD and OpenBSD 5.2 and later. */ |
Definition at line 33 of file hppa-obsd-tdep.c.
Referenced by hppaobsd_supply_gregset().
#define HPPAOBSD_SIZEOF_FPREGS (32 * 8) |
Definition at line 36 of file hppa-obsd-tdep.c.
Referenced by hppaobsd_iterate_over_regset_sections(), and hppaobsd_supply_fpregset().
#define HPPAOBSD_SIZEOF_GREGS (34 * 4) /* OpenBSD 5.1 and earlier. */ |
Definition at line 32 of file hppa-obsd-tdep.c.
Referenced by hppaobsd_iterate_over_regset_sections(), and hppaobsd_supply_gregset().
void _initialize_hppabsd_tdep | ( | ) |
Definition at line 173 of file hppa-obsd-tdep.c.
References GDB_OSABI_OPENBSD, gdbarch_register_osabi(), and hppaobsd_init_abi().
|
static |
Definition at line 161 of file hppa-obsd-tdep.c.
References hppabsd_init_abi(), hppaobsd_iterate_over_regset_sections(), and set_gdbarch_iterate_over_regset_sections().
Referenced by _initialize_hppabsd_tdep().
|
static |
Definition at line 148 of file hppa-obsd-tdep.c.
References hppaobsd_fpregset, hppaobsd_gregset, HPPAOBSD_SIZEOF_FPREGS, and HPPAOBSD_SIZEOF_GREGS.
Referenced by hppaobsd_init_abi().
|
static |
Definition at line 113 of file hppa-obsd-tdep.c.
References HPPA_FP0_REGNUM, HPPA_FP31R_REGNUM, HPPAOBSD_SIZEOF_FPREGS, reg_buffer::raw_supply(), and regnum.
|
static |
Definition at line 43 of file hppa-obsd-tdep.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, HPPANBSD_SIZEOF_GREGS, HPPAOBSD_SIZEOF_GREGS, reg_buffer::raw_supply(), and regnum.
|
static |
Definition at line 139 of file hppa-obsd-tdep.c.
Referenced by hppaobsd_iterate_over_regset_sections().
|
static |
Definition at line 131 of file hppa-obsd-tdep.c.
Referenced by hppaobsd_iterate_over_regset_sections().