GDB (xrefs)
|
#include "defs.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "hppa-tdep.h"
#include "hppabsd-tdep.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) |
#define | GDB_OSABI_NETBSD_CORE GDB_OSABI_OPENBSD_ELF |
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) |
static enum gdb_osabi | hppaobsd_core_osabi_sniffer (bfd *abfd) |
void | _initialize_hppabsd_tdep (void) |
Variables | |
static const struct regset | hppaobsd_gregset |
static const struct regset | hppaobsd_fpregset |
#define GDB_OSABI_NETBSD_CORE GDB_OSABI_OPENBSD_ELF |
Definition at line 172 of file hppaobsd-tdep.c.
Referenced by hppaobsd_core_osabi_sniffer().
#define HPPANBSD_SIZEOF_GREGS (46 * 4) /* NetBSD and OpenBSD 5.2 and later. */ |
Definition at line 32 of file hppaobsd-tdep.c.
Referenced by hppaobsd_supply_gregset().
#define HPPAOBSD_SIZEOF_FPREGS (32 * 8) |
Definition at line 35 of file hppaobsd-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 31 of file hppaobsd-tdep.c.
Referenced by hppaobsd_iterate_over_regset_sections(), and hppaobsd_supply_gregset().
void _initialize_hppabsd_tdep | ( | void | ) |
Definition at line 188 of file hppaobsd-tdep.c.
References GDB_OSABI_OPENBSD_ELF, gdbarch_register_osabi(), gdbarch_register_osabi_sniffer(), hppaobsd_core_osabi_sniffer(), and hppaobsd_init_abi().
|
static |
Definition at line 175 of file hppaobsd-tdep.c.
References GDB_OSABI_NETBSD_CORE, and GDB_OSABI_UNKNOWN.
Referenced by _initialize_hppabsd_tdep().
|
static |
Definition at line 159 of file hppaobsd-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 hppaobsd-tdep.c.
References HPPAOBSD_SIZEOF_FPREGS, and HPPAOBSD_SIZEOF_GREGS.
Referenced by hppaobsd_init_abi().
|
static |
Definition at line 112 of file hppaobsd-tdep.c.
References gdb_assert, get_regcache_arch(), HPPA_FP0_REGNUM, HPPA_FP31R_REGNUM, HPPAOBSD_SIZEOF_FPREGS, and regcache_raw_supply().
|
static |
Definition at line 42 of file hppaobsd-tdep.c.
References gdb_assert, 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, offset, and regcache_raw_supply().
Definition at line 139 of file hppaobsd-tdep.c.
Definition at line 131 of file hppaobsd-tdep.c.