GDB (xrefs)
Loading...
Searching...
No Matches
Macros | Functions | Variables
/tmp/gdb-13.1/gdb/hppa-netbsd-tdep.c File Reference
#include "defs.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "hppa-tdep.h"
#include "hppa-bsd-tdep.h"
#include "netbsd-tdep.h"
#include "gdbarch.h"

Go to the source code of this file.

Macros

#define HPPANBSD_SIZEOF_GREGS   (44 * 4)
 

Functions

static void hppanbsd_sigtramp_cache_init (const struct tramp_frame *, frame_info_ptr, struct trad_frame_cache *, CORE_ADDR)
 
static void hppanbsd_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
 
static void hppanbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache)
 
static void hppanbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
void _initialize_hppanbsd_tdep ()
 

Variables

static int hppanbsd_mc_reg_offset []
 
static const struct tramp_frame hppanbsd_sigtramp_si4
 
static int hppanbsd_reg_offset []
 
static const struct regset hppanbsd_gregset
 

Macro Definition Documentation

◆ HPPANBSD_SIZEOF_GREGS

#define HPPANBSD_SIZEOF_GREGS   (44 * 4)

Definition at line 133 of file hppa-netbsd-tdep.c.

Function Documentation

◆ _initialize_hppanbsd_tdep()

void _initialize_hppanbsd_tdep ( )

◆ hppanbsd_init_abi()

static void hppanbsd_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
)
static

◆ hppanbsd_iterate_over_regset_sections()

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

Definition at line 190 of file hppa-netbsd-tdep.c.

References hppanbsd_gregset, and HPPANBSD_SIZEOF_GREGS.

Referenced by hppanbsd_init_abi().

◆ hppanbsd_sigtramp_cache_init()

static void hppanbsd_sigtramp_cache_init ( const struct tramp_frame self,
frame_info_ptr  this_frame,
struct trad_frame_cache this_cache,
CORE_ADDR  func 
)
static

◆ hppanbsd_supply_gregset()

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

Variable Documentation

◆ hppanbsd_gregset

const struct regset hppanbsd_gregset
static
Initial value:
=
{
NULL,
}
static void hppanbsd_supply_gregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)

Definition at line 181 of file hppa-netbsd-tdep.c.

Referenced by hppanbsd_iterate_over_regset_sections().

◆ hppanbsd_mc_reg_offset

int hppanbsd_mc_reg_offset[]
static

Definition at line 34 of file hppa-netbsd-tdep.c.

Referenced by hppanbsd_sigtramp_cache_init().

◆ hppanbsd_reg_offset

int hppanbsd_reg_offset[]
static
Initial value:
=
{
-1, 1 * 4, 2 * 4, 3 * 4,
4 * 4, 5 * 4, 6 * 4, 7 * 4,
8 * 4, 9 * 4, 10 * 4, 11 * 4,
12 * 4, 13 * 4, 14 * 4, 15 * 4,
16 * 4, 17 * 4, 18 * 4, 19 * 4,
20 * 4, 21 * 4, 22 * 4, 23 * 4,
24 * 4, 25 * 4, 26 * 4, 27 * 4,
28 * 4, 29 * 4, 30 * 4, 31 * 4,
32 * 4,
35 * 4,
33 * 4,
36 * 4,
34 * 4,
-1,
-1,
-1,
-1,
0 * 4,
}

Definition at line 135 of file hppa-netbsd-tdep.c.

Referenced by hppanbsd_supply_gregset().

◆ hppanbsd_sigtramp_si4

const struct tramp_frame hppanbsd_sigtramp_si4
static
Initial value:
=
{
4,
{
{ 0xc7d7c012, ULONGEST_MAX },
{ 0xd6e01c1e, ULONGEST_MAX },
{ 0x0ee81093, ULONGEST_MAX },
{ 0x0ee01097, ULONGEST_MAX },
{ 0xe8404000, ULONGEST_MAX },
{ 0xeae0c002, ULONGEST_MAX },
{ 0x08000240, ULONGEST_MAX },
{ 0x0803025a, ULONGEST_MAX },
{ 0x20200801, ULONGEST_MAX },
{ 0xe420e008, ULONGEST_MAX },
{ 0x34160268, ULONGEST_MAX },
{ 0x081c025a, ULONGEST_MAX },
{ 0x20200801, ULONGEST_MAX },
{ 0xe420e008, ULONGEST_MAX },
{ 0x34160002, ULONGEST_MAX },
},
}
#define ULONGEST_MAX
Definition: defs.h:473
@ SIGTRAMP_FRAME
Definition: frame.h:190
static void hppanbsd_sigtramp_cache_init(const struct tramp_frame *, frame_info_ptr, struct trad_frame_cache *, CORE_ADDR)
#define TRAMP_SENTINEL_INSN
Definition: tramp-frame.h:44

Definition at line 71 of file hppa-netbsd-tdep.c.

Referenced by hppanbsd_init_abi().