GDB (xrefs)
|
#include "location.h"
Go to the source code of this file.
Classes | |
struct | linespec_sals |
struct | linespec_result |
Enumerations | |
enum | decode_line_flags { DECODE_LINE_FUNFIRSTLINE = 1 , DECODE_LINE_LIST_MODE = 2 } |
Functions | |
std::vector< symtab_and_line > | decode_line_1 (const location_spec *locspec, int flags, struct program_space *search_pspace, struct symtab *default_symtab, int default_line) |
void | decode_line_full (struct location_spec *locspec, int flags, struct program_space *search_pspace, struct symtab *default_symtab, int default_line, struct linespec_result *canonical, const char *select_mode, const char *filter) |
std::vector< symtab_and_line > | decode_line_with_current_source (const char *, int) |
std::vector< symtab_and_line > | decode_line_with_last_displayed (const char *, int) |
const char * | linespec_lexer_lex_keyword (const char *p) |
struct line_offset | linespec_parse_line_offset (const char *string) |
const char * | get_gdb_linespec_parser_quote_characters (void) |
int | is_ada_operator (const char *string) |
void | linespec_lex_to_end (const char **stringp) |
void | linespec_complete (completion_tracker &tracker, const char *text, symbol_name_match_type match_type) |
void | linespec_complete_function (completion_tracker &tracker, const char *function, symbol_name_match_type func_match_type, const char *source_filename) |
void | linespec_complete_label (completion_tracker &tracker, const struct language_defn *language, const char *source_filename, const char *function_name, symbol_name_match_type name_match_type, const char *label_name) |
CORE_ADDR | linespec_expression_to_pc (const char **exp_ptr) |
Variables | |
const char *const | linespec_keywords [] |
enum decode_line_flags |
Enumerator | |
---|---|
DECODE_LINE_FUNFIRSTLINE | |
DECODE_LINE_LIST_MODE |
Definition at line 26 of file linespec.h.
|
extern |
Definition at line 3194 of file linespec.c.
References current_language, linespec_state::default_line, linespec_state::default_symtab, flags, location_spec_to_sals(), and linespec_state::search_pspace.
Referenced by decode_line_with_current_source(), decode_line_with_last_displayed(), edit_command(), info_scope_command(), list_command(), and until_break_command().
|
extern |
Definition at line 3125 of file linespec.c.
References linespec_state::canonical, linespec_state::canonical_names, convert_results_to_lsals(), current_language, decode_line_2(), DECODE_LINE_LIST_MODE, linespec_state::default_line, linespec_state::default_symtab, filter_results(), flags, location_spec_to_sals(), multiple_symbols_all, multiple_symbols_ask, multiple_symbols_cancel, multiple_symbols_select_mode(), PARSER_STATE, linespec_result::pre_expanded, linespec_state::search_pspace, linespec_canonical_name::suffix, location_spec::to_string(), and top_level_interpreter().
Referenced by break_range_command(), code_breakpoint::decode_location_spec(), maint_agent_command_1(), and parse_breakpoint_sals().
|
extern |
Definition at line 3211 of file linespec.c.
References current_language, decode_line_1(), flags, get_current_source_symtab_and_line(), symtab_and_line::line, symtab_and_line::pspace, string_to_location_spec(), and symtab_and_line::symtab.
Referenced by clear_command(), find_frame_for_function(), info_macros_command(), jump_command(), mi_cmd_trace_find(), and tfind_line_command().
|
extern |
Definition at line 3235 of file linespec.c.
References current_language, decode_line_1(), flags, get_last_displayed_line(), get_last_displayed_symtab(), last_displayed_sal_is_valid(), and string_to_location_spec().
Referenced by info_line_command().
|
extern |
Definition at line 4410 of file linespec.c.
References linespec_quote_characters.
Referenced by explicit_location_spec_lex_one(), and explicit_location_spec_lex_one_function().
|
extern |
Definition at line 543 of file linespec.c.
References ada_opname_table.
Referenced by explicit_location_spec_lex_one_function(), linespec_lexer_lex_string(), and parse_linespec().
|
extern |
Definition at line 2873 of file linespec.c.
References completion_tracker::add_completion(), completion_tracker::advance_custom_word_point_by(), complete_label(), complete_linespec_component(), linespec_parser::complete_what, completion_tracker::completes_to_completion_word(), linespec_parser::completion_quote_char, linespec_parser::completion_quote_end, linespec_parser::completion_tracker, linespec_parser::completion_word, current_language, completion_tracker::discard_completions(), find_linespec_symbols(), FUNCTION, completion_tracker::have_completions(), KEYWORD, LABEL, linespec_parser::lexer, linespec_keywords, NOTHING, parse_linespec(), PARSER_EXPLICIT, PARSER_RESULT, PARSER_STATE, PARSER_STREAM, completion_tracker::quote_char(), linespec_parser::saved_arg, completion_tracker::set_quote_char(), and string_find_incomplete_keyword_at_end().
Referenced by complete_address_and_linespec_locations().
|
extern |
Definition at line 2733 of file linespec.c.
References collect_file_symbol_completion_matches(), collect_symbol_completion_matches(), and LINESPEC.
Referenced by collect_explicit_location_matches(), complete_linespec_component(), and linespec_parse_basic().
|
extern |
Definition at line 2842 of file linespec.c.
References complete_label(), convert_explicit_location_spec_to_linespec(), PARSER_RESULT, and PARSER_STATE.
Referenced by collect_explicit_location_matches().
|
extern |
Definition at line 3282 of file linespec.c.
References current_program_space, program_space::executing_startup, parse_to_comma_and_eval(), and value_as_address().
Referenced by location_spec_to_sals(), and string_to_location_spec_basic().
|
extern |
Definition at line 2704 of file linespec.c.
References current_language, linespec_parser::lexer, linespec_lexer_consume_token(), linespec_lexer_peek_token(), LSTOKEN_COMMA, LSTOKEN_EOI, LSTOKEN_KEYWORD, PARSER_STREAM, linespec_parser::saved_arg, and token.
Referenced by linespec_location_spec::linespec_location_spec().
|
extern |
Definition at line 471 of file linespec.c.
References FORCE_KEYWORD_INDEX, IF_KEYWORD_INDEX, and linespec_keywords.
Referenced by explicit_location_spec_lex_one(), explicit_location_spec_lex_one_function(), is_closing_quote_enclosed(), linespec_lexer_lex_one(), linespec_lexer_lex_string(), and string_to_explicit_location_spec().
|
extern |
Definition at line 1664 of file linespec.c.
References LINE_OFFSET_MINUS, LINE_OFFSET_NONE, LINE_OFFSET_PLUS, line_offset::offset, and line_offset::sign.
Referenced by bppy_init(), linespec_parse_basic(), mi_cmd_break_insert_1(), and string_to_explicit_location_spec().
|
extern |
Definition at line 257 of file linespec.c.
Referenced by collect_explicit_location_matches(), complete_explicit_location_spec(), complete_linespec_component(), linespec_complete(), linespec_lexer_lex_keyword(), and location_completer().