GDB (API)
|
#include "unwind_stop_reasons.def"
Go to the source code of this file.
Classes | |
struct | frame_id |
struct | frame_arg |
Defines | |
#define | SET(name, description) name, |
#define | FIRST_ENTRY(name) UNWIND_FIRST = name, |
#define | LAST_ENTRY(name) UNWIND_LAST = name, |
#define | FIRST_ERROR(name) UNWIND_FIRST_ERROR = name, |
#define | FRAME_OBSTACK_ZALLOC(TYPE) ((TYPE *) frame_obstack_zalloc (sizeof (TYPE))) |
#define | FRAME_OBSTACK_CALLOC(NUMBER, TYPE) ((TYPE *) frame_obstack_zalloc ((NUMBER) * sizeof (TYPE))) |
Enumerations | |
enum | frame_type { NORMAL_FRAME, DUMMY_FRAME, INLINE_FRAME, TAILCALL_FRAME, SIGTRAMP_FRAME, ARCH_FRAME, SENTINEL_FRAME } |
enum | unwind_stop_reason |
enum | print_what { SRC_LINE = -1, LOCATION, SRC_AND_LOC, LOC_AND_ADDRESS } |
Functions | |
struct frame_id | frame_id_build (CORE_ADDR stack_addr, CORE_ADDR code_addr) |
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_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) |
void | fprint_frame_id (struct ui_file *file, struct frame_id id) |
struct frame_info * | get_current_frame (void) |
int | has_stack_frames (void) |
void | reinit_frame_cache (void) |
struct frame_info * | get_selected_frame (const char *message) |
struct frame_info * | get_selected_frame_if_set (void) |
void | select_frame (struct frame_info *) |
struct frame_info * | get_prev_frame (struct frame_info *) |
struct frame_info * | get_next_frame (struct frame_info *) |
struct frame_info * | frame_find_by_id (struct frame_id id) |
CORE_ADDR | get_frame_pc (struct frame_info *) |
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) |
CORE_ADDR | get_frame_sp (struct frame_info *) |
CORE_ADDR | get_frame_func (struct frame_info *fi) |
int | get_frame_func_if_available (struct frame_info *fi, CORE_ADDR *) |
void | find_frame_sal (struct frame_info *frame, struct symtab_and_line *sal) |
void | set_current_sal_from_frame (struct frame_info *, int) |
CORE_ADDR | get_frame_base (struct frame_info *) |
struct frame_id | get_frame_id (struct frame_info *fi) |
struct frame_id | get_stack_frame_id (struct frame_info *fi) |
struct frame_id | frame_unwind_caller_id (struct frame_info *next_frame) |
CORE_ADDR | get_frame_base_address (struct frame_info *) |
CORE_ADDR | get_frame_locals_address (struct frame_info *) |
CORE_ADDR | get_frame_args_address (struct frame_info *) |
int | frame_relative_level (struct frame_info *fi) |
enum frame_type | get_frame_type (struct frame_info *) |
struct program_space * | get_frame_program_space (struct frame_info *) |
struct program_space * | frame_unwind_program_space (struct frame_info *) |
struct address_space * | get_frame_address_space (struct frame_info *) |
SET (UNWIND_UNAVAILABLE,"not enough registers or memory available to unwind further") | |
enum unwind_stop_reason | get_frame_unwind_stop_reason (struct frame_info *) |
const char * | frame_stop_reason_string (enum unwind_stop_reason) |
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 *valuep) |
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 | frame_register (struct frame_info *frame, int regnum, int *optimizedp, int *unavailablep, enum lval_type *lvalp, CORE_ADDR *addrp, int *realnump, gdb_byte *valuep) |
void | put_frame_register (struct frame_info *frame, int regnum, const gdb_byte *buf) |
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) |
CORE_ADDR | frame_unwind_caller_pc (struct frame_info *frame) |
int | frame_unwind_caller_pc_if_available (struct frame_info *this_frame, CORE_ADDR *pc) |
void | frame_pop (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 memaddr, int len) |
ULONGEST | get_frame_memory_unsigned (struct frame_info *this_frame, CORE_ADDR memaddr, 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 *frame) |
struct gdbarch * | frame_unwind_caller_arch (struct frame_info *frame) |
void * | frame_obstack_zalloc (unsigned long size) |
struct regcache * | frame_save_as_regcache (struct frame_info *this_frame) |
struct block * | get_frame_block (struct frame_info *, CORE_ADDR *addr_in_block) |
struct block * | get_selected_block (CORE_ADDR *addr_in_block) |
struct symbol * | get_frame_function (struct frame_info *) |
CORE_ADDR | get_pc_function_start (CORE_ADDR) |
struct frame_info * | find_relative_frame (struct frame_info *, int *) |
void | print_stack_frame (struct frame_info *, int print_level, enum print_what print_what, int set_current_sal) |
void | print_frame_info (struct frame_info *, int print_level, enum print_what print_what, int args, int set_current_sal) |
struct frame_info * | block_innermost_frame (const struct block *) |
int | deprecated_frame_register_read (struct frame_info *frame, int regnum, gdb_byte *buf) |
void | read_frame_arg (struct symbol *sym, struct frame_info *frame, struct frame_arg *argp, struct frame_arg *entryargp) |
void | read_frame_local (struct symbol *sym, struct frame_info *frame, struct frame_arg *argp) |
void | args_info (char *, int) |
void | locals_info (char *, int) |
void | return_command (char *, int) |
struct cleanup * | frame_prepare_for_sniffer (struct frame_info *frame, const struct frame_unwind *unwind) |
struct frame_info * | deprecated_safe_get_selected_frame (void) |
struct frame_info * | create_new_frame (CORE_ADDR base, CORE_ADDR pc) |
int | frame_unwinder_is (struct frame_info *fi, const struct frame_unwind *unwinder) |
Variables | |
struct frame_id | null_frame_id |
struct frame_id | outer_frame_id |
unsigned int | frame_debug |
const char | print_entry_values_no [] |
const char | print_entry_values_only [] |
const char | print_entry_values_preferred [] |
const char | print_entry_values_if_needed [] |
const char | print_entry_values_both [] |
const char | print_entry_values_compact [] |
const char | print_entry_values_default [] |
const char * | print_entry_values |
void(* | deprecated_selected_frame_level_changed_hook )(int) |
#define FIRST_ENTRY | ( | name | ) | UNWIND_FIRST = name, |
#define FIRST_ERROR | ( | name | ) | UNWIND_FIRST_ERROR = name, |
#define FRAME_OBSTACK_CALLOC | ( | NUMBER, | |
TYPE | |||
) | ((TYPE *) frame_obstack_zalloc ((NUMBER) * sizeof (TYPE))) |
#define FRAME_OBSTACK_ZALLOC | ( | TYPE | ) | ((TYPE *) frame_obstack_zalloc (sizeof (TYPE))) |
#define LAST_ENTRY | ( | name | ) | UNWIND_LAST = name, |
enum frame_type |
enum print_what |
enum unwind_stop_reason |
struct frame_info* block_innermost_frame | ( | const struct block * | ) | [read] |
Definition at line 359 of file blockframe.c.
struct frame_info* create_new_frame | ( | CORE_ADDR | base, |
CORE_ADDR | pc | ||
) | [read] |
int deprecated_frame_register_read | ( | struct frame_info * | frame, |
int | regnum, | ||
gdb_byte * | buf | ||
) |
struct frame_info* deprecated_safe_get_selected_frame | ( | void | ) | [read] |
void find_frame_sal | ( | struct frame_info * | frame, |
struct symtab_and_line * | sal | ||
) |
struct frame_info* find_relative_frame | ( | struct frame_info * | , |
int * | |||
) | [read] |
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 | ) |
struct gdbarch* frame_unwind_arch | ( | struct frame_info * | frame | ) | [read] |
struct gdbarch* frame_unwind_caller_arch | ( | struct frame_info * | frame | ) | [read] |
struct frame_id frame_unwind_caller_id | ( | struct frame_info * | next_frame | ) | [read] |
CORE_ADDR frame_unwind_caller_pc | ( | struct frame_info * | 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 * | ) | [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 * | ) | [read] |
struct gdbarch* get_frame_arch | ( | struct frame_info * | this_frame | ) | [read] |
CORE_ADDR get_frame_args_address | ( | struct frame_info * | ) |
CORE_ADDR get_frame_base | ( | struct frame_info * | ) |
CORE_ADDR get_frame_base_address | ( | struct frame_info * | ) |
struct block* get_frame_block | ( | struct frame_info * | , |
CORE_ADDR * | addr_in_block | ||
) | [read] |
Definition at line 56 of file blockframe.c.
CORE_ADDR get_frame_func | ( | struct frame_info * | fi | ) |
int get_frame_func_if_available | ( | struct frame_info * | fi, |
CORE_ADDR * | |||
) |
struct symbol* get_frame_function | ( | struct frame_info * | ) | [read] |
Definition at line 119 of file blockframe.c.
struct frame_id get_frame_id | ( | struct frame_info * | fi | ) | [read] |
CORE_ADDR get_frame_locals_address | ( | struct frame_info * | ) |
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 | memaddr, | ||
int | len | ||
) |
ULONGEST get_frame_memory_unsigned | ( | struct frame_info * | this_frame, |
CORE_ADDR | memaddr, | ||
int | len | ||
) |
CORE_ADDR get_frame_pc | ( | struct frame_info * | ) |
int get_frame_pc_if_available | ( | struct frame_info * | frame, |
CORE_ADDR * | pc | ||
) |
struct program_space* get_frame_program_space | ( | struct frame_info * | ) | [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 * | ) |
enum frame_type get_frame_type | ( | struct frame_info * | ) |
enum unwind_stop_reason get_frame_unwind_stop_reason | ( | struct frame_info * | ) |
struct frame_info* get_next_frame | ( | struct frame_info * | ) | [read] |
Definition at line 87 of file blockframe.c.
struct frame_info* get_prev_frame | ( | struct frame_info * | ) | [read] |
struct block* get_selected_block | ( | CORE_ADDR * | addr_in_block | ) | [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 * | fi | ) | [read] |
int has_stack_frames | ( | void | ) |
void locals_info | ( | char * | , |
int | |||
) |
void print_frame_info | ( | struct frame_info * | , |
int | print_level, | ||
enum print_what | print_what, | ||
int | args, | ||
int | set_current_sal | ||
) |
void print_stack_frame | ( | struct frame_info * | , |
int | print_level, | ||
enum print_what | print_what, | ||
int | set_current_sal | ||
) |
void put_frame_register | ( | struct frame_info * | frame, |
int | regnum, | ||
const gdb_byte * | buf | ||
) |
void read_frame_arg | ( | struct symbol * | sym, |
struct frame_info * | frame, | ||
struct frame_arg * | argp, | ||
struct frame_arg * | entryargp | ||
) |
void read_frame_local | ( | struct symbol * | sym, |
struct frame_info * | frame, | ||
struct frame_arg * | argp | ||
) |
int read_frame_register_unsigned | ( | struct frame_info * | frame, |
int | regnum, | ||
ULONGEST * | val | ||
) |
void reinit_frame_cache | ( | void | ) |
void return_command | ( | char * | , |
int | |||
) |
int safe_frame_unwind_memory | ( | struct frame_info * | this_frame, |
CORE_ADDR | addr, | ||
gdb_byte * | buf, | ||
int | len | ||
) |
void select_frame | ( | struct frame_info * | ) |
unwind_stop_reason::SET | ( | UNWIND_UNAVAILABLE | , |
"not enough registers or memory available to unwind further" | |||
) |
void set_current_sal_from_frame | ( | struct frame_info * | , |
int | |||
) |
unsigned int frame_debug |
struct frame_id null_frame_id |
struct frame_id outer_frame_id |
const char* print_entry_values |
const char print_entry_values_both[] |
const char print_entry_values_compact[] |
const char print_entry_values_default[] |
const char print_entry_values_no[] |
const char print_entry_values_only[] |