GDB (xrefs)
Loading...
Searching...
No Matches
Macros | Functions | Variables
sparc-obsd-tdep.c File Reference
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "gdbcore.h"
#include "osabi.h"
#include "regcache.h"
#include "symtab.h"
#include "trad-frame.h"
#include "inferior.h"
#include "obsd-tdep.h"
#include "sparc-tdep.h"
#include "solib-svr4.h"
#include "bsd-uthread.h"
#include "gdbarch.h"

Go to the source code of this file.

Macros

#define SPARC32OBSD_UTHREAD_FP_OFFSET   128
 
#define SPARC32OBSD_UTHREAD_PC_OFFSET   132
 

Functions

static int sparc32obsd_pc_in_sigtramp (CORE_ADDR pc, const char *name)
 
static struct sparc_frame_cachesparc32obsd_sigtramp_frame_cache (frame_info_ptr this_frame, void **this_cache)
 
static void sparc32obsd_sigtramp_frame_this_id (frame_info_ptr this_frame, void **this_cache, struct frame_id *this_id)
 
static struct valuesparc32obsd_sigtramp_frame_prev_register (frame_info_ptr this_frame, void **this_cache, int regnum)
 
static int sparc32obsd_sigtramp_frame_sniffer (const struct frame_unwind *self, frame_info_ptr this_frame, void **this_cache)
 
static void sparc32obsd_supply_uthread (struct regcache *regcache, int regnum, CORE_ADDR addr)
 
static void sparc32obsd_collect_uthread (const struct regcache *regcache, int regnum, CORE_ADDR addr)
 
static void sparc32obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
void _initialize_sparc32obsd_tdep ()
 

Variables

static const int sparc32obsd_page_size = 4096
 
static const struct frame_unwind sparc32obsd_sigtramp_frame_unwind
 

Macro Definition Documentation

◆ SPARC32OBSD_UTHREAD_FP_OFFSET

#define SPARC32OBSD_UTHREAD_FP_OFFSET   128

Definition at line 151 of file sparc-obsd-tdep.c.

Referenced by sparc32obsd_collect_uthread(), and sparc32obsd_supply_uthread().

◆ SPARC32OBSD_UTHREAD_PC_OFFSET

#define SPARC32OBSD_UTHREAD_PC_OFFSET   132

Definition at line 152 of file sparc-obsd-tdep.c.

Referenced by sparc32obsd_collect_uthread(), and sparc32obsd_supply_uthread().

Function Documentation

◆ _initialize_sparc32obsd_tdep()

void _initialize_sparc32obsd_tdep ( )

◆ sparc32obsd_collect_uthread()

static void sparc32obsd_collect_uthread ( const struct regcache * regcache,
int regnum,
CORE_ADDR addr )
static

◆ sparc32obsd_init_abi()

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

◆ sparc32obsd_pc_in_sigtramp()

static int sparc32obsd_pc_in_sigtramp ( CORE_ADDR pc,
const char * name )
static

◆ sparc32obsd_sigtramp_frame_cache()

static struct sparc_frame_cache * sparc32obsd_sigtramp_frame_cache ( frame_info_ptr this_frame,
void ** this_cache )
static

◆ sparc32obsd_sigtramp_frame_prev_register()

static struct value * sparc32obsd_sigtramp_frame_prev_register ( frame_info_ptr this_frame,
void ** this_cache,
int regnum )
static

◆ sparc32obsd_sigtramp_frame_sniffer()

static int sparc32obsd_sigtramp_frame_sniffer ( const struct frame_unwind * self,
frame_info_ptr this_frame,
void ** this_cache )
static

◆ sparc32obsd_sigtramp_frame_this_id()

static void sparc32obsd_sigtramp_frame_this_id ( frame_info_ptr this_frame,
void ** this_cache,
struct frame_id * this_id )
static

◆ sparc32obsd_supply_uthread()

static void sparc32obsd_supply_uthread ( struct regcache * regcache,
int regnum,
CORE_ADDR addr )
static

Variable Documentation

◆ sparc32obsd_page_size

const int sparc32obsd_page_size = 4096
static

◆ sparc32obsd_sigtramp_frame_unwind

const struct frame_unwind sparc32obsd_sigtramp_frame_unwind
static
Initial value:
=
{
"sparc32 openbsd sigtramp",
NULL,
}
enum unwind_stop_reason default_frame_unwind_stop_reason(frame_info_ptr this_frame, void **this_cache)
@ SIGTRAMP_FRAME
Definition frame.h:198
static struct value * sparc32obsd_sigtramp_frame_prev_register(frame_info_ptr this_frame, void **this_cache, int regnum)
static void sparc32obsd_sigtramp_frame_this_id(frame_info_ptr this_frame, void **this_cache, struct frame_id *this_id)
static int sparc32obsd_sigtramp_frame_sniffer(const struct frame_unwind *self, frame_info_ptr this_frame, void **this_cache)

Definition at line 137 of file sparc-obsd-tdep.c.

Referenced by sparc32obsd_init_abi().