GDB (xrefs)
Loading...
Searching...
No Matches
Macros | Functions | Variables
hppa-obsd-tdep.c File Reference
#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
 

Macro Definition Documentation

◆ HPPANBSD_SIZEOF_GREGS

#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().

◆ HPPAOBSD_SIZEOF_FPREGS

#define HPPAOBSD_SIZEOF_FPREGS   (32 * 8)

◆ HPPAOBSD_SIZEOF_GREGS

#define HPPAOBSD_SIZEOF_GREGS   (34 * 4) /* OpenBSD 5.1 and earlier. */

Function Documentation

◆ _initialize_hppabsd_tdep()

void _initialize_hppabsd_tdep ( )

◆ hppaobsd_init_abi()

static void hppaobsd_init_abi ( struct gdbarch_info info,
struct gdbarch * gdbarch )
static

◆ hppaobsd_iterate_over_regset_sections()

static void hppaobsd_iterate_over_regset_sections ( struct gdbarch * gdbarch,
iterate_over_regset_sections_cb * cb,
void * cb_data,
const struct regcache * regcache )
static

◆ hppaobsd_supply_fpregset()

static void hppaobsd_supply_fpregset ( const struct regset * regset,
struct regcache * regcache,
int regnum,
const void * fpregs,
size_t len )
static

◆ hppaobsd_supply_gregset()

static void hppaobsd_supply_gregset ( const struct regset * regset,
struct regcache * regcache,
int regnum,
const void * gregs,
size_t len )
static

Variable Documentation

◆ hppaobsd_fpregset

const struct regset hppaobsd_fpregset
static
Initial value:
=
{
NULL,
}
static void hppaobsd_supply_fpregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *fpregs, size_t len)

Definition at line 139 of file hppa-obsd-tdep.c.

Referenced by hppaobsd_iterate_over_regset_sections().

◆ hppaobsd_gregset

const struct regset hppaobsd_gregset
static
Initial value:
=
{
NULL,
NULL,
}
static void hppaobsd_supply_gregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
#define REGSET_VARIABLE_SIZE
Definition regset.h:52

Definition at line 131 of file hppa-obsd-tdep.c.

Referenced by hppaobsd_iterate_over_regset_sections().