GDB (xrefs)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/sparc64obsd-tdep.c File Reference
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "gdbcore.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "symtab.h"
#include "objfiles.h"
#include "trad-frame.h"
#include "gdb_assert.h"
#include "obsd-tdep.h"
#include "sparc64-tdep.h"
#include "solib-svr4.h"
#include "bsd-uthread.h"

Go to the source code of this file.

Defines

#define SPARC64OBSD_UTHREAD_FP_OFFSET   232
#define SPARC64OBSD_UTHREAD_PC_OFFSET   240

Functions

static void sparc64obsd_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
static int sparc64obsd_pc_in_sigtramp (CORE_ADDR pc, const char *name)
static struct sparc_frame_cachesparc64obsd_frame_cache (struct frame_info *this_frame, void **this_cache)
static void sparc64obsd_frame_this_id (struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
static struct valuesparc64obsd_frame_prev_register (struct frame_info *this_frame, void **this_cache, int regnum)
static int sparc64obsd_sigtramp_frame_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
static struct sparc_frame_cachesparc64obsd_trapframe_cache (struct frame_info *this_frame, void **this_cache)
static void sparc64obsd_trapframe_this_id (struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
static struct valuesparc64obsd_trapframe_prev_register (struct frame_info *this_frame, void **this_cache, int regnum)
static int sparc64obsd_trapframe_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
static void sparc64obsd_supply_uthread (struct regcache *regcache, int regnum, CORE_ADDR addr)
static void sparc64obsd_collect_uthread (const struct regcache *regcache, int regnum, CORE_ADDR addr)
static void sparc64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void _initialize_sparc64obsd_tdep (void)

Variables

struct sparc_gregset sparc64obsd_core_gregset
static const int sparc64obsd_page_size = 8192
static const int sparc64obsd_sigreturn_offset []
static struct frame_unwind sparc64obsd_frame_unwind
static struct frame_unwind sparc64obsd_trapframe_unwind

Define Documentation

Definition at line 291 of file sparc64obsd-tdep.c.

Referenced by sparc64obsd_collect_uthread(), and sparc64obsd_supply_uthread().

Definition at line 292 of file sparc64obsd-tdep.c.

Referenced by sparc64obsd_collect_uthread(), and sparc64obsd_supply_uthread().


Function Documentation

static void sparc64obsd_collect_uthread ( const struct regcache regcache,
int  regnum,
CORE_ADDR  addr 
) [static]
static struct sparc_frame_cache* sparc64obsd_frame_cache ( struct frame_info this_frame,
void **  this_cache 
) [static, read]
static struct value* sparc64obsd_frame_prev_register ( struct frame_info this_frame,
void **  this_cache,
int  regnum 
) [static, read]
static void sparc64obsd_frame_this_id ( struct frame_info this_frame,
void **  this_cache,
struct frame_id this_id 
) [static]
static void sparc64obsd_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
) [static]
static int sparc64obsd_pc_in_sigtramp ( CORE_ADDR  pc,
const char *  name 
) [static]
static int sparc64obsd_sigtramp_frame_sniffer ( const struct frame_unwind self,
struct frame_info this_frame,
void **  this_cache 
) [static]
static void sparc64obsd_supply_gregset ( const struct regset regset,
struct regcache regcache,
int  regnum,
const void *  gregs,
size_t  len 
) [static]
static void sparc64obsd_supply_uthread ( struct regcache regcache,
int  regnum,
CORE_ADDR  addr 
) [static]
static struct sparc_frame_cache* sparc64obsd_trapframe_cache ( struct frame_info this_frame,
void **  this_cache 
) [static, read]
static struct value* sparc64obsd_trapframe_prev_register ( struct frame_info this_frame,
void **  this_cache,
int  regnum 
) [static, read]
static int sparc64obsd_trapframe_sniffer ( const struct frame_unwind self,
struct frame_info this_frame,
void **  this_cache 
) [static]
static void sparc64obsd_trapframe_this_id ( struct frame_info this_frame,
void **  this_cache,
struct frame_id this_id 
) [static]

Variable Documentation

Initial value:
{
  0 * 8,                        
  1 * 8,                        
  2 * 8,                        
  3 * 8,                        
  -1,                           
  -1,
  7 * 8,                        
  22 * 8,                       
  4                             
}

Definition at line 46 of file sparc64obsd-tdep.c.

const int sparc64obsd_page_size = 8192 [static]

Definition at line 85 of file sparc64obsd-tdep.c.

Referenced by sparc64obsd_frame_cache(), and sparc64obsd_pc_in_sigtramp().

Initial value:
 {
  0xf0,                         
  0xec,                         
  0xe8,                         
  -1
}

Definition at line 88 of file sparc64obsd-tdep.c.

Referenced by sparc64obsd_pc_in_sigtramp().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines