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

Go to the source code of this file.

Classes

struct  frame_unwind
 

Typedefs

typedef int() frame_sniffer_ftype(const struct frame_unwind *self, struct frame_info *this_frame, void **this_prologue_cache)
 
typedef void() frame_this_id_ftype(struct frame_info *this_frame, void **this_prologue_cache, struct frame_id *this_id)
 
typedef struct value *() frame_prev_register_ftype(struct frame_info *this_frame, void **this_prologue_cache, int regnum)
 
typedef void() frame_dealloc_cache_ftype(struct frame_info *self, void *this_cache)
 
typedef struct gdbarch *() frame_prev_arch_ftype(struct frame_info *this_frame, void **this_prologue_cache)
 

Functions

enum unwind_stop_reason() frame_unwind_stop_reason_ftype (struct frame_info *this_frame, void **this_prologue_cache)
 
int default_frame_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_prologue_cache)
 
enum unwind_stop_reason default_frame_unwind_stop_reason (struct frame_info *this_frame, void **this_cache)
 
void frame_unwind_prepend_unwinder (struct gdbarch *, const struct frame_unwind *)
 
void frame_unwind_append_unwinder (struct gdbarch *gdbarch, const struct frame_unwind *unwinder)
 
void frame_unwind_find_by_frame (struct frame_info *this_frame, void **this_cache)
 
struct valueframe_unwind_got_optimized (struct frame_info *frame, int regnum)
 
struct valueframe_unwind_got_register (struct frame_info *frame, int regnum, int new_regnum)
 
struct valueframe_unwind_got_memory (struct frame_info *frame, int regnum, CORE_ADDR addr)
 
struct valueframe_unwind_got_constant (struct frame_info *frame, int regnum, ULONGEST val)
 
struct valueframe_unwind_got_bytes (struct frame_info *frame, int regnum, gdb_byte *buf)
 
struct valueframe_unwind_got_address (struct frame_info *frame, int regnum, CORE_ADDR addr)
 

Typedef Documentation

◆ frame_dealloc_cache_ftype

typedef void() frame_dealloc_cache_ftype(struct frame_info *self, void *this_cache)

Definition at line 134 of file frame-unwind.h.

◆ frame_prev_arch_ftype

typedef struct gdbarch*() frame_prev_arch_ftype(struct frame_info *this_frame, void **this_prologue_cache)

Definition at line 141 of file frame-unwind.h.

◆ frame_prev_register_ftype

typedef struct value*() frame_prev_register_ftype(struct frame_info *this_frame, void **this_prologue_cache, int regnum)

Definition at line 129 of file frame-unwind.h.

◆ frame_sniffer_ftype

typedef int() frame_sniffer_ftype(const struct frame_unwind *self, struct frame_info *this_frame, void **this_prologue_cache)

Definition at line 52 of file frame-unwind.h.

◆ frame_this_id_ftype

typedef void() frame_this_id_ftype(struct frame_info *this_frame, void **this_prologue_cache, struct frame_id *this_id)

Definition at line 96 of file frame-unwind.h.

Function Documentation

◆ default_frame_sniffer()

int default_frame_sniffer ( const struct frame_unwind self,
struct frame_info this_frame,
void **  this_prologue_cache 
)

Definition at line 174 of file frame-unwind.c.

◆ default_frame_unwind_stop_reason()

enum unwind_stop_reason default_frame_unwind_stop_reason ( struct frame_info this_frame,
void **  this_cache 
)

Definition at line 184 of file frame-unwind.c.

References frame_id_eq(), get_frame_id(), and outer_frame_id.

Referenced by pyuw_on_new_gdbarch(), and tramp_frame_prepend_unwinder().

◆ frame_unwind_append_unwinder()

void frame_unwind_append_unwinder ( struct gdbarch gdbarch,
const struct frame_unwind unwinder 
)

Definition at line 79 of file frame-unwind.c.

References frame_unwind_data, GDBARCH_OBSTACK_ZALLOC, frame_unwind_table_entry::next, frame_unwind_table::osabi_head, and frame_unwind_table_entry::unwinder.

Referenced by aarch64_gdbarch_init(), alpha_gdbarch_init(), alpha_mdebug_init_abi(), amd64_init_abi(), amd64_windows_init_abi(), arc_gdbarch_init(), arm_gdbarch_init(), avr_gdbarch_init(), bfin_gdbarch_init(), BP_MANIPULATION(), cris_gdbarch_init(), dwarf2_append_unwinders(), frv_gdbarch_init(), frv_linux_init_abi(), ft32_gdbarch_init(), hppa_gdbarch_init(), hppa_linux_init_abi(), i386_gdbarch_init(), ia64_gdbarch_init(), iq2000_gdbarch_init(), lm32_gdbarch_init(), m32c_gdbarch_init(), m32r_gdbarch_init(), m32r_linux_init_abi(), m68hc11_gdbarch_init(), m68k_gdbarch_init(), m68k_linux_init_abi(), m88k_gdbarch_init(), mep_gdbarch_init(), microblaze_gdbarch_init(), mips_gdbarch_init(), mips_sde_init_abi(), mn10300_frame_unwind_init(), moxie_gdbarch_init(), msp430_gdbarch_init(), mt_gdbarch_init(), nds32_gdbarch_init(), nios2_gdbarch_init(), or1k_gdbarch_init(), ppcfbsd_init_abi(), ppcobsd_init_abi(), rl78_gdbarch_init(), rs6000_gdbarch_init(), rx_gdbarch_init(), s390_gdbarch_init(), score_gdbarch_init(), sh64_gdbarch_init(), sh_gdbarch_init(), sparc32_gdbarch_init(), sparc32_sol2_init_abi(), sparc32nbsd_init_abi(), sparc32obsd_init_abi(), sparc64_init_abi(), sparc64_sol2_init_abi(), sparc64fbsd_init_abi(), sparc64nbsd_init_abi(), sparc64obsd_init_abi(), spu_gdbarch_init(), tic6x_gdbarch_init(), tilegx_gdbarch_init(), v850_gdbarch_init(), vax_gdbarch_init(), xstormy16_gdbarch_init(), and xtensa_gdbarch_init().

◆ frame_unwind_find_by_frame()

void frame_unwind_find_by_frame ( struct frame_info this_frame,
void **  this_cache 
)

◆ frame_unwind_got_address()

struct value* frame_unwind_got_address ( struct frame_info frame,
int  regnum,
CORE_ADDR  addr 
)

◆ frame_unwind_got_bytes()

struct value* frame_unwind_got_bytes ( struct frame_info frame,
int  regnum,
gdb_byte buf 
)

◆ frame_unwind_got_constant()

struct value* frame_unwind_got_constant ( struct frame_info frame,
int  regnum,
ULONGEST  val 
)

◆ frame_unwind_got_memory()

struct value* frame_unwind_got_memory ( struct frame_info frame,
int  regnum,
CORE_ADDR  addr 
)

◆ frame_unwind_got_optimized()

struct value* frame_unwind_got_optimized ( struct frame_info frame,
int  regnum 
)

◆ frame_unwind_got_register()

struct value* frame_unwind_got_register ( struct frame_info frame,
int  regnum,
int  new_regnum 
)

◆ frame_unwind_prepend_unwinder()

void frame_unwind_prepend_unwinder ( struct gdbarch ,
const struct frame_unwind  
)

◆ frame_unwind_stop_reason_ftype()

enum unwind_stop_reason() frame_unwind_stop_reason_ftype ( struct frame_info this_frame,
void **  this_prologue_cache 
)