GDB (xrefs)
Classes | Functions
/tmp/gdb-8.1/gdb/trad-frame.h File Reference
#include "frame.h"

Go to the source code of this file.

Classes

struct  trad_frame_saved_reg
 

Functions

struct trad_frame_cachetrad_frame_cache_zalloc (struct frame_info *)
 
void trad_frame_set_id (struct trad_frame_cache *this_trad_cache, struct frame_id this_id)
 
void trad_frame_get_id (struct trad_frame_cache *this_trad_cache, struct frame_id *this_id)
 
void trad_frame_set_this_base (struct trad_frame_cache *this_trad_cache, CORE_ADDR this_base)
 
CORE_ADDR trad_frame_get_this_base (struct trad_frame_cache *this_trad_cache)
 
void trad_frame_set_reg_realreg (struct trad_frame_cache *this_trad_cache, int regnum, int realreg)
 
void trad_frame_set_reg_addr (struct trad_frame_cache *this_trad_cache, int regnum, CORE_ADDR addr)
 
void trad_frame_set_reg_value (struct trad_frame_cache *this_cache, int regnum, LONGEST val)
 
struct valuetrad_frame_get_register (struct trad_frame_cache *this_trad_cache, struct frame_info *this_frame, int regnum)
 
void trad_frame_set_value (struct trad_frame_saved_reg this_saved_regs[], int regnum, LONGEST val)
 
void trad_frame_set_unknown (struct trad_frame_saved_reg this_saved_regs[], int regnum)
 
int trad_frame_value_p (struct trad_frame_saved_reg this_saved_regs[], int regnum)
 
int trad_frame_addr_p (struct trad_frame_saved_reg this_saved_regs[], int regnum)
 
int trad_frame_realreg_p (struct trad_frame_saved_reg this_saved_regs[], int regnum)
 
struct trad_frame_saved_regtrad_frame_alloc_saved_regs (struct frame_info *)
 
struct trad_frame_saved_regtrad_frame_alloc_saved_regs (struct gdbarch *)
 
struct valuetrad_frame_get_prev_register (struct frame_info *this_frame, struct trad_frame_saved_reg this_saved_regs[], int regnum)
 

Function Documentation

◆ trad_frame_addr_p()

int trad_frame_addr_p ( struct trad_frame_saved_reg  this_saved_regs[],
int  regnum 
)

◆ trad_frame_alloc_saved_regs() [1/2]

struct trad_frame_saved_reg* trad_frame_alloc_saved_regs ( struct frame_info )

Definition at line 68 of file trad-frame.c.

References get_frame_arch(), and trad_frame_alloc_saved_regs().

◆ trad_frame_alloc_saved_regs() [2/2]

struct trad_frame_saved_reg* trad_frame_alloc_saved_regs ( struct gdbarch )

Definition at line 47 of file trad-frame.c.

References trad_frame_saved_reg::addr, FRAME_OBSTACK_CALLOC, gdbarch_num_pseudo_regs(), gdbarch_num_regs(), trad_frame_saved_reg::realreg, and regnum.

Referenced by aarch64_make_prologue_cache(), aarch64_make_stub_cache(), alpha_heuristic_frame_unwind_cache(), alpha_mdebug_frame_unwind_cache(), arc_make_frame_cache(), arm_exidx_fill_cache(), arm_m_exception_cache(), arm_make_epilogue_frame_cache(), arm_make_prologue_cache(), arm_make_stub_cache(), avr_frame_unwind_cache(), BP_MANIPULATION(), cris_frame_unwind_cache(), cris_sigtramp_frame_unwind_cache(), frv_frame_unwind_cache(), hppa_fallback_frame_cache(), hppa_frame_cache(), hppa_linux_sigtramp_frame_unwind_cache(), hppa_stub_frame_unwind_cache(), lm32_frame_cache(), m32r_frame_unwind_cache(), m32r_linux_sigtramp_frame_cache(), m68hc11_frame_unwind_cache(), m88k_frame_cache(), microblaze_frame_cache(), mips_insn16_frame_cache(), mips_insn32_frame_cache(), mips_micro_frame_cache(), mt_frame_unwind_cache(), rs6000_epilogue_frame_cache(), rs6000_frame_cache(), s390_frame_unwind_cache(), s390_sigtramp_frame_unwind_cache(), s390_stub_frame_unwind_cache(), score_make_prologue_cache(), sparc32_sol2_sigtramp_frame_cache(), sparc32nbsd_sigcontext_saved_regs(), sparc64_sol2_sigtramp_frame_cache(), sparc64fbsd_sigtramp_frame_cache(), sparc64nbsd_sigcontext_saved_regs(), sparc64obsd_trapframe_cache(), spu_frame_unwind_cache(), trad_frame_alloc_saved_regs(), trad_frame_cache_zalloc(), v850_alloc_frame_cache(), and vax_frame_cache().

◆ trad_frame_cache_zalloc()

struct trad_frame_cache* trad_frame_cache_zalloc ( struct frame_info )

◆ trad_frame_get_id()

void trad_frame_get_id ( struct trad_frame_cache this_trad_cache,
struct frame_id this_id 
)

◆ trad_frame_get_prev_register()

struct value* trad_frame_get_prev_register ( struct frame_info this_frame,
struct trad_frame_saved_reg  this_saved_regs[],
int  regnum 
)

Definition at line 142 of file trad-frame.c.

References frame_unwind_got_constant(), frame_unwind_got_memory(), frame_unwind_got_optimized(), frame_unwind_got_register(), regnum, trad_frame_addr_p(), trad_frame_realreg_p(), and trad_frame_value_p().

Referenced by aarch64_prologue_prev_register(), alpha_heuristic_frame_prev_register(), alpha_mdebug_frame_prev_register(), arc_frame_prev_register(), arm_m_exception_prev_register(), arm_prologue_prev_register(), avr_frame_prev_register(), cris_frame_prev_register(), frv_frame_prev_register(), hppa_frame_prev_register_helper(), lm32_frame_prev_register(), m32r_frame_prev_register(), m32r_linux_sigtramp_frame_prev_register(), m68hc11_frame_prev_register(), m88k_frame_prev_register(), microblaze_frame_prev_register(), mips_insn16_frame_prev_register(), mips_insn32_frame_prev_register(), mips_micro_frame_prev_register(), mt_frame_prev_register(), rs6000_epilogue_frame_prev_register(), rs6000_frame_prev_register(), s390_trad_frame_prev_register(), score_prologue_prev_register(), sparc32_sol2_sigtramp_frame_prev_register(), sparc32nbsd_sigcontext_frame_prev_register(), sparc32obsd_sigtramp_frame_prev_register(), sparc64_sol2_sigtramp_frame_prev_register(), sparc64fbsd_sigtramp_frame_prev_register(), sparc64nbsd_sigcontext_frame_prev_register(), sparc64obsd_frame_prev_register(), sparc64obsd_trapframe_prev_register(), spu_frame_prev_register(), tilegx_frame_prev_register(), trad_frame_get_register(), v850_frame_prev_register(), and vax_frame_prev_register().

◆ trad_frame_get_register()

struct value* trad_frame_get_register ( struct trad_frame_cache this_trad_cache,
struct frame_info this_frame,
int  regnum 
)

◆ trad_frame_get_this_base()

CORE_ADDR trad_frame_get_this_base ( struct trad_frame_cache this_trad_cache)

◆ trad_frame_realreg_p()

int trad_frame_realreg_p ( struct trad_frame_saved_reg  this_saved_regs[],
int  regnum 
)

Definition at line 91 of file trad-frame.c.

References regnum.

Referenced by arm_exidx_fill_cache(), and trad_frame_get_prev_register().

◆ trad_frame_set_id()

void trad_frame_set_id ( struct trad_frame_cache this_trad_cache,
struct frame_id  this_id 
)

◆ trad_frame_set_reg_addr()

void trad_frame_set_reg_addr ( struct trad_frame_cache this_trad_cache,
int  regnum,
CORE_ADDR  addr 
)

◆ trad_frame_set_reg_realreg()

void trad_frame_set_reg_realreg ( struct trad_frame_cache this_trad_cache,
int  regnum,
int  realreg 
)

◆ trad_frame_set_reg_value()

void trad_frame_set_reg_value ( struct trad_frame_cache this_cache,
int  regnum,
LONGEST  val 
)

◆ trad_frame_set_this_base()

void trad_frame_set_this_base ( struct trad_frame_cache this_trad_cache,
CORE_ADDR  this_base 
)

◆ trad_frame_set_unknown()

void trad_frame_set_unknown ( struct trad_frame_saved_reg  this_saved_regs[],
int  regnum 
)

◆ trad_frame_set_value()

void trad_frame_set_value ( struct trad_frame_saved_reg  this_saved_regs[],
int  regnum,
LONGEST  val 
)

◆ trad_frame_value_p()

int trad_frame_value_p ( struct trad_frame_saved_reg  this_saved_regs[],
int  regnum 
)

Definition at line 78 of file trad-frame.c.

References regnum, and TF_REG_VALUE.

Referenced by trad_frame_get_prev_register().