GDB (xrefs)
Functions | Variables
/home/stan/gdb/src/gdb/ppcfbsd-tdep.c File Reference
#include "defs.h"
#include "arch-utils.h"
#include "frame.h"
#include "gdbcore.h"
#include "frame-unwind.h"
#include "gdbtypes.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "symtab.h"
#include "target.h"
#include "trad-frame.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "ppc-tdep.h"
#include "ppc64-tdep.h"
#include "ppcfbsd-tdep.h"
#include "solib-svr4.h"

Go to the source code of this file.

Functions

struct regsetppc_fbsd_gregset (int wordsize)
struct regsetppc_fbsd_fpregset (void)
static struct regsetppcfbsd_regset_from_core_section (struct gdbarch *gdbarch, const char *sect_name, size_t sect_size)
static int ppcfbsd_sigtramp_frame_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
static struct trad_frame_cacheppcfbsd_sigtramp_frame_cache (struct frame_info *this_frame, void **this_cache)
static void ppcfbsd_sigtramp_frame_this_id (struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
static struct valueppcfbsd_sigtramp_frame_prev_register (struct frame_info *this_frame, void **this_cache, int regnum)
static enum return_value_convention ppcfbsd_return_value (struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf)
static void ppcfbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void _initialize_ppcfbsd_tdep (void)

Variables

static struct ppc_reg_offsets ppc32_fbsd_reg_offsets
static struct ppc_reg_offsets ppc64_fbsd_reg_offsets
static struct regset ppc32_fbsd_gregset
static struct regset ppc64_fbsd_gregset
static struct regset ppc32_fbsd_fpregset
static const int ppcfbsd_page_size = 4096
static const int ppcfbsd_sigreturn_offset []
static struct frame_unwind ppcfbsd_sigtramp_frame_unwind

Function Documentation

void _initialize_ppcfbsd_tdep ( void  )
struct regset* ppc_fbsd_fpregset ( void  ) [read]

Definition at line 131 of file ppcfbsd-tdep.c.

References ppc32_fbsd_fpregset.

Referenced by fill_fpregset(), ppcfbsd_fetch_inferior_registers(), and supply_fpregset().

struct regset* ppc_fbsd_gregset ( int  wordsize) [read]

Definition at line 125 of file ppcfbsd-tdep.c.

References ppc32_fbsd_gregset.

Referenced by fill_gregset(), and supply_gregset().

static void ppcfbsd_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
) [static]
static struct regset* ppcfbsd_regset_from_core_section ( struct gdbarch gdbarch,
const char *  sect_name,
size_t  sect_size 
) [static, read]
static enum return_value_convention ppcfbsd_return_value ( struct gdbarch gdbarch,
struct value function,
struct type valtype,
struct regcache regcache,
gdb_byte readbuf,
const gdb_byte writebuf 
) [static]

Definition at line 294 of file ppcfbsd-tdep.c.

References ppc_sysv_abi_broken_return_value().

Referenced by ppcfbsd_init_abi().

static struct trad_frame_cache* ppcfbsd_sigtramp_frame_cache ( struct frame_info this_frame,
void **  this_cache 
) [static, read]
static struct value* ppcfbsd_sigtramp_frame_prev_register ( struct frame_info this_frame,
void **  this_cache,
int  regnum 
) [static, read]

Definition at line 275 of file ppcfbsd-tdep.c.

References ppcfbsd_sigtramp_frame_cache(), and trad_frame_get_register().

static int ppcfbsd_sigtramp_frame_sniffer ( const struct frame_unwind self,
struct frame_info this_frame,
void **  this_cache 
) [static]
static void ppcfbsd_sigtramp_frame_this_id ( struct frame_info this_frame,
void **  this_cache,
struct frame_id this_id 
) [static]

Definition at line 265 of file ppcfbsd-tdep.c.

References ppcfbsd_sigtramp_frame_cache(), and trad_frame_get_id().


Variable Documentation

struct regset ppc32_fbsd_fpregset [static]
struct regset ppc32_fbsd_gregset [static]
Initial value:
  {
        
             0,
              4,
               4,
             144,
             -1,
             132,
             128,
            140,
            136,
             -1,

        
             0,
          256,
            8,






  }

Definition at line 44 of file ppcfbsd-tdep.c.

struct regset ppc64_fbsd_gregset [static]
Initial value:

Definition at line 109 of file ppcfbsd-tdep.c.

Referenced by ppcfbsd_regset_from_core_section().

Initial value:
  {
        
             0,
              8,
               8,
             288,
             -1,
             264,
             256,
            280,
            272,
             -1,

        
             0,
          256,
            8,






  }

Definition at line 72 of file ppcfbsd-tdep.c.

const int ppcfbsd_page_size = 4096 [static]

Definition at line 158 of file ppcfbsd-tdep.c.

Referenced by ppcfbsd_sigtramp_frame_cache(), and ppcfbsd_sigtramp_frame_sniffer().

Initial value:
 {
  0xc,                          
  -1
}

Definition at line 162 of file ppcfbsd-tdep.c.

Referenced by ppcfbsd_sigtramp_frame_sniffer().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines