GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
ppc-netbsd-tdep.c File Reference
#include "defs.h"
#include "gdbtypes.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "trad-frame.h"
#include "tramp-frame.h"
#include "ppc-tdep.h"
#include "netbsd-tdep.h"
#include "solib-svr4.h"

Go to the source code of this file.

Functions

static void ppcnbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache)
 
static enum return_value_convention ppcnbsd_return_value (struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf)
 
static void ppcnbsd_sigtramp_cache_init (const struct tramp_frame *self, frame_info_ptr this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func)
 
static void ppcnbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
void _initialize_ppcnbsd_tdep ()
 

Variables

static ppc_reg_offsets ppcnbsd_reg_offsets
 
const struct regset ppcnbsd_gregset
 
const struct regset ppcnbsd_fpregset
 
const struct tramp_frame ppcnbsd2_sigtramp
 
static const struct tramp_frame ppcnbsd_sigtramp
 

Function Documentation

◆ _initialize_ppcnbsd_tdep()

void _initialize_ppcnbsd_tdep ( )

◆ ppcnbsd_init_abi()

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

◆ ppcnbsd_iterate_over_regset_sections()

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

Definition at line 58 of file ppc-netbsd-tdep.c.

References ppcnbsd_fpregset, and ppcnbsd_gregset.

Referenced by ppcnbsd_init_abi().

◆ ppcnbsd_return_value()

static enum return_value_convention ppcnbsd_return_value ( struct gdbarch * gdbarch,
struct value * function,
struct type * valtype,
struct regcache * regcache,
gdb_byte * readbuf,
const gdb_byte * writebuf )
static

◆ ppcnbsd_sigtramp_cache_init()

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

Variable Documentation

◆ ppcnbsd2_sigtramp

const struct tramp_frame ppcnbsd2_sigtramp
Initial value:
=
{
4,
{
{ 0x3821fff0, ULONGEST_MAX },
{ 0x4e800021, ULONGEST_MAX },
{ 0x38610010, ULONGEST_MAX },
{ 0x38000127, ULONGEST_MAX },
{ 0x44000002, ULONGEST_MAX },
{ 0x38000001, ULONGEST_MAX },
{ 0x44000002, ULONGEST_MAX },
{ TRAMP_SENTINEL_INSN, ULONGEST_MAX }
},
}
@ SIGTRAMP_FRAME
Definition frame.h:198
static void ppcnbsd_sigtramp_cache_init(const struct tramp_frame *self, frame_info_ptr this_frame, struct trad_frame_cache *this_cache, CORE_ADDR func)
#define TRAMP_SENTINEL_INSN
Definition tramp-frame.h:44

Definition at line 155 of file ppc-netbsd-tdep.c.

Referenced by ppcnbsd_init_abi(), and ppcnbsd_sigtramp_cache_init().

◆ ppcnbsd_fpregset

const struct regset ppcnbsd_fpregset
Initial value:
=
{
}
static ppc_reg_offsets ppcnbsd_reg_offsets
void ppc_supply_fpregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *fpregs, size_t len)

Definition at line 49 of file ppc-netbsd-tdep.c.

Referenced by ppc_nbsd_nat_target::fetch_registers(), ppcnbsd_iterate_over_regset_sections(), and ppc_nbsd_nat_target::store_registers().

◆ ppcnbsd_gregset

const struct regset ppcnbsd_gregset
Initial value:
=
{
}
void ppc_supply_gregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)

Definition at line 43 of file ppc-netbsd-tdep.c.

Referenced by ppc_nbsd_nat_target::fetch_registers(), ppcnbsd_iterate_over_regset_sections(), and ppc_nbsd_nat_target::store_registers().

◆ ppcnbsd_reg_offsets

ppc_reg_offsets ppcnbsd_reg_offsets
static

Definition at line 36 of file ppc-netbsd-tdep.c.

Referenced by _initialize_ppcnbsd_tdep().

◆ ppcnbsd_sigtramp

const struct tramp_frame ppcnbsd_sigtramp
static
Initial value:
=
{
4,
{
{ 0x3821fff0, ULONGEST_MAX },
{ 0x4e800021, ULONGEST_MAX },
{ 0x38610018, ULONGEST_MAX },
{ 0x38000127, ULONGEST_MAX },
{ 0x44000002, ULONGEST_MAX },
{ 0x38000001, ULONGEST_MAX },
{ 0x44000002, ULONGEST_MAX },
{ TRAMP_SENTINEL_INSN, ULONGEST_MAX }
},
}

Definition at line 136 of file ppc-netbsd-tdep.c.

Referenced by ppcnbsd_init_abi().