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 "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 | ada_exp_YYSTYPE |
union | ada_exp_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 | TICK_ENUM_REP 304 |
#define | TICK_ENUM_VAL 305 |
#define | NEW 306 |
#define | OTHERS 307 |
#define | ada_exp_YYSTYPE_IS_TRIVIAL 1 |
#define | ada_exp_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 ada_exp_yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY_NEEDED 1 |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYCOPY(Dst, Src, Count) |
#define | YYFINAL 59 |
#define | YYLAST 798 |
#define | YYNTOKENS 73 |
#define | YYNNTS 26 |
#define | YYNRULES 123 |
#define | YYNSTATES 240 |
#define | YYMAXUTOK 307 |
#define | YYTRANSLATE(YYX) |
#define | YY_ACCESSING_SYMBOL(State) YY_CAST (ada_exp_yysymbol_kind_t, yystos[State]) |
#define | YYPACT_NINF (-108) |
#define | yypact_value_is_default(Yyn) ((Yyn) == YYPACT_NINF) |
#define | YYTABLE_NINF (-86) |
#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 std::unique_ptr< ada_assign_operation > | ada_assign_up |
typedef enum yytokentype | yytoken_kind_t |
typedef union ada_exp_YYSTYPE | ada_exp_YYSTYPE |
typedef enum ada_exp_yysymbol_kind_t | ada_exp_yysymbol_kind_t |
typedef signed char | yytype_int8 |
typedef short | yytype_int16 |
typedef unsigned char | yytype_uint8 |
typedef unsigned short | 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_for_char (struct parser_state *, ULONGEST) |
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 (ada_exp_yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED |
static void | yy_symbol_value_print (FILE *yyo, ada_exp_yysymbol_kind_t yykind, ada_exp_YYSTYPE const *const yyvaluep) |
static void | yy_symbol_print (FILE *yyo, ada_exp_yysymbol_kind_t yykind, ada_exp_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, ada_exp_YYSTYPE *yyvsp, int yyrule) |
static void | yydestruct (const char *yymsg, ada_exp_yysymbol_kind_t yykind, ada_exp_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< std::unique_ptr< gdb_mpz > > | int_storage |
static std::vector< ada_component_up > | components |
static std::vector< ada_association_up > | associations |
static std::vector< ada_assign_up > | assignments |
int | yydebug |
ada_exp_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 FLOAT 261 |
Definition at line 563 of file ada-exp.c.
Referenced by processInt(), and processReal().
#define INT 258 |
Definition at line 560 of file ada-exp.c.
Referenced by processInt().
#define NAME 266 |
Definition at line 568 of file ada-exp.c.
Referenced by gnu_nat_target::inf_signal().
#define parse_type | ( | ps | ) | builtin_type (ps->gdbarch ()) |
Definition at line 84 of file ada-exp.c.
Referenced by ada_parse(), add_data_symbol(), cross_ref(), parse_symbol(), parse_type(), processInt(), processReal(), type_system_address(), upgrade_type(), write_object_renaming(), and yyparse().
#define qsort __qsort__dummy |
Definition at line 3129 of file ada-exp.c.
Referenced by darwin_nat_target::check_new_threads(), windows_nat_target::create_inferior(), gdb_display_match_list_1(), info_classes_command(), info_selectors_command(), read_unwind_info(), and sync_threadlists().
#define TICK_COMPLETE 268 |
Definition at line 570 of file ada-exp.c.
Referenced by processAttribute(), and processAttribute().
#define YY_ACCESSING_SYMBOL | ( | State | ) | YY_CAST (ada_exp_yysymbol_kind_t, yystos[State]) |
Accessing symbol of state STATE.
Definition at line 1161 of file ada-exp.c.
Referenced by yy_reduce_print(), and yyparse().
#define YY_ASSERT | ( | E | ) | ((void) (0 && (E))) |
#define YY_CAST | ( | Type, | |
Val ) ((Type) (Val)) |
#define yy_create_buffer ada_yy_create_buffer |
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 930 of file ada-exp.c.
Referenced by yy_symbol_value_print(), yydestruct(), and yyparse().
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 931 of file ada-exp.c.
Referenced by yy_symbol_value_print(), yydestruct(), and yyparse().
#define YY_IGNORE_USELESS_CAST_BEGIN |
#define YY_IGNORE_USELESS_CAST_END |
#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 ) |
Definition at line 1575 of file ada-exp.c.
Referenced by yydestruct(), and yyparse().
#define YY_USE | ( | E | ) | ((void) (E)) |
Definition at line 907 of file ada-exp.c.
Referenced by yy_symbol_value_print(), and yydestruct().
#define YYACCEPT goto yyacceptlab |
#define YYBACKUP | ( | Token, | |
Value ) |
#define YYCOPY | ( | Dst, | |
Src, | |||
Count ) |
#define YYDPRINTF | ( | Args | ) |
#define YYNOMEM goto yyexhaustedlab |
#define YYNTOKENS 73 |
Definition at line 1084 of file ada-exp.c.
Referenced by yy_symbol_print(), and yyparse().
#define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
#define yyrestart ada_yyrestart |
Definition at line 3122 of file ada-exp.c.
Referenced by lexer_init(), rewind_to_char(), and rewind_to_char().
#define YYSIZE_MAXIMUM |
#define YYSIZEOF | ( | X | ) | YY_CAST (YYPTRDIFF_T, sizeof (X)) |
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define YYSTACK_BYTES | ( | N | ) |
#define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union ada_exp_yyalloc) - 1) |
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack ) |
Definition at line 1045 of file ada-exp.c.
Referenced by yyparse().
#define yytable_value_is_error | ( | Yyn | ) | 0 |
#define YYTRANSLATE | ( | YYX | ) |
typedef std::unique_ptr<ada_assign_operation> ada_assign_up |
typedef enum ada_exp_yysymbol_kind_t ada_exp_yysymbol_kind_t |
typedef int yy_state_fast_t |
typedef yytype_uint8 yy_state_t |
typedef enum yytokentype yytoken_kind_t |
typedef short yytype_int16 |
typedef signed char yytype_int8 |
typedef unsigned short yytype_uint16 |
typedef unsigned char yytype_uint8 |
enum yytokentype |
void _initialize_ada_exp | ( | ) |
Definition at line 3871 of file ada-exp.c.
Referenced by initialize_all_files().
|
static |
Definition at line 312 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, value::type(), and UNDEF_DOMAIN.
Referenced by write_object_renaming(), and yyparse().
|
static |
Definition at line 3517 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 3133 of file ada-exp.c.
References ada_pop(), assignments, associations, parser_state::debug, int_storage, lexer_init(), parser_state::lexptr, original_expr, parse_type, 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 165 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 253 of file ada-exp.c.
References ada_pop(), maybe_overload(), pstate, and parser_state::push().
void ada_wrap | ( | ) |
Definition at line 174 of file ada-exp.c.
References ada_pop(), pstate, and parser_state::push_new().
void ada_wrap2 | ( | enum exp_opcode | op | ) |
Definition at line 272 of file ada-exp.c.
References ada_pop(), maybe_overload(), pstate, and parser_state::push().
void ada_wrap3 | ( | ) |
Definition at line 301 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 287 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 237 of file ada-exp.c.
References ada_pop(), maybe_overload(), pstate, and parser_state::push().
|
static |
Definition at line 3339 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 3446 of file ada-exp.c.
References name.
Referenced by write_var_or_type(), and write_var_or_type_completion().
|
static |
Definition at line 3460 of file ada-exp.c.
References name.
Referenced by get_symbol_field_type(), and write_selectors().
|
static |
Definition at line 3749 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 3419 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, type, symbol::type(), type_system_address(), and VAR_DOMAIN.
Referenced by write_var_or_type().
|
static |
Definition at line 3539 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 447 of file ada-exp.c.
References stoken::length, and stoken::ptr.
Referenced by yyparse().
|
static |
Definition at line 200 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 411 of file ada-exp.c.
References associations.
Referenced by pop_associations().
|
static |
|
static |
Definition at line 378 of file ada-exp.c.
Referenced by pop_components(), and yyparse().
|
static |
void push_association | ( | Arg... | args | ) |
Definition at line 403 of file ada-exp.c.
References associations.
void push_component | ( | Arg... | args | ) |
|
static |
Definition at line 147 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 3386 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 |
Definition at line 3845 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 3860 of file ada-exp.c.
References expr_builder::gdbarch(), expr_builder::language(), language_lookup_primitive_type(), parse_type, and type.
Referenced by find_primitive_type(), and yyparse().
|
static |
Definition at line 3499 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 3184 of file ada-exp.c.
References pstate, parser_state::push_new(), and type.
Referenced by write_object_renaming(), and yyparse().
|
static |
Definition at line 3823 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 3202 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, parse_type, pstate, parser_state::push_new(), block_symbol::symbol, temp_parse_space, 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 3476 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 3173 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 3589 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, 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, block::objfile(), stoken::ptr, parser_state::push_new(), select_possible_type_sym(), temp_parse_space, 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 3782 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(), 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(), 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(), completion_tracker::discard_completions(), do_document_command(), cooked_index_shard::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(), buildsym_compunit::finish_block_internal(), finish_global_stabs(), objfile::forget_cached_source_info(), psymbol_functions::forget_cached_source_info(), 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_open(), gdb_print_filename(), 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(), get_ada_pspace_data(), dtrace_static_probe_ops::get_probes(), gnuv3_print_vtable(), 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(), 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_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(), rocm_update_solib_list(), 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_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(), selftests::utils::test_substitute_path_component(), tfile_dtor(), typedef_hash_table::typedef_hash_table(), update_section_map(), amd_dbgapi_target::update_thread_list(), 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(), 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(), 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(), arm_adjust_breakpoint_address(), arm_pikeos_osabi_sniffer(), bfd_uses_spe_extensions(), c_get_string(), chain_candidate(), 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(), 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 1649 of file ada-exp.c.
References YY_ACCESSING_SYMBOL, yy_symbol_print(), YYFPRINTF, yyr2, yyrline, yyrule, yyssp, and yyvsp.
|
static |
|
static |
Definition at line 1610 of file ada-exp.c.
References yy_symbol_value_print(), YYFPRINTF, YYNTOKENS, and yysymbol_name().
Referenced by yy_reduce_print().
|
static |
Definition at line 1592 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 1711 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 3164 of file ada-exp.c.
References parser_state::lexptr, and pstate.
int yyparse | ( | void | ) |
Definition at line 1741 of file ada-exp.c.
References ada_addrof(), ada_funcall(), ada_is_modular_type(), ada_modulus(), ada_pop(), assignments, block_lookup(), check_typedef(), choice_component(), copy_name(), 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(), value::type(), type_system_address(), ada_exp_YYSTYPE::val, 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, ada_exp_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, ada_exp_yyalloc::yyvs_alloc, and yyvsp.
Referenced by ada_parse().
|
static |
|
static |
Definition at line 458 of file ada-exp.c.
Referenced by ada_parse(), and yyparse().
|
static |
Definition at line 397 of file ada-exp.c.
Referenced by ada_parse(), pop_association(), and push_association().
|
static |
|
static |
Definition at line 109 of file ada-exp.c.
Referenced by ada_parse(), and processInt().
|
static |
Definition at line 104 of file ada-exp.c.
Referenced by ada_parse(), and find_completion_bounds().
|
static |
Definition at line 101 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 3125 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 1676 of file ada-exp.c.
Referenced by ada_parse().
|
static |
Definition at line 1241 of file ada-exp.c.
Referenced by yyparse().
|
static |
ada_exp_YYSTYPE yylval |
|
static |
Definition at line 1210 of file ada-exp.c.
Referenced by yyparse().
|
static |
|
static |
Definition at line 1487 of file ada-exp.c.
Referenced by yyparse().
|
static |
Definition at line 1505 of file ada-exp.c.
Referenced by yy_reduce_print(), and yyparse().
|
static |
Definition at line 1142 of file ada-exp.c.
Referenced by yy_reduce_print().
|
static |
|
static |
|
static |
Definition at line 1170 of file ada-exp.c.
Referenced by yysymbol_name().
|
static |