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_cache * | trad_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 value * | trad_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_reg * | trad_frame_alloc_saved_regs (struct frame_info *)
struct trad_frame_saved_reg * | trad_frame_alloc_saved_regs (struct gdbarch *)
struct value * | trad_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
| ) |  |

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

References regnum.

Referenced by aarch64_make_prologue_cache_1(), alpha_heuristic_frame_unwind_cache(), alpha_mdebug_frame_unwind_cache(), arc_make_frame_cache(), arc_print_frame_cache(), arm_exidx_fill_cache(), arm_make_epilogue_frame_cache(), arm_make_prologue_cache(), avr_frame_prev_register(), hppa_fallback_frame_cache(), lm32_frame_cache(), m32r_frame_unwind_cache(), m68hc11_frame_unwind_cache(), mt_frame_unwind_cache(), s390_prologue_frame_unwind_cache(), spu_frame_unwind_cache(), trad_frame_get_prev_register(), and v850_frame_cache().

## ◆ 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 * |  | ) |

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

References FRAME_OBSTACK_ZALLOC, trad_frame_cache::prev_regs, trad_frame_cache::this_frame, and trad_frame_alloc_saved_regs().

Referenced by amd64obsd_trapframe_cache(), frv_linux_sigtramp_frame_cache(), i386obsd_trapframe_cache(), m68k_linux_sigtramp_frame_cache(), mips_sde_frame_cache(), mips_stub_frame_cache(), nios2_stub_frame_cache(), or1k_frame_cache(), ppcfbsd_sigtramp_frame_cache(), ppcobsd_sigtramp_frame_cache(), and tramp_frame_cache().

## ◆ trad_frame_get_id()

void trad_frame_get_id | ( | struct trad_frame_cache * | this_trad_cache,
|  | struct frame_id * | this_id
| ) |  |

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

References trad_frame_cache::this_id.

Referenced by amd64obsd_trapframe_this_id(), frv_linux_sigtramp_frame_this_id(), i386obsd_trapframe_this_id(), m68k_linux_sigtramp_frame_this_id(), mips_sde_frame_this_id(), mips_stub_frame_this_id(), nios2_stub_frame_this_id(), or1k_frame_this_id(), ppcfbsd_sigtramp_frame_this_id(), ppcobsd_sigtramp_frame_this_id(), and tramp_frame_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
| ) |  |

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

References trad_frame_cache::prev_regs, regnum, and trad_frame_get_prev_register().

Referenced by amd64obsd_trapframe_prev_register(), frv_linux_sigtramp_frame_prev_register(), i386obsd_trapframe_prev_register(), m68k_linux_sigtramp_frame_prev_register(), mips_sde_frame_prev_register(), mips_stub_frame_prev_register(), nios2_stub_frame_prev_register(), or1k_frame_prev_register(), ppcfbsd_sigtramp_frame_prev_register(), ppcobsd_sigtramp_frame_prev_register(), and tramp_frame_prev_register().

## ◆ trad_frame_get_this_base()

CORE_ADDR trad_frame_get_this_base | ( | struct trad_frame_cache * | this_trad_cache | ) |

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

References trad_frame_cache::this_base.

Referenced by mips_sde_frame_base_address(), and mips_stub_frame_base_address().

## ◆ 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
| ) |  |

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

References trad_frame_cache::this_id.

Referenced by aarch64_fbsd_sigframe_init(), aarch64_linux_sigframe_init(), am33_linux_sigframe_cache_init(), amd64obsd_trapframe_cache(), arm_fbsd_sigframe_init(), arm_linux_restart_syscall_init(), arm_linux_sigtramp_cache(), armobsd_sigframe_init(), bfin_linux_sigframe_init(), frv_linux_sigtramp_frame_cache(), hppanbsd_sigtramp_cache_init(), i386nbsd_sigtramp_cache_init(), i386obsd_trapframe_cache(), m68k_linux_sigtramp_frame_cache(), microblaze_linux_sigtramp_cache(), mips64_fbsd_sigframe_init(), mips64obsd_sigframe_init(), mips_fbsd_sigframe_init(), mips_linux_n32n64_sigframe_init(), mips_linux_o32_sigframe_init(), mips_sde_frame_cache(), mips_stub_frame_cache(), nios2_linux_rt_sigreturn_init(), nios2_stub_frame_cache(), or1k_frame_cache(), ppc_linux_sigtramp_cache(), ppcfbsd_sigtramp_frame_cache(), ppcnbsd_sigtramp_cache_init(), ppcobsd_sigtramp_frame_cache(), sh_linux_sigtramp_cache(), sparc32_linux_sigframe_init(), sparc64_linux_sigframe_init(), tic6x_linux_rt_sigreturn_init(), and tilegx_linux_sigframe_init().

## ◆ trad_frame_set_reg_addr()

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

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

References trad_frame_saved_reg::addr, trad_frame_cache::prev_regs, and regnum.

Referenced by aarch64_fbsd_sigframe_init(), aarch64_linux_sigframe_init(), am33_linux_sigframe_cache_init(), amd64obsd_trapframe_cache(), arm_fbsd_sigframe_init(), arm_linux_sigtramp_cache(), armobsd_sigframe_init(), bfin_linux_sigframe_init(), frv_linux_sigtramp_frame_cache(), hppanbsd_sigtramp_cache_init(), i386nbsd_sigtramp_cache_init(), i386obsd_trapframe_cache(), m68k_linux_sigtramp_frame_cache(), microblaze_linux_sigtramp_cache(), mips64_fbsd_sigframe_init(), mips64obsd_sigframe_init(), mips_fbsd_sigframe_init(), mips_linux_n32n64_sigframe_init(), mips_linux_o32_sigframe_init(), mips_sde_frame_cache(), nios2_linux_rt_sigreturn_init(), or1k_frame_cache(), ppc_linux_sigtramp_cache(), ppcfbsd_sigtramp_frame_cache(), ppcnbsd_sigtramp_cache_init(), ppcobsd_sigtramp_frame_cache(), sh_linux_sigtramp_cache(), sparc32_linux_sigframe_init(), sparc64_linux_sigframe_init(), tic6x_linux_rt_sigreturn_init(), and tilegx_linux_sigframe_init().

## ◆ trad_frame_set_reg_realreg()

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

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

References trad_frame_saved_reg::addr, trad_frame_cache::prev_regs, trad_frame_saved_reg::realreg, and regnum.

Referenced by mips_stub_frame_cache(), nios2_stub_frame_cache(), and or1k_frame_cache().

## ◆ trad_frame_set_reg_value()

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

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

References trad_frame_cache::prev_regs, regnum, and trad_frame_set_value().

Referenced by arm_linux_restart_syscall_init(), or1k_frame_cache(), and tilegx_linux_sigframe_init().

## ◆ trad_frame_set_this_base()

void trad_frame_set_this_base | ( | struct trad_frame_cache * | this_trad_cache,
|  | CORE_ADDR | this_base
| ) |  |

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

References trad_frame_cache::this_base.

Referenced by mips_stub_frame_cache(), nios2_stub_frame_cache(), and or1k_frame_cache().

## ◆ trad_frame_set_unknown()

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

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

References trad_frame_saved_reg::addr, trad_frame_saved_reg::realreg, regnum, and TF_REG_UNKNOWN.

Referenced by s390_backchain_frame_unwind_cache(), s390_prologue_frame_unwind_cache(), sparc32_sol2_sigtramp_frame_cache(), and sparc64_sol2_sigtramp_frame_cache().

## ◆ trad_frame_set_value()

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

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

References trad_frame_saved_reg::addr, trad_frame_saved_reg::realreg, regnum, and TF_REG_VALUE.

Referenced by alpha_heuristic_frame_unwind_cache(), alpha_mdebug_frame_unwind_cache(), avr_frame_unwind_cache(), BP_MANIPULATION(), cris_scan_prologue(), frv_analyze_prologue(), hppa_fallback_frame_cache(), lm32_frame_cache(), m32r_frame_unwind_cache(), m68hc11_frame_unwind_cache(), m88k_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(), score_make_prologue_cache(), sparc32nbsd_sigcontext_saved_regs(), sparc64nbsd_sigcontext_saved_regs(), spu_frame_unwind_cache(), tilegx_analyze_prologue(), trad_frame_set_reg_value(), v850_frame_cache(), and vax_frame_cache().

## ◆ 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().