GDB (xrefs)
|
#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"
#include "gdbarch.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_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 (frame_info_ptr this_frame, void **this_prologue_cache) |
static void | alpha_mdebug_frame_this_id (frame_info_ptr this_frame, void **this_prologue_cache, struct frame_id *this_id) |
static struct value * | alpha_mdebug_frame_prev_register (frame_info_ptr 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, frame_info_ptr this_frame, void **this_cache) |
static CORE_ADDR | alpha_mdebug_frame_base_address (frame_info_ptr this_frame, void **this_prologue_cache) |
static CORE_ADDR | alpha_mdebug_frame_locals_address (frame_info_ptr this_frame, void **this_prologue_cache) |
static CORE_ADDR | alpha_mdebug_frame_args_address (frame_info_ptr this_frame, void **this_prologue_cache) |
static const struct frame_base * | alpha_mdebug_frame_base_sniffer (frame_info_ptr 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 |
Definition at line 78 of file alpha-mdebug-tdep.c.
Referenced by alpha_mdebug_frame_unwind_cache(), alpha_mdebug_frameless(), and alpha_mdebug_max_frame_size_exceeded().
Definition at line 79 of file alpha-mdebug-tdep.c.
Referenced by alpha_mdebug_frame_unwind_cache(), and alpha_mdebug_frameless().
Definition at line 81 of file alpha-mdebug-tdep.c.
Referenced by alpha_mdebug_frame_unwind_cache().
Definition at line 83 of file alpha-mdebug-tdep.c.
Referenced by alpha_mdebug_frame_unwind_cache().
Definition at line 85 of file alpha-mdebug-tdep.c.
Referenced by alpha_mdebug_frame_locals_address().
Definition at line 77 of file alpha-mdebug-tdep.c.
Definition at line 84 of file alpha-mdebug-tdep.c.
Referenced by alpha_mdebug_frame_prev_register(), and alpha_mdebug_frame_unwind_cache().
Definition at line 80 of file alpha-mdebug-tdep.c.
Referenced by alpha_mdebug_frame_unwind_cache().
Definition at line 82 of file alpha-mdebug-tdep.c.
Referenced by alpha_mdebug_frame_unwind_cache().
|
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 |
Definition at line 366 of file alpha-mdebug-tdep.c.
References alpha_mdebug_frame_unwind_cache(), and ALPHA_NUM_ARG_REGS.
|
static |
Definition at line 346 of file alpha-mdebug-tdep.c.
References alpha_mdebug_frame_unwind_cache().
|
static |
Definition at line 383 of file alpha-mdebug-tdep.c.
References alpha_mdebug_frame_base, alpha_mdebug_max_frame_size_exceeded(), find_proc_desc(), and get_frame_address_in_block().
Referenced by alpha_mdebug_init_abi().
|
static |
Definition at line 356 of file alpha-mdebug-tdep.c.
References alpha_mdebug_frame_unwind_cache(), and PROC_LOCALOFF.
|
static |
Definition at line 278 of file alpha-mdebug-tdep.c.
References alpha_mdebug_frame_unwind_cache(), ALPHA_PC_REGNUM, PROC_PC_REG, regnum, and trad_frame_get_prev_register().
|
static |
Definition at line 308 of file alpha-mdebug-tdep.c.
References alpha_mdebug_in_prologue(), alpha_mdebug_max_frame_size_exceeded(), find_proc_desc(), and get_frame_address_in_block().
|
static |
Definition at line 265 of file alpha-mdebug-tdep.c.
References alpha_mdebug_frame_unwind_cache(), frame_id_build(), and get_frame_func().
|
static |
Definition at line 188 of file alpha-mdebug-tdep.c.
References ALPHA_FP0_REGNUM, ALPHA_SP_REGNUM, find_proc_desc(), FRAME_OBSTACK_ZALLOC, get_frame_address_in_block(), get_frame_register_unsigned(), PROC_FRAME_OFFSET, PROC_FRAME_REG, PROC_FREG_MASK, PROC_FREG_OFFSET, PROC_PC_REG, PROC_REG_MASK, PROC_REG_OFFSET, and trad_frame_alloc_saved_regs().
Referenced by alpha_mdebug_frame_args_address(), alpha_mdebug_frame_base_address(), alpha_mdebug_frame_locals_address(), alpha_mdebug_frame_prev_register(), and alpha_mdebug_frame_this_id().
|
static |
Definition at line 139 of file alpha-mdebug-tdep.c.
References ALPHA_SP_REGNUM, PROC_FRAME_OFFSET, and PROC_FRAME_REG.
Referenced by alpha_mdebug_after_prologue(), and alpha_mdebug_max_frame_size_exceeded().
|
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 ) |
Definition at line 404 of file alpha-mdebug-tdep.c.
References alpha_mdebug_frame_base_sniffer(), alpha_mdebug_frame_unwind, frame_base_append_sniffer(), and frame_unwind_append_unwinder().
Referenced by alpha_linux_init_abi(), alphanbsd_init_abi(), and alphaobsd_init_abi().
|
static |
Definition at line 297 of file alpha-mdebug-tdep.c.
References alpha_mdebug_frameless(), alpha_mdebug_unwind_cache::proc_desc, and PROC_FRAME_OFFSET.
Referenced by alpha_mdebug_frame_base_sniffer(), and alpha_mdebug_frame_sniffer().
|
static |
Definition at line 91 of file alpha-mdebug-tdep.c.
References ALPHA_RA_REGNUM, block_for_pc(), find_pc_partial_function(), LABEL_DOMAIN, lookup_symbol(), MDEBUG_EFI_SYMBOL_NAME, mdebug_extra_func_info::pdr, block::start(), block_symbol::symbol, and symbol::value_bytes().
Referenced by alpha_mdebug_frame_base_sniffer(), alpha_mdebug_frame_sniffer(), and alpha_mdebug_frame_unwind_cache().
|
static |
Definition at line 375 of file alpha-mdebug-tdep.c.
Referenced by alpha_mdebug_frame_base_sniffer().
|
static |
Definition at line 334 of file alpha-mdebug-tdep.c.
Referenced by alpha_mdebug_init_abi().