GDB (xrefs)
|
#include "defs.h"
#include <ctype.h>
#include "demangle.h"
#include "gdb_regex.h"
#include "frame.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "gdbcmd.h"
#include "expression.h"
#include "parser-defs.h"
#include "language.h"
#include "varobj.h"
#include "c-lang.h"
#include "inferior.h"
#include "symfile.h"
#include "objfiles.h"
#include "breakpoint.h"
#include "gdbcore.h"
#include "hashtab.h"
#include "gdb_obstack.h"
#include "ada-lang.h"
#include "completer.h"
#include <sys/stat.h>
#include "ui-out.h"
#include "block.h"
#include "infcall.h"
#include "dictionary.h"
#include "annotate.h"
#include "valprint.h"
#include "source.h"
#include "observer.h"
#include "vec.h"
#include "stack.h"
#include "gdb_vecs.h"
#include "typeprint.h"
#include "psymtab.h"
#include "value.h"
#include "mi/mi-common.h"
#include "arch-utils.h"
#include "cli/cli-utils.h"
Go to the source code of this file.
Classes | |
struct | cache_entry |
struct | ada_symbol_cache |
struct | ada_inferior_data |
struct | ada_pspace_data |
struct | match_data |
struct | add_partial_datum |
struct | exception_support_info |
struct | ada_catchpoint_location |
struct | ada_catchpoint |
Macros | |
#define | TRUNCATION_TOWARDS_ZERO ((-5 / 2) == -2) |
#define | HASH_SIZE 1009 |
#define | MAX_ADA_DIMENS (sizeof(bound_name) / (2*sizeof(char *))) |
#define | ADA_OPERATORS |
#define | OP_DEFN(op, len, args, binop) case op: *oplenp = len; *argsp = args; break; |
#define | OP_DEFN(op, len, args, binop) case op: return #op; |
#define | OP_DEFN(op, len, args, binop) case op: *oplenp = len; *argsp = args; break; |
Typedefs | |
typedef CORE_ADDR( | ada_unhandled_exception_name_addr_ftype) (void) |
#define ADA_OPERATORS |
Definition at line 13258 of file ada-lang.c.
Referenced by ada_forward_operator_length(), ada_op_name(), and ada_operator_length().
#define HASH_SIZE 1009 |
Definition at line 297 of file ada-lang.c.
Referenced by cache_symbol(), and find_entry().
#define MAX_ADA_DIMENS (sizeof(bound_name) / (2*sizeof(char *))) |
Definition at line 1542 of file ada-lang.c.
#define TRUNCATION_TOWARDS_ZERO ((-5 / 2) == -2) |
Definition at line 68 of file ada-lang.c.
Referenced by ada_value_binop().
typedef CORE_ADDR( ada_unhandled_exception_name_addr_ftype) (void) |
Definition at line 11600 of file ada-lang.c.
enum ada_primitive_types |
Definition at line 13642 of file ada-lang.c.
void _initialize_ada_language | ( | void | ) |
Definition at line 13898 of file ada-lang.c.
References _, ada_free_objfile_observer(), ada_ignore_descriptive_types_p, ada_inferior_data_cleanup(), ada_inferior_exit(), ada_new_objfile_observer(), ada_pspace_data_cleanup(), ada_pspace_data_handle, add_catch_command(), add_info(), add_language(), add_prefix_cmd(), add_setshow_boolean_cmd(), catch_ada_exception_command(), catch_assert_command(), CATCH_PERMANENT, CATCH_TEMPORARY, class_maintenance, class_obscure, decoded_names_store, info_exceptions_command(), initialize_ada_catchpoint_ops(), maint_set_ada_cmd(), maint_show_ada_cmd(), maintenance_set_cmdlist, maintenance_show_cmdlist, no_class, observer_attach_free_objfile(), observer_attach_inferior_exit(), observer_attach_new_objfile(), set_ada_command(), setlist, show_ada_command(), showlist, streq(), symbol_list_obstack, varsize_limit, xcalloc(), and xfree().
|
static |
Definition at line 5977 of file ada-lang.c.
References add_defn_to_vec(), ALL_BLOCK_SYMBOLS, block_iter_match_first(), block_iter_match_next(), fixup_symbol_section(), full_match(), int, is_name_suffix(), LOC_UNRESOLVED, startswith(), SYMBOL_CLASS, SYMBOL_DOMAIN, SYMBOL_IS_ARGUMENT, SYMBOL_LANGUAGE, SYMBOL_LINKAGE_NAME, symbol_matches_domain(), and wild_match().
Referenced by ada_add_local_symbols(), and ada_lookup_symbol_list_worker().
|
static |
Definition at line 13064 of file ada-lang.c.
References ada_is_exception_sym(), ALL_BLOCK_SYMBOLS, BLOCK_FUNCTION, BLOCK_SUPERBLOCK, get_frame_block(), LOC_BLOCK, LOC_CONST, LOC_TYPEDEF, SYMBOL_CLASS, SYMBOL_PRINT_NAME, SYMBOL_VALUE_ADDRESS, and VEC_safe_push.
Referenced by VEC().
|
static |
Definition at line 13118 of file ada-lang.c.
References ada_exc_search_name_matches(), ada_is_non_standard_exception_sym(), ALL_BLOCK_SYMBOLS, ALL_COMPUNITS, BLOCKVECTOR_BLOCK, COMPUNIT_BLOCKVECTOR, expand_symtabs_matching(), GLOBAL_BLOCK, STATIC_BLOCK, SYMBOL_NATURAL_NAME, SYMBOL_PRINT_NAME, SYMBOL_VALUE_ADDRESS, VARIABLES_DOMAIN, and VEC_safe_push.
Referenced by VEC().
|
static |
Definition at line 5254 of file ada-lang.c.
References ada_add_block_symbols(), add_symbols_from_enclosing_procs(), block_depth(), BLOCK_SUPERBLOCK, defns_collected(), is_nonfunction(), and num_defns_collected().
Referenced by ada_lookup_symbol_list_worker().
|
static |
Definition at line 13030 of file ada-lang.c.
References ada_lookup_simple_minsym(), BMSYMBOL_VALUE_ADDRESS, bound_minimal_symbol::minsym, and VEC_safe_push.
Referenced by VEC().
Definition at line 9209 of file ada-lang.c.
References ada_aligned_type(), ada_get_base_type(), ada_is_aligner_type(), and TYPE_FIELD_TYPE.
Referenced by ada_aligned_type(), ada_evaluate_subexp(), ada_print_type(), ada_template_to_fixed_record_type_1(), and printable_val_type().
Definition at line 9222 of file ada-lang.c.
References ada_aligned_value_addr(), ada_is_aligner_type(), TARGET_CHAR_BIT, TYPE_FIELD_BITPOS, and TYPE_FIELD_TYPE.
Referenced by ada_aligned_value_addr(), and ada_val_print_1().
Definition at line 3551 of file ada-lang.c.
References ada_check_typedef(), ada_type_match(), LOC_CONST, SYMBOL_CLASS, SYMBOL_TYPE, TYPE_CODE, TYPE_CODE_ENUM, TYPE_CODE_FUNC, TYPE_FIELD_TYPE, TYPE_NFIELDS, and value_type().
Referenced by ada_resolve_function().
Definition at line 2845 of file ada-lang.c.
References ada_check_typedef(), desc_arity(), desc_base_type(), desc_bounds_type(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, and TYPE_TARGET_TYPE.
Referenced by ada_array_element_type(), ada_evaluate_subexp(), ada_index_type(), ada_is_string_type(), ada_type_of_array(), make_array_descriptor(), and print_array_type().
Definition at line 3013 of file ada-lang.c.
References ada_array_bound_from_type(), ada_is_constrained_packed_array_type(), ada_is_simple_array_type(), check_typedef(), decode_constrained_packed_array(), desc_bounds(), desc_one_bound(), TYPE_CODE, TYPE_CODE_PTR, value_as_long(), value_enclosing_type(), value_ind(), and value_type().
Referenced by ada_evaluate_subexp(), and make_array_descriptor().
Definition at line 2957 of file ada-lang.c.
References ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_find_parallel_type(), ada_fixup_array_indexes_type(), ada_is_constrained_packed_array_type(), ada_is_simple_array_type(), check_typedef(), decode_constrained_packed_array_type(), gdb_assert, to_fixed_range_type(), type, TYPE_CODE, TYPE_CODE_PTR, TYPE_FIELD_TYPE, TYPE_FIXED_INSTANCE, TYPE_INDEX_TYPE, and TYPE_TARGET_TYPE.
Referenced by ada_array_bound(), ada_array_length(), and ada_evaluate_subexp().
Definition at line 2873 of file ada-lang.c.
References ada_array_arity(), ada_check_typedef(), desc_base_type(), desc_data_target_type(), type, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, and TYPE_TARGET_TYPE.
Referenced by ada_evaluate_subexp(), ada_is_string_type(), ada_type_of_array(), empty_array(), and print_array_type().
Definition at line 3036 of file ada-lang.c.
References ada_array_bound_from_type(), ada_is_constrained_packed_array_type(), ada_is_simple_array_type(), CHECK_TYPEDEF, check_typedef(), decode_constrained_packed_array(), desc_bounds(), desc_one_bound(), pos_atr(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_INDEX_TYPE, TYPE_TARGET_TYPE, value_as_long(), value_enclosing_type(), value_from_longest(), value_ind(), and value_type().
Referenced by ada_evaluate_subexp().
const char* ada_attribute_name | ( | enum exp_opcode | n | ) |
Definition at line 9026 of file ada-lang.c.
Referenced by ada_evaluate_subexp(), and ada_print_subexp().
|
static |
Definition at line 12000 of file ada-lang.c.
References ada_catchpoint_location::excep_cond_expr, and xfree().
Definition at line 8932 of file ada-lang.c.
References ada_check_typedef(), ada_find_any_type(), ada_typedef_target_type(), CHECK_TYPEDEF, is_thick_pntr(), name, type, TYPE_CODE, TYPE_CODE_ENUM, TYPE_CODE_TYPEDEF, TYPE_STUB, and TYPE_TAG_NAME.
Referenced by ada_args_match(), ada_array_arity(), ada_array_element_type(), ada_check_typedef(), ada_coerce_to_simple_array_type(), ada_convert_actual(), ada_evaluate_subexp(), ada_fixup_array_indexes_type(), ada_get_decoded_value(), ada_index_struct_field_1(), ada_is_aligner_type(), ada_is_array_descriptor_type(), ada_is_direct_array_type(), ada_is_packed_array_type(), ada_is_parent_field(), ada_is_simple_array_type(), ada_is_string_type(), ada_is_tag_type(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_print_scalar(), ada_print_type(), ada_print_typedef(), ada_resolve_function(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type_1(), ada_type_match(), ada_type_of_array(), ada_val_print_1(), ada_value_binop(), ada_value_cast(), ada_value_primitive_field(), ada_value_primitive_packed_val(), ada_value_print(), ada_value_slice(), ada_value_slice_from_ptr(), ada_value_struct_elt(), ada_value_subscript(), ada_varobj_decode_var(), coerce_for_assign(), coerce_unspec_val_to_type(), constrained_packed_array_type(), decode_constrained_packed_array(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), desc_base_type(), desc_bounds(), desc_bounds_type(), desc_data_target_type(), dynamic_template_type(), empty_array(), ensure_lval(), fat_pntr_bounds_bitsize(), find_struct_field(), make_array_descriptor(), possible_user_operator_p(), static_unwrap_type(), template_to_static_fixed_type(), thin_data_pntr(), to_fixed_array_type(), to_static_fixed_type(), unwrap_value(), and value_subscript_packed().
|
static |
Definition at line 4494 of file ada-lang.c.
References ada_get_symbol_cache(), ada_init_symbol_cache(), ada_symbol_cache::cache_space, and current_program_space.
Referenced by ada_free_objfile_observer(), and ada_new_objfile_observer().
Definition at line 7584 of file ada-lang.c.
References ada_is_tagged_type(), ada_tag_value_at_base_address(), ada_to_fixed_value(), coerce_ref(), TYPE_CODE, TYPE_CODE_REF, and value_type().
Referenced by ada_evaluate_subexp(), ada_value_assign(), ada_value_equal(), ada_value_struct_elt(), and assign_aggregate().
Definition at line 2044 of file ada-lang.c.
References _, ada_coerce_to_simple_array_ptr(), ada_ensure_varsize_limit(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), decode_constrained_packed_array(), error(), TYPE_TARGET_TYPE, value_ind(), and value_type().
Referenced by ada_evaluate_subexp(), ada_get_decoded_value(), ada_val_print_gnat_array(), ada_value_assign(), ada_value_equal(), ada_value_subscript(), and assign_aggregate().
Definition at line 2023 of file ada-lang.c.
References ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), ada_type_of_array(), decode_constrained_packed_array(), desc_data(), value_cast(), value_copy(), and value_type().
Referenced by ada_coerce_to_simple_array(), ada_evaluate_subexp(), ada_get_decoded_value(), ada_val_print_gnat_array(), and read_atcb().
Definition at line 2066 of file ada-lang.c.
References ada_check_typedef(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), decode_constrained_packed_array_type(), desc_data_target_type(), and type.
Referenced by ada_get_decoded_type(), ada_varobj_ind(), and print_array_type().
Definition at line 6256 of file ada-lang.c.
References symbol_completion_match().
Referenced by VEC().
Definition at line 4315 of file ada-lang.c.
References ada_check_typedef(), ada_is_aligner_type(), ada_is_array_descriptor_type(), ada_value_ind(), ada_value_struct_elt(), allocate_value(), desc_data(), ensure_lval(), lval_memory, make_array_descriptor(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_LENGTH, TYPE_TARGET_TYPE, value_addr(), value_assign_to_component(), value_cast_pointers(), value_contents(), value_contents_raw(), VALUE_LVAL, and value_type().
Referenced by value_arg_coerce().
Definition at line 1145 of file ada-lang.c.
References ada_remove_po_subprogram_suffix(), ada_remove_trailing_digits(), ada_opname_map::decoded, ada_opname_map::encoded, GROW_VECT, is_lower_alphanum(), startswith(), and xsnprintf().
Referenced by ada_decode_symbol(), ada_exc_search_name_matches(), ada_la_decode(), ada_varobj_describe_simple_array_child(), is_valid_name_for_wild_match(), symbol_completion_match(), symbol_find_demangled_name(), and write_object_renaming().
const char* ada_decode_symbol | ( | const struct general_symbol_info * | arg | ) |
Definition at line 1409 of file ada-lang.c.
References ada_decode(), general_symbol_info::ada_mangled, decoded_names_store, general_symbol_info::language_specific, general_symbol_info::mangled_lang, general_symbol_info::name, and general_symbol_info::obstack.
Referenced by symbol_demangled_name(), and symbol_natural_name().
|
static |
Definition at line 3097 of file ada-lang.c.
References _, ada_opname_map::decoded, ada_opname_map::encoded, and error().
Referenced by resolve_subexp().
Definition at line 11260 of file ada-lang.c.
References DOUBLEST_SCAN_FORMAT, encoding, and fixed_type_info().
Referenced by print_fixed_point_type().
Definition at line 795 of file ada-lang.c.
References _, error(), max_of_type(), resolve_dynamic_type(), TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_INT, TYPE_CODE_RANGE, TYPE_FIELD_ENUMVAL, TYPE_HIGH_BOUND, and TYPE_NFIELDS.
Referenced by ada_array_bound_from_type(), ada_evaluate_subexp(), print_range(), to_fixed_range_type(), and type_is_full_subrange_of_target_type().
Definition at line 816 of file ada-lang.c.
References _, error(), min_of_type(), resolve_dynamic_type(), TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_INT, TYPE_CODE_RANGE, TYPE_FIELD_ENUMVAL, and TYPE_LOW_BOUND.
Referenced by ada_array_bound_from_type(), ada_evaluate_subexp(), ada_value_slice_from_ptr(), ada_varobj_describe_simple_array_child(), print_range(), to_fixed_range_type(), and type_is_full_subrange_of_target_type().
|
static |
Definition at line 13399 of file ada-lang.c.
References _, ada_forward_operator_length(), dump_subexp(), dump_subexp_body_standard(), expression::elts, fprintf_filtered(), gdb_print_host_address(), len, exp_element::longconst, longest_to_int(), name, exp_element::opcode, exp_element::string, exp_element::type, and type_print().
char* ada_encode | ( | const char * | decoded | ) |
Definition at line 979 of file ada-lang.c.
References _, ada_opname_map::decoded, ada_opname_map::encoded, error(), GROW_VECT, and startswith().
Referenced by ada_lookup_symbol(), ada_name_for_lookup(), block_lookup(), resolve_subexp(), type_from_tag(), VEC(), and write_var_or_type().
Definition at line 742 of file ada-lang.c.
References _, error(), TYPE_LENGTH, and varsize_limit.
Referenced by ada_coerce_to_simple_array(), ada_evaluate_subexp(), ada_template_to_fixed_record_type_1(), ada_val_print_ref(), and coerce_unspec_val_to_type().
Definition at line 9238 of file ada-lang.c.
References GROW_VECT, name, and xsnprintf().
Referenced by ada_print_scalar(), ada_val_print_enum(), and print_enum_type().
|
static |
Definition at line 10183 of file ada-lang.c.
References _, ada_aligned_type(), ada_array_arity(), ada_array_bound(), ada_array_bound_from_type(), ada_array_element_type(), ada_array_length(), ada_attribute_name(), ada_check_typedef(), ada_coerce_ref(), ada_coerce_to_simple_array(), ada_coerce_to_simple_array_ptr(), ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_ensure_varsize_limit(), ada_find_parallel_type(), ada_forward_operator_length(), ada_index_type(), ada_is_aligner_type(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), ada_is_fixed_point_type(), ada_is_modular_type(), ada_is_simple_array_type(), ada_is_tagged_type(), ada_lookup_struct_elt_type(), ada_modulus(), ada_tag_type(), ada_to_fixed_value(), ada_type_name(), ada_type_of_array(), ada_typedef_target_type(), ada_value_assign(), ada_value_binop(), ada_value_cast(), ada_value_equal(), ada_value_ind(), ada_value_ptr_subscript(), ada_value_slice(), ada_value_slice_from_ptr(), ada_value_struct_elt(), ada_value_subscript(), ada_value_tag(), allocate_value(), assign_aggregate(), binop_promote(), builtin_type::builtin_double, builtin_type::builtin_int, builtin_type(), BYTES_TO_EXP_ELEM, call_function_by_hand(), call_internal_function(), cast_from_fixed(), cast_to_fixed(), check_typedef(), coerce_for_assign(), coerce_ref(), decode_constrained_packed_array_type(), desc_base_type(), discrete_type_p(), dynamic_template_type(), expression::elts, empty_array(), error(), EVAL_AVOID_SIDE_EFFECTS, EVAL_NORMAL, EVAL_SKIP, evaluate_subexp(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), expression::gdbarch, internal_error(), is_integral_type(), language_bool_type(), expression::language_defn, lim_warning(), exp_element::longconst, longest_to_int(), lookup_pointer_type(), lval_internalvar, lval_memory, name, not_lval, NULL_TYPE, exp_element::opcode, static_unwrap_type(), exp_element::string, exp_element::symbol, SYMBOL_DOMAIN, SYMBOL_PRINT_NAME, SYMBOL_TYPE, TARGET_CHAR_BIT, to_fixed_array_type(), to_fixed_range_type(), to_static_fixed_type(), exp_element::type, type, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_ENUM, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_INTERNAL_FUNCTION, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_STRING, TYPE_CODE_STRUCT, TYPE_CODE_TYPEDEF, TYPE_CODE_UNION, TYPE_FIELD_BITSIZE, type_from_tag(), TYPE_GNU_IFUNC, TYPE_HIGH_BOUND, TYPE_LENGTH, TYPE_LOW_BOUND, TYPE_TARGET_TYPE, UNDEF_DOMAIN, unop_promote(), unwrap_value(), value_addr(), value_as_address(), value_as_long(), value_at_lazy(), value_binop(), value_cast(), value_equal(), value_from_longest(), value_ind(), value_less(), VALUE_LVAL, value_neg(), value_pos_atr(), value_ref(), value_type(), value_val_atr(), and value_zero().
Referenced by aggregate_assign_from_choices(), aggregate_assign_others(), aggregate_assign_positional(), assign_aggregate(), assign_component(), and num_component_specs().
Definition at line 13006 of file ada-lang.c.
References ada_decode().
Referenced by ada_add_global_exceptions().
|
static |
Definition at line 12682 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, catch_assert_breakpoint_ops, catch_exception_breakpoint_ops, catch_exception_unhandled_breakpoint_ops, and internal_error().
Referenced by ada_exception_sal().
|
static |
Definition at line 12710 of file ada-lang.c.
References standard_exc, and xstrprintf().
Referenced by create_excep_cond_exprs().
|
static |
Definition at line 11945 of file ada-lang.c.
References _, ada_exception_name_addr_1(), CATCH, END_CATCH, RETURN_MASK_ERROR, TRY, and warning().
Referenced by print_it_exception().
|
static |
Definition at line 11912 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, current_inferior(), ada_inferior_data::exception_info, get_ada_inferior_data(), internal_error(), parse_and_eval_address(), and exception_support_info::unhandled_exception_name_addr.
Referenced by ada_exception_name_addr().
|
static |
Definition at line 12755 of file ada-lang.c.
References ada_exception_breakpoint_ops(), ada_exception_support_info_sniffer(), ada_exception_sym_name(), find_function_start_sal(), gdb_assert, LOC_BLOCK, standard_lookup(), SYMBOL_CLASS, and VAR_DOMAIN.
Referenced by create_ada_exception_catchpoint().
|
static |
Definition at line 11713 of file ada-lang.c.
References _, ada_has_this_exception_support(), ada_update_initial_language(), current_inferior(), default_exception_support_info, error(), ada_inferior_data::exception_info, exception_support_info_fallback, get_ada_inferior_data(), inferior_ptid, language_ada, language_unknown, and ptid_get_pid().
Referenced by ada_exception_sal().
|
static |
Definition at line 12655 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, exception_support_info::catch_assert_sym, exception_support_info::catch_exception_sym, exception_support_info::catch_exception_unhandled_sym, current_inferior(), ada_inferior_data::exception_info, gdb_assert, get_ada_inferior_data(), and internal_error().
Referenced by ada_exception_sal().
Definition at line 7661 of file ada-lang.c.
References ada_find_any_type_symbol(), and SYMBOL_TYPE.
Referenced by ada_check_typedef(), ada_find_parallel_type_with_name(), ada_fixup_array_indexes_type(), ada_get_base_type(), ada_get_tsd_type(), find_parallel_type_by_descriptive_type(), and type_from_tag().
Definition at line 7644 of file ada-lang.c.
References get_selected_block(), LOC_TYPEDEF, standard_lookup(), STRUCT_DOMAIN, SYMBOL_CLASS, and VAR_DOMAIN.
Referenced by ada_find_any_type(), ada_find_renaming_symbol(), and find_old_style_renaming_symbol().
Definition at line 7883 of file ada-lang.c.
References ada_find_parallel_type_with_name(), ada_type_name(), len, and name.
Referenced by ada_array_bound_from_type(), ada_evaluate_subexp(), ada_get_base_type(), ada_is_aligner_type(), constrained_packed_array_type(), dynamic_template_type(), print_array_type(), print_record_type(), print_variant_clauses(), thin_descriptor_type(), to_fixed_array_type(), to_fixed_variant_branch_type(), to_static_fixed_type(), and unwrap_value().
|
static |
Definition at line 7867 of file ada-lang.c.
References ada_find_any_type(), find_parallel_type_by_descriptive_type(), and HAVE_GNAT_AUX_INFO.
Referenced by ada_find_parallel_type(), decode_constrained_packed_array_type(), and to_fixed_array_type().
void ada_find_printable_frame | ( | struct frame_info * | fi | ) |
Definition at line 11832 of file ada-lang.c.
References get_prev_frame(), is_known_support_routine(), and select_frame().
Referenced by print_it_exception(), and task_command_1().
Definition at line 7678 of file ada-lang.c.
References ada_find_any_type_symbol(), find_old_style_renaming_symbol(), name, and SYMBOL_LINKAGE_NAME.
Referenced by ada_read_var_value(), and write_var_or_type().
Definition at line 11306 of file ada-lang.c.
References scaling_factor().
Referenced by ada_val_print_num(), cast_from_fixed(), cast_to_fixed(), and print_fixed_point_type().
void ada_fixup_array_indexes_type | ( | struct type * | index_desc_type | ) |
Definition at line 1502 of file ada-lang.c.
References ada_check_typedef(), ada_find_any_type(), gdb_assert, name, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_NAME, and TYPE_NFIELDS.
Referenced by ada_array_bound_from_type(), print_array_type(), and to_fixed_array_type().
Definition at line 11315 of file ada-lang.c.
References scaling_factor().
Referenced by cast_to_fixed().
char* ada_fold_name | ( | const char * | name | ) |
Definition at line 1030 of file ada-lang.c.
References GROW_VECT, and len.
Referenced by ada_lookup_symbol(), and ada_name_for_lookup().
|
static |
Definition at line 13362 of file ada-lang.c.
References ADA_OPERATORS, BYTES_TO_EXP_ELEM, expression::elts, len, exp_element::longconst, longest_to_int(), and exp_element::opcode.
Referenced by ada_dump_subexp_body(), ada_evaluate_subexp(), ada_print_subexp(), and resolve_subexp().
|
static |
Definition at line 13892 of file ada-lang.c.
References ada_clear_symbol_cache().
Referenced by _initialize_ada_language().
|
static |
Definition at line 4468 of file ada-lang.c.
References ada_symbol_cache::cache_space, and xfree().
Referenced by ada_pspace_data_cleanup().
Definition at line 9161 of file ada-lang.c.
References ada_find_any_type(), ada_find_parallel_type(), ada_is_aligner_type(), TYPE_CODE, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_NFIELDS, and TYPE_TARGET_TYPE.
Referenced by ada_aligned_type(), ada_parent_type(), ada_print_type(), ada_template_to_fixed_record_type_1(), ada_value_struct_elt(), static_unwrap_type(), and unwrap_value().
Definition at line 881 of file ada-lang.c.
References ada_coerce_to_simple_array_type(), ada_is_constrained_packed_array_type(), to_static_fixed_type(), and type.
Referenced by ada_varobj_decode_var().
Definition at line 856 of file ada-lang.c.
References ada_check_typedef(), ada_coerce_to_simple_array(), ada_coerce_to_simple_array_ptr(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), ada_to_fixed_value(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_TYPEDEF, and value_type().
Referenced by ada_varobj_decode_var().
Definition at line 614 of file ada-lang.c.
References _, check_typedef(), error(), field_name_match(), TYPE_FIELD_NAME, TYPE_NAME, and TYPE_NFIELDS.
Referenced by ada_nget_field_index(), get_symbol_field_type(), get_tcb_types_info(), read_atcb(), and read_fat_string_value().
|
static |
Definition at line 556 of file ada-lang.c.
References ada_completer_word_break_characters.
|
static |
Definition at line 12548 of file ada-lang.c.
References skip_spaces(), skip_to_space, and xmalloc().
Referenced by catch_ada_exception_command_split().
|
static |
Definition at line 4478 of file ada-lang.c.
References ada_init_symbol_cache(), get_ada_pspace_data(), and ada_pspace_data::sym_cache.
Referenced by ada_clear_symbol_cache(), cache_symbol(), and find_entry().
|
static |
Definition at line 13740 of file ada-lang.c.
References compare_names(), should_use_wild_match(), and wild_match().
Definition at line 6652 of file ada-lang.c.
References ada_get_tsd_type(), ada_value_struct_elt(), current_inferior(), lookup_pointer_type(), type, value_cast(), value_ind(), and value_ptradd().
Referenced by ada_tag_name().
Definition at line 6637 of file ada-lang.c.
References ada_find_any_type(), get_ada_inferior_data(), and ada_inferior_data::tsd_type.
Referenced by ada_get_tsd_from_tag().
|
static |
Definition at line 11661 of file ada-lang.c.
References _, exception_support_info::catch_exception_sym, error(), LOC_BLOCK, lookup_minimal_symbol(), bound_minimal_symbol::minsym, mst_solib_trampoline, MSYMBOL_TYPE, standard_lookup(), SYMBOL_CLASS, SYMBOL_LINKAGE_NAME, and VAR_DOMAIN.
Referenced by ada_exception_support_info_sniffer().
Definition at line 4826 of file ada-lang.c.
References ada_remove_trailing_digits(), TYPE_FIELD_ENUMVAL, TYPE_FIELD_NAME, and TYPE_NFIELDS.
Referenced by symbols_are_identical_enums().
Definition at line 6945 of file ada-lang.c.
References ada_scan_number(), L, name, and TYPE_FIELD_NAME.
Referenced by ada_which_variant_applies().
|
static |
Definition at line 7185 of file ada-lang.c.
References ada_index_struct_field_1().
Referenced by assign_component().
|
static |
Definition at line 7197 of file ada-lang.c.
References _, ada_check_typedef(), ada_is_variant_part(), ada_is_wrapper_field(), ada_value_primitive_field(), error(), TYPE_FIELD_BITPOS, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, and TYPE_NFIELDS.
Referenced by ada_index_struct_field().
Definition at line 2918 of file ada-lang.c.
References _, ada_array_arity(), ada_is_simple_array_type(), desc_base_type(), desc_bounds_type(), desc_index_type(), error(), TYPE_CODE, TYPE_CODE_UNDEF, TYPE_INDEX_TYPE, and TYPE_TARGET_TYPE.
Referenced by ada_evaluate_subexp().
|
static |
Definition at line 393 of file ada-lang.c.
References xfree().
Referenced by _initialize_ada_language(), and ada_inferior_exit().
|
static |
Definition at line 429 of file ada-lang.c.
References ada_inferior_data_cleanup().
Referenced by _initialize_ada_language().
|
static |
Definition at line 4459 of file ada-lang.c.
References ada_symbol_cache::cache_space, and ada_symbol_cache::root.
Referenced by ada_clear_symbol_cache(), and ada_get_symbol_cache().
Definition at line 9145 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), TYPE_CODE, TYPE_CODE_STRUCT, TYPE_FIELD_NAME, and TYPE_NFIELDS.
Referenced by ada_aligned_type(), ada_aligned_value_addr(), ada_convert_actual(), ada_evaluate_subexp(), ada_get_base_type(), ada_print_type(), ada_template_to_fixed_record_type_1(), static_unwrap_type(), and unwrap_value().
Definition at line 1907 of file ada-lang.c.
References ada_check_typedef(), desc_arity(), desc_bounds_type(), desc_data_target_type(), TYPE_CODE, and TYPE_CODE_ARRAY.
Referenced by ada_coerce_to_simple_array(), ada_coerce_to_simple_array_ptr(), ada_coerce_to_simple_array_type(), ada_convert_actual(), ada_evaluate_subexp(), ada_get_decoded_value(), ada_is_bogus_array_descriptor(), ada_is_constrained_packed_array_type(), ada_is_direct_array_type(), ada_is_string_type(), ada_is_unconstrained_packed_array_type(), ada_prefer_type(), ada_print_type(), ada_type_match(), ada_type_of_array(), ada_val_print_1(), ada_value_is_changeable_p(), ada_value_print(), ada_varobj_adjust_for_child_access(), ada_varobj_describe_child(), ada_varobj_get_number_of_children(), and ada_varobj_ind().
Definition at line 1881 of file ada-lang.c.
References ada_is_direct_array_type(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, and TYPE_TARGET_TYPE.
Referenced by possible_user_operator_p().
Definition at line 1925 of file ada-lang.c.
References ada_is_array_descriptor_type(), lookup_struct_elt_type(), TYPE_CODE, and TYPE_CODE_STRUCT.
Referenced by ada_print_type(), ada_val_print_struct_union(), and ada_value_print().
Definition at line 9088 of file ada-lang.c.
References ada_type_name(), name, TYPE_CODE, TYPE_CODE_CHAR, TYPE_CODE_INT, and TYPE_CODE_RANGE.
Referenced by ada_is_string_type(), and ada_val_print_num().
Definition at line 2095 of file ada-lang.c.
References ada_is_array_descriptor_type(), and ada_is_packed_array_type().
Referenced by ada_array_bound(), ada_array_bound_from_type(), ada_array_length(), ada_coerce_to_simple_array(), ada_coerce_to_simple_array_ptr(), ada_coerce_to_simple_array_type(), ada_evaluate_subexp(), ada_get_decoded_type(), ada_get_decoded_value(), ada_prefer_type(), ada_print_type(), ada_type_of_array(), ada_val_print_1(), ada_varobj_adjust_for_child_access(), find_parallel_type_by_descriptive_type(), print_array_type(), and to_fixed_array_type().
Definition at line 1868 of file ada-lang.c.
References ada_check_typedef(), ada_is_array_descriptor_type(), TYPE_CODE, and TYPE_CODE_ARRAY.
Referenced by ada_is_array_type(), ada_value_assign(), ada_value_equal(), aggregate_assign_from_choices(), and assign_aggregate().
Definition at line 6395 of file ada-lang.c.
References name, TYPE_CODE, TYPE_CODE_PTR, TYPE_NAME, and TYPE_TARGET_TYPE.
Referenced by ada_is_ignored_field().
Definition at line 12909 of file ada-lang.c.
References LOC_BLOCK, LOC_CONST, LOC_TYPEDEF, LOC_UNRESOLVED, SYMBOL_CLASS, SYMBOL_TYPE, and type_name_no_tag().
Referenced by ada_add_exceptions_from_frame(), and ada_is_non_standard_exception_sym().
Definition at line 11241 of file ada-lang.c.
References fixed_type_info().
Referenced by ada_evaluate_subexp(), ada_print_type(), ada_val_print_num(), ada_value_cast(), and cast_to_fixed().
Definition at line 6426 of file ada-lang.c.
References ada_is_dispatch_table_ptr_type(), ada_is_interface_tag(), ada_is_tagged_type(), name, startswith(), TYPE_FIELD_NAME, TYPE_FIELD_TYPE, and TYPE_NFIELDS.
Referenced by ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), print_field_values(), and print_selected_record_field_types().
Definition at line 6412 of file ada-lang.c.
References name, and TYPE_NAME.
Referenced by ada_is_ignored_field().
Definition at line 11535 of file ada-lang.c.
References get_base_type(), TYPE_CODE, TYPE_CODE_INT, TYPE_CODE_RANGE, and TYPE_UNSIGNED.
Referenced by ada_evaluate_subexp(), ada_print_type(), and decode_constrained_packed_array().
Definition at line 12925 of file ada-lang.c.
References ada_is_exception_sym(), and SYMBOL_LINKAGE_NAME.
Referenced by ada_add_global_exceptions().
Definition at line 6837 of file ada-lang.c.
References name, and TYPE_FIELD_NAME.
Referenced by ada_which_variant_applies().
Definition at line 2080 of file ada-lang.c.
References ada_check_typedef(), ada_type_name(), and desc_base_type().
Referenced by ada_is_constrained_packed_array_type(), and ada_is_unconstrained_packed_array_type().
Definition at line 6777 of file ada-lang.c.
References ada_check_typedef(), name, startswith(), and TYPE_FIELD_NAME.
Referenced by ada_parent_type(), and print_selected_record_field_types().
Definition at line 11524 of file ada-lang.c.
Referenced by ada_print_type().
|
static |
Definition at line 8535 of file ada-lang.c.
References ada_is_redundant_range_encoding(), check_typedef(), TYPE_FIELD_TYPE, TYPE_INDEX_TYPE, TYPE_NFIELDS, and TYPE_TARGET_TYPE.
Referenced by to_fixed_array_type().
|
static |
Definition at line 8484 of file ada-lang.c.
References ada_scan_number(), gdb_assert, get_base_type(), is_dynamic_type(), TYPE_CODE, TYPE_CODE_RANGE, TYPE_HIGH_BOUND, TYPE_LOW_BOUND, and TYPE_NAME.
Referenced by ada_is_redundant_index_type_desc().
Definition at line 1893 of file ada-lang.c.
References ada_check_typedef(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_PTR, and TYPE_TARGET_TYPE.
Referenced by ada_array_bound(), ada_array_bound_from_type(), ada_array_length(), ada_evaluate_subexp(), ada_index_type(), ada_is_string_type(), and print_array_type().
Definition at line 9112 of file ada-lang.c.
References ada_array_arity(), ada_array_element_type(), ada_check_typedef(), ada_is_array_descriptor_type(), ada_is_character_type(), ada_is_simple_array_type(), TYPE_CODE, and TYPE_CODE_PTR.
Referenced by ada_val_print_array(), ada_value_is_changeable_p(), and ada_varobj_get_value_of_array_variable().
Definition at line 11249 of file ada-lang.c.
References TYPE_NAME.
Referenced by ada_val_print_num().
Definition at line 6475 of file ada-lang.c.
References ada_check_typedef(), ada_type_name(), name, TYPE_CODE, TYPE_CODE_PTR, and TYPE_TARGET_TYPE.
Referenced by ada_tag_name(), and ada_val_print_ptr().
Definition at line 6467 of file ada-lang.c.
References ada_lookup_struct_elt_type().
Referenced by ada_coerce_ref(), ada_evaluate_subexp(), ada_is_ignored_field(), ada_to_fixed_type_1(), ada_val_print_ref(), ada_value_ind(), ada_varobj_adjust_for_child_access(), ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), and print_record_type().
Definition at line 2105 of file ada-lang.c.
References ada_is_array_descriptor_type(), and ada_is_packed_array_type().
Referenced by ada_type_of_array().
Definition at line 6809 of file ada-lang.c.
References is_dynamic_field(), TYPE_CODE, TYPE_CODE_UNION, TYPE_FIELD_TYPE, and TYPE_TARGET_TYPE.
Referenced by ada_index_struct_field_1(), ada_lookup_struct_elt_type(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), find_struct_field(), print_field_values(), print_selected_record_field_types(), and variant_field_index().
Definition at line 6793 of file ada-lang.c.
References name, startswith(), and TYPE_FIELD_NAME.
Referenced by ada_index_struct_field_1(), ada_lookup_struct_elt_type(), ada_search_struct_field(), ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), find_struct_field(), print_field_values(), and print_selected_record_field_types().
|
static |
Definition at line 5591 of file ada-lang.c.
References ada_lookup_symbol_list_worker(), and ada_symbol_info::sym.
Definition at line 1444 of file ada-lang.c.
References ada_decode().
|
static |
Definition at line 13659 of file ada-lang.c.
References ada_primitive_type_char, ada_primitive_type_double, ada_primitive_type_float, ada_primitive_type_int, ada_primitive_type_long, ada_primitive_type_long_double, ada_primitive_type_long_long, ada_primitive_type_natural, ada_primitive_type_positive, ada_primitive_type_short, ada_primitive_type_system_address, ada_primitive_type_void, arch_float_type(), arch_integer_type(), arch_type(), language_arch_info::bool_type_default, language_arch_info::bool_type_symbol, builtin_type::builtin_bool, builtin_type(), builtin_type::builtin_void, gdbarch_double_bit(), gdbarch_float_bit(), gdbarch_int_bit(), gdbarch_long_bit(), gdbarch_long_long_bit(), GDBARCH_OBSTACK_CALLOC, gdbarch_short_bit(), lookup_pointer_type(), nr_ada_primitive_types, language_arch_info::primitive_type_vector, language_arch_info::string_char_type, TARGET_CHAR_BIT, TYPE_CODE_VOID, and TYPE_NAME.
void ada_lookup_encoded_symbol | ( | const char * | name, |
const struct block * | block, | ||
domain_enum | domain, | ||
struct ada_symbol_info * | info | ||
) |
Definition at line 5640 of file ada-lang.c.
References ada_lookup_symbol_list(), fixup_symbol_section(), gdb_assert, and ada_symbol_info::sym.
Referenced by ada_lookup_symbol(), and write_object_renaming().
struct bound_minimal_symbol ada_lookup_simple_minsym | ( | const char * | name | ) |
Definition at line 4761 of file ada-lang.c.
References ALL_MSYMBOLS, match_name(), bound_minimal_symbol::minsym, mst_solib_trampoline, MSYMBOL_LINKAGE_NAME, MSYMBOL_TYPE, name, bound_minimal_symbol::objfile, should_use_wild_match(), and startswith().
Referenced by ada_add_standard_exceptions(), and write_var_or_type().
|
static |
Definition at line 7347 of file ada-lang.c.
References _, ada_check_typedef(), ada_is_variant_part(), ada_is_wrapper_field(), error(), field_name_match(), fprintf_unfiltered(), gdb_flush(), gdb_stderr, gdb_stdout, target_terminal_ours(), to_static_fixed_type(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_FIELD_BITPOS, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_NFIELDS, type_print(), and TYPE_TARGET_TYPE.
Referenced by ada_evaluate_subexp(), ada_is_tagged_type(), ada_tag_type(), ada_variant_discrim_type(), and is_unchecked_variant().
struct symbol* ada_lookup_symbol | ( | const char * | name, |
const struct block * | block0, | ||
domain_enum | domain, | ||
int * | is_a_field_of_this | ||
) |
Definition at line 5665 of file ada-lang.c.
References ada_encode(), ada_fold_name(), ada_lookup_encoded_symbol(), and ada_symbol_info::sym.
Referenced by ada_lookup_symbol_nonlocal(), and find_primitive_type().
int ada_lookup_symbol_list | ( | const char * | name0, |
const struct block * | block0, | ||
domain_enum | domain, | ||
struct ada_symbol_info ** | results | ||
) |
Definition at line 5582 of file ada-lang.c.
References ada_lookup_symbol_list_worker().
Referenced by ada_lookup_encoded_symbol(), block_lookup(), get_var_value(), resolve_subexp(), write_name_assoc(), and write_var_or_type().
|
static |
Definition at line 5480 of file ada-lang.c.
References ada_add_block_symbols(), ada_add_local_symbols(), add_defn_to_vec(), add_nonlocal_symbols(), cache_symbol(), defns_collected(), lookup_cached_symbol(), name, num_defns_collected(), remove_extra_symbols(), remove_irrelevant_renamings(), should_use_wild_match(), startswith(), and symbol_list_obstack.
Referenced by ada_iterate_over_symbols(), and ada_lookup_symbol_list().
|
static |
Definition at line 5679 of file ada-lang.c.
References ada_lookup_symbol(), block_gdbarch(), block_static_block(), language_lookup_primitive_type_as_symbol(), target_gdbarch(), and VAR_DOMAIN.
char* ada_main_name | ( | void | ) |
Definition at line 911 of file ada-lang.c.
References _, ADA_MAIN_PROGRAM_SYMBOL_NAME, BMSYMBOL_VALUE_ADDRESS, error(), lookup_minimal_symbol(), bound_minimal_symbol::minsym, target_read_string(), and xfree().
Referenced by find_main_name().
Definition at line 11547 of file ada-lang.c.
References TYPE_HIGH_BOUND.
Referenced by ada_evaluate_subexp(), ada_print_type(), and decode_constrained_packed_array().
char* ada_name_for_lookup | ( | const char * | name | ) |
Definition at line 5616 of file ada-lang.c.
References ada_encode(), ada_fold_name(), and xmalloc().
Referenced by find_linespec_symbols().
Definition at line 634 of file ada-lang.c.
References name.
Referenced by ada_print_type(), ada_varobj_describe_simple_array_child(), ada_varobj_describe_struct_child(), find_old_style_renaming_symbol(), print_field_values(), and print_range().
|
static |
Definition at line 13884 of file ada-lang.c.
References ada_clear_symbol_cache().
Referenced by _initialize_ada_language().
|
static |
Definition at line 13337 of file ada-lang.c.
References ADA_OPERATORS, and op_name_standard().
|
static |
Definition at line 13309 of file ada-lang.c.
References expression::elts, operator_check_standard(), exp_element::type, and TYPE_OBJFILE.
|
static |
Definition at line 13280 of file ada-lang.c.
References ADA_OPERATORS, expression::elts, exp_element::longconst, longest_to_int(), exp_element::opcode, and operator_length_standard().
Definition at line 6746 of file ada-lang.c.
References ada_check_typedef(), ada_get_base_type(), ada_is_parent_field(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_STRUCT, TYPE_FIELD_TYPE, TYPE_NFIELDS, and TYPE_TARGET_TYPE.
Referenced by print_record_type().
enum ada_renaming_category ada_parse_renaming | ( | struct symbol * | sym, |
const char ** | renamed_entity, | ||
int * | len, | ||
const char ** | renaming_expr | ||
) |
Definition at line 4143 of file ada-lang.c.
References ADA_EXCEPTION_RENAMING, ADA_NOT_RENAMING, ADA_OBJECT_RENAMING, ADA_PACKAGE_RENAMING, ADA_SUBPROGRAM_RENAMING, LOC_COMPUTED, LOC_LOCAL, LOC_OPTIMIZED_OUT, LOC_STATIC, LOC_TYPEDEF, parse_old_style_renaming(), SYMBOL_CLASS, SYMBOL_LINKAGE_NAME, and SYMBOL_TYPE.
Referenced by remove_irrelevant_renamings(), write_object_renaming(), and write_var_or_type().
Definition at line 7759 of file ada-lang.c.
References ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), TYPE_CODE, TYPE_CODE_VOID, TYPE_NAME, and type_name_no_tag().
Referenced by select_possible_type_sym().
|
static |
Definition at line 564 of file ada-lang.c.
References fprintf_filtered(), and LA_VALUE_PRINT.
|
static |
Definition at line 13471 of file ada-lang.c.
References ada_attribute_name(), ada_forward_operator_length(), expression::elts, fprintf_filtered(), fputs_filtered(), LA_PRINT_TYPE, exp_element::longconst, exp_element::opcode, PREC_ABOVE_COMMA, PREC_EQUAL, PREC_PREFIX, PREC_SUFFIX, print_subexp(), print_subexp_standard(), exp_element::symbol, SYMBOL_NATURAL_NAME, exp_element::type, TYPE_CODE, TYPE_CODE_VOID, type_print(), and type_print_raw_options.
|
static |
Definition at line 9415 of file ada-lang.c.
References _, allocate_value(), error(), gdb_assert, get_array_bounds(), is_integral_type(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_LENGTH, TYPE_TARGET_TYPE, value_cast(), value_contents_all(), value_contents_writeable(), value_subscript(), and value_type().
Referenced by coerce_for_assign().
|
static |
Definition at line 471 of file ada-lang.c.
References ada_free_symbol_cache(), ada_pspace_data::sym_cache, and xfree().
Referenced by _initialize_ada_language().
|
static |
Definition at line 4267 of file ada-lang.c.
References do_cleanups(), evaluate_expression(), free_current_contents(), make_cleanup(), parse_exp_1(), and SYMBOL_LINKAGE_NAME.
Referenced by ada_read_var_value().
|
static |
Definition at line 13751 of file ada-lang.c.
References ada_find_renaming_symbol(), ada_read_renaming_var_value(), default_read_var_value(), and get_frame_block().
Definition at line 1098 of file ada-lang.c.
Referenced by ada_decode(), and find_old_style_renaming_symbol().
Definition at line 1075 of file ada-lang.c.
References startswith().
Referenced by ada_decode(), ada_identical_enum_types_p(), and find_old_style_renaming_symbol().
Definition at line 1119 of file ada-lang.c.
Referenced by find_old_style_renaming_symbol().
|
static |
Referenced by resolve_subexp().
|
static |
Definition at line 3626 of file ada-lang.c.
References _, ada_args_match(), ada_check_typedef(), arm-linux::m, printf_filtered(), return_match(), SYMBOL_TYPE, and user_select_syms().
Definition at line 9387 of file ada-lang.c.
References _, error(), and get_array_bounds().
Referenced by coerce_for_assign().
Definition at line 6903 of file ada-lang.c.
Referenced by ada_in_variant(), ada_is_redundant_range_encoding(), print_choices(), print_range_bound(), and to_fixed_range_type().
|
static |
Definition at line 7124 of file ada-lang.c.
References ada_check_typedef(), ada_is_variant_part(), ada_is_wrapper_field(), ada_value_primitive_field(), field_name_match(), name, TYPE_FIELD_BITPOS, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, and TYPE_NFIELDS.
Referenced by ada_value_struct_elt(), and scan_discrim_bound().
Definition at line 6712 of file ada-lang.c.
References ada_get_tsd_from_tag(), ada_is_tag_type(), ada_tag_name_from_tsd(), CATCH, END_CATCH, name, RETURN_MASK_ERROR, TRY, and value_type().
Referenced by ada_val_print_ptr(), and type_from_tag().
|
static |
Definition at line 6688 of file ada-lang.c.
References ada_value_struct_elt(), name, read_memory_string(), and value_as_address().
Referenced by ada_tag_name().
Definition at line 6493 of file ada-lang.c.
References ada_lookup_struct_elt_type(), and value_type().
Referenced by ada_evaluate_subexp().
Definition at line 6557 of file ada-lang.c.
References ada_value_tag(), builtin_type::builtin_data_ptr, builtin_type(), CATCH, END_CATCH, is_ada95_tag(), lookup_pointer_type(), RETURN_MASK_ERROR, target_gdbarch(), TRY, TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, type_from_tag(), value_address(), value_as_long(), value_cast(), value_from_contents_and_address(), value_ind(), value_ptradd(), value_tag_from_contents_and_address(), and value_type().
Referenced by ada_coerce_ref(), ada_to_fixed_type_1(), ada_val_print_ref(), ada_value_ind(), and ada_varobj_adjust_for_child_access().
struct type* ada_template_to_fixed_record_type_1 | ( | struct type * | type, |
const gdb_byte * | valaddr, | ||
CORE_ADDR | address, | ||
struct value * | dval0, | ||
int | keep_dynamic_fields | ||
) |
Definition at line 7991 of file ada-lang.c.
References _, ada_aligned_type(), ada_check_typedef(), ada_ensure_varsize_limit(), ada_get_base_type(), ada_is_aligner_type(), ada_is_variant_part(), ada_to_fixed_type(), ada_type_name(), ada_typedef_target_type(), align_value(), alloc_type_copy(), cond_offset_host(), cond_offset_target(), error(), field_alignment(), INIT_CPLUS_SPECIFIC, is_dynamic_field(), SET_FIELD_BITPOS, TARGET_CHAR_BIT, to_fixed_variant_branch_type(), TYPE_ALLOC, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_TYPEDEF, TYPE_FIELD, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_FIXED_INSTANCE, TYPE_LENGTH, TYPE_NAME, TYPE_NFIELDS, TYPE_TAG_NAME, TYPE_TARGET_TYPE, value_free_to_mark(), value_from_contents_and_address_unresolved(), value_mark(), value_type(), varsize_limit, and warning().
Referenced by get_tcb_types_info(), and template_to_fixed_record_type().
struct type* ada_to_fixed_type | ( | struct type * | type, |
const gdb_byte * | valaddr, | ||
CORE_ADDR | address, | ||
struct value * | dval, | ||
int | check_tag | ||
) |
Definition at line 8826 of file ada-lang.c.
References ada_to_fixed_type_1(), ada_typedef_target_type(), type, TYPE_CODE, TYPE_CODE_TYPEDEF, and TYPE_MAIN_TYPE.
Referenced by ada_template_to_fixed_record_type_1(), ada_to_fixed_value_create(), ada_value_struct_elt(), printable_val_type(), to_fixed_array_type(), and unwrap_value().
|
static |
Definition at line 8714 of file ada-lang.c.
References ada_check_typedef(), ada_is_tagged_type(), ada_tag_value_at_base_address(), ada_type_name(), copy_type(), get_int_var_value(), name, size, to_fixed_array_type(), to_fixed_record_type(), to_fixed_variant_branch_type(), to_static_fixed_type(), type, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, TYPE_CODE_UNION, type_from_tag(), TYPE_LENGTH, TYPE_STUB, value_address(), value_from_contents_and_address(), value_tag_from_contents_and_address(), value_type(), and xsnprintf().
Referenced by ada_to_fixed_type().
Definition at line 8993 of file ada-lang.c.
References ada_to_fixed_value_create(), unwrap_value(), value_address(), and value_type().
Referenced by ada_coerce_ref(), ada_evaluate_subexp(), ada_get_decoded_value(), ada_value_ind(), ada_value_print(), assign_component(), and common_val_print().
|
static |
Definition at line 8977 of file ada-lang.c.
References ada_to_fixed_type(), and value_from_contents_and_address().
Referenced by ada_to_fixed_value().
Definition at line 3493 of file ada-lang.c.
References ada_check_typedef(), ada_is_array_descriptor_type(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_ENUM, TYPE_CODE_FLT, TYPE_CODE_INT, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_TARGET_TYPE.
Referenced by ada_args_match().
Definition at line 7792 of file ada-lang.c.
References TYPE_NAME, and TYPE_TAG_NAME.
Referenced by ada_evaluate_subexp(), ada_find_parallel_type(), ada_is_character_type(), ada_is_packed_array_type(), ada_is_tag_type(), ada_print_type(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type_1(), ada_variant_discrim_name(), ada_varobj_describe_simple_array_child(), constrained_packed_array_type(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), decoded_type_name(), dynamic_template_type(), equiv_types(), find_parallel_type_by_descriptive_type(), fixed_type_info(), is_nondebugging_type(), is_thin_pntr(), print_record_type(), static_unwrap_type(), template_to_static_fixed_type(), thin_descriptor_type(), to_fixed_array_type(), to_record_with_fixed_variant_part(), and unwrap_value().
Definition at line 1944 of file ada-lang.c.
References ada_array_arity(), ada_array_element_type(), ada_check_typedef(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), ada_is_unconstrained_packed_array_type(), alloc_type_copy(), create_array_type(), create_static_range_type(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), desc_bounds(), desc_data_target_type(), desc_one_bound(), longest_to_int(), lookup_pointer_type(), TYPE_FIELD_BITSIZE, TYPE_LENGTH, value_as_long(), and value_type().
Referenced by ada_coerce_to_simple_array_ptr(), and ada_evaluate_subexp().
Definition at line 510 of file ada-lang.c.
References type, TYPE_CODE, TYPE_CODE_TYPEDEF, and TYPE_TARGET_TYPE.
Referenced by ada_check_typedef(), ada_evaluate_subexp(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type(), decode_packed_array_bitsize(), and desc_base_type().
|
static |
Definition at line 11852 of file ada-lang.c.
References parse_and_eval_address().
|
static |
Definition at line 11863 of file ada-lang.c.
References exception_support_info::catch_exception_sym, current_inferior(), do_cleanups(), ada_inferior_data::exception_info, find_frame_funname(), get_ada_inferior_data(), get_current_frame(), get_prev_frame(), make_cleanup(), null_cleanup(), parse_and_eval_address(), select_frame(), and xfree().
Definition at line 522 of file ada-lang.c.
Referenced by symbol_completion_match().
Definition at line 897 of file ada-lang.c.
References language_ada, and lookup_minimal_symbol().
Referenced by ada_exception_support_info_sniffer().
Definition at line 2632 of file ada-lang.c.
References _, ada_coerce_ref(), ada_coerce_to_simple_array(), ada_is_direct_array_type(), bits, deprecated_set_value_type(), deprecated_value_modifiable(), error(), gdbarch_bits_big_endian(), get_type_arch(), HOST_CHAR_BIT, len, lval_memory, move_bits(), read_memory(), TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_FLT, TYPE_CODE_STRUCT, TYPE_LENGTH, value_address(), value_assign(), value_bitpos(), value_bitsize(), value_cast(), value_contents(), value_contents_raw(), value_copy(), VALUE_LVAL, value_type(), and write_memory_with_notification().
Referenced by ada_evaluate_subexp().
|
static |
Definition at line 9495 of file ada-lang.c.
References _, ada_check_typedef(), allocate_value(), coerce_ref(), error(), gdbarch_byte_order(), get_base_type(), get_type_arch(), op_string(), store_unsigned_integer(), TRUNCATION_TOWARDS_ZERO, TYPE_CODE, TYPE_CODE_INT, TYPE_LENGTH, TYPE_UNSIGNED, value_as_long(), value_binop(), value_contents_raw(), and value_type().
Referenced by ada_evaluate_subexp().
|
static |
Definition at line 9911 of file ada-lang.c.
References ada_check_typedef(), ada_is_fixed_point_type(), cast_from_fixed(), cast_to_fixed(), value_cast(), and value_type().
Referenced by ada_evaluate_subexp().
Definition at line 9553 of file ada-lang.c.
References _, ada_coerce_ref(), ada_coerce_to_simple_array(), ada_is_direct_array_type(), error(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_LENGTH, value_contents(), value_equal(), and value_type().
Referenced by ada_evaluate_subexp().
Definition at line 7570 of file ada-lang.c.
References ada_is_tagged_type(), ada_tag_value_at_base_address(), ada_to_fixed_value(), value_ind(), and value_type().
Referenced by ada_convert_actual(), ada_evaluate_subexp(), ada_val_print_ref(), ada_value_ptr_subscript(), ada_value_struct_elt(), ada_varobj_ind(), and coerce_for_assign().
|
static |
Definition at line 6994 of file ada-lang.c.
References ada_check_typedef(), ada_value_primitive_packed_val(), type, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_TYPE, value_contents(), and value_primitive_field().
Referenced by ada_index_struct_field_1(), and ada_search_struct_field().
struct value* ada_value_primitive_packed_val | ( | struct value * | obj, |
const gdb_byte * | valaddr, | ||
long | offset, | ||
int | bit_offset, | ||
int | bit_size, | ||
struct type * | type | ||
) |
Definition at line 2390 of file ada-lang.c.
References ada_check_typedef(), allocate_value(), gdbarch_bits_big_endian(), get_type_arch(), has_negatives(), HOST_CHAR_BIT, is_dynamic_type(), L, len, lval_memory, offset, read_memory(), set_value_bitpos(), set_value_bitsize(), set_value_component_location(), set_value_offset(), set_value_parent(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_LENGTH, value_address(), value_at(), value_bitpos(), value_contents(), value_from_contents_and_address(), value_lazy(), VALUE_LVAL, and value_type().
Referenced by ada_value_primitive_field(), ada_value_struct_elt(), decode_constrained_packed_array(), print_field_values(), val_print_packed_array_elements(), and value_subscript_packed().
|
static |
Definition at line 2759 of file ada-lang.c.
References _, ada_value_ind(), check_typedef(), error(), get_discrete_bounds(), lookup_pointer_type(), pos_atr(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_INDEX_TYPE, TYPE_TARGET_TYPE, value_cast(), value_copy(), value_enclosing_type(), value_from_longest(), value_ind(), value_ptradd(), and value_type().
Referenced by ada_evaluate_subexp().
Definition at line 2817 of file ada-lang.c.
References _, ada_check_typedef(), create_array_type(), create_static_range_type(), discrete_position(), TYPE_INDEX_TYPE, TYPE_TARGET_TYPE, value_cast(), value_slice(), value_type(), and warning().
Referenced by ada_evaluate_subexp().
|
static |
Definition at line 2788 of file ada-lang.c.
References _, ada_check_typedef(), ada_discrete_type_low_bound(), create_array_type(), create_static_range_type(), discrete_position(), TYPE_INDEX_TYPE, TYPE_LENGTH, TYPE_TARGET_TYPE, value_as_address(), value_at_lazy(), and warning().
Referenced by ada_evaluate_subexp().
Definition at line 7245 of file ada-lang.c.
References _, ada_check_typedef(), ada_coerce_ref(), ada_get_base_type(), ada_search_struct_field(), ada_to_fixed_type(), ada_value_ind(), ada_value_primitive_packed_val(), coerce_ref(), error(), find_struct_field(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_TARGET_TYPE, value_address(), value_at_lazy(), value_ind(), and value_type().
Referenced by ada_convert_actual(), ada_evaluate_subexp(), ada_get_tsd_from_tag(), ada_tag_name_from_tsd(), ada_value_tag(), ada_which_variant_applies(), is_ada95_tag(), and unwrap_value().
Definition at line 2732 of file ada-lang.c.
References _, ada_check_typedef(), ada_coerce_to_simple_array(), error(), pos_atr(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_FIELD_BITSIZE, value_subscript(), value_subscript_packed(), and value_type().
Referenced by ada_evaluate_subexp(), ada_varobj_simple_array_elt(), and assign_component().
Definition at line 6510 of file ada-lang.c.
References ada_value_struct_elt().
Referenced by ada_evaluate_subexp(), and ada_tag_value_at_base_address().
char* ada_variant_discrim_name | ( | struct type * | type0 | ) |
Definition at line 6849 of file ada-lang.c.
References ada_type_name(), GROW_VECT, name, startswith(), type, TYPE_CODE, TYPE_CODE_PTR, and TYPE_TARGET_TYPE.
Referenced by ada_variant_discrim_type(), ada_which_variant_applies(), is_unchecked_variant(), and print_variant_part().
Definition at line 6825 of file ada-lang.c.
References ada_lookup_struct_elt_type(), ada_variant_discrim_name(), and name.
Referenced by print_variant_clauses().
int ada_which_variant_applies | ( | struct type * | var_type, |
struct type * | outer_type, | ||
const gdb_byte * | outer_valaddr | ||
) |
Definition at line 7496 of file ada-lang.c.
References ada_in_variant(), ada_is_others_clause(), ada_value_struct_elt(), ada_variant_discrim_name(), TYPE_NFIELDS, value_as_long(), and value_from_contents_and_address_unresolved().
Referenced by print_variant_part(), and to_fixed_variant_branch_type().
|
static |
Definition at line 546 of file ada-lang.c.
References xfree(), and xstrprintf().
Referenced by symbol_completion_match().
|
static |
Definition at line 9872 of file ada-lang.c.
References _, error(), and size.
Referenced by aggregate_assign_from_choices(), and aggregate_assign_positional().
|
static |
Definition at line 4695 of file ada-lang.c.
References ada_symbol_info::block, defns_collected(), lesseq_defined_than(), num_defns_collected(), and ada_symbol_info::sym.
Referenced by ada_add_block_symbols(), ada_lookup_symbol_list_worker(), and aux_add_nonlocal_symbols().
|
static |
Definition at line 5421 of file ada-lang.c.
References ALL_OBJFILES, aux_add_nonlocal_symbols(), compare_names(), full_match(), quick_symbol_functions::map_matching_symbols, num_defns_collected(), match_data::objfile, match_data::obstackp, sym_fns::qf, objfile::sf, and wild_match().
Referenced by ada_lookup_symbol_list_worker().
|
static |
Definition at line 4801 of file ada-lang.c.
Referenced by ada_add_local_symbols().
Definition at line 5892 of file ada-lang.c.
References name, and startswith().
Referenced by wild_match().
|
static |
Definition at line 9762 of file ada-lang.c.
References _, ada_evaluate_subexp(), ada_is_direct_array_type(), add_component_interval(), assign_component(), expression::elts, error(), EVAL_NORMAL, EVAL_SKIP, find_struct_field(), exp_element::longconst, longest_to_int(), name, exp_element::opcode, exp_element::string, exp_element::symbol, SYMBOL_NATURAL_NAME, value_as_long(), and value_type().
Referenced by assign_aggregate().
|
static |
Definition at line 9844 of file ada-lang.c.
References ada_evaluate_subexp(), assign_component(), and EVAL_SKIP.
Referenced by assign_aggregate().
|
static |
Definition at line 9737 of file ada-lang.c.
References _, ada_evaluate_subexp(), add_component_interval(), assign_component(), expression::elts, EVAL_SKIP, exp_element::longconst, longest_to_int(), and warning().
Referenced by assign_aggregate().
Definition at line 7605 of file ada-lang.c.
Referenced by ada_template_to_fixed_record_type_1().
|
static |
Definition at line 12498 of file ada-lang.c.
References ada_catch_assert, and allocate_location_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12392 of file ada-lang.c.
References ada_catch_exception, and allocate_location_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12444 of file ada-lang.c.
References ada_catch_exception_unhandled, and allocate_location_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12107 of file ada-lang.c.
References ada_catchpoint_location::base, ada_catchpoint_location::excep_cond_expr, and init_bp_location().
Referenced by allocate_location_catch_assert(), allocate_location_catch_exception(), and allocate_location_catch_exception_unhandled().
|
static |
Definition at line 9652 of file ada-lang.c.
References _, ada_coerce_ref(), ada_coerce_to_simple_array(), ada_evaluate_subexp(), ada_is_direct_array_type(), aggregate_assign_from_choices(), aggregate_assign_others(), aggregate_assign_positional(), deprecated_value_modifiable(), expression::elts, error(), EVAL_NORMAL, exp_element::longconst, num_component_specs(), num_visible_fields(), exp_element::opcode, TYPE_ARRAY_LOWER_BOUND_VALUE, TYPE_ARRAY_UPPER_BOUND_VALUE, TYPE_CODE, TYPE_CODE_STRUCT, and value_type().
Referenced by ada_evaluate_subexp(), and assign_component().
|
static |
Definition at line 9614 of file ada-lang.c.
References ada_evaluate_subexp(), ada_index_struct_field(), ada_to_fixed_value(), ada_value_subscript(), assign_aggregate(), builtin_type::builtin_int, builtin_type(), expression::elts, EVAL_NORMAL, expression::gdbarch, exp_element::opcode, TYPE_CODE, TYPE_CODE_ARRAY, unwrap_value(), value_assign_to_component(), value_free_to_mark(), value_from_longest(), value_mark(), and value_type().
Referenced by aggregate_assign_from_choices(), aggregate_assign_others(), and aggregate_assign_positional().
|
static |
Definition at line 5301 of file ada-lang.c.
References add_defn_to_vec(), match_data::arg_sym, fixup_symbol_section(), match_data::found_sym, LOC_UNRESOLVED, match_data::objfile, match_data::obstackp, SYMBOL_CLASS, and SYMBOL_IS_ARGUMENT.
Referenced by add_nonlocal_symbols().
|
static |
Definition at line 4547 of file ada-lang.c.
References ada_get_symbol_cache(), cache_entry::block, BLOCKVECTOR_BLOCK, ada_symbol_cache::cache_space, current_program_space, cache_entry::domain, GLOBAL_BLOCK, HASH_SIZE, msymbol_hash(), cache_entry::name, cache_entry::next, ada_symbol_cache::root, STATIC_BLOCK, cache_entry::sym, SYMBOL_OBJFILE_OWNED, symbol_symtab(), and SYMTAB_BLOCKVECTOR.
Referenced by ada_lookup_symbol_list_worker(), and standard_lookup().
Definition at line 9375 of file ada-lang.c.
References ada_fixed_to_float(), value_as_long(), value_from_double(), and value_type().
Referenced by ada_evaluate_subexp(), and ada_value_cast().
Definition at line 9354 of file ada-lang.c.
References ada_fixed_to_float(), ada_float_to_fixed(), ada_is_fixed_point_type(), value_as_double(), value_as_long(), value_from_longest(), and value_type().
Referenced by ada_evaluate_subexp(), and ada_value_cast().
|
static |
Definition at line 12864 of file ada-lang.c.
References _, error(), skip_spaces(), and startswith().
Referenced by catch_assert_command().
|
static |
Definition at line 12834 of file ada-lang.c.
References catch_ada_exception_command_split(), CATCH_TEMPORARY, create_ada_exception_catchpoint(), get_cmd_context(), and get_current_arch().
Referenced by _initialize_ada_language().
|
static |
Definition at line 12584 of file ada-lang.c.
References _, ada_catch_exception, ada_catch_exception_unhandled, ada_get_next_arg(), discard_cleanups(), error(), make_cleanup(), null_cleanup(), skip_spaces(), startswith(), and xfree().
Referenced by catch_ada_exception_command().
|
static |
Definition at line 12888 of file ada-lang.c.
References ada_catch_assert, catch_ada_assert_command_split(), CATCH_TEMPORARY, create_ada_exception_catchpoint(), get_cmd_context(), and get_current_arch().
Referenced by _initialize_ada_language().
|
static |
Definition at line 12510 of file ada-lang.c.
References ada_catch_assert, and check_status_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12404 of file ada-lang.c.
References ada_catch_exception, and check_status_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12456 of file ada-lang.c.
References ada_catch_exception_unhandled, and check_status_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12181 of file ada-lang.c.
References bpstats::bp_location_at, should_stop_exception(), and bpstats::stop.
Referenced by check_status_catch_assert(), check_status_catch_exception(), and check_status_catch_exception_unhandled().
Definition at line 9453 of file ada-lang.c.
References _, ada_check_typedef(), ada_promote_array_of_integrals(), ada_same_array_size_p(), ada_value_ind(), deprecated_set_value_type(), error(), is_integral_type(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_PTR, TYPE_LENGTH, TYPE_TARGET_TYPE, and value_type().
Referenced by ada_evaluate_subexp().
Definition at line 668 of file ada-lang.c.
References ada_check_typedef(), ada_ensure_varsize_limit(), allocate_value(), allocate_value_lazy(), set_value_address(), set_value_bitpos(), set_value_bitsize(), set_value_component_location(), TYPE_LENGTH, value_address(), value_bitpos(), value_bitsize(), value_contents_copy_raw(), value_lazy(), and value_type().
Referenced by decode_constrained_packed_array(), and unwrap_value().
Definition at line 12952 of file ada-lang.c.
References ada_exc_info::addr, and ada_exc_info::name.
Referenced by sort_remove_dups_ada_exceptions_list().
Definition at line 5400 of file ada-lang.c.
References case_sensitive_off, case_sensitive_on, and compare_names_with_case().
Referenced by ada_get_symbol_name_cmp(), and add_nonlocal_symbols().
|
static |
Definition at line 5335 of file ada-lang.c.
References case_sensitive_off, is_name_suffix(), and strcmp_iw_ordered().
Referenced by compare_names().
Definition at line 698 of file ada-lang.c.
References offset.
Referenced by ada_template_to_fixed_record_type_1(), and to_record_with_fixed_variant_part().
Definition at line 707 of file ada-lang.c.
References offset.
Referenced by ada_template_to_fixed_record_type_1(), and to_record_with_fixed_variant_part().
Definition at line 2165 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), ada_type_name(), alloc_type_copy(), check_typedef(), create_array_type(), get_discrete_bounds(), HOST_CHAR_BIT, is_dynamic_type(), new_type(), to_fixed_range_type(), type, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_RANGE, TYPE_FIELD_BITSIZE, TYPE_FIELD_TYPE, TYPE_FIXED_INSTANCE, TYPE_INDEX_TYPE, TYPE_LENGTH, TYPE_NAME, and TYPE_TARGET_TYPE.
Referenced by decode_constrained_packed_array_type().
void create_ada_exception_catchpoint | ( | struct gdbarch * | gdbarch, |
enum ada_exception_catchpoint_kind | ex_kind, | ||
char * | excep_string, | ||
char * | cond_string, | ||
int | tempflag, | ||
int | disabled, | ||
int | from_tty | ||
) |
Definition at line 12807 of file ada-lang.c.
References ada_exception_sal(), ada_catchpoint::base, create_excep_cond_exprs(), ada_catchpoint::excep_string, init_ada_exception_breakpoint(), install_breakpoint(), and set_breakpoint_condition().
Referenced by catch_ada_exception_command(), catch_assert_command(), mi_cmd_catch_assert(), and mi_cmd_catch_exception().
|
static |
Definition at line 12031 of file ada-lang.c.
References _, ada_exception_catchpoint_cond_string(), bp_location::address, ada_catchpoint::base, block_for_pc(), CATCH, do_cleanups(), END_CATCH, ada_catchpoint_location::excep_cond_expr, ada_catchpoint::excep_string, breakpoint::loc, make_cleanup(), bp_location::next, breakpoint::number, parse_exp_1(), RETURN_MASK_ERROR, bp_location::shlib_disabled, TRY, warning(), and xfree().
Referenced by create_ada_exception_catchpoint(), and re_set_exception().
Definition at line 2261 of file ada-lang.c.
References _, ada_check_typedef(), ada_is_modular_type(), ada_modulus(), ada_value_primitive_packed_val(), coerce_ref(), coerce_unspec_val_to_type(), decode_constrained_packed_array_type(), error(), gdbarch_bits_big_endian(), get_type_arch(), HOST_CHAR_BIT, type, TYPE_CODE, TYPE_CODE_PTR, TYPE_LENGTH, value_ind(), and value_type().
Referenced by ada_array_bound(), ada_array_length(), ada_coerce_to_simple_array(), and ada_coerce_to_simple_array_ptr().
Definition at line 2213 of file ada-lang.c.
References _, ada_check_typedef(), ada_find_parallel_type_with_name(), ada_type_name(), bits, CHECK_TYPEDEF, constrained_packed_array_type(), decode_packed_array_bitsize(), desc_base_type(), lim_warning(), name, TYPE_CODE, and TYPE_CODE_ARRAY.
Referenced by ada_array_bound_from_type(), ada_coerce_to_simple_array_type(), ada_evaluate_subexp(), ada_type_of_array(), decode_constrained_packed_array(), and to_fixed_array_type().
|
static |
Definition at line 2115 of file ada-lang.c.
References _, ada_check_typedef(), ada_type_name(), ada_typedef_target_type(), bits, desc_base_type(), gdb_assert, lim_warning(), TYPE_CODE, and TYPE_CODE_TYPEDEF.
Referenced by ada_type_of_array(), and decode_constrained_packed_array_type().
|
static |
Definition at line 4746 of file ada-lang.c.
Referenced by ada_add_local_symbols(), ada_lookup_symbol_list_worker(), and add_defn_to_vec().
Definition at line 1854 of file ada-lang.c.
References desc_base_type(), and TYPE_NFIELDS.
Referenced by ada_array_arity(), and ada_is_array_descriptor_type().
Definition at line 1552 of file ada-lang.c.
References ada_check_typedef(), ada_typedef_target_type(), type, TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_CODE_TYPEDEF, and TYPE_TARGET_TYPE.
Referenced by ada_array_arity(), ada_array_element_type(), ada_evaluate_subexp(), ada_index_type(), ada_is_packed_array_type(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), desc_arity(), desc_bound_bitpos(), desc_bound_bitsize(), desc_bounds_type(), desc_data_target_type(), desc_index_type(), fat_pntr_bounds_bitpos(), fat_pntr_bounds_bitsize(), fat_pntr_data_bitpos(), fat_pntr_data_bitsize(), is_thick_pntr(), is_thin_pntr(), make_array_descriptor(), and thin_descriptor_type().
Definition at line 1816 of file ada-lang.c.
References desc_base_type(), and TYPE_FIELD_BITPOS.
Referenced by make_array_descriptor().
Definition at line 1826 of file ada-lang.c.
References desc_base_type(), TYPE_FIELD_BITSIZE, TYPE_FIELD_TYPE, and TYPE_LENGTH.
Referenced by make_array_descriptor().
Definition at line 1660 of file ada-lang.c.
References _, ada_check_typedef(), desc_bounds_type(), error(), is_thick_pntr(), is_thin_pntr(), lookup_pointer_type(), thin_descriptor_type(), TYPE_CODE, TYPE_CODE_PTR, TYPE_LENGTH, TYPE_STUB, TYPE_TARGET_TYPE, value_address(), value_as_long(), value_cast(), value_from_longest(), value_struct_elt(), and value_type().
Referenced by ada_array_bound(), ada_array_length(), and ada_type_of_array().
Definition at line 1630 of file ada-lang.c.
References ada_check_typedef(), desc_base_type(), is_thin_pntr(), lookup_struct_elt_type(), thin_descriptor_type(), TYPE_CODE, TYPE_CODE_STRUCT, and TYPE_TARGET_TYPE.
Referenced by ada_array_arity(), ada_index_type(), ada_is_array_descriptor_type(), desc_bounds(), and make_array_descriptor().
Definition at line 1763 of file ada-lang.c.
References _, is_thick_pntr(), is_thin_pntr(), thin_data_pntr(), value_struct_elt(), and value_type().
Referenced by ada_coerce_to_simple_array_ptr(), and ada_convert_actual().
Definition at line 1740 of file ada-lang.c.
References ada_check_typedef(), desc_base_type(), is_thick_pntr(), is_thin_pntr(), lookup_struct_elt_type(), thin_descriptor_type(), TYPE_CODE, TYPE_CODE_PTR, TYPE_FIELD_TYPE, and TYPE_TARGET_TYPE.
Referenced by ada_array_element_type(), ada_coerce_to_simple_array_type(), ada_is_array_descriptor_type(), ada_type_of_array(), and thin_data_pntr().
Definition at line 1840 of file ada-lang.c.
References bound_name, desc_base_type(), lookup_struct_elt_type(), TYPE_CODE, and TYPE_CODE_STRUCT.
Referenced by ada_index_type().
Definition at line 1805 of file ada-lang.c.
References _, bound_name, and value_struct_elt().
Referenced by ada_array_bound(), ada_array_length(), and ada_type_of_array().
Definition at line 4034 of file ada-lang.c.
References TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_ENUM, TYPE_CODE_INT, and TYPE_CODE_RANGE.
Referenced by ada_evaluate_subexp(), pos_atr(), and value_val_atr().
|
static |
Definition at line 12492 of file ada-lang.c.
References ada_catch_assert, and dtor_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12386 of file ada-lang.c.
References ada_catch_exception, and dtor_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12438 of file ada-lang.c.
References ada_catch_exception_unhandled, and dtor_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12094 of file ada-lang.c.
References bkpt_breakpoint_ops, breakpoint_ops::dtor, ada_catchpoint::excep_string, and xfree().
Referenced by dtor_catch_assert(), dtor_catch_exception(), and dtor_catch_exception_unhandled().
Definition at line 7906 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), ada_type_name(), len, type, TYPE_CODE, and TYPE_CODE_STRUCT.
Referenced by ada_evaluate_subexp(), to_fixed_record_type(), and to_static_fixed_type().
Definition at line 13715 of file ada-lang.c.
References ada_emit_char().
Definition at line 3079 of file ada-lang.c.
References ada_array_element_type(), ada_check_typedef(), allocate_value(), create_array_type(), create_static_range_type(), TYPE_INDEX_TYPE, and TYPE_TARGET_TYPE.
Referenced by ada_evaluate_subexp().
Definition at line 7959 of file ada-lang.c.
References alloc_type_copy(), INIT_CPLUS_SPECIFIC, type, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_FIELDS, TYPE_LENGTH, TYPE_NAME, TYPE_NFIELDS, and TYPE_TAG_NAME.
Referenced by to_fixed_variant_branch_type().
Definition at line 3671 of file ada-lang.c.
Referenced by sort_choices().
Definition at line 4292 of file ada-lang.c.
References ada_check_typedef(), len, lval_internalvar, lval_memory, not_lval, set_value_address(), TYPE_LENGTH, value_allocate_space_in_inferior(), value_as_long(), value_contents(), VALUE_LVAL, value_type(), and write_memory().
Referenced by ada_convert_actual(), and make_array_descriptor().
Definition at line 4637 of file ada-lang.c.
References ada_type_name(), TYPE_CODE, TYPE_CODE_ENUM, and TYPE_CODE_STRUCT.
Referenced by lesseq_defined_than().
|
static |
Definition at line 9311 of file ada-lang.c.
References EVAL_AVOID_SIDE_EFFECTS, evaluate_subexp(), and NULL_TYPE.
Referenced by resolve_subexp().
Definition at line 1715 of file ada-lang.c.
References desc_base_type(), and TYPE_FIELD_BITPOS.
Referenced by make_array_descriptor().
Definition at line 1724 of file ada-lang.c.
References ada_check_typedef(), desc_base_type(), TYPE_FIELD_BITSIZE, TYPE_FIELD_TYPE, and TYPE_LENGTH.
Referenced by make_array_descriptor().
Definition at line 1781 of file ada-lang.c.
References desc_base_type(), and TYPE_FIELD_BITPOS.
Referenced by make_array_descriptor().
Definition at line 1790 of file ada-lang.c.
References desc_base_type(), TARGET_CHAR_BIT, TYPE_FIELD_BITSIZE, TYPE_FIELD_TYPE, and TYPE_LENGTH.
Referenced by make_array_descriptor().
Definition at line 7613 of file ada-lang.c.
References len, name, startswith(), TARGET_CHAR_BIT, and TYPE_FIELD_NAME.
Referenced by ada_template_to_fixed_record_type_1().
Definition at line 592 of file ada-lang.c.
References len, and startswith().
Referenced by ada_get_field_index(), ada_lookup_struct_elt_type(), ada_search_struct_field(), and find_struct_field().
|
static |
Definition at line 4507 of file ada-lang.c.
References ada_get_symbol_cache(), current_program_space, HASH_SIZE, msymbol_hash(), cache_entry::next, and ada_symbol_cache::root.
Referenced by lookup_cached_symbol().
|
static |
Definition at line 7700 of file ada-lang.c.
References ada_find_any_type_symbol(), ada_name_prefix_len(), ada_remove_po_subprogram_suffix(), ada_remove_trailing_digits(), ada_remove_Xbn_suffix(), block_linkage_function(), SYMBOL_LINKAGE_NAME, and xsnprintf().
Referenced by ada_find_renaming_symbol().
|
static |
Definition at line 7806 of file ada-lang.c.
References _, ada_find_any_type(), ada_ignore_descriptive_types_p, ada_is_constrained_packed_array_type(), ada_type_name(), CHECK_TYPEDEF, HAVE_GNAT_AUX_INFO, TYPE_DESCRIPTIVE_TYPE, and warning().
Referenced by ada_find_parallel_type_with_name().
|
static |
Definition at line 7033 of file ada-lang.c.
References ada_check_typedef(), ada_is_variant_part(), ada_is_wrapper_field(), field_name_match(), TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, and TYPE_NFIELDS.
Referenced by ada_value_struct_elt(), aggregate_assign_from_choices(), num_visible_fields(), and value_tag_from_contents_and_address().
Definition at line 11218 of file ada-lang.c.
References ada_type_name(), code, name, TYPE_CODE, TYPE_CODE_INT, TYPE_CODE_RANGE, TYPE_CODE_UNDEF, and TYPE_TARGET_TYPE.
Referenced by ada_delta(), ada_is_fixed_point_type(), and scaling_factor().
Definition at line 5965 of file ada-lang.c.
References match_name().
Referenced by ada_add_block_symbols(), and add_nonlocal_symbols().
|
static |
Definition at line 411 of file ada-lang.c.
Referenced by ada_exception_name_addr_1(), ada_exception_support_info_sniffer(), ada_exception_sym_name(), ada_get_tsd_type(), and ada_unhandled_exception_name_addr_from_raise().
|
static |
Definition at line 454 of file ada-lang.c.
References ada_pspace_data_handle.
Referenced by ada_get_symbol_cache().
Definition at line 839 of file ada-lang.c.
References type, TYPE_CODE, TYPE_CODE_RANGE, and TYPE_TARGET_TYPE.
Referenced by ada_is_modular_type(), ada_is_redundant_range_encoding(), ada_value_binop(), and return_match().
Definition at line 11397 of file ada-lang.c.
References get_var_value(), and value_as_long().
Referenced by ada_to_fixed_type_1(), print_dynamic_range_bound(), and to_fixed_range_type().
int get_selections | ( | int * | choices, |
int | n_choices, | ||
int | max_results, | ||
int | is_all_choice, | ||
char * | annotation_suffix | ||
) |
Definition at line 3856 of file ada-lang.c.
References _, command_line_input(), error(), error_no_arg(), and skip_spaces().
Referenced by user_select_syms().
|
static |
Definition at line 11373 of file ada-lang.c.
References ada_lookup_symbol_list(), error(), get_selected_block(), ada_symbol_info::sym, value_of_variable(), and VAR_DOMAIN.
Referenced by get_int_var_value().
void* grow_vect | ( | void * | vect, |
size_t * | size, | ||
size_t | min_size, | ||
int | element_size | ||
) |
Definition at line 576 of file ada-lang.c.
References xrealloc().
Definition at line 2366 of file ada-lang.c.
References TYPE_CODE, TYPE_CODE_INT, TYPE_CODE_RANGE, TYPE_LOW_BOUND, and TYPE_UNSIGNED.
Referenced by ada_value_primitive_packed_val().
|
static |
Definition at line 13230 of file ada-lang.c.
References _, ada_exc_info::addr, do_cleanups(), get_current_arch(), make_cleanup(), ada_exc_info::name, paddress(), printf_filtered(), VEC(), VEC_cleanup, and VEC_iterate.
Referenced by _initialize_ada_language().
|
static |
Definition at line 13841 of file ada-lang.c.
References breakpoint_ops::allocate_location, allocate_location_catch_assert(), allocate_location_catch_exception(), allocate_location_catch_exception_unhandled(), bkpt_breakpoint_ops, catch_assert_breakpoint_ops, catch_exception_breakpoint_ops, catch_exception_unhandled_breakpoint_ops, breakpoint_ops::check_status, check_status_catch_assert(), check_status_catch_exception(), check_status_catch_exception_unhandled(), breakpoint_ops::dtor, dtor_catch_assert(), dtor_catch_exception(), dtor_catch_exception_unhandled(), initialize_breakpoint_ops(), breakpoint_ops::print_it, print_it_catch_assert(), print_it_catch_exception(), print_it_catch_exception_unhandled(), breakpoint_ops::print_mention, print_mention_catch_assert(), print_mention_catch_exception(), print_mention_catch_exception_unhandled(), breakpoint_ops::print_one, print_one_catch_assert(), print_one_catch_exception(), print_one_catch_exception_unhandled(), breakpoint_ops::print_recreate, print_recreate_catch_assert(), print_recreate_catch_exception(), print_recreate_catch_exception_unhandled(), breakpoint_ops::re_set, re_set_catch_assert(), re_set_catch_exception(), and re_set_catch_exception_unhandled().
Referenced by _initialize_ada_language().
Definition at line 3990 of file ada-lang.c.
References TYPE_CODE, TYPE_CODE_INT, TYPE_CODE_RANGE, and TYPE_TARGET_TYPE.
Referenced by possible_user_operator_p(), and value_val_atr().
Definition at line 6502 of file ada-lang.c.
References ada_value_struct_elt().
Referenced by ada_tag_value_at_base_address().
Definition at line 7928 of file ada-lang.c.
References name, TYPE_CODE, TYPE_CODE_PTR, TYPE_FIELD_NAME, and TYPE_FIELD_TYPE.
Referenced by ada_is_variant_part(), ada_template_to_fixed_record_type_1(), template_to_static_fixed_type(), and to_fixed_variant_branch_type().
|
static |
Definition at line 11768 of file ada-lang.c.
References symtab::filename, find_frame_funname(), find_frame_sal(), known_auxiliary_function_name_patterns, known_runtime_file_name_patterns, objfile_name(), re_comp(), symtab_and_line::symtab, SYMTAB_OBJFILE, symtab_to_fullname(), and xfree().
Referenced by ada_find_printable_frame().
Definition at line 1057 of file ada-lang.c.
Referenced by ada_decode().
Definition at line 5735 of file ada-lang.c.
References len.
Referenced by ada_add_block_symbols(), compare_names_with_case(), match_name(), and wild_match().
Definition at line 4811 of file ada-lang.c.
References ada_type_name(), and name.
Referenced by remove_extra_symbols().
|
static |
Referenced by ada_add_local_symbols(), and resolve_subexp().
|
static |
Definition at line 4620 of file ada-lang.c.
References LOC_CONST, SYMBOL_CLASS, SYMBOL_TYPE, TYPE_CODE, TYPE_CODE_ENUM, and TYPE_CODE_FUNC.
Definition at line 5048 of file ada-lang.c.
References standard_lookup(), VAR_DOMAIN, and xstrprintf().
Referenced by old_renaming_is_invisible().
Definition at line 653 of file ada-lang.c.
Referenced by is_thin_pntr(), and thin_descriptor_type().
Definition at line 1619 of file ada-lang.c.
References desc_base_type(), lookup_struct_elt_type(), TYPE_CODE, and TYPE_CODE_STRUCT.
Referenced by ada_check_typedef(), desc_bounds(), desc_data(), and desc_data_target_type().
Definition at line 1571 of file ada-lang.c.
References ada_type_name(), desc_base_type(), and is_suffix().
Referenced by desc_bounds(), desc_bounds_type(), desc_data(), and desc_data_target_type().
Definition at line 7481 of file ada-lang.c.
References ada_lookup_struct_elt_type(), and ada_variant_discrim_name().
Referenced by to_fixed_variant_branch_type().
Definition at line 4657 of file ada-lang.c.
References equiv_types(), LOC_CONST, LOC_TYPEDEF, LOC_UNDEF, startswith(), SYMBOL_CLASS, SYMBOL_DOMAIN, SYMBOL_LINKAGE_NAME, SYMBOL_TYPE, SYMBOL_VALUE, and TYPE_CODE.
Referenced by add_defn_to_vec().
|
static |
Definition at line 725 of file ada-lang.c.
References vwarning(), warning_limit, and warnings_issued.
Referenced by ada_evaluate_subexp(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), to_fixed_range_type(), and value_subscript_packed().
|
static |
Definition at line 4529 of file ada-lang.c.
References find_entry().
Referenced by ada_lookup_symbol_list_worker(), and standard_lookup().
|
static |
Definition at line 352 of file ada-lang.c.
References all_commands, gdb_stdout, and help_list().
Referenced by _initialize_ada_language().
|
static |
Definition at line 361 of file ada-lang.c.
References cmd_show_list().
Referenced by _initialize_ada_language().
Definition at line 4399 of file ada-lang.c.
References ada_array_arity(), ada_array_bound(), ada_check_typedef(), allocate_value(), desc_base_type(), desc_bound_bitpos(), desc_bound_bitsize(), desc_bounds_type(), ensure_lval(), fat_pntr_bounds_bitpos(), fat_pntr_bounds_bitsize(), fat_pntr_data_bitpos(), fat_pntr_data_bitsize(), modify_field(), TYPE_CODE, TYPE_CODE_PTR, TYPE_FIELD_TYPE, value_addr(), value_contents_writeable(), value_pointer(), and value_type().
Referenced by ada_convert_actual().
Definition at line 1457 of file ada-lang.c.
References is_name_suffix(), startswith(), and wild_match().
Referenced by ada_lookup_simple_minsym(), and full_match().
Definition at line 750 of file ada-lang.c.
Referenced by max_of_type(), and min_of_size().
Definition at line 775 of file ada-lang.c.
References max_of_size(), TYPE_LENGTH, TYPE_UNSIGNED, and umax_of_size().
Referenced by ada_discrete_type_high_bound().
Definition at line 785 of file ada-lang.c.
References min_of_size(), TYPE_LENGTH, and TYPE_UNSIGNED.
Referenced by ada_discrete_type_low_bound().
|
static |
Definition at line 2564 of file ada-lang.c.
References HOST_CHAR_BIT.
Referenced by ada_value_assign(), and value_assign_to_component().
|
static |
Definition at line 9584 of file ada-lang.c.
References ada_evaluate_subexp(), expression::elts, EVAL_SKIP, exp_element::longconst, arm-linux::m, and exp_element::opcode.
Referenced by assign_aggregate().
|
static |
Definition at line 4736 of file ada-lang.c.
Referenced by ada_add_local_symbols(), ada_lookup_symbol_list_worker(), add_defn_to_vec(), and add_nonlocal_symbols().
Definition at line 7108 of file ada-lang.c.
References find_struct_field().
Referenced by assign_aggregate().
Definition at line 3967 of file ada-lang.c.
References TYPE_CODE, TYPE_CODE_FLT, TYPE_CODE_INT, TYPE_CODE_RANGE, and TYPE_TARGET_TYPE.
Referenced by possible_user_operator_p().
|
static |
Definition at line 5080 of file ada-lang.c.
References do_cleanups(), is_package_name(), LOC_TYPEDEF, make_cleanup(), startswith(), SYMBOL_CLASS, SYMBOL_TYPE, xfree(), and xget_renaming_scope().
Referenced by remove_irrelevant_renamings().
|
static |
Definition at line 13721 of file ada-lang.c.
References ada_parse(), and warnings_issued.
Referenced by mi_cmd_execute(), and mi_parse().
|
static |
Definition at line 4208 of file ada-lang.c.
References ADA_EXCEPTION_RENAMING, ADA_NOT_RENAMING, ADA_OBJECT_RENAMING, ADA_PACKAGE_RENAMING, ADA_SUBPROGRAM_RENAMING, name, TYPE_CODE, TYPE_CODE_ENUM, TYPE_FIELD_NAME, type_name_no_tag(), and TYPE_NFIELDS.
Referenced by ada_parse_renaming().
Definition at line 9037 of file ada-lang.c.
References _, coerce_ref(), discrete_position(), discrete_type_p(), error(), value_as_long(), and value_type().
Referenced by ada_array_length(), ada_value_ptr_subscript(), ada_value_subscript(), value_pos_atr(), and value_subscript_packed().
Referenced by resolve_subexp().
|
static |
Definition at line 4058 of file ada-lang.c.
References ada_check_typedef(), ada_is_array_type(), integer_type_p(), numeric_type_p(), scalar_type_p(), and value_type().
|
static |
Definition at line 12516 of file ada-lang.c.
References ada_catch_assert, and print_it_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12410 of file ada-lang.c.
References ada_catch_exception, and print_it_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12462 of file ada-lang.c.
References ada_catch_exception_unhandled, and print_it_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12190 of file ada-lang.c.
References ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_exception_name_addr(), ada_find_printable_frame(), annotate_catchpoint(), async_reason_lookup(), bpdisp_text(), bpstats::breakpoint_at, current_uiout, disp_del, breakpoint::disposition, EXEC_ASYNC_BREAKPOINT_HIT, get_current_frame(), breakpoint::number, PRINT_SRC_AND_LOC, read_memory(), ui_out_field_int(), ui_out_field_string(), ui_out_is_mi_like_p(), and ui_out_text().
Referenced by print_it_catch_assert(), print_it_catch_exception(), and print_it_catch_exception_unhandled().
|
static |
Definition at line 12528 of file ada-lang.c.
References ada_catch_assert, and print_mention_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12422 of file ada-lang.c.
References ada_catch_exception, and print_mention_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12475 of file ada-lang.c.
References ada_catch_exception_unhandled, and print_mention_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12312 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, current_uiout, disp_del, breakpoint::disposition, do_cleanups(), ada_catchpoint::excep_string, internal_error(), make_cleanup(), breakpoint::number, ui_out_field_int(), ui_out_text(), xfree(), and xstrprintf().
Referenced by print_mention_catch_assert(), print_mention_catch_exception(), and print_mention_catch_exception_unhandled().
|
static |
Definition at line 12522 of file ada-lang.c.
References ada_catch_assert, and print_one_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12416 of file ada-lang.c.
References ada_catch_exception, and print_one_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12468 of file ada-lang.c.
References ada_catch_exception_unhandled, and print_one_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12263 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, bp_location::address, value_print_options::addressprint, annotate_field(), current_uiout, ada_catchpoint::excep_string, bp_location::gdbarch, get_user_print_options(), internal_error(), breakpoint::loc, ui_out_field_core_addr(), ui_out_field_string(), xfree(), and xstrprintf().
Referenced by print_one_catch_assert(), print_one_catch_exception(), and print_one_catch_exception_unhandled().
|
static |
Definition at line 12534 of file ada-lang.c.
References ada_catch_assert, and print_recreate_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12428 of file ada-lang.c.
References ada_catch_exception, and print_recreate_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12481 of file ada-lang.c.
References ada_catch_exception_unhandled, and print_recreate_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12356 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_catchpoint::excep_string, fprintf_filtered(), internal_error(), and print_recreate_thread().
Referenced by print_recreate_catch_assert(), print_recreate_catch_exception(), and print_recreate_catch_exception_unhandled().
|
static |
Definition at line 12504 of file ada-lang.c.
References ada_catch_assert, and re_set_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12398 of file ada-lang.c.
References ada_catch_exception, and re_set_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12450 of file ada-lang.c.
References ada_catch_exception_unhandled, and re_set_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12122 of file ada-lang.c.
References bkpt_breakpoint_ops, create_excep_cond_exprs(), and breakpoint_ops::re_set.
Referenced by re_set_catch_assert(), re_set_catch_exception(), and re_set_catch_exception_unhandled().
|
static |
Definition at line 4928 of file ada-lang.c.
References is_nondebugging_type(), LOC_STATIC, SYMBOL_CLASS, SYMBOL_LINKAGE_NAME, SYMBOL_TYPE, SYMBOL_VALUE_ADDRESS, symbols_are_identical_enums(), and TYPE_STUB.
Referenced by ada_lookup_symbol_list_worker().
|
static |
Definition at line 5154 of file ada-lang.c.
References ADA_OBJECT_RENAMING, ada_parse_renaming(), ada_symbol_info::block, block_linkage_function(), LOC_TYPEDEF, name, old_renaming_is_invisible(), ada_symbol_info::sym, SYMBOL_CLASS, and SYMBOL_LINKAGE_NAME.
Referenced by ada_lookup_symbol_list_worker().
|
static |
Definition at line 3932 of file ada-lang.c.
References exp_element::block, expression::elts, EXP_ELEM_TO_BYTES, expression::gdbarch, expression::language_defn, exp_element::longconst, expression::nelts, exp_element::opcode, exp_element::symbol, xfree(), and xzalloc().
Referenced by resolve_subexp().
|
static |
Definition at line 3120 of file ada-lang.c.
References builtin_type(), builtin_type::builtin_void, and resolve_subexp().
|
static |
Definition at line 3141 of file ada-lang.c.
References _, ada_decoded_op_name(), ada_encode(), ada_forward_operator_length(), ada_lookup_symbol_list(), ada_resolve_function(), exp_element::block, ada_symbol_info::block, BYTES_TO_EXP_ELEM, check_typedef(), contained_in(), expression::elts, error(), evaluate_subexp_type(), innermost_block, is_nonfunction(), LOC_ARG, LOC_COMPUTED, LOC_LOCAL, LOC_REF_ARG, LOC_REGISTER, LOC_REGPARM_ADDR, LOC_TYPEDEF, exp_element::longconst, longest_to_int(), exp_element::opcode, possible_user_operator_p(), printf_filtered(), replace_operator_with_call(), ada_symbol_info::sym, exp_element::symbol, SYMBOL_CLASS, SYMBOL_DOMAIN, SYMBOL_LINKAGE_NAME, SYMBOL_PRINT_NAME, SYMBOL_TYPE, exp_element::type, TYPE_CODE, TYPE_CODE_FUNC, UNDEF_DOMAIN, user_select_syms(), value_type(), and VAR_DOMAIN.
Referenced by resolve().
Definition at line 3588 of file ada-lang.c.
References get_base_type(), TYPE_CODE, TYPE_CODE_ENUM, TYPE_CODE_FUNC, TYPE_CODE_VOID, and TYPE_TARGET_TYPE.
Referenced by ada_resolve_function().
Definition at line 4012 of file ada-lang.c.
References TYPE_CODE, TYPE_CODE_ENUM, TYPE_CODE_FLT, TYPE_CODE_INT, and TYPE_CODE_RANGE.
Referenced by possible_user_operator_p().
Definition at line 11279 of file ada-lang.c.
References DOUBLEST_SCAN_FORMAT, encoding, and fixed_type_info().
Referenced by ada_fixed_to_float(), and ada_float_to_fixed().
|
static |
Definition at line 11331 of file ada-lang.c.
References ada_search_struct_field(), GROW_VECT, value_as_long(), and value_type().
Referenced by to_fixed_range_type().
|
static |
Definition at line 13825 of file ada-lang.c.
References _, all_commands, gdb_stdout, help_list(), and printf_unfiltered().
Referenced by _initialize_ada_language().
|
static |
Definition at line 12140 of file ada-lang.c.
References _, CATCH, END_CATCH, evaluate_expression(), ada_catchpoint::excep_string, exception_fprintf(), gdb_stderr, bp_location::owner, RETURN_MASK_ALL, TRY, value_free_to_mark(), value_mark(), and value_true().
Referenced by check_status_exception().
Definition at line 4593 of file ada-lang.c.
Referenced by ada_get_symbol_name_cmp(), ada_lookup_simple_minsym(), and ada_lookup_symbol_list_worker().
|
static |
Definition at line 13835 of file ada-lang.c.
References cmd_show_list().
Referenced by _initialize_ada_language().
|
static |
Definition at line 3707 of file ada-lang.c.
References encoded_ordered_before(), ada_symbol_info::sym, and SYMBOL_LINKAGE_NAME.
Referenced by user_select_syms().
|
static |
Definition at line 12976 of file ada-lang.c.
References compare_ada_exception_info(), qsort, VEC_address, VEC_length, and VEC_truncate.
Referenced by VEC().
|
static |
Definition at line 4602 of file ada-lang.c.
References block_found, cache_symbol(), language_c, lookup_cached_symbol(), and lookup_symbol_in_language().
Referenced by ada_exception_sal(), ada_find_any_type_symbol(), ada_has_this_exception_support(), and is_package_name().
Definition at line 8896 of file ada-lang.c.
References ada_check_typedef(), ada_get_base_type(), ada_is_aligner_type(), ada_type_name(), to_static_fixed_type(), type, TYPE_FIELD_TYPE, and TYPE_NAME.
Referenced by ada_evaluate_subexp(), and template_to_static_fixed_type().
|
static |
Definition at line 6201 of file ada-lang.c.
References symbol_completion_match(), VEC_safe_push, word, and xmalloc().
Referenced by VEC().
|
static |
Definition at line 6110 of file ada-lang.c.
References ada_decode(), ada_unqualified_name(), and add_angle_brackets().
Referenced by ada_complete_symbol_matcher(), and symbol_completion_add().
|
static |
Definition at line 4882 of file ada-lang.c.
References ada_identical_enum_types_p(), SYMBOL_TYPE, SYMBOL_VALUE, TYPE_CODE, TYPE_CODE_ENUM, and TYPE_NFIELDS.
Referenced by remove_extra_symbols().
|
static |
Definition at line 8238 of file ada-lang.c.
References ada_template_to_fixed_record_type_1().
Referenced by to_fixed_record_type().
Definition at line 8255 of file ada-lang.c.
References ada_check_typedef(), ada_type_name(), alloc_type_copy(), INIT_CPLUS_SPECIFIC, is_dynamic_field(), new_type(), static_unwrap_type(), to_static_fixed_type(), type, TYPE_ALLOC, TYPE_CODE, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_FIXED_INSTANCE, TYPE_LENGTH, TYPE_NAME, TYPE_NFIELDS, TYPE_TAG_NAME, and TYPE_TARGET_TYPE.
Referenced by to_static_fixed_type().
Definition at line 1603 of file ada-lang.c.
References ada_check_typedef(), desc_data_target_type(), lookup_pointer_type(), thin_descriptor_type(), TYPE_CODE, TYPE_CODE_PTR, value_address(), value_cast(), value_copy(), value_from_longest(), and value_type().
Referenced by desc_data().
Definition at line 1581 of file ada-lang.c.
References ada_find_parallel_type(), ada_type_name(), desc_base_type(), and is_suffix().
Referenced by desc_bounds(), desc_bounds_type(), desc_data_target_type(), and thin_data_pntr().
|
static |
Definition at line 8561 of file ada-lang.c.
References _, ada_check_typedef(), ada_find_parallel_type(), ada_find_parallel_type_with_name(), ada_fixup_array_indexes_type(), ada_is_constrained_packed_array_type(), ada_is_redundant_index_type_desc(), ada_to_fixed_type(), ada_type_name(), alloc_type_copy(), create_array_type(), decode_constrained_packed_array_type(), error(), HOST_CHAR_BIT, len, name, to_fixed_range_type(), TYPE_FIELD_BITSIZE, TYPE_FIELD_TYPE, TYPE_FIXED_INSTANCE, TYPE_INDEX_TYPE, TYPE_LENGTH, TYPE_NAME, TYPE_NFIELDS, TYPE_TARGET_TYPE, and varsize_limit.
Referenced by ada_evaluate_subexp(), and ada_to_fixed_type_1().
Definition at line 11426 of file ada-lang.c.
References _, ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_scan_number(), alloc_type_copy(), create_static_range_type(), gdb_assert, get_int_var_value(), GROW_VECT, INT_MAX, L, lim_warning(), name, scan_discrim_bound(), type, TYPE_CODE, TYPE_CODE_RANGE, TYPE_NAME, and TYPE_TARGET_TYPE.
Referenced by ada_array_bound_from_type(), ada_evaluate_subexp(), constrained_packed_array_type(), and to_fixed_array_type().
|
static |
Definition at line 8406 of file ada-lang.c.
References dynamic_template_type(), template_to_fixed_record_type(), to_record_with_fixed_variant_part(), TYPE_FIXED_INSTANCE, and variant_field_index().
Referenced by ada_to_fixed_type_1(), and to_fixed_variant_branch_type().
|
static |
Definition at line 8442 of file ada-lang.c.
References ada_find_parallel_type(), ada_which_variant_applies(), empty_record(), is_dynamic_field(), is_unchecked_variant(), to_fixed_record_type(), TYPE_CODE, TYPE_CODE_PTR, TYPE_FIELD_TYPE, TYPE_TARGET_TYPE, value_contents(), value_type(), and variant_field_index().
Referenced by ada_template_to_fixed_record_type_1(), ada_to_fixed_type_1(), and to_record_with_fixed_variant_part().
|
static |
Definition at line 8324 of file ada-lang.c.
References ada_type_name(), alloc_type_copy(), cond_offset_host(), cond_offset_target(), INIT_CPLUS_SPECIFIC, TARGET_CHAR_BIT, to_fixed_variant_branch_type(), type, TYPE_ALLOC, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_FIXED_INSTANCE, TYPE_LENGTH, TYPE_NAME, TYPE_NFIELDS, TYPE_TAG_NAME, value_free_to_mark(), value_from_contents_and_address(), value_mark(), value_type(), and variant_field_index().
Referenced by to_fixed_record_type().
Definition at line 8862 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), dynamic_template_type(), template_to_static_fixed_type(), type, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_FIXED_INSTANCE.
Referenced by ada_evaluate_subexp(), ada_get_decoded_type(), ada_lookup_struct_elt_type(), ada_to_fixed_type_1(), static_unwrap_type(), and template_to_static_fixed_type().
Definition at line 6541 of file ada-lang.c.
References ada_encode(), ada_find_any_type(), and ada_tag_name().
Referenced by ada_evaluate_subexp(), ada_tag_value_at_base_address(), and ada_to_fixed_type_1().
Definition at line 766 of file ada-lang.c.
Referenced by max_of_type().
Definition at line 9320 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), ada_get_base_type(), ada_is_aligner_type(), ada_to_fixed_type(), ada_type_name(), ada_value_struct_elt(), coerce_unspec_val_to_type(), TYPE_NAME, value_address(), and value_type().
Referenced by ada_evaluate_subexp(), ada_to_fixed_value(), and assign_component().
int user_select_syms | ( | struct ada_symbol_info * | syms, |
int | nsyms, | ||
int | max_results | ||
) |
Definition at line 3736 of file ada-lang.c.
References _, ada_print_type(), error(), find_function_start_sal(), gdb_stdout, get_selections(), symtab_and_line::line, LOC_BLOCK, LOC_CONST, multiple_symbols_all, multiple_symbols_cancel, multiple_symbols_select_mode(), printf_unfiltered(), sort_choices(), ada_symbol_info::sym, SYMBOL_CLASS, SYMBOL_LINE, SYMBOL_OBJFILE_OWNED, SYMBOL_PRINT_NAME, symbol_symtab(), SYMBOL_TYPE, symtab_and_line::symtab, symtab_to_filename_for_display(), TYPE_CODE, TYPE_CODE_ENUM, TYPE_NAME, and type_print_raw_options.
Referenced by ada_resolve_function(), and resolve_subexp().
|
static |
Definition at line 2699 of file ada-lang.c.
References bits, gdbarch_bits_big_endian(), get_type_arch(), move_bits(), TARGET_CHAR_BIT, TYPE_LENGTH, value_address(), value_bitpos(), value_bitsize(), value_cast(), value_contents(), value_contents_writeable(), and value_type().
Referenced by ada_convert_actual(), and assign_component().
Definition at line 4378 of file ada-lang.c.
References extract_unsigned_integer(), gdbarch_address_to_pointer(), gdbarch_byte_order(), get_type_arch(), len, TYPE_LENGTH, and value_address().
Referenced by make_array_descriptor().
Definition at line 9053 of file ada-lang.c.
References pos_atr(), and value_from_longest().
Referenced by ada_evaluate_subexp().
|
static |
Definition at line 2316 of file ada-lang.c.
References _, ada_check_typedef(), ada_value_primitive_packed_val(), bits, error(), get_discrete_bounds(), HOST_CHAR_BIT, lim_warning(), pos_atr(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_FIELD_BITSIZE, TYPE_INDEX_TYPE, TYPE_TARGET_TYPE, and value_type().
Referenced by ada_value_subscript().
|
static |
Definition at line 6520 of file ada-lang.c.
References find_struct_field(), and value_from_contents_and_address().
Referenced by ada_tag_value_at_base_address(), and ada_to_fixed_type_1().
Definition at line 9061 of file ada-lang.c.
References _, discrete_type_p(), error(), integer_type_p(), TYPE_CODE, TYPE_CODE_ENUM, TYPE_FIELD_ENUMVAL, TYPE_NFIELDS, value_as_long(), value_from_longest(), and value_type().
Referenced by ada_evaluate_subexp().
Definition at line 7941 of file ada-lang.c.
References ada_is_variant_part(), TYPE_CODE, TYPE_CODE_STRUCT, and TYPE_NFIELDS.
Referenced by to_fixed_record_type(), to_fixed_variant_branch_type(), and to_record_with_fixed_variant_part().
|
static |
Definition at line 6267 of file ada-lang.c.
References ada_complete_symbol_matcher(), ada_encode(), ALL_BLOCK_SYMBOLS, ALL_COMPUNITS, ALL_DOMAIN, ALL_MSYMBOLS, BLOCK_SUPERBLOCK, BLOCKVECTOR_BLOCK, COMPUNIT_BLOCKVECTOR, do_cleanups(), expand_symtabs_matching(), gdb_assert, get_selected_block(), GLOBAL_BLOCK, make_cleanup(), MSYMBOL_LINKAGE_NAME, null_cleanup(), QUIT, STATIC_BLOCK, symbol_completion_add(), SYMBOL_LINKAGE_NAME, TYPE_CODE_UNDEF, VEC_alloc, word, and xfree().
Referenced by info_exceptions_command(), and VEC().
|
static |
Definition at line 13158 of file ada-lang.c.
References ada_add_exceptions_from_frame(), ada_add_global_exceptions(), ada_add_standard_exceptions(), discard_cleanups(), get_selected_frame(), has_stack_frames(), make_cleanup(), sort_remove_dups_ada_exceptions_list(), VEC(), VEC_cleanup, and VEC_length.
Definition at line 5936 of file ada-lang.c.
References advance_wild_match(), is_name_suffix(), is_valid_name_for_wild_match(), and name.
Referenced by ada_add_block_symbols(), ada_get_symbol_name_cmp(), add_nonlocal_symbols(), and match_name().
|
static |
Definition at line 5014 of file ada-lang.c.
References name, type_name_no_tag(), and xmalloc().
Referenced by old_renaming_is_invisible().
initialize_file_ftype _initialize_ada_language |
|
static |
Definition at line 12009 of file ada-lang.c.
|
static |
Definition at line 315 of file ada-lang.c.
Referenced by ada_get_gdb_completer_word_break_characters().
|
static |
Definition at line 13727 of file ada-lang.c.
|
static |
Definition at line 368 of file ada-lang.c.
Referenced by _initialize_ada_language(), and find_parallel_type_by_descriptive_type().
|
static |
Definition at line 389 of file ada-lang.c.
const struct language_defn ada_language_defn |
Definition at line 13770 of file ada-lang.c.
|
static |
Definition at line 324 of file ada-lang.c.
Referenced by ada_main_name().
Definition at line 13607 of file ada-lang.c.
const struct ada_opname_map ada_opname_table[] |
Definition at line 950 of file ada-lang.c.
Referenced by is_ada_operator().
|
static |
Definition at line 446 of file ada-lang.c.
Referenced by _initialize_ada_language(), and get_ada_pspace_data().
|
static |
Definition at line 9008 of file ada-lang.c.
|
static |
Definition at line 1535 of file ada-lang.c.
Referenced by desc_index_type(), and desc_one_bound().
|
static |
Definition at line 12539 of file ada-lang.c.
Referenced by ada_exception_breakpoint_ops(), and initialize_ada_catchpoint_ops().
|
static |
Definition at line 12433 of file ada-lang.c.
Referenced by ada_exception_breakpoint_ops(), and initialize_ada_catchpoint_ops().
|
static |
Definition at line 12487 of file ada-lang.c.
Referenced by ada_exception_breakpoint_ops(), and initialize_ada_catchpoint_ops().
|
static |
Definition at line 1396 of file ada-lang.c.
Referenced by _initialize_ada_language(), and ada_decode_symbol().
|
static |
Definition at line 11633 of file ada-lang.c.
Referenced by ada_exception_support_info_sniffer().
|
static |
Definition at line 11645 of file ada-lang.c.
Referenced by ada_exception_support_info_sniffer().
|
static |
Definition at line 337 of file ada-lang.c.
Referenced by is_known_support_routine().
|
static |
Definition at line 333 of file ada-lang.c.
Referenced by is_known_support_routine().
|
static |
Definition at line 346 of file ada-lang.c.
|
static |
Definition at line 347 of file ada-lang.c.
|
static |
Definition at line 13819 of file ada-lang.c.
|
static |
Definition at line 13820 of file ada-lang.c.
|
static |
Definition at line 11593 of file ada-lang.c.
Referenced by ada_exception_catchpoint_cond_string().
|
static |
Definition at line 342 of file ada-lang.c.
Referenced by _initialize_ada_language(), and ada_lookup_symbol_list_worker().
|
static |
Definition at line 9138 of file ada-lang.c.
|
static |
Definition at line 311 of file ada-lang.c.
Referenced by _initialize_ada_language(), ada_ensure_varsize_limit(), ada_template_to_fixed_record_type_1(), and to_fixed_array_type().
|
static |
Definition at line 327 of file ada-lang.c.
Referenced by lim_warning().
|
static |
Definition at line 331 of file ada-lang.c.
Referenced by lim_warning(), and parse().