GDB (xrefs)
|
Go to the source code of this file.
Typedefs | |
typedef gdb::function_view< void(const char *print_name, struct symbol *sym) | iterate_over_block_arg_local_vars_cb) |
Functions | |
gdb::unique_xmalloc_ptr< char > | find_frame_funname (frame_info_ptr frame, enum language *funlang, struct symbol **funcp) |
void | iterate_over_block_arg_vars (const struct block *block, iterate_over_block_arg_local_vars_cb cb) |
void | iterate_over_block_local_vars (const struct block *block, iterate_over_block_arg_local_vars_cb cb) |
void | get_user_print_what_frame_info (gdb::optional< enum print_what > *what) |
bool | frame_show_address (frame_info_ptr frame, struct symtab_and_line sal) |
void | clear_last_displayed_sal (void) |
bool | last_displayed_sal_is_valid (void) |
struct program_space * | get_last_displayed_pspace (void) |
CORE_ADDR | get_last_displayed_addr (void) |
struct symtab * | get_last_displayed_symtab (void) |
int | get_last_displayed_line (void) |
symtab_and_line | get_last_displayed_sal () |
void | frame_apply_all_cmd_completer (struct cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *) |
typedef gdb::function_view<void (const char *print_name, struct symbol *sym) iterate_over_block_arg_local_vars_cb) |
void clear_last_displayed_sal | ( | void | ) |
Definition at line 1188 of file stack.c.
References last_displayed_symtab_info_type::invalidate(), and last_displayed_symtab_info.
Referenced by clear_symtab_users().
gdb::unique_xmalloc_ptr< char > find_frame_funname | ( | frame_info_ptr | frame, |
enum language * | funlang, | ||
struct symbol ** | funcp ) |
Definition at line 1256 of file stack.c.
References cp_remove_params(), func, get_frame_address_in_block_if_available(), get_frame_function(), general_symbol_info::language(), language_cplus, language_unknown, lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, and general_symbol_info::print_name().
Referenced by ada_unhandled_exception_name_addr_from_raise(), frapy_function(), frapy_name(), gdbscm_frame_name(), is_known_support_routine(), pending_framepy_function(), and pending_framepy_name().
void frame_apply_all_cmd_completer | ( | struct cmd_list_element * | ignore, |
completion_tracker & | tracker, | ||
const char * | text, | ||
const char * | ) |
Definition at line 3075 of file stack.c.
References frame_apply_completer().
bool frame_show_address | ( | frame_info_ptr | frame, |
struct symtab_and_line | sal ) |
Definition at line 314 of file stack.c.
References symtab_and_line::end, get_frame_pc(), get_frame_type(), get_next_frame(), inferior_thread(), INLINE_FRAME, inline_skipped_frames(), symtab_and_line::is_stmt, symtab_and_line::line, and symtab_and_line::pc.
Referenced by print_frame_info(), and py_print_frame().
CORE_ADDR get_last_displayed_addr | ( | void | ) |
Definition at line 1212 of file stack.c.
References last_displayed_symtab_info_type::address(), and last_displayed_symtab_info.
int get_last_displayed_line | ( | void | ) |
Definition at line 1228 of file stack.c.
References last_displayed_symtab_info, and last_displayed_symtab_info_type::line().
Referenced by decode_line_with_last_displayed(), parse_breakpoint_sals(), and until_break_command().
struct program_space * get_last_displayed_pspace | ( | void | ) |
Definition at line 1204 of file stack.c.
References last_displayed_symtab_info, and last_displayed_symtab_info_type::pspace().
symtab_and_line get_last_displayed_sal | ( | ) |
Definition at line 1236 of file stack.c.
References last_displayed_symtab_info_type::address(), last_displayed_symtab_info_type::is_valid(), last_displayed_symtab_info, last_displayed_symtab_info_type::line(), symtab_and_line::line, symtab_and_line::pc, last_displayed_symtab_info_type::pspace(), symtab_and_line::pspace, last_displayed_symtab_info_type::symtab(), and symtab_and_line::symtab.
Referenced by clear_command(), and parse_breakpoint_sals().
struct symtab * get_last_displayed_symtab | ( | void | ) |
Definition at line 1220 of file stack.c.
References last_displayed_symtab_info, and last_displayed_symtab_info_type::symtab().
Referenced by decode_line_with_last_displayed(), parse_breakpoint_sals(), skip_file_command(), and until_break_command().
void get_user_print_what_frame_info | ( | gdb::optional< enum print_what > * | what | ) |
Definition at line 1004 of file stack.c.
References frame_print_options::print_frame_info, print_frame_info_to_print_what(), and user_frame_print_options.
Referenced by py_print_frame().
void iterate_over_block_arg_vars | ( | const struct block * | block, |
iterate_over_block_arg_local_vars_cb | cb ) |
Definition at line 2456 of file stack.c.
References lookup_symbol_search_name(), block_symbol::symbol, and VAR_DOMAIN.
Referenced by collection_list::add_local_symbols(), and print_frame_arg_vars().
void iterate_over_block_local_vars | ( | const struct block * | block, |
iterate_over_block_arg_local_vars_cb | cb ) |
Definition at line 2241 of file stack.c.
References block::function(), iterate_over_block_locals(), and block::superblock().
Referenced by collection_list::add_local_symbols(), and print_frame_local_vars().
bool last_displayed_sal_is_valid | ( | void | ) |
Definition at line 1196 of file stack.c.
References last_displayed_symtab_info_type::is_valid(), and last_displayed_symtab_info.
Referenced by decode_line_with_last_displayed(), parse_breakpoint_sals(), and until_break_command().