GDB (API)
|
#include "defs.h"
#include "frame.h"
#include "target.h"
#include "value.h"
#include "inferior.h"
#include "regcache.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "user-regs.h"
#include "gdb_obstack.h"
#include "dummy-frame.h"
#include "sentinel-frame.h"
#include "gdbcore.h"
#include "annotate.h"
#include "language.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "command.h"
#include "gdbcmd.h"
#include "observer.h"
#include "objfiles.h"
#include "exceptions.h"
#include "gdbthread.h"
#include "block.h"
#include "inline-frame.h"
#include "tracepoint.h"
#include "hashtab.h"
#include "unwind_stop_reasons.def"
Go to the source code of this file.
Defines | |
#define | SET(name, description) case name: return _(description); |
Functions | |
void | fprint_frame_id (struct ui_file *file, struct frame_id id) |
struct frame_id | get_frame_id (struct frame_info *fi) |
struct frame_id | get_stack_frame_id (struct frame_info *next_frame) |
struct frame_id | frame_unwind_caller_id (struct frame_info *next_frame) |
struct frame_id | frame_id_build_special (CORE_ADDR stack_addr, CORE_ADDR code_addr, CORE_ADDR special_addr) |
struct frame_id | frame_id_build (CORE_ADDR stack_addr, CORE_ADDR code_addr) |
struct frame_id | frame_id_build_wild (CORE_ADDR stack_addr) |
int | frame_id_p (struct frame_id l) |
int | frame_id_artificial_p (struct frame_id l) |
int | frame_id_eq (struct frame_id l, struct frame_id r) |
struct frame_info * | frame_find_by_id (struct frame_id id) |
CORE_ADDR | frame_unwind_caller_pc (struct frame_info *this_frame) |
int | frame_unwind_caller_pc_if_available (struct frame_info *this_frame, CORE_ADDR *pc) |
int | get_frame_func_if_available (struct frame_info *this_frame, CORE_ADDR *pc) |
CORE_ADDR | get_frame_func (struct frame_info *this_frame) |
struct regcache * | frame_save_as_regcache (struct frame_info *this_frame) |
void | frame_pop (struct frame_info *this_frame) |
void | frame_register_unwind (struct frame_info *frame, int regnum, int *optimizedp, int *unavailablep, enum lval_type *lvalp, CORE_ADDR *addrp, int *realnump, gdb_byte *bufferp) |
void | frame_register (struct frame_info *frame, int regnum, int *optimizedp, int *unavailablep, enum lval_type *lvalp, CORE_ADDR *addrp, int *realnump, gdb_byte *bufferp) |
void | frame_unwind_register (struct frame_info *frame, int regnum, gdb_byte *buf) |
void | get_frame_register (struct frame_info *frame, int regnum, gdb_byte *buf) |
struct value * | frame_unwind_register_value (struct frame_info *frame, int regnum) |
struct value * | get_frame_register_value (struct frame_info *frame, int regnum) |
LONGEST | frame_unwind_register_signed (struct frame_info *frame, int regnum) |
LONGEST | get_frame_register_signed (struct frame_info *frame, int regnum) |
ULONGEST | frame_unwind_register_unsigned (struct frame_info *frame, int regnum) |
ULONGEST | get_frame_register_unsigned (struct frame_info *frame, int regnum) |
int | read_frame_register_unsigned (struct frame_info *frame, int regnum, ULONGEST *val) |
void | put_frame_register (struct frame_info *frame, int regnum, const gdb_byte *buf) |
int | deprecated_frame_register_read (struct frame_info *frame, int regnum, gdb_byte *myaddr) |
int | get_frame_register_bytes (struct frame_info *frame, int regnum, CORE_ADDR offset, int len, gdb_byte *myaddr, int *optimizedp, int *unavailablep) |
void | put_frame_register_bytes (struct frame_info *frame, int regnum, CORE_ADDR offset, int len, const gdb_byte *myaddr) |
void * | frame_obstack_zalloc (unsigned long size) |
struct frame_info * | get_current_frame (void) |
int | has_stack_frames (void) |
struct frame_info * | get_selected_frame (const char *message) |
struct frame_info * | get_selected_frame_if_set (void) |
struct frame_info * | deprecated_safe_get_selected_frame (void) |
void | select_frame (struct frame_info *fi) |
struct frame_info * | create_new_frame (CORE_ADDR addr, CORE_ADDR pc) |
struct frame_info * | get_next_frame (struct frame_info *this_frame) |
void | reinit_frame_cache (void) |
struct frame_info * | get_prev_frame (struct frame_info *this_frame) |
CORE_ADDR | get_frame_pc (struct frame_info *frame) |
int | get_frame_pc_if_available (struct frame_info *frame, CORE_ADDR *pc) |
CORE_ADDR | get_frame_address_in_block (struct frame_info *this_frame) |
int | get_frame_address_in_block_if_available (struct frame_info *this_frame, CORE_ADDR *pc) |
void | find_frame_sal (struct frame_info *frame, struct symtab_and_line *sal) |
CORE_ADDR | get_frame_base (struct frame_info *fi) |
CORE_ADDR | get_frame_base_address (struct frame_info *fi) |
CORE_ADDR | get_frame_locals_address (struct frame_info *fi) |
CORE_ADDR | get_frame_args_address (struct frame_info *fi) |
int | frame_unwinder_is (struct frame_info *fi, const struct frame_unwind *unwinder) |
int | frame_relative_level (struct frame_info *fi) |
enum frame_type | get_frame_type (struct frame_info *frame) |
struct program_space * | get_frame_program_space (struct frame_info *frame) |
struct program_space * | frame_unwind_program_space (struct frame_info *this_frame) |
struct address_space * | get_frame_address_space (struct frame_info *frame) |
void | get_frame_memory (struct frame_info *this_frame, CORE_ADDR addr, gdb_byte *buf, int len) |
LONGEST | get_frame_memory_signed (struct frame_info *this_frame, CORE_ADDR addr, int len) |
ULONGEST | get_frame_memory_unsigned (struct frame_info *this_frame, CORE_ADDR addr, int len) |
int | safe_frame_unwind_memory (struct frame_info *this_frame, CORE_ADDR addr, gdb_byte *buf, int len) |
struct gdbarch * | get_frame_arch (struct frame_info *this_frame) |
struct gdbarch * | frame_unwind_arch (struct frame_info *next_frame) |
struct gdbarch * | frame_unwind_caller_arch (struct frame_info *next_frame) |
CORE_ADDR | get_frame_sp (struct frame_info *this_frame) |
enum unwind_stop_reason | get_frame_unwind_stop_reason (struct frame_info *frame) |
const char * | frame_stop_reason_string (enum unwind_stop_reason reason) |
struct cleanup * | frame_prepare_for_sniffer (struct frame_info *frame, const struct frame_unwind *unwind) |
void | _initialize_frame (void) |
Variables | |
unsigned int | frame_debug |
struct frame_id | null_frame_id |
struct frame_id | outer_frame_id = { 0, 0, 0, 0, 0, 1, 0 } |
initialize_file_ftype | _initialize_frame |
void _initialize_frame | ( | void | ) |
struct frame_info* create_new_frame | ( | CORE_ADDR | addr, |
CORE_ADDR | pc | ||
) | [read] |
int deprecated_frame_register_read | ( | struct frame_info * | frame, |
int | regnum, | ||
gdb_byte * | myaddr | ||
) |
struct frame_info* deprecated_safe_get_selected_frame | ( | void | ) | [read] |
void find_frame_sal | ( | struct frame_info * | frame, |
struct symtab_and_line * | sal | ||
) |
void fprint_frame_id | ( | struct ui_file * | file, |
struct frame_id | id | ||
) |
struct frame_info* frame_find_by_id | ( | struct frame_id | id | ) | [read] |
int frame_id_artificial_p | ( | struct frame_id | l | ) |
struct frame_id frame_id_build | ( | CORE_ADDR | stack_addr, |
CORE_ADDR | code_addr | ||
) | [read] |
struct frame_id frame_id_build_special | ( | CORE_ADDR | stack_addr, |
CORE_ADDR | code_addr, | ||
CORE_ADDR | special_addr | ||
) | [read] |
struct frame_id frame_id_build_wild | ( | CORE_ADDR | stack_addr | ) | [read] |
int frame_id_p | ( | struct frame_id | l | ) |
void* frame_obstack_zalloc | ( | unsigned long | size | ) |
struct cleanup* frame_prepare_for_sniffer | ( | struct frame_info * | frame, |
const struct frame_unwind * | unwind | ||
) | [read] |
int frame_relative_level | ( | struct frame_info * | fi | ) |
struct regcache* frame_save_as_regcache | ( | struct frame_info * | this_frame | ) | [read] |
const char* frame_stop_reason_string | ( | enum unwind_stop_reason | reason | ) |
struct gdbarch* frame_unwind_arch | ( | struct frame_info * | next_frame | ) | [read] |
struct gdbarch* frame_unwind_caller_arch | ( | struct frame_info * | next_frame | ) | [read] |
struct frame_id frame_unwind_caller_id | ( | struct frame_info * | next_frame | ) | [read] |
CORE_ADDR frame_unwind_caller_pc | ( | struct frame_info * | this_frame | ) |
int frame_unwind_caller_pc_if_available | ( | struct frame_info * | this_frame, |
CORE_ADDR * | pc | ||
) |
struct program_space* frame_unwind_program_space | ( | struct frame_info * | this_frame | ) | [read] |
void frame_unwind_register | ( | struct frame_info * | frame, |
int | regnum, | ||
gdb_byte * | buf | ||
) |
LONGEST frame_unwind_register_signed | ( | struct frame_info * | frame, |
int | regnum | ||
) |
ULONGEST frame_unwind_register_unsigned | ( | struct frame_info * | frame, |
int | regnum | ||
) |
struct value* frame_unwind_register_value | ( | struct frame_info * | frame, |
int | regnum | ||
) | [read] |
int frame_unwinder_is | ( | struct frame_info * | fi, |
const struct frame_unwind * | unwinder | ||
) |
struct frame_info* get_current_frame | ( | void | ) | [read] |
CORE_ADDR get_frame_address_in_block | ( | struct frame_info * | this_frame | ) |
int get_frame_address_in_block_if_available | ( | struct frame_info * | this_frame, |
CORE_ADDR * | pc | ||
) |
struct address_space* get_frame_address_space | ( | struct frame_info * | frame | ) | [read] |
struct gdbarch* get_frame_arch | ( | struct frame_info * | this_frame | ) | [read] |
CORE_ADDR get_frame_args_address | ( | struct frame_info * | fi | ) |
CORE_ADDR get_frame_base | ( | struct frame_info * | fi | ) |
CORE_ADDR get_frame_base_address | ( | struct frame_info * | fi | ) |
CORE_ADDR get_frame_func | ( | struct frame_info * | this_frame | ) |
int get_frame_func_if_available | ( | struct frame_info * | this_frame, |
CORE_ADDR * | pc | ||
) |
struct frame_id get_frame_id | ( | struct frame_info * | fi | ) | [read] |
CORE_ADDR get_frame_locals_address | ( | struct frame_info * | fi | ) |
void get_frame_memory | ( | struct frame_info * | this_frame, |
CORE_ADDR | addr, | ||
gdb_byte * | buf, | ||
int | len | ||
) |
LONGEST get_frame_memory_signed | ( | struct frame_info * | this_frame, |
CORE_ADDR | addr, | ||
int | len | ||
) |
ULONGEST get_frame_memory_unsigned | ( | struct frame_info * | this_frame, |
CORE_ADDR | addr, | ||
int | len | ||
) |
CORE_ADDR get_frame_pc | ( | struct frame_info * | frame | ) |
int get_frame_pc_if_available | ( | struct frame_info * | frame, |
CORE_ADDR * | pc | ||
) |
struct program_space* get_frame_program_space | ( | struct frame_info * | frame | ) | [read] |
void get_frame_register | ( | struct frame_info * | frame, |
int | regnum, | ||
gdb_byte * | buf | ||
) |
LONGEST get_frame_register_signed | ( | struct frame_info * | frame, |
int | regnum | ||
) |
ULONGEST get_frame_register_unsigned | ( | struct frame_info * | frame, |
int | regnum | ||
) |
struct value* get_frame_register_value | ( | struct frame_info * | frame, |
int | regnum | ||
) | [read] |
CORE_ADDR get_frame_sp | ( | struct frame_info * | this_frame | ) |
enum frame_type get_frame_type | ( | struct frame_info * | frame | ) |
enum unwind_stop_reason get_frame_unwind_stop_reason | ( | struct frame_info * | frame | ) |
struct frame_info* get_next_frame | ( | struct frame_info * | this_frame | ) | [read] |
struct frame_info* get_prev_frame | ( | struct frame_info * | this_frame | ) | [read] |
struct frame_info* get_selected_frame | ( | const char * | message | ) | [read] |
struct frame_info* get_selected_frame_if_set | ( | void | ) | [read] |
struct frame_id get_stack_frame_id | ( | struct frame_info * | next_frame | ) | [read] |
int has_stack_frames | ( | void | ) |
void put_frame_register | ( | struct frame_info * | frame, |
int | regnum, | ||
const gdb_byte * | buf | ||
) |
int read_frame_register_unsigned | ( | struct frame_info * | frame, |
int | regnum, | ||
ULONGEST * | val | ||
) |
void reinit_frame_cache | ( | void | ) |
int safe_frame_unwind_memory | ( | struct frame_info * | this_frame, |
CORE_ADDR | addr, | ||
gdb_byte * | buf, | ||
int | len | ||
) |
void select_frame | ( | struct frame_info * | fi | ) |
unsigned int frame_debug |
struct frame_id null_frame_id |
struct frame_id outer_frame_id = { 0, 0, 0, 0, 0, 1, 0 } |