GDB (xrefs)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/hppaobsd-tdep.c File Reference
#include "defs.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "hppa-tdep.h"
#include "hppabsd-tdep.h"

Go to the source code of this file.

Defines

#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 struct regsethppaobsd_regset_from_core_section (struct gdbarch *gdbarch, const char *sect_name, size_t sect_size)
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 struct regset hppaobsd_gregset
static struct regset hppaobsd_fpregset

Define Documentation

Definition at line 177 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 35 of file hppaobsd-tdep.c.

Referenced by hppaobsd_supply_gregset().

#define HPPAOBSD_SIZEOF_FPREGS   (32 * 8)

Definition at line 38 of file hppaobsd-tdep.c.

Referenced by hppaobsd_regset_from_core_section(), and hppaobsd_supply_fpregset().

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

Definition at line 34 of file hppaobsd-tdep.c.

Referenced by hppaobsd_regset_from_core_section(), and hppaobsd_supply_gregset().


Function Documentation

void _initialize_hppabsd_tdep ( void  )
static enum gdb_osabi hppaobsd_core_osabi_sniffer ( bfd *  abfd) [static]

Definition at line 180 of file hppaobsd-tdep.c.

References GDB_OSABI_NETBSD_CORE, and GDB_OSABI_UNKNOWN.

static void hppaobsd_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
) [static]
static struct regset* hppaobsd_regset_from_core_section ( struct gdbarch gdbarch,
const char *  sect_name,
size_t  sect_size 
) [static, read]
static void hppaobsd_supply_fpregset ( const struct regset regset,
struct regcache regcache,
int  regnum,
const void *  fpregs,
size_t  len 
) [static]
static void hppaobsd_supply_gregset ( const struct regset regset,
struct regcache regcache,
int  regnum,
const void *  gregs,
size_t  len 
) [static]

Variable Documentation

struct regset hppaobsd_fpregset [static]
Initial value:

Definition at line 140 of file hppaobsd-tdep.c.

Referenced by hppaobsd_regset_from_core_section().

struct regset hppaobsd_gregset [static]
Initial value:

Definition at line 134 of file hppaobsd-tdep.c.

Referenced by hppaobsd_regset_from_core_section().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines