GDB (xrefs)
Functions | Variables
/home/stan/gdb/src/gdb/ppcnbsd-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 "gdb_assert.h"
#include "gdb_string.h"
#include "ppc-tdep.h"
#include "ppcnbsd-tdep.h"
#include "solib-svr4.h"

Go to the source code of this file.

Functions

static struct regsetppcnbsd_regset_from_core_section (struct gdbarch *gdbarch, const char *sect_name, size_t sect_size)
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, struct frame_info *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 (void)

Variables

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

Function Documentation

void _initialize_ppcnbsd_tdep ( void  )
static void ppcnbsd_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
) [static]
static struct regset* ppcnbsd_regset_from_core_section ( struct gdbarch gdbarch,
const char *  sect_name,
size_t  sect_size 
) [static, read]

Definition at line 61 of file ppcnbsd-tdep.c.

References ppcnbsd_fpregset, and ppcnbsd_gregset.

Referenced by ppcnbsd_init_abi().

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]
static void ppcnbsd_sigtramp_cache_init ( const struct tramp_frame self,
struct frame_info this_frame,
struct trad_frame_cache this_cache,
CORE_ADDR  func 
) [static]

Variable Documentation

static struct tramp_frame ppcnbsd2_sigtramp [static]
Initial value:
{
  SIGTRAMP_FRAME,
  4,
  {
    { 0x3821fff0, -1 },         
    { 0x4e800021, -1 },         
    { 0x38610010, -1 },         
    { 0x38000127, -1 },         
    { 0x44000002, -1 },         
    { 0x38000001, -1 },         
    { 0x44000002, -1 },         
    { TRAMP_SENTINEL_INSN, -1 }
  },
  ppcnbsd_sigtramp_cache_init
}

Definition at line 102 of file ppcnbsd-tdep.c.

Referenced by ppcnbsd_sigtramp_cache_init().

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

struct tramp_frame ppcnbsd_sigtramp [static]
Initial value:
{
  SIGTRAMP_FRAME,
  4,
  {
    { 0x3821fff0, -1 },         
    { 0x4e800021, -1 },         
    { 0x38610018, -1 },         
    { 0x38000127, -1 },         
    { 0x44000002, -1 },         
    { 0x38000001, -1 },         
    { 0x44000002, -1 },         
    { TRAMP_SENTINEL_INSN, -1 }
  },
  ppcnbsd_sigtramp_cache_init
}

Definition at line 142 of file ppcnbsd-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines