|
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 "namespace.h"#include "psymtab.h"#include "value.h"#include "mi/mi-common.h"#include "arch-utils.h"#include "cli/cli-utils.h"#include "common/function-view.h"#include "common/byte-vector.h"#include <algorithm>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 | exception_support_info |
| class | 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) |
Functions | |
| static struct type * | desc_base_type (struct type *) |
| static struct type * | desc_bounds_type (struct type *) |
| static struct value * | desc_bounds (struct value *) |
| static int | fat_pntr_bounds_bitpos (struct type *) |
| static int | fat_pntr_bounds_bitsize (struct type *) |
| static struct type * | desc_data_target_type (struct type *) |
| static struct value * | desc_data (struct value *) |
| static int | fat_pntr_data_bitpos (struct type *) |
| static int | fat_pntr_data_bitsize (struct type *) |
| static struct value * | desc_one_bound (struct value *, int, int) |
| static int | desc_bound_bitpos (struct type *, int, int) |
| static int | desc_bound_bitsize (struct type *, int, int) |
| static struct type * | desc_index_type (struct type *, int) |
| static int | desc_arity (struct type *) |
| static int | ada_type_match (struct type *, struct type *, int) |
| static int | ada_args_match (struct symbol *, struct value **, int) |
| static struct value * | make_array_descriptor (struct type *, struct value *) |
| static void | ada_add_block_symbols (struct obstack *, const struct block *, const lookup_name_info &lookup_name, domain_enum, struct objfile *) |
| static void | ada_add_all_symbols (struct obstack *, const struct block *, const lookup_name_info &lookup_name, domain_enum, int, int *) |
| static int | is_nonfunction (struct block_symbol *, int) |
| static void | add_defn_to_vec (struct obstack *, struct symbol *, const struct block *) |
| static int | num_defns_collected (struct obstack *) |
| static struct block_symbol * | defns_collected (struct obstack *, int) |
| static struct value * | resolve_subexp (expression_up *, int *, int, struct type *) |
| static void | replace_operator_with_call (expression_up *, int, int, int, struct symbol *, const struct block *) |
| static int | possible_user_operator_p (enum exp_opcode, struct value **) |
| static const char * | ada_op_name (enum exp_opcode) |
| static const char * | ada_decoded_op_name (enum exp_opcode) |
| static int | numeric_type_p (struct type *) |
| static int | integer_type_p (struct type *) |
| static int | scalar_type_p (struct type *) |
| static int | discrete_type_p (struct type *) |
| static enum ada_renaming_category | parse_old_style_renaming (struct type *, const char **, int *, const char **) |
| static struct symbol * | find_old_style_renaming_symbol (const char *, const struct block *) |
| static struct type * | ada_lookup_struct_elt_type (struct type *, const char *, int, int) |
| static struct value * | evaluate_subexp_type (struct expression *, int *) |
| static struct type * | ada_find_parallel_type_with_name (struct type *, const char *) |
| static int | is_dynamic_field (struct type *, int) |
| static struct type * | to_fixed_variant_branch_type (struct type *, const gdb_byte *, CORE_ADDR, struct value *) |
| static struct type * | to_fixed_array_type (struct type *, struct value *, int) |
| static struct type * | to_fixed_range_type (struct type *, struct value *) |
| static struct type * | to_static_fixed_type (struct type *) |
| static struct type * | static_unwrap_type (struct type *type) |
| static struct value * | unwrap_value (struct value *) |
| static struct type * | constrained_packed_array_type (struct type *, long *) |
| static struct type * | decode_constrained_packed_array_type (struct type *) |
| static long | decode_packed_array_bitsize (struct type *) |
| static struct value * | decode_constrained_packed_array (struct value *) |
| static int | ada_is_packed_array_type (struct type *) |
| static int | ada_is_unconstrained_packed_array_type (struct type *) |
| static struct value * | value_subscript_packed (struct value *, int, struct value **) |
| static void | move_bits (gdb_byte *, int, const gdb_byte *, int, int, int) |
| static struct value * | coerce_unspec_val_to_type (struct value *, struct type *) |
| static int | lesseq_defined_than (struct symbol *, struct symbol *) |
| static int | equiv_types (struct type *, struct type *) |
| static int | is_name_suffix (const char *) |
| static int | advance_wild_match (const char **, const char *, int) |
| static bool | wild_match (const char *name, const char *patn) |
| static struct value * | ada_coerce_ref (struct value *) |
| static LONGEST | pos_atr (struct value *) |
| static struct value * | value_pos_atr (struct type *, struct value *) |
| static struct value * | value_val_atr (struct type *, struct value *) |
| static struct symbol * | standard_lookup (const char *, const struct block *, domain_enum) |
| static struct value * | ada_search_struct_field (const char *, struct value *, int, struct type *) |
| static struct value * | ada_value_primitive_field (struct value *, int, int, struct type *) |
| static int | find_struct_field (const char *, struct type *, int, struct type **, int *, int *, int *, int *) |
| static struct value * | ada_to_fixed_value_create (struct type *, CORE_ADDR, struct value *) |
| static int | ada_resolve_function (struct block_symbol *, int, struct value **, int, const char *, struct type *) |
| static int | ada_is_direct_array_type (struct type *) |
| static void | ada_language_arch_info (struct gdbarch *, struct language_arch_info *) |
| static struct value * | ada_index_struct_field (int, struct value *, int, struct type *) |
| static struct value * | assign_aggregate (struct value *, struct value *, struct expression *, int *, enum noside) |
| static void | aggregate_assign_from_choices (struct value *, struct value *, struct expression *, int *, LONGEST *, int *, int, LONGEST, LONGEST) |
| static void | aggregate_assign_positional (struct value *, struct value *, struct expression *, int *, LONGEST *, int *, int, LONGEST, LONGEST) |
| static void | aggregate_assign_others (struct value *, struct value *, struct expression *, int *, LONGEST *, int, LONGEST, LONGEST) |
| static void | add_component_interval (LONGEST, LONGEST, LONGEST *, int *, int) |
| static struct value * | ada_evaluate_subexp (struct type *, struct expression *, int *, enum noside) |
| static void | ada_forward_operator_length (struct expression *, int, int *, int *) |
| static struct type * | ada_find_any_type (const char *name) |
| static symbol_name_matcher_ftype * | ada_get_symbol_name_matcher (const lookup_name_info &lookup_name) |
| static void | ada_free_symbol_cache (struct ada_symbol_cache *sym_cache) |
| static void | maint_set_ada_cmd (const char *args, int from_tty) |
| static void | maint_show_ada_cmd (const char *args, int from_tty) |
| static void | ada_inferior_data_cleanup (struct inferior *inf, void *arg) |
| static struct ada_inferior_data * | get_ada_inferior_data (struct inferior *inf) |
| static void | ada_inferior_exit (struct inferior *inf) |
| static struct ada_pspace_data * | get_ada_pspace_data (struct program_space *pspace) |
| static void | ada_pspace_data_cleanup (struct program_space *pspace, void *data) |
| static struct type * | ada_typedef_target_type (struct type *type) |
| static const char * | ada_unqualified_name (const char *decoded_name) |
| static char * | add_angle_brackets (const char *str) |
| static const char * | ada_get_gdb_completer_word_break_characters (void) |
| static void | ada_print_array_index (struct value *index_value, struct ui_file *stream, const struct value_print_options *options) |
| void * | grow_vect (void *vect, size_t *size, size_t min_size, int element_size) |
| static int | field_name_match (const char *field_name, const char *target) |
| int | ada_get_field_index (const struct type *type, const char *field_name, int maybe_missing) |
| int | ada_name_prefix_len (const char *name) |
| static int | is_suffix (const char *str, const char *suffix) |
| static const gdb_byte * | cond_offset_host (const gdb_byte *valaddr, long offset) |
| static CORE_ADDR | cond_offset_target (CORE_ADDR address, long offset) |
| static void | lim_warning (const char *format,...) ATTRIBUTE_PRINTF(1 |
| void | ada_ensure_varsize_limit (const struct type *type) |
| static LONGEST | max_of_size (int size) |
| static LONGEST | min_of_size (int size) |
| static ULONGEST | umax_of_size (int size) |
| static LONGEST | max_of_type (struct type *t) |
| static LONGEST | min_of_type (struct type *t) |
| LONGEST | ada_discrete_type_high_bound (struct type *type) |
| LONGEST | ada_discrete_type_low_bound (struct type *type) |
| static struct type * | get_base_type (struct type *type) |
| struct value * | ada_get_decoded_value (struct value *value) |
| struct type * | ada_get_decoded_type (struct type *type) |
| enum language | ada_update_initial_language (enum language lang) |
| char * | ada_main_name (void) |
| static char * | ada_encode_1 (const char *decoded, bool throw_errors) |
| char * | ada_encode (const char *decoded) |
| char * | ada_fold_name (const char *name) |
| static int | is_lower_alphanum (const char c) |
| static void | ada_remove_trailing_digits (const char *encoded, int *len) |
| static void | ada_remove_po_subprogram_suffix (const char *encoded, int *len) |
| static void | ada_remove_Xbn_suffix (const char *encoded, int *len) |
| const char * | ada_decode (const char *encoded) |
| const char * | ada_decode_symbol (const struct general_symbol_info *arg) |
| static char * | ada_la_decode (const char *encoded, int options) |
| static int | ada_sniff_from_mangled_name (const char *mangled, char **out) |
| void | ada_fixup_array_indexes_type (struct type *index_desc_type) |
| static int | is_thin_pntr (struct type *type) |
| static struct type * | thin_descriptor_type (struct type *type) |
| static struct value * | thin_data_pntr (struct value *val) |
| static int | is_thick_pntr (struct type *type) |
| static int | ada_is_array_type (struct type *type) |
| int | ada_is_simple_array_type (struct type *type) |
| int | ada_is_array_descriptor_type (struct type *type) |
| int | ada_is_bogus_array_descriptor (struct type *type) |
| struct type * | ada_type_of_array (struct value *arr, int bounds) |
| struct value * | ada_coerce_to_simple_array_ptr (struct value *arr) |
| struct value * | ada_coerce_to_simple_array (struct value *arr) |
| struct type * | ada_coerce_to_simple_array_type (struct type *type) |
| int | ada_is_constrained_packed_array_type (struct type *type) |
| static int | has_negatives (struct type *type) |
| static void | ada_unpack_from_contents (const gdb_byte *src, int bit_offset, int bit_size, gdb_byte *unpacked, int unpacked_len, int is_big_endian, int is_signed_type, int is_scalar) |
| 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) |
| static struct value * | ada_value_assign (struct value *toval, struct value *fromval) |
| static void | value_assign_to_component (struct value *container, struct value *component, struct value *val) |
| struct value * | ada_value_subscript (struct value *arr, int arity, struct value **ind) |
| static struct value * | ada_value_ptr_subscript (struct value *arr, int arity, struct value **ind) |
| static struct value * | ada_value_slice_from_ptr (struct value *array_ptr, struct type *type, int low, int high) |
| static struct value * | ada_value_slice (struct value *array, int low, int high) |
| int | ada_array_arity (struct type *type) |
| struct type * | ada_array_element_type (struct type *type, int nindices) |
| static struct type * | ada_index_type (struct type *type, int n, const char *name) |
| static LONGEST | ada_array_bound_from_type (struct type *arr_type, int n, int which) |
| static LONGEST | ada_array_bound (struct value *arr, int n, int which) |
| static LONGEST | ada_array_length (struct value *arr, int n) |
| static struct value * | empty_array (struct type *arr_type, int low) |
| static void | resolve (expression_up *expp, int void_context_p) |
| static int | return_match (struct type *func_type, struct type *context_type) |
| static int | ada_resolve_function (struct block_symbol syms[], int nsyms, struct value **args, int nargs, const char *name, struct type *context_type) |
| static int | encoded_ordered_before (const char *N0, const char *N1) |
| static void | sort_choices (struct block_symbol syms[], int nsyms) |
| static void | ada_print_symbol_signature (struct ui_file *stream, struct symbol *sym, const struct type_print_options *flags) |
| int | user_select_syms (struct block_symbol *syms, int nsyms, int max_results) |
| int | get_selections (int *choices, int n_choices, int max_results, int is_all_choice, const char *annotation_suffix) |
| static int | possible_user_operator_p (enum exp_opcode op, struct value *args[]) |
| enum ada_renaming_category | ada_parse_renaming (struct symbol *sym, const char **renamed_entity, int *len, const char **renaming_expr) |
| static struct value * | ada_read_renaming_var_value (struct symbol *renaming_sym, const struct block *block) |
| static struct value * | ensure_lval (struct value *val) |
| struct value * | ada_convert_actual (struct value *actual, struct type *formal_type0) |
| static CORE_ADDR | value_pointer (struct value *value, struct type *type) |
| static void | ada_init_symbol_cache (struct ada_symbol_cache *sym_cache) |
| static struct ada_symbol_cache * | ada_get_symbol_cache (struct program_space *pspace) |
| static void | ada_clear_symbol_cache (void) |
| static struct cache_entry ** | find_entry (const char *name, domain_enum domain) |
| static int | lookup_cached_symbol (const char *name, domain_enum domain, struct symbol **sym, const struct block **block) |
| static void | cache_symbol (const char *name, domain_enum domain, struct symbol *sym, const struct block *block) |
| static symbol_name_match_type | name_match_type_from_name (const char *lookup_name) |
| static int | is_nonfunction (struct block_symbol syms[], int n) |
| struct bound_minimal_symbol | ada_lookup_simple_minsym (const char *name) |
| static void | add_symbols_from_enclosing_procs (struct obstack *obstackp, const lookup_name_info &lookup_name, domain_enum domain) |
| static int | is_nondebugging_type (struct type *type) |
| static int | ada_identical_enum_types_p (struct type *type1, struct type *type2) |
| static int | symbols_are_identical_enums (struct block_symbol *syms, int nsyms) |
| static int | remove_extra_symbols (struct block_symbol *syms, int nsyms) |
| static char * | xget_renaming_scope (struct type *renaming_type) |
| static int | is_package_name (const char *name) |
| static int | old_renaming_is_invisible (const struct symbol *sym, const char *function_name) |
| static int | remove_irrelevant_renamings (struct block_symbol *syms, int nsyms, const struct block *current_block) |
| static void | ada_add_local_symbols (struct obstack *obstackp, const lookup_name_info &lookup_name, const struct block *block, domain_enum domain) |
| static int | aux_add_nonlocal_symbols (struct block *block, struct symbol *sym, void *data0) |
| static int | ada_add_block_renamings (struct obstack *obstackp, const struct block *block, const lookup_name_info &lookup_name, domain_enum domain) |
| static int | compare_names_with_case (const char *string1, const char *string2, enum case_sensitivity casing) |
| static int | compare_names (const char *string1, const char *string2) |
| static const char * | ada_lookup_name (const lookup_name_info &lookup_name) |
| static void | add_nonlocal_symbols (struct obstack *obstackp, const lookup_name_info &lookup_name, domain_enum domain, int global) |
| static int | ada_lookup_symbol_list_worker (const lookup_name_info &lookup_name, const struct block *block, domain_enum domain, struct block_symbol **results, int full_search) |
| int | ada_lookup_symbol_list (const char *name, const struct block *block, domain_enum domain, struct block_symbol **results) |
| static void | ada_iterate_over_symbols (const struct block *block, const lookup_name_info &name, domain_enum domain, gdb::function_view< symbol_found_callback_ftype > callback) |
| void | ada_lookup_encoded_symbol (const char *name, const struct block *block, domain_enum domain, struct block_symbol *info) |
| struct block_symbol | ada_lookup_symbol (const char *name, const struct block *block0, domain_enum domain, int *is_a_field_of_this) |
| static struct block_symbol | ada_lookup_symbol_nonlocal (const struct language_defn *langdef, const char *name, const struct block *block, const domain_enum domain) |
| static int | is_valid_name_for_wild_match (const char *name0) |
| static bool | full_match (const char *sym_name, const char *search_name) |
| static void | ada_collect_symbol_completion_matches (completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type name_match_type, const char *text, const char *word, enum type_code code) |
| static int | ada_is_dispatch_table_ptr_type (struct type *type) |
| static int | ada_is_interface_tag (struct type *type) |
| int | ada_is_ignored_field (struct type *type, int field_num) |
| int | ada_is_tagged_type (struct type *type, int refok) |
| int | ada_is_tag_type (struct type *type) |
| struct type * | ada_tag_type (struct value *val) |
| static int | is_ada95_tag (struct value *tag) |
| struct value * | ada_value_tag (struct value *val) |
| static struct value * | value_tag_from_contents_and_address (struct type *type, const gdb_byte *valaddr, CORE_ADDR address) |
| static struct type * | type_from_tag (struct value *tag) |
| struct value * | ada_tag_value_at_base_address (struct value *obj) |
| static struct type * | ada_get_tsd_type (struct inferior *inf) |
| static struct value * | ada_get_tsd_from_tag (struct value *tag) |
| static char * | ada_tag_name_from_tsd (struct value *tsd) |
| const char * | ada_tag_name (struct value *tag) |
| struct type * | ada_parent_type (struct type *type) |
| int | ada_is_parent_field (struct type *type, int field_num) |
| int | ada_is_wrapper_field (struct type *type, int field_num) |
| int | ada_is_variant_part (struct type *type, int field_num) |
| struct type * | ada_variant_discrim_type (struct type *var_type, struct type *outer_type) |
| int | ada_is_others_clause (struct type *type, int field_num) |
| const char * | ada_variant_discrim_name (struct type *type0) |
| int | ada_scan_number (const char str[], int k, LONGEST *R, int *new_k) |
| int | ada_in_variant (LONGEST val, struct type *type, int field_num) |
| static int | num_visible_fields (struct type *type) |
| static struct value * | ada_index_struct_field_1 (int *, struct value *, int, struct type *) |
| struct value * | ada_value_struct_elt (struct value *arg, const char *name, int no_err) |
| static std::string | type_as_string (struct type *type) |
| static int | is_unchecked_variant (struct type *var_type, struct type *outer_type) |
| int | ada_which_variant_applies (struct type *var_type, struct type *outer_type, const gdb_byte *outer_valaddr) |
| struct value * | ada_value_ind (struct value *val0) |
| static unsigned int | align_value (unsigned int off, unsigned int alignment) |
| static unsigned int | field_alignment (struct type *type, int f) |
| static struct symbol * | ada_find_any_type_symbol (const char *name) |
| struct symbol * | ada_find_renaming_symbol (struct symbol *name_sym, const struct block *block) |
| int | ada_prefer_type (struct type *type0, struct type *type1) |
| const char * | ada_type_name (struct type *type) |
| static struct type * | find_parallel_type_by_descriptive_type (struct type *type, const char *name) |
| struct type * | ada_find_parallel_type (struct type *type, const char *suffix) |
| static struct type * | dynamic_template_type (struct type *type) |
| static int | variant_field_index (struct type *type) |
| static struct type * | empty_record (struct type *templ) |
| 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) |
| static struct type * | template_to_fixed_record_type (struct type *type, const gdb_byte *valaddr, CORE_ADDR address, struct value *dval0) |
| static struct type * | template_to_static_fixed_type (struct type *type0) |
| static struct type * | to_record_with_fixed_variant_part (struct type *type, const gdb_byte *valaddr, CORE_ADDR address, struct value *dval0) |
| static struct type * | to_fixed_record_type (struct type *type0, const gdb_byte *valaddr, CORE_ADDR address, struct value *dval) |
| static int | ada_is_redundant_range_encoding (struct type *range_type, struct type *encoding_type) |
| static int | ada_is_redundant_index_type_desc (struct type *array_type, struct type *desc_type) |
| static struct type * | ada_to_fixed_type_1 (struct type *type, const gdb_byte *valaddr, CORE_ADDR address, struct value *dval, int check_tag) |
| struct type * | ada_to_fixed_type (struct type *type, const gdb_byte *valaddr, CORE_ADDR address, struct value *dval, int check_tag) |
| struct type * | ada_check_typedef (struct type *type) |
| struct value * | ada_to_fixed_value (struct value *val) |
| const char * | ada_attribute_name (enum exp_opcode n) |
| int | ada_is_character_type (struct type *type) |
| int | ada_is_string_type (struct type *type) |
| int | ada_is_aligner_type (struct type *type) |
| struct type * | ada_get_base_type (struct type *raw_type) |
| struct type * | ada_aligned_type (struct type *type) |
| const gdb_byte * | ada_aligned_value_addr (struct type *type, const gdb_byte *valaddr) |
| const char * | ada_enum_name (const char *name) |
| static struct value * | cast_from_fixed (struct type *type, struct value *arg) |
| static struct value * | cast_to_fixed (struct type *type, struct value *arg) |
| static int | ada_same_array_size_p (struct type *t1, struct type *t2) |
| static struct value * | ada_promote_array_of_integrals (struct type *type, struct value *val) |
| static struct value * | coerce_for_assign (struct type *type, struct value *val) |
| static struct value * | ada_value_binop (struct value *arg1, struct value *arg2, enum exp_opcode op) |
| static int | ada_value_equal (struct value *arg1, struct value *arg2) |
| static int | num_component_specs (struct expression *exp, int pc) |
| static void | assign_component (struct value *container, struct value *lhs, LONGEST index, struct expression *exp, int *pos) |
| static struct value * | ada_value_cast (struct type *type, struct value *arg2) |
| static value * | ada_evaluate_subexp_for_cast (expression *exp, int *pos, enum noside noside, struct type *to_type) |
| static const char * | fixed_type_info (struct type *type) |
| int | ada_is_fixed_point_type (struct type *type) |
| int | ada_is_system_address_type (struct type *type) |
| static struct type * | ada_scaling_type (struct type *type) |
| struct value * | ada_delta (struct type *type) |
| struct value * | ada_scaling_factor (struct type *type) |
| static int | scan_discrim_bound (const char *str, int k, struct value *dval, LONGEST *px, int *pnew_k) |
| static struct value * | get_var_value (const char *name, const char *err_msg) |
| bool | get_int_var_value (const char *name, LONGEST &value) |
| int | ada_is_range_type_name (const char *name) |
| int | ada_is_modular_type (struct type *type) |
| ULONGEST | ada_modulus (struct type *type) |
| static CORE_ADDR | ada_unhandled_exception_name_addr (void) |
| static CORE_ADDR | ada_unhandled_exception_name_addr_from_raise (void) |
| static int | ada_has_this_exception_support (const struct exception_support_info *einfo) |
| static void | ada_exception_support_info_sniffer (void) |
| static int | is_known_support_routine (struct frame_info *frame) |
| void | ada_find_printable_frame (struct frame_info *fi) |
| static CORE_ADDR | ada_exception_name_addr_1 (enum ada_exception_catchpoint_kind ex, struct breakpoint *b) |
| static char * | ada_exception_message_1 (void) |
| static char * | ada_exception_message (void) |
| static CORE_ADDR | ada_exception_name_addr (enum ada_exception_catchpoint_kind ex, struct breakpoint *b) |
| static char * | ada_exception_catchpoint_cond_string (const char *excep_string, enum ada_exception_catchpoint_kind ex) |
| static void | ada_catchpoint_location_dtor (struct bp_location *bl) |
| static void | create_excep_cond_exprs (struct ada_catchpoint *c, enum ada_exception_catchpoint_kind ex) |
| static struct bp_location * | allocate_location_exception (enum ada_exception_catchpoint_kind ex, struct breakpoint *self) |
| static void | re_set_exception (enum ada_exception_catchpoint_kind ex, struct breakpoint *b) |
| static int | should_stop_exception (const struct bp_location *bl) |
| static void | check_status_exception (enum ada_exception_catchpoint_kind ex, bpstat bs) |
| static enum print_stop_action | print_it_exception (enum ada_exception_catchpoint_kind ex, bpstat bs) |
| static void | print_one_exception (enum ada_exception_catchpoint_kind ex, struct breakpoint *b, struct bp_location **last_loc) |
| static void | print_mention_exception (enum ada_exception_catchpoint_kind ex, struct breakpoint *b) |
| static void | print_recreate_exception (enum ada_exception_catchpoint_kind ex, struct breakpoint *b, struct ui_file *fp) |
| static struct bp_location * | allocate_location_catch_exception (struct breakpoint *self) |
| static void | re_set_catch_exception (struct breakpoint *b) |
| static void | check_status_catch_exception (bpstat bs) |
| static enum print_stop_action | print_it_catch_exception (bpstat bs) |
| static void | print_one_catch_exception (struct breakpoint *b, struct bp_location **last_loc) |
| static void | print_mention_catch_exception (struct breakpoint *b) |
| static void | print_recreate_catch_exception (struct breakpoint *b, struct ui_file *fp) |
| static struct bp_location * | allocate_location_catch_exception_unhandled (struct breakpoint *self) |
| static void | re_set_catch_exception_unhandled (struct breakpoint *b) |
| static void | check_status_catch_exception_unhandled (bpstat bs) |
| static enum print_stop_action | print_it_catch_exception_unhandled (bpstat bs) |
| static void | print_one_catch_exception_unhandled (struct breakpoint *b, struct bp_location **last_loc) |
| static void | print_mention_catch_exception_unhandled (struct breakpoint *b) |
| static void | print_recreate_catch_exception_unhandled (struct breakpoint *b, struct ui_file *fp) |
| static struct bp_location * | allocate_location_catch_assert (struct breakpoint *self) |
| static void | re_set_catch_assert (struct breakpoint *b) |
| static void | check_status_catch_assert (bpstat bs) |
| static enum print_stop_action | print_it_catch_assert (bpstat bs) |
| static void | print_one_catch_assert (struct breakpoint *b, struct bp_location **last_loc) |
| static void | print_mention_catch_assert (struct breakpoint *b) |
| static void | print_recreate_catch_assert (struct breakpoint *b, struct ui_file *fp) |
| static struct bp_location * | allocate_location_catch_handlers (struct breakpoint *self) |
| static void | re_set_catch_handlers (struct breakpoint *b) |
| static void | check_status_catch_handlers (bpstat bs) |
| static enum print_stop_action | print_it_catch_handlers (bpstat bs) |
| static void | print_one_catch_handlers (struct breakpoint *b, struct bp_location **last_loc) |
| static void | print_mention_catch_handlers (struct breakpoint *b) |
| static void | print_recreate_catch_handlers (struct breakpoint *b, struct ui_file *fp) |
| static char * | ada_get_next_arg (const char **argsp) |
| static void | catch_ada_exception_command_split (const char *args, bool is_catch_handlers_cmd, enum ada_exception_catchpoint_kind *ex, char **excep_string, char **cond_string) |
| static const char * | ada_exception_sym_name (enum ada_exception_catchpoint_kind ex) |
| static const struct breakpoint_ops * | ada_exception_breakpoint_ops (enum ada_exception_catchpoint_kind ex) |
| static struct symtab_and_line | ada_exception_sal (enum ada_exception_catchpoint_kind ex, char *excep_string, const char **addr_string, const struct breakpoint_ops **ops) |
| 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) |
| static void | catch_ada_exception_command (const char *arg_entry, int from_tty, struct cmd_list_element *command) |
| static void | catch_ada_handlers_command (const char *arg_entry, int from_tty, struct cmd_list_element *command) |
| static void | catch_ada_assert_command_split (const char *args, char **cond_string) |
| static void | catch_assert_command (const char *arg_entry, int from_tty, struct cmd_list_element *command) |
| static int | ada_is_exception_sym (struct symbol *sym) |
| static int | ada_is_non_standard_exception_sym (struct symbol *sym) |
| static void | sort_remove_dups_ada_exceptions_list (std::vector< ada_exc_info > *exceptions, int skip) |
| static void | ada_add_standard_exceptions (compiled_regex *preg, std::vector< ada_exc_info > *exceptions) |
| static void | ada_add_exceptions_from_frame (compiled_regex *preg, struct frame_info *frame, std::vector< ada_exc_info > *exceptions) |
| static bool | name_matches_regex (const char *name, compiled_regex *preg) |
| static void | ada_add_global_exceptions (compiled_regex *preg, std::vector< ada_exc_info > *exceptions) |
| static std::vector< ada_exc_info > | ada_exceptions_list_1 (compiled_regex *preg) |
| std::vector< ada_exc_info > | ada_exceptions_list (const char *regexp) |
| static void | info_exceptions_command (const char *regexp, int from_tty) |
| static void | ada_operator_length (const struct expression *exp, int pc, int *oplenp, int *argsp) |
| static int | ada_operator_check (struct expression *exp, int pos, int(*objfile_func)(struct objfile *objfile, void *data), void *data) |
| static int | ada_dump_subexp_body (struct expression *exp, struct ui_file *stream, int elt) |
| static void | ada_print_subexp (struct expression *exp, int *pos, struct ui_file *stream, enum precedence prec) |
| static void | emit_char (int c, struct type *type, struct ui_file *stream, int quoter) |
| static int | parse (struct parser_state *ps) |
| static bool | do_wild_match (const char *symbol_search_name, const lookup_name_info &lookup_name, completion_match_result *comp_match_res) |
| static bool | do_full_match (const char *symbol_search_name, const lookup_name_info &lookup_name, completion_match_result *comp_match_res) |
| static bool | ada_symbol_name_matches (const char *symbol_search_name, const lookup_name_info &lookup_name, completion_match_result *comp_match_res) |
| static bool | literal_symbol_name_matcher (const char *symbol_search_name, const lookup_name_info &lookup_name, completion_match_result *comp_match_res) |
| static struct value * | ada_read_var_value (struct symbol *var, const struct block *var_block, struct frame_info *frame) |
| static void | set_ada_command (const char *arg, int from_tty) |
| static void | show_ada_command (const char *args, int from_tty) |
| static void | initialize_ada_catchpoint_ops (void) |
| static void | ada_new_objfile_observer (struct objfile *objfile) |
| static void | ada_free_objfile_observer (struct objfile *objfile) |
| void | _initialize_ada_language (void) |
| #define ADA_OPERATORS |
Definition at line 13840 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 306 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 1578 of file ada-lang.c.
| #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; |
| #define TRUNCATION_TOWARDS_ZERO ((-5 / 2) == -2) |
Definition at line 72 of file ada-lang.c.
Referenced by ada_value_binop().
| typedef CORE_ADDR() ada_unhandled_exception_name_addr_ftype(void) |
Definition at line 12020 of file ada-lang.c.
| enum ada_primitive_types |
Definition at line 14224 of file ada-lang.c.
| void _initialize_ada_language | ( | void | ) |
Definition at line 14631 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_prefix_cmd(), add_setshow_boolean_cmd(), catch_ada_exception_command(), catch_ada_handlers_command(), catch_assert_command(), CATCH_PERMANENT, CATCH_TEMPORARY, class_maintenance, class_obscure, class_vars, decoded_names_store, info_exceptions_command(), initialize_ada_catchpoint_ops(), maint_set_ada_cmd(), maint_set_ada_cmdlist, maint_show_ada_cmd(), maint_show_ada_cmdlist, maintenance_set_cmdlist, maintenance_show_cmdlist, no_class, observer_attach_free_objfile(), observer_attach_inferior_exit(), observer_attach_new_objfile(), print_signatures, set_ada_command(), set_ada_list, setlist, show_ada_command(), show_ada_list, showlist, streq(), trust_pad_over_xvs, varsize_limit, xcalloc(), and xfree().
|
static |
Definition at line 5744 of file ada-lang.c.
References lookup_name_info::ada(), ada_add_block_symbols(), ada_add_local_symbols(), ada_lookup_name(), add_defn_to_vec(), add_nonlocal_symbols(), symbol::domain, lookup_cached_symbol(), num_defns_collected(), and ada_lookup_name_info::standard_p().
Referenced by ada_add_block_renamings(), and ada_lookup_symbol_list_worker().
|
static |
Definition at line 5515 of file ada-lang.c.
References ada_add_all_symbols(), ada_get_symbol_name_matcher(), using_direct::alias, block_using(), using_direct::declaration, using_direct::import_dest, using_direct::import_src, lookup_name_info::match_type(), using_direct::next, num_defns_collected(), and using_direct::searched.
Referenced by ada_add_block_symbols(), and add_nonlocal_symbols().
|
static |
Definition at line 6271 of file ada-lang.c.
References lookup_name_info::ada(), ada_add_block_renamings(), ada_lookup_name(), add_defn_to_vec(), ALL_BLOCK_SYMBOLS, block_iter_match_first(), block_iter_match_next(), symbol::domain, fixup_symbol_section(), is_name_suffix(), LOC_UNRESOLVED, ada_lookup_name_info::lookup_name(), name, startswith(), string, SYMBOL_CLASS, SYMBOL_DOMAIN, SYMBOL_IS_ARGUMENT, SYMBOL_LANGUAGE, SYMBOL_LINKAGE_NAME, symbol_matches_domain(), and ada_lookup_name_info::wild_match_p().
Referenced by ada_add_all_symbols(), and ada_add_local_symbols().
|
static |
Definition at line 13645 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, and SYMBOL_VALUE_ADDRESS.
Referenced by ada_exceptions_list_1().
|
static |
Definition at line 13709 of file ada-lang.c.
References ada_decode(), ada_is_non_standard_exception_sym(), ALL_BLOCK_SYMBOLS, ALL_COMPUNITS, BLOCKVECTOR_BLOCK, COMPUNIT_BLOCKVECTOR, expand_symtabs_matching(), GLOBAL_BLOCK, lookup_name_info::match_any(), name_matches_regex(), objfile::objfile(), STATIC_BLOCK, SYMBOL_NATURAL_NAME, SYMBOL_PRINT_NAME, SYMBOL_VALUE_ADDRESS, and VARIABLES_DOMAIN.
Referenced by ada_exceptions_list_1().
|
static |
Definition at line 5434 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_add_all_symbols().
|
static |
Definition at line 13610 of file ada-lang.c.
References ada_lookup_simple_minsym(), BMSYMBOL_VALUE_ADDRESS, compiled_regex::exec(), bound_minimal_symbol::minsym, and standard_exc.
Referenced by ada_exceptions_list_1().
Definition at line 9584 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 9597 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 3688 of file ada-lang.c.
References ada_check_typedef(), ada_type_match(), func, 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().
| int ada_array_arity | ( | struct type * | type | ) |
Definition at line 2967 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 3135 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 3079 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 2995 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 3158 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(), 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 9401 of file ada-lang.c.
References attribute_names.
Referenced by ada_evaluate_subexp(), and ada_print_subexp().
|
static |
Definition at line 12492 of file ada-lang.c.
References ada_catchpoint_location::excep_cond_expr.
Definition at line 9307 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_equal(), 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 4676 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 7943 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 2080 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_exception_message_1(), ada_get_decoded_value(), ada_val_print_gnat_array(), ada_value_assign(), ada_value_equal(), ada_value_subscript(), and assign_aggregate().
Definition at line 2059 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 2102 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().
|
static |
Definition at line 6465 of file ada-lang.c.
References ALL_BLOCK_SYMBOLS, ALL_COMPUNITS, ALL_DOMAIN, ALL_MSYMBOLS, BLOCK_SUPERBLOCK, BLOCKVECTOR_BLOCK, code, completion_list_add_name(), completion_skip_symbol(), COMPUNIT_BLOCKVECTOR, do_cleanups(), expand_symtabs_matching(), gdb_assert, get_selected_block(), GLOBAL_BLOCK, language_ada, language_auto, language_cplus, make_cleanup(), MSYMBOL_LANGUAGE, MSYMBOL_LINKAGE_NAME, null_cleanup(), objfile::objfile(), QUIT, STATIC_BLOCK, SYMBOL_LANGUAGE, SYMBOL_LINKAGE_NAME, and TYPE_CODE_UNDEF.
Definition at line 4497 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().
| const char* ada_decode | ( | const char * | encoded | ) |
Definition at line 1166 of file ada-lang.c.
References ada_opname_table, 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_add_global_exceptions(), ada_decode_symbol(), ada_la_decode(), ada_sniff_from_mangled_name(), ada_varobj_describe_simple_array_child(), is_valid_name_for_wild_match(), ada_lookup_name_info::matches(), name_matches_regex(), and write_object_renaming().
| const char* ada_decode_symbol | ( | const struct general_symbol_info * | arg | ) |
Definition at line 1430 of file ada-lang.c.
References ada_decode(), general_symbol_info::ada_mangled, decoded_names_store, general_symbol_info::demangled_name, general_symbol_info::language_specific, general_symbol_info::name, and general_symbol_info::obstack.
Referenced by symbol_demangled_name(), and symbol_natural_name().
|
static |
Definition at line 3219 of file ada-lang.c.
References _, ada_opname_table, ada_opname_map::decoded, ada_opname_map::encoded, and error().
Referenced by resolve_subexp().
Definition at line 11701 of file ada-lang.c.
References ada_scaling_type(), fixed_type_info(), value_binop(), and value_from_longest().
Referenced by print_fixed_point_type().
Definition at line 800 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 821 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 13981 of file ada-lang.c.
References _, ada_forward_operator_length(), dump_subexp(), dump_subexp_body_standard(), expression::elts, fprintf_filtered(), gdb_print_host_address, 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 1041 of file ada-lang.c.
References ada_encode_1(), and ada_opname_map::decoded.
Referenced by block_lookup(), type_from_tag(), and write_var_or_type().
|
static |
Definition at line 986 of file ada-lang.c.
References _, ada_opname_table, ada_opname_map::decoded, ada_opname_map::encoded, error(), GROW_VECT, and startswith().
Referenced by ada_encode(), and ada_lookup_name_info::ada_lookup_name_info().
| void ada_ensure_varsize_limit | ( | const struct type * | type | ) |
Definition at line 747 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().
| const char* ada_enum_name | ( | const char * | name | ) |
Definition at line 9613 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 10612 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_evaluate_subexp_for_cast(), 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(), error_call_unknown_return_type(), EVAL_AVOID_SIDE_EFFECTS, EVAL_NORMAL, EVAL_SKIP, eval_skip_value(), 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_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().
|
static |
Definition at line 10561 of file ada-lang.c.
References ada_value_cast(), exp_element::block, expression::elts, EVAL_AVOID_SIDE_EFFECTS, EVAL_SKIP, eval_skip_value(), evaluate_subexp(), evaluate_var_msym_value(), evaluate_var_value(), lval_memory, exp_element::msymbol, not_lval, exp_element::objfile, exp_element::opcode, exp_element::symbol, value_fetch_lazy(), value_lazy(), VALUE_LVAL, and value_zero().
Referenced by ada_evaluate_subexp().
|
static |
Definition at line 13245 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, catch_assert_breakpoint_ops, catch_exception_breakpoint_ops, catch_exception_unhandled_breakpoint_ops, catch_handlers_breakpoint_ops, and internal_error().
Referenced by ada_exception_sal().
|
static |
Definition at line 13277 of file ada-lang.c.
References ada_catch_handlers, standard_exc, xfree(), and xstrprintf().
Referenced by create_excep_cond_exprs().
|
static |
Definition at line 12412 of file ada-lang.c.
References ada_exception_message_1(), CATCH, END_CATCH, RETURN_MASK_ERROR, and TRY.
Referenced by print_it_exception().
|
static |
Definition at line 12377 of file ada-lang.c.
References ada_coerce_to_simple_array(), discard_cleanups(), gdb_assert, make_cleanup(), parse_and_eval(), read_memory_string(), TYPE_LENGTH, value_address(), value_type(), xfree(), and xmalloc().
Referenced by ada_exception_message().
|
static |
Definition at line 12435 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 12330 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, 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 13344 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 12139 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 13215 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, exception_support_info::catch_assert_sym, exception_support_info::catch_exception_sym, exception_support_info::catch_exception_unhandled_sym, exception_support_info::catch_handlers_sym, current_inferior(), ada_inferior_data::exception_info, gdb_assert, get_ada_inferior_data(), and internal_error().
Referenced by ada_exception_sal().
| std::vector<ada_exc_info> ada_exceptions_list | ( | const char * | regexp | ) |
Definition at line 13807 of file ada-lang.c.
References _, and ada_exceptions_list_1().
Referenced by info_exceptions_command(), and mi_cmd_info_ada_exceptions().
|
static |
Definition at line 13759 of file ada-lang.c.
References ada_add_exceptions_from_frame(), ada_add_global_exceptions(), ada_add_standard_exceptions(), get_selected_frame(), has_stack_frames(), and sort_remove_dups_ada_exceptions_list().
Referenced by ada_exceptions_list().
|
static |
Definition at line 8020 of file ada-lang.c.
References ada_find_any_type_symbol(), name, 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().
|
static |
Definition at line 8003 of file ada-lang.c.
References get_selected_block(), LOC_TYPEDEF, name, 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 8242 of file ada-lang.c.
References ada_find_parallel_type_with_name(), ada_type_name(), 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 8226 of file ada-lang.c.
References ada_find_any_type(), find_parallel_type_by_descriptive_type(), HAVE_GNAT_AUX_INFO, and name.
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 12253 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 8037 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().
| void ada_fixup_array_indexes_type | ( | struct type * | index_desc_type | ) |
Definition at line 1538 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().
| char* ada_fold_name | ( | const char * | name | ) |
Definition at line 1051 of file ada-lang.c.
References GROW_VECT, and name.
Referenced by ada_lookup_name_info::ada_lookup_name_info().
|
static |
Definition at line 13944 of file ada-lang.c.
References ADA_OPERATORS, BYTES_TO_EXP_ELEM, expression::elts, 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 14625 of file ada-lang.c.
References ada_clear_symbol_cache().
Referenced by _initialize_ada_language().
|
static |
Definition at line 4650 of file ada-lang.c.
References ada_symbol_cache::cache_space, and xfree().
Referenced by ada_pspace_data_cleanup().
Definition at line 9536 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 886 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 861 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().
| int ada_get_field_index | ( | const struct type * | type, |
| const char * | field_name, | ||
| int | maybe_missing | ||
| ) |
Definition at line 619 of file ada-lang.c.
References _, check_typedef(), error(), field_name(), field_name_match(), TYPE_FIELD_NAME, TYPE_NAME, and TYPE_NFIELDS.
Referenced by ada_get_tcb_types_info(), ada_nget_field_index(), get_symbol_field_type(), read_atcb(), and read_fat_string_value().
|
static |
Definition at line 561 of file ada-lang.c.
References ada_completer_word_break_characters.
|
static |
Definition at line 13099 of file ada-lang.c.
References skip_spaces(), skip_to_space(), and xmalloc().
Referenced by catch_ada_exception_command_split().
|
static |
Definition at line 4660 of file ada-lang.c.
References ada_init_symbol_cache(), get_ada_pspace_data(), ada_pspace_data::sym_cache, and XCNEW.
Referenced by ada_clear_symbol_cache(), cache_symbol(), and find_entry().
|
static |
Definition at line 14451 of file ada-lang.c.
References lookup_name_info::ada(), ada_symbol_name_matches(), lookup_name_info::completion_mode(), do_full_match(), do_wild_match(), literal_symbol_name_matcher(), lookup_name_info::match_type(), SEARCH_NAME, and ada_lookup_name_info::wild_match_p().
Referenced by ada_add_block_renamings(), and ada_lookup_simple_minsym().
Definition at line 6861 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 6846 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 12087 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 5005 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 7165 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 7517 of file ada-lang.c.
References ada_index_struct_field_1(), and offset.
Referenced by assign_component().
|
static |
Definition at line 7529 of file ada-lang.c.
References _, ada_check_typedef(), ada_is_variant_part(), ada_is_wrapper_field(), ada_value_primitive_field(), error(), offset, TYPE_FIELD_BITPOS, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, and TYPE_NFIELDS.
Referenced by ada_index_struct_field().
Definition at line 3040 of file ada-lang.c.
References _, ada_array_arity(), ada_is_simple_array_type(), desc_base_type(), desc_bounds_type(), desc_index_type(), error(), name, TYPE_CODE, TYPE_CODE_UNDEF, TYPE_INDEX_TYPE, and TYPE_TARGET_TYPE.
Referenced by ada_evaluate_subexp().
|
static |
Definition at line 397 of file ada-lang.c.
References xfree().
Referenced by _initialize_ada_language(), and ada_inferior_exit().
|
static |
Definition at line 433 of file ada-lang.c.
References ada_inferior_data_cleanup().
Referenced by _initialize_ada_language().
|
static |
Definition at line 4641 of file ada-lang.c.
References ada_symbol_cache::cache_space, memset(), and ada_symbol_cache::root.
Referenced by ada_clear_symbol_cache(), and ada_get_symbol_cache().
| int ada_is_aligner_type | ( | struct type * | type | ) |
Definition at line 9520 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), trust_pad_over_xvs, 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().
| int ada_is_array_descriptor_type | ( | struct type * | type | ) |
Definition at line 1943 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().
|
static |
Definition at line 1917 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().
| int ada_is_bogus_array_descriptor | ( | struct type * | type | ) |
Definition at line 1961 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().
| int ada_is_character_type | ( | struct type * | type | ) |
Definition at line 9463 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().
| int ada_is_constrained_packed_array_type | ( | struct type * | type | ) |
Definition at line 2131 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().
|
static |
Definition at line 1904 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().
|
static |
Definition at line 6592 of file ada-lang.c.
References name, TYPE_CODE, TYPE_CODE_PTR, TYPE_NAME, and TYPE_TARGET_TYPE.
Referenced by ada_is_ignored_field().
|
static |
Definition at line 13524 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().
| int ada_is_fixed_point_type | ( | struct type * | type | ) |
Definition at line 11672 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().
| int ada_is_ignored_field | ( | struct type * | type, |
| int | field_num | ||
| ) |
Definition at line 6623 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().
|
static |
Definition at line 6609 of file ada-lang.c.
References name, and TYPE_NAME.
Referenced by ada_is_ignored_field().
| int ada_is_modular_type | ( | struct type * | type | ) |
Definition at line 11955 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().
|
static |
Definition at line 13540 of file ada-lang.c.
References ada_is_exception_sym(), standard_exc, and SYMBOL_LINKAGE_NAME.
Referenced by ada_add_global_exceptions().
| int ada_is_others_clause | ( | struct type * | type, |
| int | field_num | ||
| ) |
Definition at line 7057 of file ada-lang.c.
References name, and TYPE_FIELD_NAME.
Referenced by ada_which_variant_applies().
|
static |
Definition at line 2116 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().
| int ada_is_parent_field | ( | struct type * | type, |
| int | field_num | ||
| ) |
Definition at line 6986 of file ada-lang.c.
References ada_check_typedef(), name, startswith(), and TYPE_FIELD_NAME.
Referenced by ada_lookup_struct_elt_type(), ada_parent_type(), ada_search_struct_field(), find_struct_field(), and print_selected_record_field_types().
| int ada_is_range_type_name | ( | const char * | name | ) |
|
static |
Definition at line 8893 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 8843 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().
| int ada_is_simple_array_type | ( | struct type * | type | ) |
Definition at line 1929 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().
| int ada_is_string_type | ( | struct type * | type | ) |
Definition at line 9487 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().
| int ada_is_system_address_type | ( | struct type * | type | ) |
Definition at line 11680 of file ada-lang.c.
References TYPE_NAME.
Referenced by ada_val_print_num().
| int ada_is_tag_type | ( | struct type * | type | ) |
Definition at line 6672 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().
| int ada_is_tagged_type | ( | struct type * | type, |
| int | refok | ||
| ) |
Definition at line 6664 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_value_struct_elt(), ada_varobj_adjust_for_child_access(), ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), and print_record_type().
|
static |
Definition at line 2141 of file ada-lang.c.
References ada_is_array_descriptor_type(), and ada_is_packed_array_type().
Referenced by ada_type_of_array().
| int ada_is_variant_part | ( | struct type * | type, |
| int | field_num | ||
| ) |
Definition at line 7029 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().
| int ada_is_wrapper_field | ( | struct type * | type, |
| int | field_num | ||
| ) |
Definition at line 7002 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 5882 of file ada-lang.c.
References ada_lookup_symbol_list_worker(), do_cleanups(), make_cleanup(), name, and xfree().
|
static |
Definition at line 1466 of file ada-lang.c.
References ada_decode().
|
static |
Definition at line 14242 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_storage_offset, ada_primitive_type_system_address, ada_primitive_type_void, arch_character_type(), 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_double_format(), gdbarch_float_bit(), gdbarch_float_format(), gdbarch_int_bit(), gdbarch_long_bit(), gdbarch_long_double_bit(), gdbarch_long_double_format(), gdbarch_long_long_bit(), GDBARCH_OBSTACK_CALLOC, gdbarch_short_bit(), HOST_CHAR_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, TYPE_LENGTH, and TYPE_NAME.
| void ada_lookup_encoded_symbol | ( | const char * | name, |
| const struct block * | block, | ||
| domain_enum | domain, | ||
| struct block_symbol * | info | ||
| ) |
Definition at line 5910 of file ada-lang.c.
References ada_lookup_symbol(), gdb_assert, name, and string.
Referenced by write_object_renaming().
|
static |
Definition at line 5656 of file ada-lang.c.
References lookup_name_info::ada(), and ada_lookup_name_info::lookup_name().
Referenced by ada_add_all_symbols(), ada_add_block_symbols(), ada_lookup_symbol_list_worker(), add_nonlocal_symbols(), do_full_match(), and do_wild_match().
| struct bound_minimal_symbol ada_lookup_simple_minsym | ( | const char * | name | ) |
Definition at line 4945 of file ada-lang.c.
References ada_get_symbol_name_matcher(), ALL_MSYMBOLS, memset(), bound_minimal_symbol::minsym, mst_solib_trampoline, MSYMBOL_LINKAGE_NAME, MSYMBOL_TYPE, name, name_match_type_from_name(), bound_minimal_symbol::objfile, and objfile::objfile().
Referenced by ada_add_standard_exceptions(), and write_var_or_type().
|
static |
Definition at line 7716 of file ada-lang.c.
References _, ada_check_typedef(), ada_is_parent_field(), ada_is_variant_part(), ada_is_wrapper_field(), error(), field_name_match(), name, to_static_fixed_type(), type_as_string(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_NFIELDS, 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 block_symbol ada_lookup_symbol | ( | const char * | name, |
| const struct block * | block0, | ||
| domain_enum | domain, | ||
| int * | is_a_field_of_this | ||
| ) |
Definition at line 5933 of file ada-lang.c.
References ada_lookup_symbol_list(), do_cleanups(), fixup_symbol_section(), make_cleanup(), name, block_symbol::symbol, and xfree().
Referenced by ada_lookup_encoded_symbol(), ada_lookup_symbol_nonlocal(), and find_primitive_type().
| int ada_lookup_symbol_list | ( | const char * | name, |
| const struct block * | block, | ||
| domain_enum | domain, | ||
| struct block_symbol ** | results | ||
| ) |
Definition at line 5869 of file ada-lang.c.
References ada_lookup_symbol_list_worker(), name, and name_match_type_from_name().
Referenced by ada_lookup_symbol(), block_lookup(), resolve_subexp(), write_name_assoc(), and write_var_or_type().
|
static |
Definition at line 5827 of file ada-lang.c.
References ada_add_all_symbols(), ada_lookup_name(), cache_symbol(), defns_collected(), symbol::domain, num_defns_collected(), remove_extra_symbols(), and remove_irrelevant_renamings().
Referenced by ada_iterate_over_symbols(), ada_lookup_symbol_list(), and get_var_value().
|
static |
Definition at line 5961 of file ada-lang.c.
References ada_lookup_symbol(), block_gdbarch(), block_static_block(), language_lookup_primitive_type_as_symbol(), name, target_gdbarch(), and VAR_DOMAIN.
| char* ada_main_name | ( | void | ) |
Definition at line 916 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 11967 of file ada-lang.c.
References TYPE_HIGH_BOUND.
Referenced by ada_evaluate_subexp(), ada_print_type(), and decode_constrained_packed_array().
| int ada_name_prefix_len | ( | const char * | name | ) |
Definition at line 639 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 14617 of file ada-lang.c.
References ada_clear_symbol_cache().
Referenced by _initialize_ada_language().
|
static |
Definition at line 13919 of file ada-lang.c.
References ADA_OPERATORS, and op_name_standard().
|
static |
Definition at line 13891 of file ada-lang.c.
References expression::elts, operator_check_standard(), exp_element::type, and TYPE_OBJFILE.
|
static |
Definition at line 13862 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 6955 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 4332 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 8118 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 569 of file ada-lang.c.
References fprintf_filtered(), and LA_VALUE_PRINT.
|
static |
Definition at line 14053 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 3878 of file ada-lang.c.
References ada_print_type(), flags, fprintf_filtered(), print_signatures, SYMBOL_PRINT_NAME, SYMBOL_TYPE, TYPE_CODE, TYPE_CODE_FUNC, TYPE_CODE_VOID, TYPE_FIELD_TYPE, TYPE_NFIELDS, and TYPE_TARGET_TYPE.
Referenced by user_select_syms().
|
static |
Definition at line 9786 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 476 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 4456 of file ada-lang.c.
References evaluate_expression(), parse_exp_1(), and SYMBOL_LINKAGE_NAME.
Referenced by ada_read_var_value().
|
static |
Definition at line 14470 of file ada-lang.c.
References ada_find_renaming_symbol(), ada_read_renaming_var_value(), default_read_var_value(), and get_frame_block().
|
static |
Definition at line 1119 of file ada-lang.c.
References ada_opname_map::encoded.
Referenced by ada_decode(), and find_old_style_renaming_symbol().
|
static |
Definition at line 1096 of file ada-lang.c.
References ada_opname_map::encoded, and startswith().
Referenced by ada_decode(), ada_identical_enum_types_p(), and find_old_style_renaming_symbol().
|
static |
Definition at line 1140 of file ada-lang.c.
References ada_opname_map::encoded.
Referenced by find_old_style_renaming_symbol().
|
static |
Referenced by resolve_subexp().
|
static |
Definition at line 3763 of file ada-lang.c.
References _, ada_args_match(), ada_check_typedef(), arm-linux::m, name, parse_completion, printf_filtered(), return_match(), SYMBOL_TYPE, and user_select_syms().
Definition at line 9758 of file ada-lang.c.
References _, error(), and get_array_bounds().
Referenced by coerce_for_assign().
Definition at line 11719 of file ada-lang.c.
References ada_scaling_type(), fixed_type_info(), value_binop(), and value_from_longest().
Referenced by ada_val_print_num(), cast_from_fixed(), cast_to_fixed(), and print_fixed_point_type().
Definition at line 11691 of file ada-lang.c.
References builtin_type::builtin_long_double, builtin_type(), and get_type_arch().
Referenced by ada_delta(), and ada_scaling_factor().
| int ada_scan_number | ( | const char | str[], |
| int | k, | ||
| LONGEST * | R, | ||
| int * | new_k | ||
| ) |
Definition at line 7123 of file ada-lang.c.
References R.
Referenced by ada_in_variant(), ada_is_redundant_range_encoding(), print_choices(), print_range_bound(), and to_fixed_range_type().
|
static |
Definition at line 7427 of file ada-lang.c.
References ada_check_typedef(), ada_is_parent_field(), ada_is_variant_part(), ada_is_wrapper_field(), ada_value_primitive_field(), field_name_match(), name, offset, TYPE_FIELD_BITPOS, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, and TYPE_NFIELDS.
Referenced by ada_value_struct_elt(), and scan_discrim_bound().
|
static |
Definition at line 1474 of file ada-lang.c.
References ada_decode().
|
static |
Definition at line 14415 of file ada-lang.c.
References lookup_name_info::ada(), lookup_name_info::match_type(), ada_lookup_name_info::matches(), and symbol_search_name().
Referenced by ada_get_symbol_name_matcher().
| const char* ada_tag_name | ( | struct value * | tag | ) |
Definition at line 6921 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 6897 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 6690 of file ada-lang.c.
References ada_lookup_struct_elt_type(), and value_type().
Referenced by ada_evaluate_subexp().
Definition at line 6754 of file ada-lang.c.
References ada_value_tag(), CATCH, END_CATCH, is_ada95_tag(), language_ada, language_def(), language_lookup_primitive_type(), 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 8350 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(), memset(), 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 ada_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 9201 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 9072 of file ada-lang.c.
References _, ada_check_typedef(), ada_is_tagged_type(), ada_tag_value_at_base_address(), ada_type_name(), value::address, CATCH, copy_type(), END_CATCH, get_int_var_value(), name, RETURN_MASK_ERROR, size, throw_error(), to_fixed_array_type(), to_fixed_record_type(), to_fixed_variant_branch_type(), to_static_fixed_type(), TRY, 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 9368 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 9352 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 3630 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().
| const char* ada_type_name | ( | struct type * | type | ) |
Definition at line 8151 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 1980 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 515 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 12273 of file ada-lang.c.
References parse_and_eval_address().
|
static |
Definition at line 12284 of file ada-lang.c.
References exception_support_info::catch_exception_sym, current_inferior(), ada_inferior_data::exception_info, find_frame_funname(), get_ada_inferior_data(), get_current_frame(), get_prev_frame(), parse_and_eval_address(), and select_frame().
|
static |
Definition at line 2430 of file ada-lang.c.
References _, error(), and HOST_CHAR_BIT.
Referenced by ada_value_primitive_packed_val().
|
static |
Definition at line 527 of file ada-lang.c.
Referenced by ada_lookup_name_info::matches().
Definition at line 902 of file ada-lang.c.
References language_ada, and lookup_minimal_symbol().
Referenced by ada_exception_support_info_sniffer().
Definition at line 2737 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, 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 9866 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().
Definition at line 10288 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(), and ada_evaluate_subexp_for_cast().
Definition at line 9924 of file ada-lang.c.
References _, ada_check_typedef(), 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 7929 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 7214 of file ada-lang.c.
References ada_check_typedef(), ada_value_primitive_packed_val(), offset, 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 2553 of file ada-lang.c.
References ada_check_typedef(), ada_unpack_from_contents(), allocate_value(), gdbarch_bits_big_endian(), get_type_arch(), has_negatives(), HOST_CHAR_BIT, is_dynamic_type(), is_scalar_type(), lval_memory, memset(), offset, read_memory(), resolve_dynamic_type(), set_value_bitpos(), set_value_bitsize(), set_value_component_location(), set_value_offset(), set_value_parent(), TYPE_LENGTH, value_address(), value_at(), value_bitpos(), value_contents(), value_contents_writeable(), value_lazy(), and VALUE_LVAL.
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 2872 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_FIELD_BITSIZE, TYPE_INDEX_TYPE, TYPE_TARGET_TYPE, value_cast(), value_copy(), value_enclosing_type(), value_from_longest(), value_ind(), value_ptradd(), value_subscript_packed(), and value_type().
Referenced by ada_evaluate_subexp().
Definition at line 2937 of file ada-lang.c.
References _, ada_check_typedef(), create_array_type_with_stride(), create_static_range_type(), discrete_position(), DYN_PROP_BYTE_STRIDE, get_dyn_prop(), TYPE_FIELD_BITSIZE, TYPE_INDEX_TYPE, TYPE_TARGET_TYPE, value_cast(), value_slice(), value_type(), and warning().
Referenced by ada_evaluate_subexp().
|
static |
Definition at line 2906 of file ada-lang.c.
References _, ada_check_typedef(), ada_discrete_type_low_bound(), create_array_type_with_stride(), create_static_range_type(), discrete_position(), DYN_PROP_BYTE_STRIDE, get_dyn_prop(), TYPE_FIELD_BITSIZE, TYPE_INDEX_TYPE, TYPE_LENGTH, TYPE_TARGET_TYPE, value_as_address(), value_at_lazy(), and warning().
Referenced by ada_evaluate_subexp().
Definition at line 7577 of file ada-lang.c.
References _, ada_check_typedef(), ada_coerce_ref(), ada_get_base_type(), ada_is_tagged_type(), ada_search_struct_field(), ada_to_fixed_type(), ada_value_ind(), ada_value_primitive_packed_val(), coerce_ref(), error(), find_struct_field(), name, 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 2837 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 6707 of file ada-lang.c.
References ada_value_struct_elt().
Referenced by ada_evaluate_subexp(), and ada_tag_value_at_base_address().
| const char* ada_variant_discrim_name | ( | struct type * | type0 | ) |
Definition at line 7069 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 7045 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 7855 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 551 of file ada-lang.c.
References xfree(), and xstrprintf().
Referenced by ada_lookup_name_info::matches().
|
static |
Definition at line 10249 of file ada-lang.c.
References _, error(), and size.
Referenced by aggregate_assign_from_choices(), and aggregate_assign_positional().
|
static |
Definition at line 4880 of file ada-lang.c.
References block_symbol::block, defns_collected(), lesseq_defined_than(), num_defns_collected(), and block_symbol::symbol.
Referenced by ada_add_all_symbols(), ada_add_block_symbols(), and aux_add_nonlocal_symbols().
|
static |
Definition at line 5667 of file ada-lang.c.
References lookup_name_info::ada(), ada_add_block_renamings(), ada_lookup_name(), ALL_OBJFILE_COMPUNITS, ALL_OBJFILES, aux_add_nonlocal_symbols(), BLOCKVECTOR_BLOCK, compare_names(), COMPUNIT_BLOCKVECTOR, FULL, selftests::scoped_restore_tests::global, GLOBAL_BLOCK, quick_symbol_functions::map_matching_symbols, memset(), name, lookup_name_info::name(), num_defns_collected(), objfile::objfile(), match_data::objfile, match_data::obstackp, sym_fns::qf, objfile::sf, string, WILD, and ada_lookup_name_info::wild_match_p().
Referenced by ada_add_all_symbols().
|
static |
Definition at line 4980 of file ada-lang.c.
Referenced by ada_add_local_symbols().
|
static |
Definition at line 6174 of file ada-lang.c.
References name, and startswith().
Referenced by wild_match().
|
static |
Definition at line 10139 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 10221 of file ada-lang.c.
References ada_evaluate_subexp(), assign_component(), and EVAL_SKIP.
Referenced by assign_aggregate().
|
static |
Definition at line 10114 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().
|
static |
Definition at line 7964 of file ada-lang.c.
Referenced by ada_template_to_fixed_record_type_1().
|
static |
Definition at line 13001 of file ada-lang.c.
References ada_catch_assert, and allocate_location_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12907 of file ada-lang.c.
References ada_catch_exception, and allocate_location_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12953 of file ada-lang.c.
References ada_catch_exception_unhandled, and allocate_location_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 13047 of file ada-lang.c.
References ada_catch_handlers, and allocate_location_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12585 of file ada-lang.c.
References ada_catchpoint_location_ops.
Referenced by allocate_location_catch_assert(), allocate_location_catch_exception(), allocate_location_catch_exception_unhandled(), and allocate_location_catch_handlers().
|
static |
Definition at line 10029 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(), check_typedef(), 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 9990 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(), check_typedef(), 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 5480 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 4729 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(), name, 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 9729 of file ada-lang.c.
References ada_scaling_factor(), value_binop(), value_cast(), and value_type().
Referenced by ada_evaluate_subexp(), ada_value_cast(), and cast_to_fixed().
Definition at line 9739 of file ada-lang.c.
References ada_is_fixed_point_type(), ada_scaling_factor(), cast_from_fixed(), value_binop(), value_cast(), and value_type().
Referenced by ada_evaluate_subexp(), and ada_value_cast().
|
static |
Definition at line 13478 of file ada-lang.c.
References _, error(), skip_spaces(), and startswith().
Referenced by catch_assert_command().
|
static |
Definition at line 13422 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 13137 of file ada-lang.c.
References _, ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, ada_get_next_arg(), discard_cleanups(), error(), make_cleanup(), null_cleanup(), skip_spaces(), startswith(), and xfree().
Referenced by catch_ada_exception_command(), and catch_ada_handlers_command().
|
static |
Definition at line 13447 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 13502 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 13013 of file ada-lang.c.
References ada_catch_assert, and check_status_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12919 of file ada-lang.c.
References ada_catch_exception, and check_status_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12965 of file ada-lang.c.
References ada_catch_exception_unhandled, and check_status_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 13059 of file ada-lang.c.
References ada_catch_handlers, and check_status_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12654 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(), check_status_catch_exception_unhandled(), and check_status_catch_handlers().
Definition at line 9824 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 673 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().
|
static |
Definition at line 5636 of file ada-lang.c.
References case_sensitive_off, case_sensitive_on, and compare_names_with_case().
Referenced by add_nonlocal_symbols().
|
static |
Definition at line 5571 of file ada-lang.c.
References case_sensitive_off, is_name_suffix(), and strcmp_iw_ordered().
Referenced by compare_names().
Definition at line 703 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 712 of file ada-lang.c.
References value::address, and offset.
Referenced by ada_template_to_fixed_record_type_1(), and to_record_with_fixed_variant_part().
Definition at line 2201 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 13396 of file ada-lang.c.
References ada_exception_sal(), create_excep_cond_exprs(), init_ada_exception_breakpoint(), install_breakpoint(), and set_breakpoint_condition().
Referenced by catch_ada_exception_command(), catch_ada_handlers_command(), catch_assert_command(), mi_cmd_catch_assert(), and mi_cmd_catch_exception().
|
static |
Definition at line 12520 of file ada-lang.c.
References _, ada_exception_catchpoint_cond_string(), bp_location::address, 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 2297 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 2249 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 2151 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 4930 of file ada-lang.c.
Referenced by ada_add_local_symbols(), ada_lookup_symbol_list_worker(), and add_defn_to_vec().
|
static |
Definition at line 1890 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 1588 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().
|
static |
Definition at line 1852 of file ada-lang.c.
References desc_base_type(), and TYPE_FIELD_BITPOS.
Referenced by make_array_descriptor().
|
static |
Definition at line 1862 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 1696 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 1666 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 1799 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 1776 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 1876 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 1841 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().
|
static |
Definition at line 4223 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 14345 of file ada-lang.c.
References ada_lookup_name(), full_match(), and symbol_search_name().
Referenced by ada_get_symbol_name_matcher().
|
static |
Definition at line 14335 of file ada-lang.c.
References ada_lookup_name(), symbol_search_name(), and wild_match().
Referenced by ada_get_symbol_name_matcher().
Definition at line 8265 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), ada_type_name(), type, TYPE_CODE, and TYPE_CODE_STRUCT.
Referenced by ada_evaluate_subexp(), to_fixed_record_type(), and to_static_fixed_type().
Definition at line 14311 of file ada-lang.c.
References ada_emit_char().
Definition at line 3201 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 8318 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().
|
static |
Definition at line 3812 of file ada-lang.c.
Referenced by sort_choices().
Definition at line 4474 of file ada-lang.c.
References ada_check_typedef(), 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 4822 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 9686 of file ada-lang.c.
References EVAL_AVOID_SIDE_EFFECTS, evaluate_subexp(), and NULL_TYPE.
Referenced by resolve_subexp().
|
static |
Definition at line 1751 of file ada-lang.c.
References desc_base_type(), and TYPE_FIELD_BITPOS.
Referenced by make_array_descriptor().
|
static |
Definition at line 1760 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().
|
static |
Definition at line 1817 of file ada-lang.c.
References desc_base_type(), and TYPE_FIELD_BITPOS.
Referenced by make_array_descriptor().
|
static |
Definition at line 1826 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().
|
static |
Definition at line 7972 of file ada-lang.c.
References name, startswith(), TARGET_CHAR_BIT, and TYPE_FIELD_NAME.
Referenced by ada_template_to_fixed_record_type_1().
|
static |
Definition at line 597 of file ada-lang.c.
References field_name(), 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 4689 of file ada-lang.c.
References ada_get_symbol_cache(), current_program_space, cache_entry::domain, HASH_SIZE, msymbol_hash(), name, cache_entry::next, and ada_symbol_cache::root.
Referenced by dw2_get_file_names_reader(), lookup_cached_symbol(), lookup_dwo_file_slot(), lookup_signatured_type(), and process_skeletonless_type_unit().
|
static |
Definition at line 8059 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(), name, SYMBOL_LINKAGE_NAME, and xsnprintf().
Referenced by ada_find_renaming_symbol().
|
static |
Definition at line 8165 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, name, TYPE_DESCRIPTIVE_TYPE, and warning().
Referenced by ada_find_parallel_type_with_name().
|
static |
Definition at line 7303 of file ada-lang.c.
References ada_check_typedef(), ada_is_parent_field(), ada_is_variant_part(), ada_is_wrapper_field(), field_name_match(), name, offset, 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().
|
static |
Definition at line 11649 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 ada_scaling_factor().
|
static |
Definition at line 6250 of file ada-lang.c.
References is_name_suffix(), and startswith().
Referenced by do_full_match().
|
static |
Definition at line 415 of file ada-lang.c.
References XCNEW.
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 458 of file ada-lang.c.
References ada_pspace_data_handle, and XCNEW.
Referenced by ada_get_symbol_cache().
Definition at line 844 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().
| bool get_int_var_value | ( | const char * | name, |
| LONGEST & | value | ||
| ) |
Definition at line 11826 of file ada-lang.c.
References get_var_value(), name, 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, | ||
| const char * | annotation_suffix | ||
| ) |
Definition at line 4046 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 11797 of file ada-lang.c.
References ada_lookup_symbol_list_worker(), do_cleanups(), error(), FULL, get_selected_block(), make_cleanup(), name, value_of_variable(), VAR_DOMAIN, and xfree().
Referenced by get_int_var_value().
| void* grow_vect | ( | void * | vect, |
| size_t * | size, | ||
| size_t | min_size, | ||
| int | element_size | ||
| ) |
Definition at line 581 of file ada-lang.c.
References size, and xrealloc().
|
static |
Definition at line 2402 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 13819 of file ada-lang.c.
References _, ada_exceptions_list(), get_current_arch(), paddress(), and printf_filtered().
Referenced by _initialize_ada_language().
|
static |
Definition at line 14567 of file ada-lang.c.
References breakpoint_ops::allocate_location, allocate_location_catch_assert(), allocate_location_catch_exception(), allocate_location_catch_exception_unhandled(), allocate_location_catch_handlers(), bkpt_breakpoint_ops, catch_assert_breakpoint_ops, catch_exception_breakpoint_ops, catch_exception_unhandled_breakpoint_ops, catch_handlers_breakpoint_ops, breakpoint_ops::check_status, check_status_catch_assert(), check_status_catch_exception(), check_status_catch_exception_unhandled(), check_status_catch_handlers(), initialize_breakpoint_ops(), breakpoint_ops::print_it, print_it_catch_assert(), print_it_catch_exception(), print_it_catch_exception_unhandled(), print_it_catch_handlers(), breakpoint_ops::print_mention, print_mention_catch_assert(), print_mention_catch_exception(), print_mention_catch_exception_unhandled(), print_mention_catch_handlers(), breakpoint_ops::print_one, print_one_catch_assert(), print_one_catch_exception(), print_one_catch_exception_unhandled(), print_one_catch_handlers(), breakpoint_ops::print_recreate, print_recreate_catch_assert(), print_recreate_catch_exception(), print_recreate_catch_exception_unhandled(), print_recreate_catch_handlers(), breakpoint_ops::re_set, re_set_catch_assert(), re_set_catch_exception(), re_set_catch_exception_unhandled(), and re_set_catch_handlers().
Referenced by _initialize_ada_language().
|
static |
Definition at line 4179 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().
|
static |
Definition at line 6699 of file ada-lang.c.
References ada_value_struct_elt().
Referenced by ada_tag_value_at_base_address().
|
static |
Definition at line 8287 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 12194 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, and symtab_to_fullname().
Referenced by ada_find_printable_frame().
|
static |
Definition at line 1078 of file ada-lang.c.
Referenced by ada_decode().
|
static |
Definition at line 6017 of file ada-lang.c.
Referenced by ada_add_block_symbols(), compare_names_with_case(), full_match(), and wild_match().
|
static |
Definition at line 4990 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 4805 of file ada-lang.c.
References LOC_CONST, SYMBOL_CLASS, SYMBOL_TYPE, TYPE_CODE, TYPE_CODE_ENUM, and TYPE_CODE_FUNC.
|
static |
Definition at line 5228 of file ada-lang.c.
References name, standard_lookup(), VAR_DOMAIN, and xstrprintf().
Referenced by old_renaming_is_invisible().
|
static |
Definition at line 658 of file ada-lang.c.
Referenced by is_thin_pntr(), and thin_descriptor_type().
|
static |
Definition at line 1655 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().
|
static |
Definition at line 1607 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 7841 of file ada-lang.c.
References ada_lookup_struct_elt_type(), and ada_variant_discrim_name().
Referenced by to_fixed_variant_branch_type().
|
static |
Definition at line 4842 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 730 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 14428 of file ada-lang.c.
References lookup_name_info::completion_mode(), name, lookup_name_info::name(), completion_match_result::set_match(), string, and symbol_search_name().
Referenced by ada_get_symbol_name_matcher().
|
static |
Definition at line 4711 of file ada-lang.c.
References cache_entry::domain, find_entry(), name, and cache_entry::sym.
Referenced by ada_add_all_symbols(), and standard_lookup().
|
static |
Definition at line 356 of file ada-lang.c.
References all_commands, gdb_stdout, help_list(), and maint_set_ada_cmdlist.
Referenced by _initialize_ada_language().
|
static |
Definition at line 365 of file ada-lang.c.
References cmd_show_list(), and maint_show_ada_cmdlist.
Referenced by _initialize_ada_language().
Definition at line 4581 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().
|
static |
Definition at line 755 of file ada-lang.c.
References size.
Referenced by max_of_type(), and min_of_size().
Definition at line 780 of file ada-lang.c.
References max_of_size(), TYPE_LENGTH, TYPE_UNSIGNED, and umax_of_size().
Referenced by ada_discrete_type_high_bound().
|
static |
Definition at line 764 of file ada-lang.c.
References max_of_size(), and size.
Referenced by min_of_type().
Definition at line 790 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 2669 of file ada-lang.c.
References HOST_CHAR_BIT.
Referenced by ada_value_assign(), and value_assign_to_component().
|
static |
Definition at line 4776 of file ada-lang.c.
Referenced by ada_lookup_simple_minsym(), and ada_lookup_symbol_list().
|
static |
Definition at line 13683 of file ada-lang.c.
References ada_decode(), compiled_regex::exec(), and name.
Referenced by ada_add_global_exceptions().
|
static |
Definition at line 9960 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 4921 of file ada-lang.c.
Referenced by ada_add_all_symbols(), ada_add_block_renamings(), ada_add_local_symbols(), ada_lookup_symbol_list_worker(), add_defn_to_vec(), and add_nonlocal_symbols().
|
static |
Definition at line 7408 of file ada-lang.c.
References find_struct_field().
Referenced by assign_aggregate().
|
static |
Definition at line 4156 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 5260 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 14317 of file ada-lang.c.
References ada_parse(), cleanup_check::ps, and warnings_issued.
Referenced by mi_cmd_execute(), mi_parse(), and mi_parse_argv().
|
static |
Definition at line 4397 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 9412 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().
|
static |
Referenced by resolve_subexp().
|
static |
Definition at line 4247 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 13019 of file ada-lang.c.
References ada_catch_assert, and print_it_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12925 of file ada-lang.c.
References ada_catch_exception, and print_it_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12971 of file ada-lang.c.
References ada_catch_exception_unhandled, and print_it_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 13065 of file ada-lang.c.
References ada_catch_handlers, and print_it_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12663 of file ada-lang.c.
References ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, ada_exception_message(), ada_exception_name_addr(), ada_find_printable_frame(), annotate_catchpoint(), async_reason_lookup(), bpdisp_text(), bpstats::breakpoint_at, current_uiout, disp_del, breakpoint::disposition, do_cleanups(), EXEC_ASYNC_BREAKPOINT_HIT, ui_out::field_int(), ui_out::field_string(), get_current_frame(), ui_out::is_mi_like_p(), make_cleanup(), breakpoint::number, PRINT_SRC_AND_LOC, read_memory(), select_frame(), ui_out::text(), and xfree().
Referenced by print_it_catch_assert(), print_it_catch_exception(), print_it_catch_exception_unhandled(), and print_it_catch_handlers().
|
static |
Definition at line 13031 of file ada-lang.c.
References ada_catch_assert, and print_mention_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12937 of file ada-lang.c.
References ada_catch_exception, and print_mention_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12984 of file ada-lang.c.
References ada_catch_exception_unhandled, and print_mention_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 13078 of file ada-lang.c.
References ada_catch_handlers, and print_mention_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12817 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, current_uiout, disp_del, breakpoint::disposition, do_cleanups(), ada_catchpoint::excep_string, ui_out::field_int(), internal_error(), make_cleanup(), breakpoint::number, string, string_printf(), ui_out::text(), xfree(), and xstrprintf().
Referenced by print_mention_catch_assert(), print_mention_catch_exception(), print_mention_catch_exception_unhandled(), and print_mention_catch_handlers().
|
static |
Definition at line 13025 of file ada-lang.c.
References ada_catch_assert, and print_one_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12931 of file ada-lang.c.
References ada_catch_exception, and print_one_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12977 of file ada-lang.c.
References ada_catch_exception_unhandled, and print_one_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 13071 of file ada-lang.c.
References ada_catch_handlers, and print_one_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12757 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, bp_location::address, value_print_options::addressprint, annotate_field(), current_uiout, ada_catchpoint::excep_string, ui_out::field_core_addr(), ui_out::field_fmt(), ui_out::field_string(), bp_location::gdbarch, get_user_print_options(), internal_error(), breakpoint::loc, xfree(), and xstrprintf().
Referenced by print_one_catch_assert(), print_one_catch_exception(), print_one_catch_exception_unhandled(), and print_one_catch_handlers().
|
static |
Definition at line 13037 of file ada-lang.c.
References ada_catch_assert, and print_recreate_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12943 of file ada-lang.c.
References ada_catch_exception, and print_recreate_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12990 of file ada-lang.c.
References ada_catch_exception_unhandled, and print_recreate_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 13084 of file ada-lang.c.
References ada_catch_handlers, and print_recreate_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12873 of file ada-lang.c.
References _, ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, ada_catchpoint::excep_string, fprintf_filtered(), internal_error(), and print_recreate_thread().
Referenced by print_recreate_catch_assert(), print_recreate_catch_exception(), print_recreate_catch_exception_unhandled(), and print_recreate_catch_handlers().
|
static |
Definition at line 13007 of file ada-lang.c.
References ada_catch_assert, and re_set_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12913 of file ada-lang.c.
References ada_catch_exception, and re_set_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12959 of file ada-lang.c.
References ada_catch_exception_unhandled, and re_set_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 13053 of file ada-lang.c.
References ada_catch_handlers, and re_set_exception().
Referenced by initialize_ada_catchpoint_ops().
|
static |
Definition at line 12595 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(), re_set_catch_exception_unhandled(), and re_set_catch_handlers().
|
static |
Definition at line 5107 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 5334 of file ada-lang.c.
References ADA_OBJECT_RENAMING, ada_parse_renaming(), block_symbol::block, block_linkage_function(), LOC_TYPEDEF, name, old_renaming_is_invisible(), block_symbol::symbol, SYMBOL_CLASS, and SYMBOL_LINKAGE_NAME.
Referenced by ada_lookup_symbol_list_worker().
|
static |
Definition at line 4122 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, and xzalloc().
Referenced by resolve_subexp().
|
static |
Definition at line 3242 of file ada-lang.c.
References builtin_type(), builtin_type::builtin_void, and resolve_subexp().
|
static |
Definition at line 3263 of file ada-lang.c.
References _, ada_decoded_op_name(), ada_forward_operator_length(), ada_lookup_symbol_list(), ada_resolve_function(), exp_element::block, block_symbol::block, BYTES_TO_EXP_ELEM, check_typedef(), contained_in(), do_cleanups(), expression::elts, error(), EVAL_AVOID_SIDE_EFFECTS, evaluate_subexp_type(), evaluate_var_msym_value(), 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(), make_cleanup(), exp_element::msymbol, null_cleanup(), exp_element::objfile, exp_element::opcode, possible_user_operator_p(), printf_filtered(), replace_operator_with_call(), exp_element::symbol, block_symbol::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(), VAR_DOMAIN, and xfree().
Referenced by resolve().
Definition at line 3725 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().
|
static |
Definition at line 4201 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().
|
static |
Definition at line 11751 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 14551 of file ada-lang.c.
References _, all_commands, gdb_stdout, help_list(), printf_unfiltered(), and set_ada_list.
Referenced by _initialize_ada_language().
|
static |
Definition at line 12613 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().
|
static |
Definition at line 14561 of file ada-lang.c.
References cmd_show_list(), and show_ada_list.
Referenced by _initialize_ada_language().
|
static |
Definition at line 3848 of file ada-lang.c.
References encoded_ordered_before(), block_symbol::symbol, and SYMBOL_LINKAGE_NAME.
Referenced by user_select_syms().
|
static |
Definition at line 13591 of file ada-lang.c.
Referenced by ada_exceptions_list_1().
|
static |
Definition at line 4787 of file ada-lang.c.
References block_symbol::block, cache_symbol(), language_c, lookup_cached_symbol(), lookup_symbol_in_language(), name, and block_symbol::symbol.
Referenced by ada_exception_sal(), ada_find_any_type_symbol(), ada_has_this_exception_support(), and is_package_name().
Definition at line 9271 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 5061 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 8597 of file ada-lang.c.
References ada_template_to_fixed_record_type_1().
Referenced by to_fixed_record_type().
Definition at line 8614 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 1639 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 1617 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 8919 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, 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 11848 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_LENGTH, 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 8765 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 8801 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 8683 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 9237 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().
|
static |
Definition at line 7686 of file ada-lang.c.
References string_file::string(), and type_print().
Referenced by ada_lookup_struct_elt_type().
Definition at line 6738 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().
|
static |
Definition at line 9695 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 block_symbol * | syms, |
| int | nsyms, | ||
| int | max_results | ||
| ) |
Definition at line 3920 of file ada-lang.c.
References _, ada_print_symbol_signature(), 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(), 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 2804 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 4560 of file ada-lang.c.
References extract_unsigned_integer(), gdbarch_address_to_pointer(), gdbarch_byte_order(), get_type_arch(), TYPE_LENGTH, and value_address().
Referenced by make_array_descriptor().
Definition at line 9428 of file ada-lang.c.
References pos_atr(), and value_from_longest().
Referenced by ada_evaluate_subexp().
|
static |
Definition at line 2352 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_ptr_subscript(), and ada_value_subscript().
|
static |
Definition at line 6717 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 9436 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().
|
static |
Definition at line 8300 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 6219 of file ada-lang.c.
References advance_wild_match(), is_name_suffix(), is_valid_name_for_wild_match(), and name.
Referenced by do_wild_match().
|
static |
Definition at line 5194 of file ada-lang.c.
References name, type_name_no_tag(), and xmalloc().
Referenced by old_renaming_is_invisible().
|
static |
Definition at line 12501 of file ada-lang.c.
Referenced by allocate_location_exception().
|
static |
Definition at line 322 of file ada-lang.c.
Referenced by ada_get_gdb_completer_word_break_characters().
|
static |
Definition at line 14323 of file ada-lang.c.
|
static |
Definition at line 14490 of file ada-lang.c.
|
static |
Definition at line 372 of file ada-lang.c.
Referenced by _initialize_ada_language(), and find_parallel_type_by_descriptive_type().
|
static |
Definition at line 393 of file ada-lang.c.
| const struct language_defn ada_language_defn |
|
static |
Definition at line 331 of file ada-lang.c.
Referenced by ada_main_name().
|
static |
Definition at line 14189 of file ada-lang.c.
| const struct ada_opname_map ada_opname_table[] |
Definition at line 955 of file ada-lang.c.
Referenced by ada_decode(), ada_decoded_op_name(), ada_encode_1(), and is_ada_operator().
|
static |
Definition at line 450 of file ada-lang.c.
Referenced by _initialize_ada_language(), and get_ada_pspace_data().
|
static |
Definition at line 9383 of file ada-lang.c.
Referenced by ada_attribute_name().
|
static |
Definition at line 1571 of file ada-lang.c.
Referenced by desc_index_type(), and desc_one_bound().
|
static |
Definition at line 13042 of file ada-lang.c.
Referenced by ada_exception_breakpoint_ops(), and initialize_ada_catchpoint_ops().
|
static |
Definition at line 12948 of file ada-lang.c.
Referenced by ada_exception_breakpoint_ops(), and initialize_ada_catchpoint_ops().
|
static |
Definition at line 12996 of file ada-lang.c.
Referenced by ada_exception_breakpoint_ops(), and initialize_ada_catchpoint_ops().
|
static |
Definition at line 13090 of file ada-lang.c.
Referenced by ada_exception_breakpoint_ops(), and initialize_ada_catchpoint_ops().
|
static |
Definition at line 1417 of file ada-lang.c.
Referenced by _initialize_ada_language(), and ada_decode_symbol().
|
static |
Definition at line 12057 of file ada-lang.c.
Referenced by ada_exception_support_info_sniffer().
|
static |
Definition at line 12070 of file ada-lang.c.
Referenced by ada_exception_support_info_sniffer().
|
static |
Definition at line 344 of file ada-lang.c.
Referenced by is_known_support_routine().
|
static |
Definition at line 340 of file ada-lang.c.
Referenced by is_known_support_routine().
|
static |
Definition at line 350 of file ada-lang.c.
Referenced by _initialize_ada_language(), and maint_set_ada_cmd().
|
static |
Definition at line 351 of file ada-lang.c.
Referenced by _initialize_ada_language(), and maint_show_ada_cmd().
|
static |
Definition at line 3870 of file ada-lang.c.
Referenced by _initialize_ada_language(), and ada_print_symbol_signature().
|
static |
Definition at line 14545 of file ada-lang.c.
Referenced by _initialize_ada_language(), and set_ada_command().
|
static |
Definition at line 14546 of file ada-lang.c.
Referenced by _initialize_ada_language(), and show_ada_command().
|
static |
Definition at line 12013 of file ada-lang.c.
Referenced by ada_add_standard_exceptions(), ada_exception_catchpoint_cond_string(), and ada_is_non_standard_exception_sym().
|
static |
Definition at line 9513 of file ada-lang.c.
Referenced by _initialize_ada_language(), and ada_is_aligner_type().
|
static |
Definition at line 320 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 334 of file ada-lang.c.
Referenced by lim_warning().
|
static |
Definition at line 338 of file ada-lang.c.
Referenced by lim_warning(), and parse().
1.8.14