GDB (xrefs)
|
#include "defs.h"
#include <ctype.h>
#include "expression.h"
#include "value.h"
#include "parser-defs.h"
#include "language.h"
#include "ada-lang.h"
#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
#include "frame.h"
#include "block.h"
#include "ada-exp.h"
#include "yy-remap.h"
#include <limits.h>
#include "ada-lex.c"
Go to the source code of this file.
Classes | |
struct | name_info |
struct | ada_tick_completer |
union | YYSTYPE |
union | yyalloc |
Macros | |
#define | YYBISON 30802 |
#define | YYBISON_VERSION "3.8.2" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | parse_type(ps) builtin_type (ps->gdbarch ()) |
#define | GDB_YY_REMAP_PREFIX ada_ |
#define | YY_CAST(Type, Val) ((Type) (Val)) |
#define | YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) |
#define | YY_NULLPTRPTR ((void*)0) |
#define | YYTOKENTYPE |
#define | YYEMPTY -2 |
#define | YYEOF 0 |
#define | YYerror 256 |
#define | YYUNDEF 257 |
#define | INT 258 |
#define | NULL_PTR 259 |
#define | CHARLIT 260 |
#define | FLOAT 261 |
#define | TRUEKEYWORD 262 |
#define | FALSEKEYWORD 263 |
#define | COLONCOLON 264 |
#define | STRING 265 |
#define | NAME 266 |
#define | DOT_ID 267 |
#define | TICK_COMPLETE 268 |
#define | DOT_COMPLETE 269 |
#define | NAME_COMPLETE 270 |
#define | DOLLAR_VARIABLE 271 |
#define | ASSIGN 272 |
#define | _AND_ 273 |
#define | OR 274 |
#define | XOR 275 |
#define | THEN 276 |
#define | ELSE 277 |
#define | NOTEQUAL 278 |
#define | LEQ 279 |
#define | GEQ 280 |
#define | IN 281 |
#define | DOTDOT 282 |
#define | UNARY 283 |
#define | MOD 284 |
#define | REM 285 |
#define | STARSTAR 286 |
#define | ABS 287 |
#define | NOT 288 |
#define | VAR 289 |
#define | ARROW 290 |
#define | TICK_ACCESS 291 |
#define | TICK_ADDRESS 292 |
#define | TICK_FIRST 293 |
#define | TICK_LAST 294 |
#define | TICK_LENGTH 295 |
#define | TICK_MAX 296 |
#define | TICK_MIN 297 |
#define | TICK_MODULUS 298 |
#define | TICK_POS 299 |
#define | TICK_RANGE 300 |
#define | TICK_SIZE 301 |
#define | TICK_TAG 302 |
#define | TICK_VAL 303 |
#define | NEW 304 |
#define | OTHERS 305 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYPTRDIFF_T long |
#define | YYPTRDIFF_MAXIMUM LONG_MAX |
#define | YYSIZE_T unsigned |
#define | YYSIZE_MAXIMUM |
#define | YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) |
#define | YY_(Msgid) Msgid |
#define | YY_ATTRIBUTE_PURE |
#define | YY_ATTRIBUTE_UNUSED |
#define | YY_USE(E) ((void) (E)) |
#define | YY_INITIAL_VALUE(Value) Value |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define | YY_IGNORE_USELESS_CAST_BEGIN |
#define | YY_IGNORE_USELESS_CAST_END |
#define | YY_ASSERT(E) ((void) (0 && (E))) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC xmalloc |
#define | YYFREE xfree |
#define | YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY_NEEDED 1 |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYCOPY(Dst, Src, Count) |
#define | YYFINAL 58 |
#define | YYLAST 801 |
#define | YYNTOKENS 71 |
#define | YYNNTS 25 |
#define | YYNRULES 119 |
#define | YYNSTATES 230 |
#define | YYMAXUTOK 305 |
#define | YYTRANSLATE(YYX) |
#define | YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) |
#define | YYPACT_NINF (-106) |
#define | yypact_value_is_default(Yyn) ((Yyn) == YYPACT_NINF) |
#define | YYTABLE_NINF (-82) |
#define | yytable_value_is_error(Yyn) 0 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYNOMEM goto yyexhaustedlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYERRCODE YYUNDEF |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Kind, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
#define | yy_create_buffer ada_yy_create_buffer |
#define | yy_delete_buffer ada_yy_delete_buffer |
#define | yy_init_buffer ada_yy_init_buffer |
#define | yy_load_buffer_state ada_yy_load_buffer_state |
#define | yy_switch_to_buffer ada_yy_switch_to_buffer |
#define | yyrestart ada_yyrestart |
#define | yytext ada_yytext |
#define | qsort __qsort__dummy |
Typedefs | |
typedef enum yytokentype | yytoken_kind_t |
typedef union YYSTYPE | YYSTYPE |
typedef enum yysymbol_kind_t | yysymbol_kind_t |
typedef signed char | yytype_int8 |
typedef short | yytype_int16 |
typedef short | yytype_uint8 |
typedef int | yytype_uint16 |
typedef yytype_uint8 | yy_state_t |
typedef int | yy_state_fast_t |
Functions | |
int | yyparse (void) |
static int | yylex (void) |
static void | yyerror (const char *) |
static void | write_int (struct parser_state *, LONGEST, struct type *) |
static void | write_object_renaming (struct parser_state *, const struct block *, const char *, int, const char *, int) |
static struct type * | write_var_or_type (struct parser_state *, const struct block *, struct stoken) |
static struct type * | write_var_or_type_completion (struct parser_state *, const struct block *, struct stoken) |
static void | write_name_assoc (struct parser_state *, struct stoken) |
static const struct block * | block_lookup (const struct block *, const char *) |
static void | write_ambiguous_var (struct parser_state *, const struct block *, const char *, int) |
static struct type * | type_int (struct parser_state *) |
static struct type * | type_long (struct parser_state *) |
static struct type * | type_long_long (struct parser_state *) |
static struct type * | type_long_double (struct parser_state *) |
static struct type * | type_for_char (struct parser_state *, ULONGEST) |
static struct type * | type_boolean (struct parser_state *) |
static struct type * | type_system_address (struct parser_state *) |
static std::string | find_completion_bounds (struct parser_state *) |
static operation_up | resolve (operation_up &&op, bool deprocedure_p, struct type *context_type) |
static operation_up | ada_pop (bool deprocedure_p=true, struct type *context_type=nullptr) |
template<typename T > | |
void | ada_wrap () |
static void | ada_addrof (struct type *type=nullptr) |
static operation_up | maybe_overload (enum exp_opcode op, operation_up &lhs, operation_up &rhs) |
template<typename T > | |
void | ada_wrap_overload (enum exp_opcode op) |
template<typename T > | |
void | ada_un_wrap2 (enum exp_opcode op) |
template<typename T > | |
void | ada_wrap2 (enum exp_opcode op) |
template<typename T > | |
void | ada_wrap_op (enum exp_opcode op) |
template<typename T > | |
void | ada_wrap3 () |
static void | ada_funcall (int nargs) |
template<typename T , typename... Arg> | |
void | push_component (Arg... args) |
static ada_choices_component * | choice_component () |
static ada_component_up | pop_component () |
static std::vector< ada_component_up > | pop_components (int n) |
template<typename T , typename... Arg> | |
void | push_association (Arg... args) |
static ada_association_up | pop_association () |
static std::vector< ada_association_up > | pop_associations (int n) |
static std::unique_ptr< expr_completion_base > | make_tick_completer (struct stoken tok) |
void * | xmalloc (YYSIZE_T) |
void | xfree (void *) |
static const char * | yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED |
static void | yy_symbol_value_print (FILE *yyo, yysymbol_kind_t yykind, YYSTYPE const *const yyvaluep) |
static void | yy_symbol_print (FILE *yyo, yysymbol_kind_t yykind, YYSTYPE const *const yyvaluep) |
static void | yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) |
static void | yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, int yyrule) |
static void | yydestruct (const char *yymsg, yysymbol_kind_t yykind, YYSTYPE *yyvaluep) |
int | ada_parse (struct parser_state *par_state) |
static void | write_var_from_sym (struct parser_state *par_state, block_symbol sym) |
static struct symbol * | select_possible_type_sym (const std::vector< struct block_symbol > &syms) |
static struct type * | find_primitive_type (struct parser_state *par_state, const char *name) |
static int | chop_selector (const char *name, int end) |
static const char * | chop_separator (const char *name) |
static ada_structop_operation * | write_selectors (struct parser_state *par_state, const char *sels) |
static int | ada_nget_field_index (const struct type *type, const char *field_name0, int field_name_len, int maybe_missing) |
static struct type * | get_symbol_field_type (struct symbol *sym, const char *encoded_field_name) |
void | _initialize_ada_exp () |
Variables | |
static struct parser_state * | pstate = NULL |
static const char * | original_expr |
static std::vector< ada_component_up > | components |
static std::vector< ada_association_up > | associations |
int | yydebug |
YYSTYPE | yylval |
static const yytype_int8 | yytranslate [] |
static const yytype_int16 | yyrline [] |
static const char *const | yytname [] |
static const yytype_int16 | yypact [] |
static const yytype_int8 | yydefact [] |
static const yytype_int16 | yypgoto [] |
static const yytype_uint8 | yydefgoto [] |
static const yytype_int16 | yytable [] |
static const yytype_int16 | yycheck [] |
static const yytype_int8 | yystos [] |
static const yytype_int8 | yyr1 [] |
static const yytype_int8 | yyr2 [] |
int | yychar |
int | yynerrs |
static struct obstack | temp_parse_space |
#define parse_type | ( | ps | ) | builtin_type (ps->gdbarch ()) |
#define YY_ACCESSING_SYMBOL | ( | State | ) | YY_CAST (yysymbol_kind_t, yystos[State]) |
#define yy_load_buffer_state | ( | void | ) | ada_yy_load_buffer_state |
#define YY_REDUCE_PRINT | ( | Rule | ) |
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
#define YY_SYMBOL_PRINT | ( | Title, | |
Kind, | |||
Value, | |||
Location | |||
) |
#define YYBACKUP | ( | Token, | |
Value | |||
) |
#define YYCOPY | ( | Dst, | |
Src, | |||
Count | |||
) |
#define YYDPRINTF | ( | Args | ) |
#define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
#define YYSIZE_MAXIMUM |
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define YYSTACK_BYTES | ( | N | ) |
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
#define YYTRANSLATE | ( | YYX | ) |
typedef int yy_state_fast_t |
typedef yytype_uint8 yy_state_t |
typedef enum yysymbol_kind_t yysymbol_kind_t |
typedef enum yytokentype yytoken_kind_t |
typedef short yytype_int16 |
typedef signed char yytype_int8 |
typedef int yytype_uint16 |
typedef short yytype_uint8 |
enum yysymbol_kind_t |
enum yytokentype |
void _initialize_ada_exp | ( | ) |
Definition at line 3830 of file ada-exp.c.
Referenced by initialize_all_files().
|
static |
|
static |
Definition at line 320 of file ada-exp.c.
References ada_array_arity(), ada_check_typedef(), ada_index_type(), parser_state::block_tracker, symbol::domain(), EVAL_AVOID_SIDE_EFFECTS, expr_builder::expout, expr::var_value_operation::get_symbol(), parser_state::parse_completion, parser_state::pop(), parser_state::pop_vector(), pstate, parser_state::push(), resolve, UNDEF_DOMAIN, and value_type().
Referenced by write_object_renaming(), and yyparse().
|
static |
Definition at line 3446 of file ada-exp.c.
References ada_get_field_index(), and field_name().
Referenced by get_symbol_field_type().
int ada_parse | ( | struct parser_state * | par_state | ) |
Definition at line 3064 of file ada-exp.c.
References ada_pop(), associations, components, lexer_init(), parser_state::lexptr, original_expr, parse_type, parser_debug, pstate, expr_builder::set_operation(), temp_parse_space, parser_state::void_context_p, yydebug, yyin, and yyparse().
Referenced by ada_language::parser().
|
static |
Definition at line 173 of file ada-exp.c.
References parser_state::pop(), pstate, and resolve.
Referenced by ada_addrof(), ada_parse(), ada_un_wrap2(), ada_wrap(), ada_wrap2(), ada_wrap3(), ada_wrap_op(), ada_wrap_overload(), write_name_assoc(), write_object_renaming(), write_selectors(), and yyparse().
void ada_un_wrap2 | ( | enum exp_opcode | op | ) |
Definition at line 261 of file ada-exp.c.
References ada_pop(), maybe_overload(), pstate, and parser_state::push().
void ada_wrap | ( | ) |
Definition at line 182 of file ada-exp.c.
References ada_pop(), pstate, and parser_state::push_new().
void ada_wrap2 | ( | enum exp_opcode | op | ) |
Definition at line 280 of file ada-exp.c.
References ada_pop(), maybe_overload(), pstate, and parser_state::push().
void ada_wrap3 | ( | ) |
Definition at line 309 of file ada-exp.c.
References ada_pop(), pstate, and parser_state::push_new().
void ada_wrap_op | ( | enum exp_opcode | op | ) |
Definition at line 295 of file ada-exp.c.
References ada_pop(), maybe_overload(), pstate, and parser_state::push().
void ada_wrap_overload | ( | enum exp_opcode | op | ) |
Definition at line 245 of file ada-exp.c.
References ada_pop(), maybe_overload(), pstate, and parser_state::push().
|
static |
Definition at line 3268 of file ada-exp.c.
References ada_encode(), ada_lookup_symbol_list(), compunit_symtab::blockvector(), symtab::compunit(), LOC_BLOCK, lookup_symtab(), name, blockvector::static_block(), and VAR_DOMAIN.
Referenced by yyparse().
|
static |
|
static |
Definition at line 3375 of file ada-exp.c.
References name.
Referenced by write_var_or_type(), and write_var_or_type_completion().
|
static |
Definition at line 3389 of file ada-exp.c.
References name.
Referenced by get_symbol_field_type(), and write_selectors().
|
static |
Definition at line 3678 of file ada-exp.c.
References parser_state::lexptr, original_expr, and pstate.
Referenced by write_var_or_type_completion(), and yyparse().
|
static |
Definition at line 3348 of file ada-exp.c.
References symbol::aclass(), ada_lookup_symbol(), expr_builder::gdbarch(), expr_builder::language(), language_lookup_primitive_type(), LOC_TYPEDEF, name, block_symbol::symbol, YYSTYPE::type, symbol::type(), type_system_address(), and VAR_DOMAIN.
Referenced by write_var_or_type().
|
static |
Definition at line 3468 of file ada-exp.c.
References ada_get_field_index(), ada_nget_field_index(), check_typedef(), chop_separator(), type::field(), field_name(), field::type(), and symbol::type().
Referenced by write_var_or_type().
|
static |
Definition at line 455 of file ada-exp.c.
References stoken::length, and stoken::ptr.
Referenced by yyparse().
|
static |
Definition at line 208 of file ada-exp.c.
References ada_find_operator_symbol(), block_symbol::block, parser_state::block_tracker, EVAL_AVOID_SIDE_EFFECTS, expr_builder::expout, INNERMOST_BLOCK_FOR_SYMBOLS, parser_state::parse_completion, pstate, block_symbol::symbol, symbol_read_needs_frame(), and innermost_block_tracker::update().
Referenced by ada_un_wrap2(), ada_wrap2(), ada_wrap_op(), ada_wrap_overload(), and yyparse().
|
static |
Definition at line 419 of file ada-exp.c.
References associations.
Referenced by pop_associations().
|
static |
|
static |
Definition at line 386 of file ada-exp.c.
References components.
Referenced by pop_components(), and yyparse().
|
static |
void push_association | ( | Arg... | args | ) |
Definition at line 411 of file ada-exp.c.
References associations.
void push_component | ( | Arg... | args | ) |
Definition at line 367 of file ada-exp.c.
References components.
|
static |
Definition at line 155 of file ada-exp.c.
References parser_state::block_tracker, expr_builder::expout, parser_state::parse_completion, pstate, and expr::ada_resolvable::replace().
|
static |
Definition at line 3315 of file ada-exp.c.
References symbol::aclass(), ada_prefer_type(), LOC_ARG, LOC_COMPUTED, LOC_LOCAL, LOC_REF_ARG, LOC_REGISTER, LOC_REGPARM_ADDR, LOC_TYPEDEF, and symbol::type().
Referenced by write_var_or_type().
|
static |
|
static |
Definition at line 3798 of file ada-exp.c.
References expr_builder::gdbarch(), expr_builder::language(), language_lookup_primitive_type(), and language_string_char_type().
|
static |
Definition at line 3774 of file ada-exp.c.
References parse_type.
Referenced by processInt(), and write_object_renaming().
|
static |
|
static |
|
static |
|
static |
Definition at line 3819 of file ada-exp.c.
References expr_builder::gdbarch(), expr_builder::language(), language_lookup_primitive_type(), parse_type, and YYSTYPE::type.
Referenced by find_primitive_type(), and yyparse().
|
static |
Definition at line 3428 of file ada-exp.c.
References language_ada, name, parser_state::push_new(), symbol::set_domain(), general_symbol_info::set_language(), general_symbol_info::set_linkage_name(), temp_parse_space, and UNDEF_DOMAIN.
Referenced by write_var_or_type().
|
static |
Definition at line 3113 of file ada-exp.c.
References pstate, parser_state::push_new(), and YYSTYPE::type.
Referenced by write_object_renaming(), and yyparse().
|
static |
Definition at line 3752 of file ada-exp.c.
References ada_lookup_symbol_list(), ada_pop(), copy_name(), parser_state::expression_context_block, LOC_TYPEDEF, name, pstate, parser_state::push_new(), VAR_DOMAIN, write_var_from_sym(), and write_var_or_type().
Referenced by yyparse().
|
static |
Definition at line 3131 of file ada-exp.c.
References symbol::aclass(), ada_decode(), ada_funcall(), ada_lookup_encoded_symbol(), ADA_NOT_RENAMING, ADA_OBJECT_RENAMING, ada_parse_renaming(), ada_pop(), block_symbol::block, get_selected_block(), LOC_TYPEDEF, name, pstate, parser_state::push_new(), block_symbol::symbol, temp_parse_space, type_int(), VAR_DOMAIN, write_int(), write_object_renaming(), and write_var_from_sym().
Referenced by write_object_renaming(), and write_var_or_type().
|
static |
Definition at line 3405 of file ada-exp.c.
References ada_pop(), chop_separator(), pstate, and parser_state::push().
Referenced by write_var_or_type(), and write_var_or_type_completion().
|
static |
Definition at line 3102 of file ada-exp.c.
References block_symbol::block, parser_state::block_tracker, INNERMOST_BLOCK_FOR_SYMBOLS, parser_state::push_new(), block_symbol::symbol, symbol_read_needs_frame(), and innermost_block_tracker::update().
Referenced by write_name_assoc(), write_object_renaming(), and write_var_or_type().
|
static |
Definition at line 3518 of file ada-exp.c.
References ada_decode(), ada_encode(), ADA_EXCEPTION_RENAMING, ada_lookup_simple_minsym(), ada_lookup_symbol_list(), ADA_NOT_RENAMING, ADA_OBJECT_RENAMING, ADA_PACKAGE_RENAMING, ada_parse_renaming(), ADA_SUBPROGRAM_RENAMING, block_objfile(), chop_selector(), parser_state::expression_context_block, find_primitive_type(), get_symbol_field_type(), have_full_symbols(), have_partial_symbols(), MAX_RENAMING_CHAIN_LENGTH, bound_minimal_symbol::minsym, stoken::ptr, parser_state::push_new(), select_possible_type_sym(), symbol::symbol(), temp_parse_space, YYSTYPE::type, symbol::type(), VAR_DOMAIN, write_ambiguous_var(), write_object_renaming(), write_selectors(), and write_var_from_sym().
Referenced by write_name_assoc(), write_var_or_type_completion(), and yyparse().
|
static |
Definition at line 3711 of file ada-exp.c.
References chop_selector(), find_completion_bounds(), stoken::length, parser_state::mark_struct_expression(), stoken::ptr, expr::ada_structop_operation::set_prefix(), YYSTYPE::type, write_selectors(), and write_var_or_type().
Referenced by yyparse().
void xfree | ( | void * | ) |
Referenced by gnu_nat_target::_proc_free(), aarch64_linux_delete_thread(), add_msglist(), add_path(), add_path(), allocate_dis_line_table(), allocate_dwo_file_hash_table(), allocate_dwo_unit_table(), allocate_dwp_loaded_cutus_table(), allocate_signatured_type_table(), allocate_type_unit_groups_table(), ambiguous_names_p(), arc_gdbarch_init(), arc_push_dummy_call(), arm_adjust_breakpoint_address(), ATTRIBUTE_PRINTF(), auto_load_expand_dir_vars(), bfd_uses_spe_extensions(), btrace_clear_history(), cache_unref(), cd_command(), child_terminal_init(), child_terminal_save_inferior(), charset_vector::clear(), pv_area::clear_entries(), clear_internalvar(), mips_linux_nat_target::close(), record_full_base_target::close(), tfile_target::close(), coff_symtab_read(), complete_files_symbols(), compute_compunit_symtab_includes(), copy_terminal_info(), cp_class_name_from_physname(), create_copied_types_hash(), create_demangled_names_hash(), go32_nat_target::create_inferior(), nto_procfs_target::create_inferior(), create_quick_file_names_table(), dcache_free(), deallocate_reg_mem(), deallocate_reg_mem(), del_symbol_error(), delete_async_event_handler(), delete_async_signal_handler(), delete_thread_db_info(), objc_language::demangle_symbol(), destroy_block_symbol_cache(), destroy_one_procinfo(), dicos_load_module_p(), remote_target::disable_btrace(), completion_tracker::discard_completions(), do_document_command(), cooked_index::do_finalize(), do_serial_close(), do_set_command(), dw_expand_symtabs_matching_file_matcher(), dwarf_decode_macros(), elf_gnu_ifunc_record_cache(), elf_read_minimal_symbols(), enable_break(), enable_break2(), end_msglist(), end_stabs(), gdb::bcache::expand_hash_table(), expand_hashtable(), extend_buffer_earlier(), aix_thread_target::extra_thread_info(), fetch_loadmap(), fetch_loadmap(), filter_args(), typedef_hash_table::find_global_typedef(), buildsym_compunit::finish_block_internal(), finish_global_stabs(), psymbol_functions::forget_cached_source_info(), forget_cached_source_info_for_objfile(), free_block(), dwarf2_per_cu_data::free_cached_file_names(), free_hashed_expandable(), free_header_files(), free_linear_expandable(), free_one_bfd_section(), free_pipe_state(), free_so(), free_uploaded_tsvs(), gdb_bfd_errmsg(), gdb_bfd_iovec_fileio_close(), gdb_bfd_open(), gdb_print_filename(), gdb_readline_no_editing(), gdb_readline_no_editing_callback(), gdb_save_tty_state(), gdbscm_create_eqable_gsmob_ptr_map(), gdbscm_dynwind_xfree(), gdbscm_frame_read_register(), gdbscm_initialize_smobs(), gdbscm_lookup_global_symbol(), gdbscm_lookup_symbol(), gdbscm_lookup_type(), gdbscm_make_breakpoint(), gdbscm_make_command(), gdbscm_make_parameter(), gdbscm_parameter_value(), gdbscm_parse_function_args_1(), gdbscm_register_command_x(), gdbscm_register_parameter_x(), gdbscm_string_to_argv(), gdbscm_throw_gdb_exception(), gdbscm_value_to_lazy_string(), gdbscm_value_to_string(), generate_c_for_variable_locations(), dtrace_static_probe_ops::get_probes(), gnuv3_print_vtable(), go_symbol_package_name(), handle_DW_AT_stmt_list(), hardwire_get_tty_state(), info_mach_tasks_command(), init_loaded_scripts_info(), libunwind_load(), linespec_state_constructor(), linespec_state_destructor(), linux_xfer_osdata_processes(), linux_xfer_osdata_processgroups(), lookup_symbol_from_bfd(), ppc_linux_nat_target::low_delete_thread(), arm_linux_nat_target::low_delete_thread(), s390_linux_nat_target::low_delete_thread(), arm_linux_nat_target::low_forget_process(), lsscm_free_lazy_string_smob(), lval_func_free_closure(), m32c_m16c_address_to_pointer(), macro_bcache_free(), macro_free(), maintenance_do_deprecate(), mbpy_dealloc(), mdebug_expand_psymtab(), mdict_free(), method_name_from_physname(), mi_execute_command(), mi_load_progress(), micmdpy_dealloc(), n_spaces(), net_windows_close(), objfile_register_static_link(), nto_procfs_target::open(), salpy_deleter::operator()(), trace_file_writer_deleter::operator()(), parse_macro_definition(), parse_trace_status(), remote_target::pass_signals(), patch_type(), pdc_dealloc(), pipe_close(), pop_dummy_frame(), pop_stack_item(), pop_stack_item(), pop_stack_item(), print_doc_line(), gdb::bcache::print_statistics(), remote_target::process_stop_reply(), procfs_debug_inferior(), procfs_meminfo(), remote_target::program_signals(), pull_pid_from_list(), pyuw_dealloc_cache(), read_member_functions(), record_btrace_clear_histories(), record_btrace_start_replaying(), record_btrace_stop_replaying(), record_full_end_release(), record_full_mem_release(), record_full_reg_release(), reg_value_free_impl(), register_remote_support_xml(), register_solib_event_probe(), remote_fileio_func_read(), remote_fileio_func_write(), remote_fileio_reset(), remote_target::remote_read_qxfer(), remove_dummy_frame(), mips_linux_nat_target::remove_watchpoint(), target_waitstatus::reset(), completion_result::reset_match_list(), restore_active_ext_lang(), salpy_dealloc(), save_command_line(), ser_console_close(), ser_windows_close(), serial_event_close(), serial_open_ops_1(), serial_unref(), set_cp_abi_as_auto_default(), set_die_type(), set_main_name(), set_pspace_remote_exec_file(), set_verbose(), sim_command_completer(), simple_free_overlay_table(), pv_area::store(), stpy_dealloc(), svr4_clear_solib(), symbol_cache_clear_slot(), sync_threadlists(), target_fileio_read_alloc_1(), remote_target::teardown_btrace(), selftests::utils::test_substitute_path_component(), tfile_dtor(), tfile_write_uploaded_tsv(), typedef_hash_table::typedef_hash_table(), update_section_map(), pascal_language::value_print_inner(), x86_linux_delete_thread(), xcoff_symfile_finish(), record_full_core_target::xfer_partial(), xfree_for_gmp(), xfree_wrapper(), z80_free_overlay_region_table(), agent_expr::~agent_expr(), gdb::bcache::~bcache(), buildsym_compunit::~buildsym_compunit(), cmd_list_element::~cmd_list_element(), command_line::~command_line(), completion_tracker::~completion_tracker(), dbx_symfile_info::~dbx_symfile_info(), demangle_parse_info::~demangle_parse_info(), explicit_location_spec::~explicit_location_spec(), fake_method::~fake_method(), fork_info::~fork_info(), growable_macro_buffer::~growable_macro_buffer(), linespec_location_spec::~linespec_location_spec(), linespec_result::~linespec_result(), lm_info_dsbt::~lm_info_dsbt(), lm_info_frv::~lm_info_frv(), load_section_data::~load_section_data(), main_info::~main_info(), mi_parse::~mi_parse(), minimal_symbol_reader::~minimal_symbol_reader(), objfile_pspace_info::~objfile_pspace_info(), print_c_tdesc::~print_c_tdesc(), remote_state::~remote_state(), temporary_macro_definition::~temporary_macro_definition(), and terminal_info::~terminal_info().
void * xmalloc | ( | YYSIZE_T | ) |
Referenced by ada_exception_message_1(), add_msglist(), add_new_header_file(), agent_expr::agent_expr(), amd64_relocate_instruction(), arm_adjust_breakpoint_address(), arm_pikeos_osabi_sniffer(), bfd_uses_spe_extensions(), c_get_string(), chain_candidate(), commandline_from_pid(), complete_files_symbols(), copy_sections(), go32_nat_target::create_inferior(), nto_procfs_target::create_inferior(), dcache_alloc(), decode_loadmap(), objc_language::demangle_symbol(), dicos_load_module_p(), disasmpy_info_read_memory(), do_document_command(), do_set_command(), gdb::bcache::expand_hash_table(), extend_buffer_earlier(), extract_identifier(), fbsd_fetch_cmdline(), fetch_loadmap(), fetch_loadmap(), find_canonical_descriptor_in_load_object(), gdb_mangle_name(), gdb_print_filename(), gdbpy_parse_command_name(), gdbscm_parse_command_name(), growable_macro_buffer::growable_macro_buffer(), infcall_suspend_state::infcall_suspend_state(), info_mach_tasks_command(), infpy_read_memory(), init_lineno(), init_stringtab(), jit_unwind_reg_get_impl(), linux_fork_to_function(), linux_vsyscall_range_raw(), load_one_section(), lookup_symbol_from_bfd(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), macho_add_oso_symfile(), macro_alloc(), macro_bcache(), make_completion_match_str_1(), maybe_add_script_file(), maybe_add_script_text(), mi_parse(), n_spaces(), new_linetable(), new_variant(), parse_partial_symbols(), parse_trace_status(), parse_tracepoint_definition(), remote_target::pass_signals(), pdc_alloc(), print_c_tdesc::print_c_tdesc(), print_doc_line(), remote_target::program_signals(), push_stack_item(), push_stack_item(), push_stack_item(), pyuw_sniffer(), read_memory_robust(), read_whatever_is_readable(), record_full_mem_alloc(), record_full_reg_alloc(), remote_fileio_func_read(), remote_fileio_func_write(), remote_target::remote_parse_stop_reply(), simple_read_overlay_table(), start_msglist(), target_fileio_read_alloc_1(), target_read_string(), target_write_memory_blocks(), tfile_write_uploaded_tsv(), windows_nat::windows_thread_info::thread_name(), typename_concat(), pascal_language::value_print_inner(), and z80_read_overlay_region_table().
|
static |
Definition at line 1634 of file ada-exp.c.
References YY_ACCESSING_SYMBOL, yy_symbol_print(), YYFPRINTF, yyr2, yyrline, yyrule, yyssp, and yyvsp.
|
static |
|
static |
Definition at line 1595 of file ada-exp.c.
References yy_symbol_value_print(), YYFPRINTF, YYNTOKENS, and yysymbol_name().
Referenced by yy_reduce_print().
|
static |
Definition at line 1577 of file ada-exp.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, and YY_USE.
Referenced by yy_symbol_print().
|
static |
Definition at line 1696 of file ada-exp.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, and YY_USE.
Referenced by yyparse().
|
static |
Definition at line 3093 of file ada-exp.c.
References parser_state::lexptr, and pstate.
int yyparse | ( | void | ) |
Definition at line 1726 of file ada-exp.c.
References ada_addrof(), ada_funcall(), ada_is_modular_type(), ada_modulus(), ada_pop(), block_lookup(), check_typedef(), choice_component(), components, copy_name(), EVAL_AVOID_SIDE_EFFECTS, expr_builder::expout, find_completion_bounds(), lookup_pointer_type(), make_tick_completer(), parser_state::mark_completion(), parser_state::mark_struct_expression(), maybe_overload(), parse_type, parser_state::pop(), pop_associations(), pop_component(), pop_components(), pstate, parser_state::push(), parser_state::push_dollar(), parser_state::push_new(), resolve, expr::ada_choices_component::set_associations(), expr::ada_structop_operation::set_prefix(), type::target_type(), type_boolean(), type_system_address(), YYSTYPE::val, value_type(), write_int(), write_name_assoc(), write_var_or_type(), write_var_or_type_completion(), YY_, YY_ACCESSING_SYMBOL, YY_ASSERT, YY_CAST, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_IGNORE_USELESS_CAST_BEGIN, YY_IGNORE_USELESS_CAST_END, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, YYerror, YYERROR, yyerror, YYFINAL, YYINITDEPTH, YYLAST, yylen, yylex(), yylhs, yylloc, yylval, YYMAXDEPTH, yynerrs, YYNOMEM, YYNSTATES, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, YYPTRDIFF_T, yyr1, yyr2, YYSIZE_T, YYSIZEOF, yyss, yyalloc::yyss_alloc, yyssp, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystacksize, yystate, YYSYMBOL_YYEMPTY, YYSYMBOL_YYEOF, YYSYMBOL_YYerror, yytable, yytable_value_is_error, YYTRANSLATE, YYUNDEF, yyval, yyvs, yyalloc::yyvs_alloc, and yyvsp.
Referenced by ada_parse().
|
static |
|
static |
Definition at line 405 of file ada-exp.c.
Referenced by ada_parse(), pop_association(), and push_association().
|
static |
Definition at line 361 of file ada-exp.c.
Referenced by ada_parse(), choice_component(), full_cmd_name_without_first_prefix(), pop_component(), push_component(), and yyparse().
|
static |
Definition at line 107 of file ada-exp.c.
Referenced by ada_parse(), and find_completion_bounds().
|
static |
Definition at line 104 of file ada-exp.c.
Referenced by ada_addrof(), ada_funcall(), ada_parse(), ada_pop(), ada_un_wrap2(), ada_wrap(), ada_wrap2(), ada_wrap3(), ada_wrap_op(), ada_wrap_overload(), find_completion_bounds(), type_stack::insert(), maybe_overload(), f_language::parser(), go_language::parser(), m2_language::parser(), pascal_language::parser(), processAttribute(), processAttribute(), resolve(), rewind_to_char(), rewind_to_char(), sparc64obsd_trapframe_sniffer(), syscm_print_symbol_smob(), tyscm_print_type_smob(), vlscm_print_value_smob(), write_int(), write_name_assoc(), write_object_renaming(), write_selectors(), yyerror(), and yyparse().
|
static |
Definition at line 3056 of file ada-exp.c.
Referenced by ada_parse(), processAttribute(), processAttribute(), processId(), processString(), write_ambiguous_var(), write_object_renaming(), and write_var_or_type().
|
static |
int yydebug |
Definition at line 1661 of file ada-exp.c.
Referenced by ada_parse().
|
static |
Definition at line 1228 of file ada-exp.c.
Referenced by yyparse().
|
static |
|
static |
Definition at line 1198 of file ada-exp.c.
Referenced by yyparse().
|
static |
|
static |
Definition at line 1474 of file ada-exp.c.
Referenced by yyparse().
|
static |
Definition at line 1491 of file ada-exp.c.
Referenced by yy_reduce_print(), and yyparse().
|
static |
Definition at line 1132 of file ada-exp.c.
Referenced by yy_reduce_print().
|
static |
|
static |
|
static |
Definition at line 1159 of file ada-exp.c.
Referenced by yysymbol_name().
|
static |