GDB (xrefs)
Classes | Macros | Functions | Variables
/tmp/gdb-7.10/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 "trad-frame.h"
#include "alpha-tdep.h"
#include "mdebugread.h"

Go to the source code of this file.

Classes

struct  alpha_mdebug_unwind_cache
 

Macros

#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_infofind_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_cachealpha_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 const 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 const struct frame_unwind alpha_mdebug_frame_unwind
 
static const struct frame_base alpha_mdebug_frame_base
 

Macro Definition Documentation

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

Definition at line 80 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 82 of file alpha-mdebug-tdep.c.

Referenced by alpha_mdebug_frame_unwind_cache().

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

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

Referenced by alpha_mdebug_frame_unwind_cache().

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

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

Referenced by alpha_mdebug_frame_locals_address().

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

Definition at line 78 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 81 of file alpha-mdebug-tdep.c.

Referenced by alpha_mdebug_frame_unwind_cache().

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

Definition at line 83 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 149 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 const struct frame_base* alpha_mdebug_frame_base_sniffer ( struct frame_info this_frame)
static
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
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
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 167 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

Variable Documentation

const struct frame_base alpha_mdebug_frame_base
static
Initial value:
= {
}
static CORE_ADDR alpha_mdebug_frame_args_address(struct frame_info *this_frame, void **this_prologue_cache)
static const struct frame_unwind alpha_mdebug_frame_unwind
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)

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

Referenced by alpha_mdebug_frame_base_sniffer().

const struct frame_unwind alpha_mdebug_frame_unwind
static
Initial value:
= {
NULL,
}
static void alpha_mdebug_frame_this_id(struct frame_info *this_frame, void **this_prologue_cache, struct frame_id *this_id)
static struct value * alpha_mdebug_frame_prev_register(struct frame_info *this_frame, void **this_prologue_cache, int regnum)
static int alpha_mdebug_frame_sniffer(const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
enum unwind_stop_reason default_frame_unwind_stop_reason(struct frame_info *this_frame, void **this_cache)
Definition: frame-unwind.c:180

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