GDB (xrefs)
Classes | Defines | Functions | Variables
/home/stan/gdb/src/gdb/alpha-mdebug-tdep.c File Reference
#include "defs.h"
#include "frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "symtab.h"
#include "gdbcore.h"
#include "block.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "trad-frame.h"
#include "alpha-tdep.h"
#include "mdebugread.h"

Go to the source code of this file.

Classes

struct  alpha_mdebug_unwind_cache

Defines

#define PROC_LOW_ADDR(proc)   ((proc)->pdr.adr)
#define PROC_FRAME_OFFSET(proc)   ((proc)->pdr.frameoffset)
#define PROC_FRAME_REG(proc)   ((proc)->pdr.framereg)
#define PROC_REG_MASK(proc)   ((proc)->pdr.regmask)
#define PROC_FREG_MASK(proc)   ((proc)->pdr.fregmask)
#define PROC_REG_OFFSET(proc)   ((proc)->pdr.regoffset)
#define PROC_FREG_OFFSET(proc)   ((proc)->pdr.fregoffset)
#define PROC_PC_REG(proc)   ((proc)->pdr.pcreg)
#define PROC_LOCALOFF(proc)   ((proc)->pdr.localoff)

Functions

static struct
mdebug_extra_func_info
find_proc_desc (CORE_ADDR pc)
static int alpha_mdebug_frameless (struct mdebug_extra_func_info *proc_desc)
static CORE_ADDR alpha_mdebug_after_prologue (CORE_ADDR pc, struct mdebug_extra_func_info *proc_desc)
static int alpha_mdebug_in_prologue (CORE_ADDR pc, struct mdebug_extra_func_info *proc_desc)
static struct
alpha_mdebug_unwind_cache
alpha_mdebug_frame_unwind_cache (struct frame_info *this_frame, void **this_prologue_cache)
static void alpha_mdebug_frame_this_id (struct frame_info *this_frame, void **this_prologue_cache, struct frame_id *this_id)
static struct valuealpha_mdebug_frame_prev_register (struct frame_info *this_frame, void **this_prologue_cache, int regnum)
static int alpha_mdebug_max_frame_size_exceeded (struct mdebug_extra_func_info *proc_desc)
static int alpha_mdebug_frame_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
static CORE_ADDR alpha_mdebug_frame_base_address (struct frame_info *this_frame, void **this_prologue_cache)
static CORE_ADDR alpha_mdebug_frame_locals_address (struct frame_info *this_frame, void **this_prologue_cache)
static CORE_ADDR alpha_mdebug_frame_args_address (struct frame_info *this_frame, void **this_prologue_cache)
static struct frame_basealpha_mdebug_frame_base_sniffer (struct frame_info *this_frame)
void alpha_mdebug_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)

Variables

static struct frame_unwind alpha_mdebug_frame_unwind
static struct frame_base alpha_mdebug_frame_base

Define Documentation

#define PROC_FRAME_OFFSET (   proc)    ((proc)->pdr.frameoffset)
#define PROC_FRAME_REG (   proc)    ((proc)->pdr.framereg)

Definition at line 82 of file alpha-mdebug-tdep.c.

Referenced by alpha_mdebug_frame_unwind_cache(), and alpha_mdebug_frameless().

#define PROC_FREG_MASK (   proc)    ((proc)->pdr.fregmask)

Definition at line 84 of file alpha-mdebug-tdep.c.

Referenced by alpha_mdebug_frame_unwind_cache().

#define PROC_FREG_OFFSET (   proc)    ((proc)->pdr.fregoffset)

Definition at line 86 of file alpha-mdebug-tdep.c.

Referenced by alpha_mdebug_frame_unwind_cache().

#define PROC_LOCALOFF (   proc)    ((proc)->pdr.localoff)

Definition at line 88 of file alpha-mdebug-tdep.c.

Referenced by alpha_mdebug_frame_locals_address().

#define PROC_LOW_ADDR (   proc)    ((proc)->pdr.adr)

Definition at line 80 of file alpha-mdebug-tdep.c.

#define PROC_PC_REG (   proc)    ((proc)->pdr.pcreg)
#define PROC_REG_MASK (   proc)    ((proc)->pdr.regmask)

Definition at line 83 of file alpha-mdebug-tdep.c.

Referenced by alpha_mdebug_frame_unwind_cache().

#define PROC_REG_OFFSET (   proc)    ((proc)->pdr.regoffset)

Definition at line 85 of file alpha-mdebug-tdep.c.

Referenced by alpha_mdebug_frame_unwind_cache().


Function Documentation

static CORE_ADDR alpha_mdebug_after_prologue ( CORE_ADDR  pc,
struct mdebug_extra_func_info proc_desc 
) [static]

Definition at line 151 of file alpha-mdebug-tdep.c.

References alpha_after_prologue(), and alpha_mdebug_frameless().

Referenced by alpha_mdebug_in_prologue().

static CORE_ADDR alpha_mdebug_frame_args_address ( struct frame_info this_frame,
void **  this_prologue_cache 
) [static]
static CORE_ADDR alpha_mdebug_frame_base_address ( struct frame_info this_frame,
void **  this_prologue_cache 
) [static]
static struct frame_base* alpha_mdebug_frame_base_sniffer ( struct frame_info this_frame) [static, read]
static CORE_ADDR alpha_mdebug_frame_locals_address ( struct frame_info this_frame,
void **  this_prologue_cache 
) [static]
static struct value* alpha_mdebug_frame_prev_register ( struct frame_info this_frame,
void **  this_prologue_cache,
int  regnum 
) [static, read]
static int alpha_mdebug_frame_sniffer ( const struct frame_unwind self,
struct frame_info this_frame,
void **  this_cache 
) [static]
static void alpha_mdebug_frame_this_id ( struct frame_info this_frame,
void **  this_prologue_cache,
struct frame_id this_id 
) [static]
static struct alpha_mdebug_unwind_cache* alpha_mdebug_frame_unwind_cache ( struct frame_info this_frame,
void **  this_prologue_cache 
) [static, read]
static int alpha_mdebug_frameless ( struct mdebug_extra_func_info proc_desc) [static]
static int alpha_mdebug_in_prologue ( CORE_ADDR  pc,
struct mdebug_extra_func_info proc_desc 
) [static]

Definition at line 169 of file alpha-mdebug-tdep.c.

References alpha_mdebug_after_prologue().

Referenced by alpha_mdebug_frame_sniffer().

void alpha_mdebug_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
)
static int alpha_mdebug_max_frame_size_exceeded ( struct mdebug_extra_func_info proc_desc) [static]
static struct mdebug_extra_func_info* find_proc_desc ( CORE_ADDR  pc) [static, read]

Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines