GDB (xrefs)
|
#include "defs.h"
#include <ctype.h>
#include "gdbsupport/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 "inferior.h"
#include "symfile.h"
#include "objfiles.h"
#include "breakpoint.h"
#include "gdbcore.h"
#include "hashtab.h"
#include "gdbsupport/gdb_obstack.h"
#include "ada-lang.h"
#include "completer.h"
#include "ui-out.h"
#include "block.h"
#include "infcall.h"
#include "annotate.h"
#include "valprint.h"
#include "source.h"
#include "observable.h"
#include "stack.h"
#include "typeprint.h"
#include "namespace.h"
#include "cli/cli-style.h"
#include "cli/cli-decode.h"
#include "value.h"
#include "mi/mi-common.h"
#include "arch-utils.h"
#include "cli/cli-utils.h"
#include "gdbsupport/function-view.h"
#include "gdbsupport/byte-vector.h"
#include <algorithm>
#include "ada-exp.h"
#include "charset.h"
#include "ada-casefold.h"
Go to the source code of this file.
Classes | |
struct | utf8_entry |
struct | cache_entry |
struct | ada_symbol_cache |
struct | ada_inferior_data |
struct | ada_pspace_data |
struct | match_data |
struct | exception_support_info |
struct | ada_catchpoint |
class | ada_catchpoint_location |
class | ada_language |
Namespaces | |
namespace | expr |
Macros | |
#define | TRUNCATION_TOWARDS_ZERO ((-5 / 2) == -2) |
#define | HASH_SIZE 1009 |
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_args_match (struct symbol *, struct value **, int) |
static struct value * | make_array_descriptor (struct type *, struct value *) |
static void | ada_add_block_symbols (std::vector< struct block_symbol > &, const struct block *, const lookup_name_info &lookup_name, domain_enum, struct objfile *) |
static void | ada_add_all_symbols (std::vector< struct block_symbol > &, const struct block *, const lookup_name_info &lookup_name, domain_enum, int, int *) |
static int | is_nonfunction (const std::vector< struct block_symbol > &) |
static void | add_defn_to_vec (std::vector< struct block_symbol > &, struct symbol *, const struct block *) |
static int | possible_user_operator_p (enum exp_opcode, struct value **) |
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 struct type * | ada_lookup_struct_elt_type (struct type *, const char *, int, 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_unconstrained_packed_array_type (struct type *) |
static struct value * | value_subscript_packed (struct value *, int, struct value **) |
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 *, char) |
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 * | val_atr (struct type *, LONGEST) |
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 int | find_struct_field (const char *, struct type *, int, struct type **, int *, int *, int *, int *) |
static int | ada_resolve_function (std::vector< struct block_symbol > &, struct value **, int, const char *, struct type *, bool) |
static int | ada_is_direct_array_type (struct type *) |
static struct value * | ada_index_struct_field (int, struct value *, int, struct type *) |
static void | add_component_interval (LONGEST, LONGEST, std::vector< LONGEST > &) |
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 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 struct type * | ada_typedef_target_type (struct type *type) |
static const char * | ada_unqualified_name (const char *decoded_name) |
static std::string | add_angle_brackets (const char *str) |
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 |
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) |
static enum language | ada_update_initial_language (enum language lang) |
char * | ada_main_name (void) |
static bool | is_compiler_suffix (const char *str) |
static void | append_hex_encoded (std::string &result, uint32_t one_char) |
template<typename T > | |
std::string | copy_and_hex_encode (struct obstack *storage) |
static std::string | ada_encode_1 (const char *decoded, bool throw_errors) |
static const utf8_entry * | find_case_fold_entry (uint32_t c) |
static const char * | ada_fold_name (gdb::string_view name, bool throw_on_error=false) |
std::string | ada_encode (const char *decoded, bool fold) |
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 int | remove_compiler_suffix (const char *encoded, int *len) |
static bool | convert_hex (const char *str, int n, uint32_t *out) |
static bool | convert_from_hex_encoded (std::string &out, const char *str, int n) |
std::string | ada_decode (const char *encoded, bool wrap, bool operators) |
const char * | ada_decode_symbol (const struct general_symbol_info *arg) |
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) |
static 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) |
static int | ada_is_gnat_encoded_packed_array_type (struct type *type) |
int | ada_is_constrained_packed_array_type (struct type *type) |
static bool | ada_is_any_packed_array_type (struct type *type) |
static LONGEST | recursively_update_array_bitsize (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) |
bool | ada_is_access_to_unconstrained_array (struct type *type) |
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) |
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, int high) |
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) |
static int | get_selections (int *choices, int n_choices, int max_results, int is_all_choice, const char *annotation_suffix) |
static int | user_select_syms (struct block_symbol *syms, int nsyms, int max_results) |
block_symbol | ada_find_operator_symbol (enum exp_opcode op, bool parse_completion, int nargs, value *argvec[]) |
block_symbol | ada_resolve_funcall (struct symbol *sym, const struct block *block, struct type *context_type, bool parse_completion, int nargs, value *argvec[], innermost_block_tracker *tracker) |
static int | ada_resolve_enum (std::vector< struct block_symbol > &syms, const char *name, struct type *context_type, bool parse_completion) |
block_symbol | ada_resolve_variable (struct symbol *sym, const struct block *block, struct type *context_type, bool parse_completion, int deprocedure_p, innermost_block_tracker *tracker) |
static int | ada_type_match (struct type *ftype, struct type *atype) |
static int | return_match (struct type *func_type, struct type *context_type) |
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) |
static struct value * | ada_value_struct_elt (struct value *arg, const char *name, int no_err) |
struct value * | ada_convert_actual (struct value *actual, struct type *formal_type0) |
static CORE_ADDR | value_pointer (struct value *value, struct type *type) |
static struct ada_symbol_cache * | ada_get_symbol_cache (struct program_space *pspace) |
static void | ada_clear_symbol_cache () |
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) |
struct bound_minimal_symbol | ada_lookup_simple_minsym (const char *name, struct objfile *objfile) |
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 (const std::vector< struct block_symbol > &syms) |
static void | remove_extra_symbols (std::vector< struct block_symbol > *syms) |
static std::string | 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 void | remove_irrelevant_renamings (std::vector< struct block_symbol > *syms, const struct block *current_block) |
static void | ada_add_local_symbols (std::vector< struct block_symbol > &result, const lookup_name_info &lookup_name, const struct block *block, domain_enum domain) |
static int | ada_add_block_renamings (std::vector< struct block_symbol > &result, 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 | map_matching_symbols (struct objfile *objfile, const lookup_name_info &lookup_name, bool is_wild_match, domain_enum domain, int global, match_data &data) |
static void | add_nonlocal_symbols (std::vector< struct block_symbol > &result, const lookup_name_info &lookup_name, domain_enum domain, int global) |
static std::vector< struct block_symbol > | ada_lookup_symbol_list_worker (const lookup_name_info &lookup_name, const struct block *block, domain_enum domain, int full_search) |
std::vector< struct block_symbol > | ada_lookup_symbol_list (const char *name, const struct block *block, domain_enum domain) |
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) |
static int | is_valid_name_for_wild_match (const char *name0) |
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) |
static struct type * | ada_tag_type (struct value *val) |
static int | is_ada95_tag (struct value *tag) |
static 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 gdb::unique_xmalloc_ptr< char > | ada_tag_name_from_tsd (struct value *tsd) |
gdb::unique_xmalloc_ptr< 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) |
static 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) |
static int | ada_in_variant (LONGEST val, struct type *type, int field_num) |
struct value * | ada_value_primitive_field (struct value *arg1, int offset, int fieldno, struct type *arg_type) |
static int | num_visible_fields (struct type *type) |
static struct value * | ada_index_struct_field_1 (int *, struct value *, int, struct type *) |
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 value *outer) |
struct value * | ada_value_ind (struct value *val0) |
static unsigned int | field_alignment (struct type *type, int f) |
static struct symbol * | ada_find_any_type_symbol (const char *name) |
static bool | ada_is_renaming_symbol (struct symbol *name_sym) |
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) |
static struct value * | ada_to_fixed_value_create (struct type *type0, CORE_ADDR address, struct value *val0) |
struct value * | ada_to_fixed_value (struct value *val) |
static const char * | ada_attribute_name (enum exp_opcode n) |
struct value * | ada_pos_atr (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg) |
struct value * | ada_val_atr (enum noside noside, struct type *type, struct value *arg) |
bool | ada_is_character_type (struct type *type) |
bool | 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 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) |
bool | expr::check_objfile (const std::unique_ptr< ada_component > &comp, struct objfile *objfile) |
static void | expr::assign_component (struct value *container, struct value *lhs, LONGEST index, struct expression *exp, operation_up &arg) |
static struct value * | ada_value_cast (struct type *type, struct value *arg2) |
static value * | eval_ternop_in_range (struct type *expect_type, struct expression *exp, enum noside noside, value *arg1, value *arg2, value *arg3) |
value * | ada_unop_neg (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1) |
value * | ada_unop_in_range (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct type *type) |
value * | ada_atr_tag (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1) |
value * | ada_atr_size (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1) |
value * | ada_abs (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1) |
value * | ada_mult_binop (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |
value * | ada_equal_binop (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |
value * | ada_ternop_slice (struct expression *exp, enum noside noside, struct value *array, struct value *low_bound_val, struct value *high_bound_val) |
value * | ada_binop_in_bounds (struct expression *exp, enum noside noside, struct value *arg1, struct value *arg2, int n) |
static value * | ada_unop_atr (struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct type *type_arg, int tem) |
struct value * | ada_binop_minmax (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |
struct value * | ada_binop_exp (struct type *expect_type, struct expression *exp, enum noside noside, enum exp_opcode op, struct value *arg1, struct value *arg2) |
static LONGEST | expr::convert_char_literal (struct type *type, LONGEST val) |
int | ada_is_system_address_type (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 (frame_info_ptr frame) |
void | ada_find_printable_frame (frame_info_ptr fi) |
static CORE_ADDR | ada_exception_name_addr_1 (enum ada_exception_catchpoint_kind ex) |
static gdb::unique_xmalloc_ptr< char > | ada_exception_message_1 (void) |
static gdb::unique_xmalloc_ptr< char > | ada_exception_message (void) |
static CORE_ADDR | ada_exception_name_addr (enum ada_exception_catchpoint_kind ex) |
static std::string | ada_exception_catchpoint_cond_string (const char *excep_string, enum ada_exception_catchpoint_kind ex) |
static void | create_excep_cond_exprs (struct ada_catchpoint *c, enum ada_exception_catchpoint_kind ex) |
static bool | should_stop_exception (const struct bp_location *bl) |
bool | is_ada_exception_catchpoint (breakpoint *bp) |
static void | catch_ada_exception_command_split (const char *args, bool is_catch_handlers_cmd, enum ada_exception_catchpoint_kind *ex, std::string *excep_string, std::string *cond_string) |
static const char * | ada_exception_sym_name (enum ada_exception_catchpoint_kind ex) |
static struct symtab_and_line | ada_exception_sal (enum ada_exception_catchpoint_kind ex, std::string *addr_string) |
void | create_ada_exception_catchpoint (struct gdbarch *gdbarch, enum ada_exception_catchpoint_kind ex_kind, const std::string &excep_string, const std::string &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_completer (struct cmd_list_element *cmd, completion_tracker &tracker, const char *text, const char *word) |
static void | catch_ada_assert_command_split (const char *args, std::string &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, frame_info_ptr 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 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 | do_exact_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 void | ada_new_objfile_observer (struct objfile *objfile) |
static void | ada_free_objfile_observer (struct objfile *objfile) |
void | _initialize_ada_language () |
#define HASH_SIZE 1009 |
Definition at line 272 of file ada-lang.c.
#define TRUNCATION_TOWARDS_ZERO ((-5 / 2) == -2) |
Definition at line 69 of file ada-lang.c.
typedef CORE_ADDR() ada_unhandled_exception_name_addr_ftype(void) |
Definition at line 11629 of file ada-lang.c.
void _initialize_ada_language | ( | ) |
Definition at line 13977 of file ada-lang.c.
Referenced by initialize_all_files().
value * ada_abs | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
enum exp_opcode | op, | ||
struct value * | arg1 | ||
) |
Definition at line 10212 of file ada-lang.c.
References expression::gdbarch, expression::language_defn, not_lval, unop_promote(), value_less(), value_neg(), value_type(), and value_zero().
|
static |
Definition at line 5652 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(), and ada_lookup_name_info::standard_p().
Referenced by ada_add_block_renamings(), and ada_lookup_symbol_list_worker().
|
static |
Definition at line 5420 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, and using_direct::searched.
Referenced by ada_add_block_symbols(), and add_nonlocal_symbols().
|
static |
Definition at line 6074 of file ada-lang.c.
References symbol::aclass(), 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(), symbol::is_argument(), is_name_suffix(), general_symbol_info::language(), general_symbol_info::linkage_name(), LOC_UNRESOLVED, ada_lookup_name_info::lookup_name(), 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 13066 of file ada-lang.c.
References symbol::aclass(), ada_is_exception_sym(), ALL_BLOCK_SYMBOLS, block::function(), get_frame_block(), LOC_BLOCK, LOC_CONST, LOC_TYPEDEF, general_symbol_info::print_name(), block::superblock(), and symbol::value_address().
Referenced by ada_exceptions_list_1().
|
static |
Definition at line 13130 of file ada-lang.c.
References ada_decode(), ada_is_non_standard_exception_sym(), ALL_BLOCK_SYMBOLS, blockvector::block(), objfile::compunits(), current_program_space, expand_symtabs_matching(), GLOBAL_BLOCK, lookup_name_info::match_any(), name_matches_regex(), general_symbol_info::natural_name(), program_space::objfiles(), general_symbol_info::print_name(), SEARCH_GLOBAL_BLOCK, SEARCH_STATIC_BLOCK, STATIC_BLOCK, symbol::value_address(), and VARIABLES_DOMAIN.
Referenced by ada_exceptions_list_1().
|
static |
Definition at line 5343 of file ada-lang.c.
References ada_add_block_symbols(), block::function(), is_nonfunction(), and block::superblock().
Referenced by ada_add_all_symbols().
|
static |
Definition at line 13020 of file ada-lang.c.
References ada_get_symbol_name_matcher(), current_program_space, gdbarch::info(), mst_solib_trampoline, objfile::msymbols(), name, name_match_type_from_name(), program_space::objfiles(), and standard_exc.
Referenced by ada_exceptions_list_1().
Definition at line 9103 of file ada-lang.c.
References ada_aligned_type(), ada_get_base_type(), ada_is_aligner_type(), type::field(), and field::type().
Referenced by ada_aligned_type(), ada_print_type(), ada_template_to_fixed_record_type_1(), ada_ternop_slice(), expr::ada_unop_ind_operation::evaluate(), expr::ada_structop_operation::evaluate(), and expr::ada_funcall_operation::evaluate().
const gdb_byte * ada_aligned_value_addr | ( | struct type * | type, |
const gdb_byte * | valaddr | ||
) |
Definition at line 9116 of file ada-lang.c.
References ada_aligned_value_addr(), ada_is_aligner_type(), type::field(), field::loc_bitpos(), and field::type().
Referenced by ada_aligned_value_addr(), ada_val_print_enum(), and ada_value_print_array().
Definition at line 3966 of file ada-lang.c.
References ada_check_typedef(), ada_type_match(), func, LOC_CONST, and value_type().
Referenced by ada_resolve_function().
int ada_array_arity | ( | struct type * | type | ) |
Definition at line 3158 of file ada-lang.c.
References ada_check_typedef(), type::code(), desc_arity(), desc_base_type(), desc_bounds_type(), and type::target_type().
Referenced by ada_array_element_type(), ada_funcall(), ada_index_type(), ada_is_string_type(), ada_type_of_array(), expr::ada_funcall_operation::evaluate(), make_array_descriptor(), and print_array_type().
|
static |
Definition at line 3331 of file ada-lang.c.
References ada_array_bound(), ada_array_bound_from_type(), ada_is_constrained_packed_array_type(), ada_is_simple_array_type(), check_typedef(), code, decode_constrained_packed_array(), desc_bounds(), desc_one_bound(), value_as_long(), value_enclosing_type(), value_ind(), and value_type().
Referenced by ada_array_bound(), ada_binop_in_bounds(), ada_unop_atr(), and make_array_descriptor().
|
static |
Definition at line 3275 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(), type::code(), decode_constrained_packed_array_type(), type::field(), type::index_type(), type::is_fixed_instance(), type::target_type(), to_fixed_range_type(), and field::type().
Referenced by ada_array_bound(), ada_array_length(), and ada_unop_atr().
Definition at line 3186 of file ada-lang.c.
References ada_array_arity(), ada_check_typedef(), type::code(), desc_base_type(), desc_data_target_type(), type::name(), and type::target_type().
Referenced by ada_is_string_type(), ada_type_of_array(), empty_array(), expr::ada_string_operation::evaluate(), expr::ada_funcall_operation::evaluate(), and print_array_type().
|
static |
Definition at line 3354 of file ada-lang.c.
References ada_array_bound_from_type(), ada_array_length(), ada_index_type(), ada_is_constrained_packed_array_type(), ada_is_simple_array_type(), check_typedef(), code, type::code(), decode_constrained_packed_array(), desc_bounds(), desc_one_bound(), type::index_type(), pos_atr(), type::target_type(), value_as_long(), value_enclosing_type(), value_from_longest(), value_ind(), and value_type().
Referenced by ada_array_length(), and ada_unop_atr().
value * ada_atr_size | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
enum exp_opcode | op, | ||
struct value * | arg1 | ||
) |
Definition at line 10189 of file ada-lang.c.
References builtin_type::builtin_int, type::code(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, type::length(), not_lval, type::target_type(), value_from_longest(), value_type(), and value_zero().
value * ada_atr_tag | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
enum exp_opcode | op, | ||
struct value * | arg1 | ||
) |
Definition at line 10175 of file ada-lang.c.
References ada_tag_type(), ada_value_tag(), EVAL_AVOID_SIDE_EFFECTS, not_lval, and value_zero().
|
static |
Definition at line 8905 of file ada-lang.c.
References attribute_names.
Referenced by ada_unop_atr().
struct value * ada_binop_exp | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct value * | arg2 | ||
) |
Definition at line 10524 of file ada-lang.c.
References binop_promote(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, is_integral_type(), expression::language_defn, not_lval, unop_promote(), value_binop(), value_type(), and value_zero().
value * ada_binop_in_bounds | ( | struct expression * | exp, |
enum noside noside noside | , | ||
struct value * | arg1, | ||
struct value * | arg2, | ||
int | n | ||
) |
Definition at line 10350 of file ada-lang.c.
References ada_array_bound(), ada_index_type(), binop_promote(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, language_bool_type(), expression::language_defn, not_lval, value_equal(), value_from_longest(), value_less(), value_type(), and value_zero().
Referenced by expr::ada_binop_in_bounds_operation::evaluate().
struct value * ada_binop_minmax | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct value * | arg2 | ||
) |
Definition at line 10507 of file ada-lang.c.
References binop_promote(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, expression::language_defn, not_lval, value_binop(), value_type(), and value_zero().
Definition at line 8805 of file ada-lang.c.
References ada_check_typedef(), ada_find_any_type(), ada_is_access_to_unconstrained_array(), check_typedef(), type::code(), type::is_stub(), name, and type::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_fixup_array_indexes_type(), ada_funcall(), ada_get_decoded_value(), ada_index_struct_field_1(), ada_index_type(), ada_is_aligner_type(), ada_is_array_descriptor_type(), ada_is_direct_array_type(), ada_is_gnat_encoded_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_enum(), ada_resolve_function(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_ternop_slice(), ada_to_fixed_type_1(), ada_type_match(), ada_type_of_array(), ada_val_print_enum(), ada_value_binop(), ada_value_cast(), ada_value_equal(), ada_value_primitive_field(), ada_value_primitive_packed_val(), ada_value_print(), ada_value_print_array(), ada_value_print_inner(), ada_value_print_num(), ada_value_print_ptr(), 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(), expr::ada_unop_ind_operation::evaluate(), expr::ada_funcall_operation::evaluate(), 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 4659 of file ada-lang.c.
References current_program_space, get_ada_pspace_data(), and ada_pspace_data::sym_cache.
Referenced by ada_free_objfile_observer(), and ada_new_objfile_observer().
Definition at line 7540 of file ada-lang.c.
References ada_is_tagged_type(), ada_tag_value_at_base_address(), ada_to_fixed_value(), code, coerce_ref(), and value_type().
Referenced by ada_unop_atr(), ada_value_assign(), ada_value_equal(), ada_value_struct_elt(), expr::ada_aggregate_operation::assign_aggregate(), expr::ada_var_value_operation::evaluate(), and expr::ada_unop_ind_operation::evaluate().
Definition at line 2206 of file ada-lang.c.
References ada_coerce_to_simple_array_ptr(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), decode_constrained_packed_array(), value_ind(), and value_type().
Referenced by ada_exception_message_1(), ada_get_decoded_value(), ada_unop_atr(), ada_value_assign(), ada_value_equal(), ada_value_subscript(), expr::ada_aggregate_operation::assign_aggregate(), expr::ada_unop_ind_operation::evaluate(), and expr::ada_funcall_operation::evaluate().
Definition at line 2185 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_get_decoded_value(), ada_ternop_slice(), and read_atcb().
Definition at line 2227 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(), and desc_data_target_type().
Referenced by ada_get_decoded_type(), ada_varobj_ind(), and print_array_type().
Definition at line 4502 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(), type::code(), desc_data(), ensure_lval(), lval_memory, make_array_descriptor(), 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().
std::string ada_decode | ( | const char * | encoded, |
bool | wrap, | ||
bool | operators | ||
) |
Definition at line 1310 of file ada-lang.c.
References ada_opname_table, ada_remove_po_subprogram_suffix(), ada_remove_trailing_digits(), convert_from_hex_encoded(), ada_opname_map::encoded, is_lower_alphanum(), and remove_compiler_suffix().
Referenced by ada_add_global_exceptions(), ada_decode_symbol(), ada_varobj_describe_simple_array_child(), ada_language::demangle_symbol(), cooked_index::handle_gnat_encoded_entry(), debug_names::insert(), is_valid_name_for_wild_match(), ada_lookup_name_info::matches(), name_matches_regex(), ada_language::sniff_from_mangled_name(), typy_get_name(), write_object_renaming(), and write_var_or_type().
const char * ada_decode_symbol | ( | const struct general_symbol_info * | arg | ) |
Definition at line 1606 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::linkage_name(), and general_symbol_info::obstack.
Referenced by general_symbol_info::natural_name().
|
static |
Definition at line 3417 of file ada-lang.c.
References ada_opname_table, ada_opname_map::decoded, and ada_opname_map::encoded.
Referenced by ada_find_operator_symbol().
LONGEST ada_discrete_type_high_bound | ( | struct type * | type | ) |
Definition at line 666 of file ada-lang.c.
References type::bounds(), type::code(), dynamic_prop::const_val(), type::field(), range_bounds::high, dynamic_prop::kind(), field::loc_enumval(), max_of_type(), type::num_fields(), PROP_CONST, PROP_UNDEFINED, and resolve_dynamic_type().
Referenced by ada_array_bound_from_type(), ada_unop_atr(), print_range(), to_fixed_range_type(), and type_is_full_subrange_of_target_type().
LONGEST ada_discrete_type_low_bound | ( | struct type * | type | ) |
Definition at line 701 of file ada-lang.c.
References type::bounds(), type::code(), dynamic_prop::const_val(), type::field(), dynamic_prop::kind(), field::loc_enumval(), range_bounds::low, min_of_type(), PROP_CONST, PROP_UNDEFINED, and resolve_dynamic_type().
Referenced by ada_array_bound_from_type(), ada_unop_atr(), 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().
std::string ada_encode | ( | const char * | decoded, |
bool | fold | ||
) |
Definition at line 1154 of file ada-lang.c.
References ada_encode_1(), and ada_fold_name().
Referenced by block_lookup(), debug_names::insert(), type_from_tag(), write_cooked_index(), and write_var_or_type().
|
static |
Definition at line 931 of file ada-lang.c.
References ada_opname_table, ada_source_charset, ada_utf8, convert_between_encodings(), ada_opname_map::decoded, host_charset(), HOST_UTF32, is_compiler_suffix(), and translit_none.
Referenced by ada_encode(), and ada_lookup_name_info::ada_lookup_name_info().
const char * ada_enum_name | ( | const char * | name | ) |
Definition at line 9131 of file ada-lang.c.
References name.
Referenced by ada_print_scalar(), ada_val_print_enum(), and print_enum_type().
value * ada_equal_binop | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct value * | arg2 | ||
) |
Definition at line 10247 of file ada-lang.c.
References ada_value_equal(), binop_promote(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, language_bool_type(), expression::language_defn, and value_from_longest().
Referenced by expr::ada_binop_equal_operation::evaluate().
|
static |
Definition at line 12691 of file ada-lang.c.
References ada_catch_handlers, name, and standard_exc.
Referenced by create_excep_cond_exprs().
|
static |
Definition at line 12061 of file ada-lang.c.
References ada_exception_message_1().
Referenced by ada_catchpoint::print_it().
|
static |
Definition at line 12029 of file ada-lang.c.
References ada_coerce_to_simple_array(), type::length(), parse_and_eval(), read_memory(), value_address(), value_type(), and xmalloc().
Referenced by ada_exception_message().
|
static |
Definition at line 12083 of file ada-lang.c.
References ada_exception_name_addr_1().
Referenced by ada_catchpoint::print_it().
|
static |
Definition at line 11985 of file ada-lang.c.
References ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, current_inferior(), get_ada_inferior_data(), and parse_and_eval_address().
Referenced by ada_exception_name_addr().
|
static |
Definition at line 12753 of file ada-lang.c.
References symbol::aclass(), ada_exception_support_info_sniffer(), ada_exception_sym_name(), find_function_start_sal(), LOC_BLOCK, standard_lookup(), and VAR_DOMAIN.
Referenced by create_ada_exception_catchpoint().
|
static |
Definition at line 11787 of file ada-lang.c.
References ada_has_this_exception_support(), ada_update_initial_language(), current_inferior(), default_exception_support_info, exception_support_info_fallback, exception_support_info_v0, get_ada_inferior_data(), inferior_ptid, language_ada, and language_unknown.
Referenced by ada_exception_sal().
|
static |
Definition at line 12659 of file ada-lang.c.
References ada_catch_assert, ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, current_inferior(), and get_ada_inferior_data().
Referenced by ada_exception_sal().
std::vector< ada_exc_info > ada_exceptions_list | ( | const char * | regexp | ) |
Definition at line 13231 of file ada-lang.c.
References ada_exceptions_list_1().
Referenced by catch_ada_completer(), info_exceptions_command(), and mi_cmd_info_ada_exceptions().
|
static |
Definition at line 13183 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 7608 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 7591 of file ada-lang.c.
References symbol::aclass(), get_selected_block(), LOC_TYPEDEF, name, standard_lookup(), STRUCT_DOMAIN, and VAR_DOMAIN.
Referenced by ada_find_any_type().
block_symbol ada_find_operator_symbol | ( | enum exp_opcode | op, |
bool | parse_completion, | ||
int | nargs, | ||
value * | argvec[] | ||
) |
Definition at line 3747 of file ada-lang.c.
References ada_decoded_op_name(), ada_lookup_symbol_list(), ada_resolve_function(), possible_user_operator_p(), and VAR_DOMAIN.
Referenced by maybe_overload().
Definition at line 7758 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_get_base_type(), ada_is_aligner_type(), constrained_packed_array_type(), dynamic_template_type(), expr::ada_var_value_operation::evaluate(), 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 7742 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 | ( | frame_info_ptr | fi | ) |
Definition at line 11908 of file ada-lang.c.
References get_prev_frame(), is_known_support_routine(), and select_frame().
Referenced by ada_catchpoint::print_it(), and task_command_1().
void ada_fixup_array_indexes_type | ( | struct type * | index_desc_type | ) |
Definition at line 1668 of file ada-lang.c.
References ada_check_typedef(), ada_find_any_type(), type::field(), name, field::name(), type::name(), type::num_fields(), field::set_type(), and field::type().
Referenced by ada_array_bound_from_type(), print_array_type(), and to_fixed_array_type().
|
static |
Definition at line 1037 of file ada-lang.c.
References ada_source_charset, ada_utf8, convert_between_encodings(), find_case_fold_entry(), host_charset(), HOST_UTF32, utf8_entry::lower_delta, name, translit_none, and utf8_entry::upper_delta.
Referenced by ada_encode(), ada_lookup_name_info::ada_lookup_name_info(), and ada_tag_name_from_tsd().
|
static |
Definition at line 13950 of file ada-lang.c.
References ada_clear_symbol_cache().
Definition at line 9055 of file ada-lang.c.
References ada_find_any_type(), ada_find_parallel_type(), ada_is_aligner_type(), type::code(), type::field(), field::name(), type::num_fields(), type::target_type(), and field::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 780 of file ada-lang.c.
References ada_coerce_to_simple_array_type(), ada_is_constrained_packed_array_type(), and to_static_fixed_type().
Referenced by ada_varobj_decode_var().
Definition at line 755 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(), and value_type().
Referenced by ada_value_print_inner(), and ada_varobj_decode_var().
int ada_get_field_index | ( | const struct type * | type, |
const char * | field_name, | ||
int | maybe_missing | ||
) |
Definition at line 495 of file ada-lang.c.
References check_typedef(), type::field(), field_name(), field_name_match(), field::name(), type::name(), and type::num_fields().
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 4646 of file ada-lang.c.
References get_ada_pspace_data(), and ada_pspace_data::sym_cache.
Referenced by cache_symbol(), and find_entry().
|
static |
Definition at line 13435 of file ada-lang.c.
References lookup_name_info::ada(), ada_symbol_name_matches(), lookup_name_info::completion_mode(), do_exact_match(), do_full_match(), do_wild_match(), literal_symbol_name_matcher(), lookup_name_info::match_type(), SEARCH_NAME, ada_lookup_name_info::verbatim_p(), and ada_lookup_name_info::wild_match_p().
Referenced by ada_add_block_renamings(), ada_add_standard_exceptions(), ada_lookup_simple_minsym(), and ada_language::get_symbol_name_matcher_inner().
Definition at line 6563 of file ada-lang.c.
References ada_get_tsd_type(), ada_value_struct_elt(), current_inferior(), lookup_pointer_type(), value_cast(), value_ind(), and value_ptradd().
Referenced by ada_tag_name().
Definition at line 6548 of file ada-lang.c.
References ada_find_any_type(), and get_ada_inferior_data().
Referenced by ada_get_tsd_from_tag().
|
static |
Definition at line 11709 of file ada-lang.c.
References symbol::aclass(), exception_support_info::catch_exception_sym, exception_support_info::catch_handlers_sym, general_symbol_info::linkage_name(), LOC_BLOCK, lookup_minimal_symbol(), bound_minimal_symbol::minsym, mst_solib_trampoline, standard_lookup(), minimal_symbol::type(), and VAR_DOMAIN.
Referenced by ada_exception_support_info_sniffer().
Definition at line 4955 of file ada-lang.c.
References ada_remove_trailing_digits(), type::field(), field::loc_enumval(), field::name(), and type::num_fields().
Referenced by symbols_are_identical_enums().
|
static |
Definition at line 6875 of file ada-lang.c.
References ada_scan_number(), type::field(), L, name, and field::name().
Referenced by ada_which_variant_applies().
|
static |
Definition at line 7241 of file ada-lang.c.
References ada_index_struct_field_1(), and value::offset.
Referenced by expr::assign_component().
|
static |
Definition at line 7253 of file ada-lang.c.
References ada_check_typedef(), ada_index_struct_field_1(), ada_is_variant_part(), ada_is_wrapper_field(), ada_value_primitive_field(), type::field(), field::loc_bitpos(), field::name(), type::num_fields(), value::offset, and field::type().
Referenced by ada_index_struct_field(), and ada_index_struct_field_1().
Definition at line 3233 of file ada-lang.c.
References ada_array_arity(), ada_check_typedef(), ada_is_simple_array_type(), type::code(), desc_base_type(), desc_bounds_type(), desc_index_type(), type::index_type(), name, type::target_type(), and TYPE_CODE_UNDEF.
Referenced by ada_array_length(), ada_binop_in_bounds(), ada_funcall(), and ada_unop_atr().
|
static |
Definition at line 363 of file ada-lang.c.
bool ada_is_access_to_unconstrained_array | ( | struct type * | type | ) |
Definition at line 2988 of file ada-lang.c.
References ada_typedef_target_type(), type::code(), and is_thick_pntr().
Referenced by ada_check_typedef(), ada_value_is_changeable_p(), ada_value_subscript(), ada_varobj_describe_child(), and ada_varobj_get_number_of_children().
int ada_is_aligner_type | ( | struct type * | type | ) |
Definition at line 9039 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), type::code(), type::field(), field::name(), type::num_fields(), and trust_pad_over_xvs.
Referenced by ada_aligned_type(), ada_aligned_value_addr(), ada_convert_actual(), ada_get_base_type(), ada_print_type(), ada_template_to_fixed_record_type_1(), ada_ternop_slice(), static_unwrap_type(), and unwrap_value().
|
static |
Definition at line 2296 of file ada-lang.c.
References ada_is_constrained_packed_array_type(), type::code(), and TYPE_FIELD_BITSIZE.
Referenced by ada_ternop_slice(), and expr::ada_ternop_slice_operation::resolve().
int ada_is_array_descriptor_type | ( | struct type * | type | ) |
Definition at line 2068 of file ada-lang.c.
References ada_check_typedef(), type::code(), desc_arity(), desc_bounds_type(), and desc_data_target_type().
Referenced by ada_coerce_to_simple_array(), ada_coerce_to_simple_array_ptr(), ada_coerce_to_simple_array_type(), ada_convert_actual(), 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_ternop_slice(), ada_type_match(), ada_type_of_array(), ada_value_print(), ada_value_print_inner(), ada_varobj_adjust_for_child_access(), ada_varobj_ind(), and expr::ada_unop_ind_operation::evaluate().
|
static |
Definition at line 2042 of file ada-lang.c.
References ada_is_direct_array_type(), type::code(), and type::target_type().
Referenced by possible_user_operator_p().
int ada_is_bogus_array_descriptor | ( | struct type * | type | ) |
Definition at line 2086 of file ada-lang.c.
References ada_is_array_descriptor_type(), type::code(), and lookup_struct_elt_type().
Referenced by ada_print_type(), ada_val_print_struct_union(), and ada_value_print().
bool ada_is_character_type | ( | struct type * | type | ) |
Definition at line 8982 of file ada-lang.c.
References ada_type_name(), type::code(), and name.
Referenced by ada_is_string_type(), and ada_value_print_num().
int ada_is_constrained_packed_array_type | ( | struct type * | type | ) |
Definition at line 2256 of file ada-lang.c.
References ada_is_array_descriptor_type(), and ada_is_gnat_encoded_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_get_decoded_type(), ada_get_decoded_value(), ada_is_any_packed_array_type(), ada_prefer_type(), ada_print_type(), ada_type_of_array(), ada_unop_atr(), ada_value_print_inner(), ada_varobj_adjust_for_child_access(), expr::ada_funcall_operation::evaluate(), find_parallel_type_by_descriptive_type(), print_array_type(), and to_fixed_array_type().
|
static |
Definition at line 2029 of file ada-lang.c.
References ada_check_typedef(), ada_is_array_descriptor_type(), and type::code().
Referenced by ada_is_array_type(), ada_value_assign(), ada_value_equal(), expr::ada_name_association::assign(), and expr::ada_aggregate_operation::assign_aggregate().
|
static |
Definition at line 6266 of file ada-lang.c.
References type::code(), name, type::name(), and type::target_type().
Referenced by ada_is_ignored_field().
|
static |
Definition at line 12936 of file ada-lang.c.
References symbol::aclass(), LOC_BLOCK, LOC_CONST, LOC_TYPEDEF, LOC_UNRESOLVED, type::name(), and symbol::type().
Referenced by ada_add_exceptions_from_frame(), and ada_is_non_standard_exception_sym().
|
static |
Definition at line 2241 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_ignored_field | ( | struct type * | type, |
int | field_num | ||
) |
Definition at line 6297 of file ada-lang.c.
References ada_is_dispatch_table_ptr_type(), ada_is_interface_tag(), ada_is_tagged_type(), type::field(), name, field::name(), type::num_fields(), and field::type().
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 6283 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 11557 of file ada-lang.c.
References type::code(), get_base_type(), and type::is_unsigned().
Referenced by ada_print_type(), decode_constrained_packed_array(), and yyparse().
|
static |
Definition at line 12952 of file ada-lang.c.
References ada_is_exception_sym(), general_symbol_info::linkage_name(), name, and standard_exc.
Referenced by ada_add_global_exceptions().
|
static |
Definition at line 6770 of file ada-lang.c.
References type::field(), name, and field::name().
Referenced by ada_which_variant_applies().
int ada_is_parent_field | ( | struct type * | type, |
int | field_num | ||
) |
Definition at line 6695 of file ada-lang.c.
References ada_check_typedef(), type::field(), name, and 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 8385 of file ada-lang.c.
References ada_is_redundant_range_encoding(), check_typedef(), type::field(), type::index_type(), type::num_fields(), type::target_type(), and field::type().
Referenced by to_fixed_array_type().
|
static |
Definition at line 8335 of file ada-lang.c.
References ada_scan_number(), type::bounds(), code, type::code(), dynamic_prop::const_val(), get_base_type(), range_bounds::high, is_dynamic_type(), range_bounds::low, and type::name().
Referenced by ada_is_redundant_index_type_desc().
|
static |
Definition at line 7625 of file ada-lang.c.
References general_symbol_info::linkage_name(), and name.
Referenced by ada_language::read_var_value().
int ada_is_simple_array_type | ( | struct type * | type | ) |
Definition at line 2054 of file ada-lang.c.
References ada_check_typedef(), type::code(), and type::target_type().
Referenced by ada_array_bound(), ada_array_bound_from_type(), ada_array_length(), ada_index_type(), ada_is_string_type(), ada_ternop_slice(), and print_array_type().
bool ada_is_string_type | ( | struct type * | type | ) |
Definition at line 9006 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(), and type::code().
Referenced by ada_value_is_changeable_p(), ada_value_print_array(), ada_varobj_get_value_of_array_variable(), expr::ada_string_operation::evaluate(), and ada_language::is_string_type_p().
int ada_is_system_address_type | ( | struct type * | type | ) |
Definition at line 11349 of file ada-lang.c.
References type::name().
Referenced by ada_value_print_num().
int ada_is_tag_type | ( | struct type * | type | ) |
Definition at line 6358 of file ada-lang.c.
References ada_check_typedef(), ada_type_name(), type::code(), name, and type::target_type().
Referenced by ada_tag_name(), and ada_value_print_ptr().
int ada_is_tagged_type | ( | struct type * | type, |
int | refok | ||
) |
Definition at line 6350 of file ada-lang.c.
References ada_lookup_struct_elt_type().
Referenced by ada_coerce_ref(), 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(), expr::ada_var_value_operation::evaluate(), expr::ada_unop_ind_operation::evaluate(), expr::ada_structop_operation::evaluate(), and print_record_type().
|
static |
Definition at line 2266 of file ada-lang.c.
References ada_is_array_descriptor_type(), ada_is_gnat_encoded_packed_array_type(), ada_typedef_target_type(), type::code(), desc_base_type(), type::field(), is_thick_pntr(), type::target_type(), field::type(), and TYPE_FIELD_BITSIZE.
Referenced by ada_type_of_array().
int ada_is_variant_part | ( | struct type * | type, |
int | field_num | ||
) |
Definition at line 6738 of file ada-lang.c.
References ADA_TYPE_P, type::code(), type::field(), is_dynamic_field(), type::target_type(), and field::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 6711 of file ada-lang.c.
References type::field(), name, and 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().
void ada_lookup_encoded_symbol | ( | const char * | name, |
const struct block * | block, | ||
domain_enum | domain, | ||
struct block_symbol * | info | ||
) |
Definition at line 5780 of file ada-lang.c.
References ada_lookup_symbol(), add_angle_brackets(), symbol::domain(), and name.
Referenced by standard_lookup(), and write_object_renaming().
|
static |
Definition at line 5561 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_exact_match(), and do_wild_match().
struct bound_minimal_symbol ada_lookup_simple_minsym | ( | const char * | name, |
struct objfile * | objfile | ||
) |
Definition at line 4905 of file ada-lang.c.
References ada_get_symbol_name_matcher(), objfile::arch(), gdbarch_iterate_over_objfiles_in_search_order(), bound_minimal_symbol::minsym, mst_solib_trampoline, name, name_match_type_from_name(), bound_minimal_symbol::objfile, and target_gdbarch().
Referenced by write_var_or_type().
|
static |
Definition at line 7321 of file ada-lang.c.
References ada_check_typedef(), ada_is_parent_field(), ada_is_variant_part(), ada_is_wrapper_field(), ada_lookup_struct_elt_type(), type::code(), type::field(), field_name_match(), name, field::name(), type::num_fields(), type::target_type(), to_static_fixed_type(), field::type(), and type_as_string().
Referenced by ada_is_tagged_type(), ada_lookup_struct_elt_type(), ada_tag_type(), ada_variant_discrim_type(), expr::ada_structop_operation::evaluate(), and is_unchecked_variant().
struct block_symbol ada_lookup_symbol | ( | const char * | name, |
const struct block * | block0, | ||
domain_enum | domain | ||
) |
Definition at line 5802 of file ada-lang.c.
References ada_lookup_symbol_list(), fixup_symbol_section(), and name.
Referenced by ada_lookup_encoded_symbol(), find_primitive_type(), and ada_language::lookup_symbol_nonlocal().
std::vector< struct block_symbol > ada_lookup_symbol_list | ( | const char * | name, |
const struct block * | block, | ||
domain_enum | domain | ||
) |
Definition at line 5763 of file ada-lang.c.
References ada_lookup_symbol_list_worker(), symbol::domain(), name, and name_match_type_from_name().
Referenced by ada_find_operator_symbol(), ada_lookup_symbol(), ada_resolve_funcall(), ada_resolve_variable(), block_lookup(), write_name_assoc(), and write_var_or_type().
|
static |
Definition at line 5733 of file ada-lang.c.
References ada_add_all_symbols(), ada_lookup_name(), cache_symbol(), symbol::domain(), remove_extra_symbols(), and remove_irrelevant_renamings().
Referenced by ada_lookup_symbol_list(), get_var_value(), and ada_language::iterate_over_symbols().
char * ada_main_name | ( | void | ) |
Definition at line 809 of file ada-lang.c.
References ADA_MAIN_PROGRAM_SYMBOL_NAME, lookup_minimal_symbol(), bound_minimal_symbol::minsym, target_read_string(), and bound_minimal_symbol::value_address().
Referenced by find_main_name().
ULONGEST ada_modulus | ( | struct type * | type | ) |
Definition at line 11569 of file ada-lang.c.
References type::bounds(), dynamic_prop::const_val(), range_bounds::high, dynamic_prop::kind(), and PROP_CONST.
Referenced by ada_print_type(), decode_constrained_packed_array(), and yyparse().
value * ada_mult_binop | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct value * | arg2 | ||
) |
Definition at line 10227 of file ada-lang.c.
References ada_value_binop(), binop_promote(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, expression::language_defn, not_lval, value_type(), and value_zero().
int ada_name_prefix_len | ( | const char * | name | ) |
Definition at line 515 of file ada-lang.c.
References name.
Referenced by ada_print_type(), ada_varobj_describe_simple_array_child(), ada_varobj_describe_struct_child(), print_field_values(), and print_range().
|
static |
Definition at line 13942 of file ada-lang.c.
References ada_clear_symbol_cache().
Definition at line 6664 of file ada-lang.c.
References ada_check_typedef(), ada_get_base_type(), ada_is_parent_field(), type::code(), type::field(), type::num_fields(), type::target_type(), and field::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 4270 of file ada-lang.c.
References symbol::aclass(), ADA_EXCEPTION_RENAMING, ADA_NOT_RENAMING, ADA_OBJECT_RENAMING, ADA_PACKAGE_RENAMING, ADA_SUBPROGRAM_RENAMING, general_symbol_info::linkage_name(), LOC_COMPUTED, LOC_LOCAL, LOC_OPTIMIZED_OUT, and LOC_STATIC.
Referenced by remove_irrelevant_renamings(), write_object_renaming(), and write_var_or_type().
struct value * ada_pos_atr | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
enum exp_opcode | op, | ||
struct value * | arg | ||
) |
Definition at line 8932 of file ada-lang.c.
References builtin_type::builtin_int, EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, not_lval, pos_atr(), value_from_longest(), and value_zero().
Definition at line 7637 of file ada-lang.c.
References ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), type::code(), and type::name().
Referenced by select_possible_type_sym().
|
static |
Definition at line 3502 of file ada-lang.c.
References ada_print_type(), type::code(), type::field(), flags, gdb_printf(), type::num_fields(), general_symbol_info::print_name(), print_signatures, type::target_type(), field::type(), and symbol::type().
Referenced by user_select_syms().
|
static |
Definition at line 9279 of file ada-lang.c.
References allocate_value(), code, type::code(), get_array_bounds(), is_integral_type(), 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 4332 of file ada-lang.c.
References evaluate_expression(), general_symbol_info::linkage_name(), and parse_exp_1().
Referenced by ada_language::read_var_value().
|
static |
Definition at line 1205 of file ada-lang.c.
Referenced by ada_decode().
|
static |
Definition at line 1182 of file ada-lang.c.
Referenced by ada_decode(), and ada_identical_enum_types_p().
|
static |
Definition at line 3799 of file ada-lang.c.
References ada_check_typedef(), ada_type_name(), type::code(), name, and symbol::type().
block_symbol ada_resolve_funcall | ( | struct symbol * | sym, |
const struct block * | block, | ||
struct type * | context_type, | ||
bool | parse_completion, | ||
int | nargs, | ||
value * | argvec[], | ||
innermost_block_tracker * | tracker | ||
) |
Definition at line 3768 of file ada-lang.c.
References ada_lookup_symbol_list(), ada_resolve_function(), general_symbol_info::linkage_name(), general_symbol_info::print_name(), innermost_block_tracker::update(), and VAR_DOMAIN.
Referenced by expr::ada_funcall_operation::resolve().
|
static |
Definition at line 4040 of file ada-lang.c.
References ada_args_match(), ada_check_typedef(), gdb_printf(), name, return_match(), symbol::type(), and user_select_syms().
Referenced by ada_find_operator_symbol(), and ada_resolve_funcall().
block_symbol ada_resolve_variable | ( | struct symbol * | sym, |
const struct block * | block, | ||
struct type * | context_type, | ||
bool | parse_completion, | ||
int | deprocedure_p, | ||
innermost_block_tracker * | tracker | ||
) |
Definition at line 3821 of file ada-lang.c.
References ada_lookup_symbol_list(), general_symbol_info::linkage_name(), and VAR_DOMAIN.
Referenced by expr::ada_var_value_operation::resolve().
Definition at line 9251 of file ada-lang.c.
References get_array_bounds().
Referenced by coerce_for_assign().
int ada_scan_number | ( | const char | str[], |
int | k, | ||
LONGEST * | R, | ||
int * | new_k | ||
) |
Definition at line 6833 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 7152 of file ada-lang.c.
References ada_check_typedef(), ada_is_parent_field(), ada_is_variant_part(), ada_is_wrapper_field(), ada_search_struct_field(), ada_value_primitive_field(), type::field(), field_name_match(), field::loc_bitpos(), name, field::name(), type::num_fields(), value::offset, and field::type().
Referenced by ada_search_struct_field(), ada_value_struct_elt(), and scan_discrim_bound().
|
static |
Definition at line 13399 of file ada-lang.c.
References lookup_name_info::ada(), lookup_name_info::match_type(), and ada_lookup_name_info::matches().
Referenced by ada_get_symbol_name_matcher().
gdb::unique_xmalloc_ptr< char > ada_tag_name | ( | struct value * | tag | ) |
Definition at line 6631 of file ada-lang.c.
References ada_get_tsd_from_tag(), ada_is_tag_type(), ada_tag_name_from_tsd(), name, and value_type().
Referenced by ada_value_print_ptr(), and type_from_tag().
|
static |
Definition at line 6598 of file ada-lang.c.
References ada_fold_name(), ada_value_struct_elt(), INT_MAX, target_read_string(), and value_as_address().
Referenced by ada_tag_name().
Definition at line 6376 of file ada-lang.c.
References ada_lookup_struct_elt_type(), and value_type().
Referenced by ada_atr_tag().
Definition at line 6444 of file ada-lang.c.
References ada_value_tag(), type::code(), is_ada95_tag(), language_ada, language_def(), language_lookup_primitive_type(), lookup_pointer_type(), target_gdbarch(), type_from_tag(), value_addr(), 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 7863 of file ada-lang.c.
References ada_aligned_type(), ada_check_typedef(), ada_get_base_type(), ada_is_aligner_type(), ada_is_variant_part(), ada_to_fixed_type(), ada_type_name(), ada_typedef_target_type(), alloc_type_copy(), type::code(), cond_offset_host(), cond_offset_target(), f(), type::field(), field_alignment(), INIT_NONE_SPECIFIC, is_dynamic_field(), type::length(), field::loc_bitpos(), field::name(), type::name(), type::num_fields(), type::set_code(), type::set_fields(), type::set_is_fixed_instance(), type::set_length(), field::set_loc_bitpos(), field::set_name(), type::set_name(), type::set_num_fields(), field::set_type(), type::target_type(), to_fixed_variant_branch_type(), field::type(), TYPE_FIELD_BITSIZE, TYPE_ZALLOC, value_from_contents_and_address_unresolved(), and value_type().
Referenced by ada_get_tcb_types_info(), and template_to_fixed_record_type().
value * ada_ternop_slice | ( | struct expression * | exp, |
enum noside noside noside | , | ||
struct value * | array, | ||
struct value * | low_bound_val, | ||
struct value * | high_bound_val | ||
) |
Definition at line 10269 of file ada-lang.c.
References ada_aligned_type(), ada_check_typedef(), ada_coerce_to_simple_array_ptr(), ada_is_aligner_type(), ada_is_any_packed_array_type(), ada_is_array_descriptor_type(), ada_is_simple_array_type(), ada_type_of_array(), ada_value_slice(), ada_value_slice_from_ptr(), code, coerce_ref(), empty_array(), EVAL_AVOID_SIDE_EFFECTS, longest_to_int(), lval_memory, type::set_target_type(), type::target_type(), to_fixed_array_type(), value_addr(), value_as_long(), value_ind(), VALUE_LVAL, and value_type().
Referenced by expr::ada_ternop_slice_operation::evaluate().
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 8699 of file ada-lang.c.
References ada_to_fixed_type_1(), ada_typedef_target_type(), type::code(), and TYPE_MAIN_TYPE.
Referenced by ada_template_to_fixed_record_type_1(), ada_to_fixed_value_create(), ada_value_struct_elt(), to_fixed_array_type(), and unwrap_value().
|
static |
Definition at line 8566 of file ada-lang.c.
References ada_check_typedef(), ada_is_tagged_type(), ada_tag_value_at_base_address(), ada_type_name(), value::address, type::code(), copy_type(), get_int_var_value(), HAVE_GNAT_AUX_INFO, type::length(), name, type::set_is_stub(), type::set_length(), size, to_fixed_array_type(), to_fixed_record_type(), to_fixed_variant_branch_type(), to_static_fixed_type(), value::type, type_from_tag(), value_address(), value_from_contents_and_address(), value_tag_from_contents_and_address(), and value_type().
Referenced by ada_to_fixed_type().
Definition at line 8874 of file ada-lang.c.
References ada_to_fixed_value_create(), unwrap_value(), value_address(), and value_type().
Referenced by ada_coerce_ref(), ada_get_decoded_value(), ada_value_ind(), ada_value_print(), ada_value_print_inner(), expr::assign_component(), common_val_print(), expr::ada_var_value_operation::evaluate(), expr::ada_structop_operation::evaluate(), and expr::ada_funcall_operation::evaluate().
|
static |
Definition at line 8850 of file ada-lang.c.
References ada_to_fixed_type(), lval_memory, value_contents(), value_from_contents(), value_from_contents_and_address(), and VALUE_LVAL.
Referenced by ada_to_fixed_value().
Definition at line 3907 of file ada-lang.c.
References ada_check_typedef(), ada_is_array_descriptor_type(), ada_type_match(), type::code(), type::length(), and type::target_type().
Referenced by ada_args_match(), and ada_type_match().
const char * ada_type_name | ( | struct type * | type | ) |
Definition at line 7670 of file ada-lang.c.
References type::name().
Referenced by ada_find_parallel_type(), ada_is_character_type(), ada_is_gnat_encoded_packed_array_type(), ada_is_tag_type(), ada_print_type(), ada_resolve_enum(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type_1(), ada_unop_atr(), 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(), expr::ada_funcall_operation::evaluate(), find_parallel_type_by_descriptive_type(), 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 2106 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(), type::bounds(), 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::set_length(), TYPE_FIELD_BITSIZE, value_as_long(), and value_type().
Referenced by ada_coerce_to_simple_array_ptr(), ada_ternop_slice(), and expr::ada_unop_ind_operation::evaluate().
Definition at line 429 of file ada-lang.c.
References type::code(), and type::target_type().
Referenced by ada_is_access_to_unconstrained_array(), ada_is_unconstrained_packed_array_type(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type(), decode_packed_array_bitsize(), desc_base_type(), and expr::ada_funcall_operation::evaluate().
|
static |
Definition at line 11928 of file ada-lang.c.
References parse_and_eval_address().
|
static |
Definition at line 11939 of file ada-lang.c.
References current_inferior(), find_frame_funname(), get_ada_inferior_data(), get_current_frame(), get_prev_frame(), parse_and_eval_address(), and select_frame().
|
static |
Definition at line 10380 of file ada-lang.c.
References ada_array_bound(), ada_array_bound_from_type(), ada_array_length(), ada_attribute_name(), ada_coerce_ref(), ada_coerce_to_simple_array(), ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_index_type(), ada_is_constrained_packed_array_type(), ada_type_name(), builtin_type::builtin_int, type::code(), decode_constrained_packed_array_type(), discrete_type_p(), EVAL_AVOID_SIDE_EFFECTS, expression::gdbarch, name, not_lval, to_fixed_range_type(), value_from_longest(), value_type(), and value_zero().
Referenced by expr::ada_unop_atr_operation::evaluate().
value * ada_unop_in_range | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
enum exp_opcode | op, | ||
struct value * | arg1, | ||
struct type * | type | ||
) |
Definition at line 10141 of file ada-lang.c.
References binop_promote(), type::bounds(), type::code(), dynamic_prop::const_val(), expression::gdbarch, range_bounds::high, language_bool_type(), expression::language_defn, lim_warning(), range_bounds::low, value_equal(), value_from_longest(), and value_less().
Referenced by expr::ada_unop_range_operation::evaluate().
value * ada_unop_neg | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
enum exp_opcode | op, | ||
struct value * | arg1 | ||
) |
Definition at line 10129 of file ada-lang.c.
References expression::gdbarch, expression::language_defn, unop_promote(), and value_neg().
|
static |
Definition at line 2637 of file ada-lang.c.
References type::bit_offset(), and type::bit_size().
Referenced by ada_value_primitive_packed_val().
|
static |
Definition at line 441 of file ada-lang.c.
Referenced by ada_lookup_name_info::matches().
Definition at line 796 of file ada-lang.c.
References language_ada, and lookup_minimal_symbol().
Referenced by ada_exception_support_info_sniffer().
Definition at line 8961 of file ada-lang.c.
References discrete_type_p(), EVAL_AVOID_SIDE_EFFECTS, integer_type_p(), not_lval, val_atr(), value_as_long(), value_type(), and value_zero().
Referenced by expr::ada_atr_val_operation::evaluate().
Definition at line 2878 of file ada-lang.c.
References ada_coerce_ref(), ada_coerce_to_simple_array(), ada_is_direct_array_type(), bits, type::code(), copy_bitwise(), deprecated_set_value_type(), deprecated_value_modifiable(), is_scalar_type(), type::length(), lval_memory, read_memory(), type_byte_order(), 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 expr::ada_assign_operation::evaluate().
|
static |
Definition at line 9357 of file ada-lang.c.
References ada_check_typedef(), allocate_value(), type::code(), coerce_ref(), get_base_type(), type::is_unsigned(), type::length(), name, store_unsigned_integer(), TRUNCATION_TOWARDS_ZERO, type_byte_order(), value_as_long(), value_binop(), value_contents_raw(), and value_type().
Referenced by ada_mult_binop().
Definition at line 9846 of file ada-lang.c.
References ada_check_typedef(), value_cast(), and value_type().
Referenced by expr::ada_wrapped_operation::evaluate(), expr::ada_char_operation::evaluate(), expr::ada_var_value_operation::evaluate_for_cast(), and expr::ada_var_msym_value_operation::evaluate_for_cast().
Definition at line 9428 of file ada-lang.c.
References ada_check_typedef(), ada_coerce_ref(), ada_coerce_to_simple_array(), ada_is_direct_array_type(), type::code(), type::length(), value_contents(), value_equal(), and value_type().
Referenced by ada_equal_binop().
Definition at line 7526 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_val_print_ref(), ada_value_ptr_subscript(), ada_value_struct_elt(), ada_varobj_ind(), coerce_for_assign(), expr::ada_unop_ind_operation::evaluate(), and expr::ada_funcall_operation::evaluate().
struct value * ada_value_primitive_field | ( | struct value * | arg1, |
int | offset, | ||
int | fieldno, | ||
struct type * | arg_type | ||
) |
Definition at line 6924 of file ada-lang.c.
References ada_check_typedef(), ada_value_primitive_packed_val(), type::bit_size(), type::field(), field::loc_bitpos(), field::type(), TYPE_FIELD_BITSIZE, value_bitpos(), value_contents(), and value_primitive_field().
Referenced by ada_index_struct_field_1(), ada_search_struct_field(), and print_field_values().
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 2760 of file ada-lang.c.
References ada_check_typedef(), ada_unpack_from_contents(), allocate_value(), has_negatives(), is_dynamic_type(), is_scalar_type(), type::length(), lval_memory, value::offset, read_memory(), resolve_dynamic_type(), set_value_bitpos(), set_value_bitsize(), set_value_component_location(), set_value_offset(), set_value_parent(), type_byte_order(), 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 3058 of file ada-lang.c.
References ada_value_ind(), check_typedef(), type::code(), get_discrete_bounds(), type::index_type(), lookup_pointer_type(), pos_atr(), type::target_type(), TYPE_FIELD_BITSIZE, value_cast(), value_copy(), value_enclosing_type(), value_ind(), value_ptradd(), and value_subscript_packed().
Referenced by expr::ada_funcall_operation::evaluate().
Definition at line 3125 of file ada-lang.c.
References ada_check_typedef(), create_array_type_with_stride(), create_static_range_type(), discrete_position(), type::dyn_prop(), DYN_PROP_BYTE_STRIDE, type::index_type(), type::target_type(), TYPE_FIELD_BITSIZE, value_cast(), value_slice(), and value_type().
Referenced by ada_ternop_slice().
|
static |
Definition at line 3090 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(), type::dyn_prop(), DYN_PROP_BYTE_STRIDE, type::index_type(), type::length(), type::target_type(), TYPE_FIELD_BITSIZE, value_as_address(), and value_at_lazy().
Referenced by ada_ternop_slice().
|
static |
Definition at line 4380 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(), type::bit_offset(), type::bit_size(), type::code(), coerce_ref(), find_struct_field(), name, type::target_type(), value_address(), value_at_lazy(), value_from_contents_and_address(), value_ind(), and value_type().
Referenced by ada_convert_actual(), ada_get_tsd_from_tag(), ada_tag_name_from_tsd(), ada_value_tag(), ada_which_variant_applies(), expr::ada_structop_operation::evaluate(), is_ada95_tag(), and unwrap_value().
Definition at line 2999 of file ada-lang.c.
References ada_check_typedef(), ada_coerce_to_simple_array(), ada_is_access_to_unconstrained_array(), code, type::code(), deprecated_set_value_type(), pos_atr(), type::target_type(), TYPE_FIELD_BITSIZE, value_subscript(), value_subscript_packed(), and value_type().
Referenced by ada_varobj_simple_array_elt(), expr::assign_component(), and expr::ada_funcall_operation::evaluate().
Definition at line 6393 of file ada-lang.c.
References ada_value_struct_elt().
Referenced by ada_atr_tag(), ada_tag_value_at_base_address(), and expr::ada_var_value_operation::evaluate().
const char * ada_variant_discrim_name | ( | struct type * | type0 | ) |
Definition at line 6782 of file ada-lang.c.
References ada_type_name(), type::code(), name, and type::target_type().
Referenced by ada_variant_discrim_type(), ada_which_variant_applies(), is_unchecked_variant(), and print_variant_part().
Definition at line 6758 of file ada-lang.c.
References ada_lookup_struct_elt_type(), ada_variant_discrim_name(), and name.
Referenced by print_variant_clauses().
Definition at line 7456 of file ada-lang.c.
References ada_in_variant(), ada_is_others_clause(), ada_value_struct_elt(), ada_variant_discrim_name(), type::num_fields(), and value_as_long().
Referenced by print_variant_part(), and to_fixed_variant_branch_type().
|
static |
Definition at line 464 of file ada-lang.c.
Referenced by ada_lookup_encoded_symbol(), get_var_value(), and ada_lookup_name_info::matches().
|
static |
Definition at line 9808 of file ada-lang.c.
References size.
Referenced by expr::ada_positional_component::assign(), expr::ada_discrete_range_association::assign(), and expr::ada_name_association::assign().
|
static |
Definition at line 4867 of file ada-lang.c.
References general_symbol_info::block, block_symbol::block, and lesseq_defined_than().
Referenced by ada_add_all_symbols(), ada_add_block_symbols(), and match_data::operator()().
|
static |
Definition at line 5599 of file ada-lang.c.
References lookup_name_info::ada(), ada_add_block_renamings(), ada_lookup_name(), objfile::compunits(), current_program_space, FULL, map_matching_symbols(), name, program_space::objfiles(), and ada_lookup_name_info::wild_match_p().
Referenced by ada_add_all_symbols().
|
static |
|
static |
Definition at line 882 of file ada-lang.c.
Referenced by copy_and_hex_encode().
|
static |
Definition at line 4712 of file ada-lang.c.
References ada_get_symbol_cache(), cache_entry::block, compunit_symtab::blockvector(), ada_symbol_cache::cache_space, symtab::compunit(), current_program_space, cache_entry::domain, blockvector::global_block(), HASH_SIZE, symbol::is_objfile_owned(), msymbol_hash(), name, cache_entry::name, cache_entry::next, ada_symbol_cache::root, blockvector::static_block(), cache_entry::sym, and symbol::symtab.
Referenced by ada_lookup_symbol_list_worker(), and standard_lookup().
|
static |
Definition at line 12890 of file ada-lang.c.
Referenced by catch_assert_command().
|
static |
Definition at line 12869 of file ada-lang.c.
References ada_exceptions_list(), completion_tracker::add_completion(), and gdbarch::info().
|
static |
Definition at line 12819 of file ada-lang.c.
References catch_ada_exception_command_split(), CATCH_TEMPORARY, cmd_list_element::context(), create_ada_exception_catchpoint(), and get_current_arch().
|
static |
Definition at line 12589 of file ada-lang.c.
References ada_catch_exception, ada_catch_exception_unhandled, ada_catch_handlers, and extract_arg().
Referenced by catch_ada_exception_command(), and catch_ada_handlers_command().
|
static |
Definition at line 12844 of file ada-lang.c.
References catch_ada_exception_command_split(), CATCH_TEMPORARY, cmd_list_element::context(), create_ada_exception_catchpoint(), and get_current_arch().
|
static |
Definition at line 12914 of file ada-lang.c.
References ada_catch_assert, catch_ada_assert_command_split(), CATCH_TEMPORARY, cmd_list_element::context(), create_ada_exception_catchpoint(), and get_current_arch().
Definition at line 9317 of file ada-lang.c.
References ada_check_typedef(), ada_promote_array_of_integrals(), ada_same_array_size_p(), ada_value_ind(), type::code(), deprecated_set_value_type(), is_integral_type(), type::length(), type::target_type(), and value_type().
Referenced by expr::ada_assign_operation::evaluate().
Definition at line 549 of file ada-lang.c.
References ada_check_typedef(), allocate_optimized_out_value(), allocate_value(), allocate_value_lazy(), type::length(), lval_memory, not_lval, set_value_address(), set_value_bitpos(), set_value_bitsize(), set_value_component_location(), value_address(), value_bitpos(), value_bitsize(), value_contents_copy(), value_lazy(), VALUE_LVAL, value_optimized_out(), and value_type().
Referenced by decode_constrained_packed_array(), and unwrap_value().
|
static |
Definition at line 5541 of file ada-lang.c.
References case_sensitive_off, case_sensitive_on, and compare_names_with_case().
Referenced by map_matching_symbols().
|
static |
Definition at line 5476 of file ada-lang.c.
References c1, c2, case_sensitive_off, is_name_suffix(), and strcmp_iw_ordered().
Referenced by compare_names().
|
static |
Definition at line 580 of file ada-lang.c.
References value::offset.
Referenced by ada_template_to_fixed_record_type_1(), and to_record_with_fixed_variant_part().
|
static |
Definition at line 589 of file ada-lang.c.
References value::address, and value::offset.
Referenced by ada_template_to_fixed_record_type_1(), and to_record_with_fixed_variant_part().
Definition at line 2365 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), ada_type_name(), alloc_type_copy(), check_typedef(), code, type::code(), constrained_packed_array_type(), create_array_type(), type::field(), get_discrete_bounds(), type::index_type(), is_dynamic_type(), new_type(), type::set_is_fixed_instance(), type::set_length(), type::set_name(), type::target_type(), to_fixed_range_type(), field::type(), and TYPE_FIELD_BITSIZE.
Referenced by constrained_packed_array_type(), and decode_constrained_packed_array_type().
|
static |
Definition at line 1268 of file ada-lang.c.
References ada_source_charset, ada_utf8, convert_between_encodings(), convert_hex(), host_charset(), HOST_UTF32, and translit_none.
Referenced by ada_decode().
|
static |
Definition at line 1245 of file ada-lang.c.
Referenced by convert_from_hex_encoded().
std::string copy_and_hex_encode | ( | struct obstack * | storage | ) |
Definition at line 907 of file ada-lang.c.
References append_hex_encoded().
void create_ada_exception_catchpoint | ( | struct gdbarch * | gdbarch, |
enum ada_exception_catchpoint_kind | ex_kind, | ||
const std::string & | excep_string, | ||
const std::string & | cond_string, | ||
int | tempflag, | ||
int | disabled, | ||
int | from_tty | ||
) |
Definition at line 12795 of file ada-lang.c.
References ada_exception_sal(), create_excep_cond_exprs(), install_breakpoint(), and set_breakpoint_condition().
Referenced by catch_ada_exception_command(), catch_ada_handlers_command(), catch_assert_command(), mi_cmd_catch_assert(), mi_cmd_catch_exception(), and mi_cmd_catch_handlers().
|
static |
Definition at line 12199 of file ada-lang.c.
References ada_exception_catchpoint_cond_string(), block_for_pc(), ada_catchpoint_location::excep_cond_expr, ada_catchpoint::excep_string, breakpoint::loc, breakpoint::locations(), breakpoint::number, and parse_exp_1().
Referenced by create_ada_exception_catchpoint(), and ada_catchpoint::re_set().
Definition at line 2492 of file ada-lang.c.
References ada_check_typedef(), ada_is_modular_type(), ada_modulus(), ada_value_primitive_packed_val(), type::bit_size(), code, coerce_ref(), coerce_unspec_val_to_type(), decode_constrained_packed_array_type(), type::length(), recursively_update_array_bitsize(), resolve_dynamic_type(), type_byte_order(), value_address(), value_contents_for_printing(), 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 2415 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type_with_name(), ada_type_name(), bits, check_typedef(), type::code(), constrained_packed_array_type(), decode_packed_array_bitsize(), desc_base_type(), lim_warning(), and name.
Referenced by ada_array_bound_from_type(), ada_coerce_to_simple_array_type(), ada_type_of_array(), ada_unop_atr(), decode_constrained_packed_array(), and to_fixed_array_type().
|
static |
Definition at line 2307 of file ada-lang.c.
References ada_check_typedef(), ada_type_name(), ada_typedef_target_type(), bits, type::code(), desc_base_type(), type::field(), is_thick_pntr(), lim_warning(), type::target_type(), field::type(), and TYPE_FIELD_BITSIZE.
Referenced by ada_type_of_array(), and decode_constrained_packed_array_type().
|
static |
Definition at line 2015 of file ada-lang.c.
References desc_base_type(), and type::num_fields().
Referenced by ada_array_arity(), and ada_is_array_descriptor_type().
Definition at line 1706 of file ada-lang.c.
References ada_check_typedef(), ada_typedef_target_type(), type::code(), and type::target_type().
Referenced by ada_array_arity(), ada_array_element_type(), ada_index_type(), ada_is_gnat_encoded_packed_array_type(), ada_is_unconstrained_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(), expr::ada_funcall_operation::evaluate(), 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 1973 of file ada-lang.c.
References desc_base_type(), type::field(), and field::loc_bitpos().
Referenced by make_array_descriptor().
|
static |
Definition at line 1983 of file ada-lang.c.
References desc_base_type(), type::field(), type::length(), field::type(), and TYPE_FIELD_BITSIZE.
Referenced by make_array_descriptor().
Definition at line 1814 of file ada-lang.c.
References ada_check_typedef(), type::code(), desc_bounds_type(), type::is_stub(), is_thick_pntr(), is_thin_pntr(), type::length(), lookup_pointer_type(), type::target_type(), thin_descriptor_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 1784 of file ada-lang.c.
References ada_check_typedef(), type::code(), desc_base_type(), is_thin_pntr(), lookup_struct_elt_type(), type::target_type(), and thin_descriptor_type().
Referenced by ada_array_arity(), ada_index_type(), ada_is_array_descriptor_type(), desc_bounds(), and make_array_descriptor().
Definition at line 1917 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 1894 of file ada-lang.c.
References ada_check_typedef(), code, desc_base_type(), is_thick_pntr(), is_thin_pntr(), lookup_struct_elt_type(), type::target_type(), and thin_descriptor_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 1997 of file ada-lang.c.
References type::code(), desc_base_type(), and lookup_struct_elt_type().
Referenced by ada_index_type().
Definition at line 1959 of file ada-lang.c.
References value_struct_elt().
Referenced by ada_array_bound(), ada_array_length(), and ada_type_of_array().
|
static |
Definition at line 4160 of file ada-lang.c.
References type::code().
Referenced by ada_unop_atr(), ada_val_atr(), pos_atr(), and val_atr().
|
static |
Definition at line 13329 of file ada-lang.c.
References ada_lookup_name().
Referenced by ada_get_symbol_name_matcher().
|
static |
Definition at line 13275 of file ada-lang.c.
References lookup_name_info::ada(), is_name_suffix(), and ada_lookup_name_info::lookup_name().
Referenced by ada_get_symbol_name_matcher().
|
static |
Definition at line 13265 of file ada-lang.c.
References ada_lookup_name(), and wild_match().
Referenced by ada_get_symbol_name_matcher().
Definition at line 7781 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), ada_type_name(), and type::code().
Referenced by expr::ada_var_value_operation::evaluate(), to_fixed_record_type(), and to_static_fixed_type().
Definition at line 3398 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_ternop_slice().
Definition at line 7834 of file ada-lang.c.
References alloc_type_copy(), INIT_NONE_SPECIFIC, type::set_code(), type::set_length(), and type::set_name().
Referenced by to_fixed_variant_branch_type().
|
static |
Definition at line 4350 of file ada-lang.c.
References ada_check_typedef(), type::length(), lval_internalvar, lval_memory, not_lval, set_value_address(), 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 4800 of file ada-lang.c.
References ada_type_name(), and type::code().
Referenced by lesseq_defined_than().
|
static |
Definition at line 10111 of file ada-lang.c.
References binop_promote(), expression::gdbarch, language_bool_type(), expression::language_defn, value_equal(), value_from_longest(), and value_less().
Referenced by expr::ada_ternop_range_operation::evaluate().
|
static |
Definition at line 1869 of file ada-lang.c.
References desc_base_type(), type::field(), and field::loc_bitpos().
Referenced by make_array_descriptor().
|
static |
Definition at line 1878 of file ada-lang.c.
References ada_check_typedef(), desc_base_type(), type::field(), type::length(), field::type(), and TYPE_FIELD_BITSIZE.
Referenced by make_array_descriptor().
|
static |
Definition at line 1935 of file ada-lang.c.
References desc_base_type(), type::field(), and field::loc_bitpos().
Referenced by make_array_descriptor().
|
static |
Definition at line 1944 of file ada-lang.c.
References desc_base_type(), type::field(), type::length(), field::type(), and TYPE_FIELD_BITSIZE.
Referenced by make_array_descriptor().
|
static |
Definition at line 7560 of file ada-lang.c.
References f(), type::field(), name, and field::name().
Referenced by ada_template_to_fixed_record_type_1().
|
static |
Definition at line 473 of file ada-lang.c.
References field_name().
Referenced by ada_get_field_index(), ada_lookup_struct_elt_type(), ada_search_struct_field(), and find_struct_field().
|
static |
Definition at line 1019 of file ada-lang.c.
References ada_case_fold.
Referenced by ada_fold_name().
|
static |
Definition at line 4672 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 7681 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, and TYPE_DESCRIPTIVE_TYPE.
Referenced by ada_find_parallel_type_with_name().
|
static |
Definition at line 7015 of file ada-lang.c.
References ada_check_typedef(), ada_is_parent_field(), ada_is_variant_part(), ada_is_wrapper_field(), type::bit_size(), type::field(), field_name_match(), find_struct_field(), field::loc_bitpos(), name, field::name(), type::num_fields(), field::type(), and TYPE_FIELD_BITSIZE.
Referenced by ada_value_struct_elt(), expr::ada_name_association::assign(), find_struct_field(), num_visible_fields(), and value_tag_from_contents_and_address().
|
static |
Definition at line 348 of file ada-lang.c.
Referenced by ada_exception_name_addr_1(), ada_exception_support_info_sniffer(), ada_exception_sym_name(), ada_get_tsd_type(), and ada_unhandled_exception_name_addr_from_raise().
|
static |
Definition at line 388 of file ada-lang.c.
References ada_pspace_data_handle, and registry< T >::get().
Referenced by ada_clear_symbol_cache(), and ada_get_symbol_cache().
Definition at line 738 of file ada-lang.c.
References type::code(), 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 11434 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().
|
static |
Definition at line 3552 of file ada-lang.c.
References command_line_input(), and error_no_arg().
Referenced by user_select_syms().
|
static |
Definition at line 11407 of file ada-lang.c.
References ada_lookup_symbol_list_worker(), add_angle_brackets(), FULL, get_selected_block(), name, value_of_variable(), and VAR_DOMAIN.
Referenced by get_int_var_value().
|
static |
Definition at line 2609 of file ada-lang.c.
References range_bounds::bias, type::bounds(), type::code(), dynamic_prop::const_val(), type::is_unsigned(), and range_bounds::low.
Referenced by ada_value_primitive_packed_val().
|
static |
Definition at line 13243 of file ada-lang.c.
References ada_exceptions_list(), gdb_printf(), get_current_arch(), gdbarch::info(), and paddress().
|
static |
Definition at line 4113 of file ada-lang.c.
References type::code(), integer_type_p(), and type::target_type().
Referenced by ada_val_atr(), integer_type_p(), and possible_user_operator_p().
|
static |
Definition at line 6385 of file ada-lang.c.
References ada_value_struct_elt().
Referenced by ada_tag_value_at_base_address().
bool is_ada_exception_catchpoint | ( | breakpoint * | bp | ) |
Definition at line 12573 of file ada-lang.c.
References bp.
Referenced by print_one_breakpoint(), and print_one_breakpoint_location().
|
static |
Definition at line 870 of file ada-lang.c.
Referenced by ada_encode_1().
|
static |
Definition at line 7803 of file ada-lang.c.
References type::code(), type::field(), name, field::name(), and 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 11849 of file ada-lang.c.
References symtab::compunit(), symtab::filename, find_frame_funname(), find_frame_sal(), known_auxiliary_function_name_patterns, known_runtime_file_name_patterns, compunit_symtab::objfile(), objfile_name(), re_comp(), symtab_and_line::symtab, and symtab_to_fullname().
Referenced by ada_find_printable_frame().
|
static |
Definition at line 1164 of file ada-lang.c.
Referenced by ada_decode().
|
static |
Definition at line 5833 of file ada-lang.c.
Referenced by ada_add_block_symbols(), compare_names_with_case(), do_full_match(), and wild_match().
|
static |
Definition at line 4940 of file ada-lang.c.
References ada_type_name(), and name.
Referenced by remove_extra_symbols().
|
static |
Definition at line 4785 of file ada-lang.c.
References LOC_CONST.
Referenced by ada_add_local_symbols().
|
static |
Definition at line 5162 of file ada-lang.c.
References name, standard_lookup(), and VAR_DOMAIN.
Referenced by old_renaming_is_invisible().
|
static |
Definition at line 534 of file ada-lang.c.
Referenced by is_thin_pntr(), and thin_descriptor_type().
|
static |
Definition at line 1773 of file ada-lang.c.
References type::code(), desc_base_type(), and lookup_struct_elt_type().
Referenced by ada_is_access_to_unconstrained_array(), ada_is_unconstrained_packed_array_type(), decode_packed_array_bitsize(), desc_bounds(), desc_data(), and desc_data_target_type().
|
static |
Definition at line 1725 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 7443 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 4820 of file ada-lang.c.
References symbol::aclass(), type::code(), symbol::domain(), equiv_types(), general_symbol_info::linkage_name(), LOC_CONST, LOC_STATIC, LOC_TYPEDEF, LOC_UNDEF, symbol::type(), symbol::value_address(), and symbol::value_longest().
Referenced by add_defn_to_vec().
|
static |
Definition at line 607 of file ada-lang.c.
References vwarning(), warning_limit, and warnings_issued.
Referenced by ada_unop_in_range(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), to_fixed_range_type(), and value_subscript_packed().
|
static |
Definition at line 13412 of file ada-lang.c.
References lookup_name_info::completion_mode(), lookup_name_info::name(), and completion_match_result::set_match().
Referenced by ada_get_symbol_name_matcher().
|
static |
Definition at line 4694 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().
Definition at line 4583 of file ada-lang.c.
References ada_array_arity(), ada_array_bound(), ada_check_typedef(), allocate_value(), type::code(), 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(), type::field(), modify_field(), field::type(), value_addr(), value_contents_writeable(), value_pointer(), and value_type().
Referenced by ada_convert_actual().
|
static |
Definition at line 5571 of file ada-lang.c.
References compare_names(), objfile::compunits(), objfile::expand_matching_symbols(), GLOBAL_BLOCK, iterate_over_symbols_terminated(), and STATIC_BLOCK.
Referenced by add_nonlocal_symbols().
|
static |
Definition at line 621 of file ada-lang.c.
References size.
Referenced by max_of_type(), and min_of_size().
|
static |
Definition at line 646 of file ada-lang.c.
References type::is_unsigned(), type::length(), max_of_size(), and umax_of_size().
Referenced by ada_discrete_type_high_bound().
|
static |
Definition at line 630 of file ada-lang.c.
References max_of_size(), and size.
Referenced by min_of_type().
|
static |
Definition at line 656 of file ada-lang.c.
References type::is_unsigned(), type::length(), and min_of_size().
Referenced by ada_discrete_type_low_bound().
|
static |
Definition at line 4756 of file ada-lang.c.
Referenced by ada_add_standard_exceptions(), ada_lookup_simple_minsym(), and ada_lookup_symbol_list().
|
static |
Definition at line 13104 of file ada-lang.c.
References ada_decode(), and name.
Referenced by ada_add_global_exceptions().
|
static |
Definition at line 7133 of file ada-lang.c.
References find_struct_field().
Referenced by expr::ada_aggregate_operation::assign_aggregate().
|
static |
Definition at line 4089 of file ada-lang.c.
References type::code(), numeric_type_p(), and type::target_type().
Referenced by numeric_type_p(), and possible_user_operator_p().
|
static |
Definition at line 5192 of file ada-lang.c.
References symbol::aclass(), is_package_name(), LOC_TYPEDEF, symbol::type(), and xget_renaming_scope().
Referenced by remove_irrelevant_renamings().
|
static |
Definition at line 8916 of file ada-lang.c.
References coerce_ref(), discrete_position(), discrete_type_p(), value_as_long(), and value_type().
Referenced by ada_array_length(), ada_pos_atr(), ada_value_ptr_subscript(), ada_value_subscript(), and value_subscript_packed().
|
static |
Definition at line 4185 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 |
Referenced by ada_find_operator_symbol().
|
static |
Definition at line 2461 of file ada-lang.c.
References type::code(), get_discrete_bounds(), type::index_type(), recursively_update_array_bitsize(), type::set_length(), type::target_type(), and TYPE_FIELD_BITSIZE.
Referenced by decode_constrained_packed_array(), and recursively_update_array_bitsize().
|
static |
Definition at line 1228 of file ada-lang.c.
Referenced by ada_decode().
|
static |
Definition at line 5056 of file ada-lang.c.
References is_nondebugging_type(), type::is_stub(), general_symbol_info::linkage_name(), LOC_STATIC, size, symbols_are_identical_enums(), and symbol::type().
Referenced by ada_lookup_symbol_list_worker().
|
static |
Definition at line 5254 of file ada-lang.c.
References symbol::aclass(), ADA_OBJECT_RENAMING, ada_parse_renaming(), block_linkage_function(), general_symbol_info::linkage_name(), LOC_TYPEDEF, name, old_renaming_is_invisible(), size, and symbol::symbol().
Referenced by ada_lookup_symbol_list_worker().
Definition at line 4002 of file ada-lang.c.
References type::code(), and get_base_type().
Referenced by ada_resolve_function().
|
static |
Definition at line 4135 of file ada-lang.c.
References type::code().
Referenced by possible_user_operator_p().
|
static |
Definition at line 11365 of file ada-lang.c.
References ada_search_struct_field(), value_as_long(), and value_type().
Referenced by to_fixed_range_type().
|
static |
Definition at line 12275 of file ada-lang.c.
References ada_catch_assert, ada_catch_handlers, clear_internalvar(), evaluate_expression(), ada_catchpoint_location::excep_cond_expr, ada_catchpoint::excep_string, exception_fprintf(), gdb_stderr, lookup_internalvar(), ada_catchpoint::m_kind, bp_location::owner, parse_and_eval(), set_internalvar(), and value_true().
Referenced by ada_catchpoint::check_status().
|
static |
Definition at line 3472 of file ada-lang.c.
References encoded_ordered_before(), general_symbol_info::linkage_name(), and block_symbol::symbol.
Referenced by user_select_syms().
|
static |
Definition at line 13001 of file ada-lang.c.
Referenced by ada_exceptions_list_1().
|
static |
Definition at line 4767 of file ada-lang.c.
References ada_lookup_encoded_symbol(), block_symbol::block, cache_symbol(), lookup_cached_symbol(), 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 8769 of file ada-lang.c.
References ada_check_typedef(), ada_get_base_type(), ada_is_aligner_type(), ada_type_name(), type::field(), type::set_name(), static_unwrap_type(), to_static_fixed_type(), and field::type().
Referenced by expr::ada_var_value_operation::evaluate(), static_unwrap_type(), and template_to_static_fixed_type().
|
static |
Definition at line 5011 of file ada-lang.c.
References ada_identical_enum_types_p(), type::code(), type::num_fields(), symbol::type(), and symbol::value_longest().
Referenced by remove_extra_symbols().
|
static |
Definition at line 8086 of file ada-lang.c.
References ada_template_to_fixed_record_type_1().
Referenced by to_fixed_record_type().
Definition at line 8103 of file ada-lang.c.
References ada_check_typedef(), ada_type_name(), alloc_type_copy(), type::code(), f(), type::field(), type::fields(), INIT_NONE_SPECIFIC, is_dynamic_field(), type::is_fixed_instance(), field::name(), new_type(), type::num_fields(), type::set_code(), type::set_fields(), type::set_is_fixed_instance(), type::set_length(), field::set_name(), type::set_name(), type::set_num_fields(), type::set_target_type(), field::set_type(), static_unwrap_type(), type::target_type(), to_static_fixed_type(), field::type(), and TYPE_ALLOC.
Referenced by to_static_fixed_type().
Definition at line 1757 of file ada-lang.c.
References ada_check_typedef(), type::code(), desc_data_target_type(), lookup_pointer_type(), thin_descriptor_type(), value_address(), value_cast(), value_copy(), value_from_longest(), and value_type().
Referenced by desc_data().
Definition at line 1735 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 8411 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(), type::field(), type::index_type(), type::is_fixed_instance(), type::length(), name, type::name(), type::num_fields(), type::set_is_fixed_instance(), type::set_length(), type::set_name(), type::target_type(), to_fixed_range_type(), field::type(), and TYPE_FIELD_BITSIZE.
Referenced by ada_ternop_slice(), ada_to_fixed_type_1(), and expr::ada_funcall_operation::evaluate().
Definition at line 11456 of file ada-lang.c.
References ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_scan_number(), alloc_type_copy(), type::code(), create_static_range_type(), get_int_var_value(), INT_MAX, L, type::length(), lim_warning(), name, type::name(), scan_discrim_bound(), type::set_length(), type::set_name(), and type::target_type().
Referenced by ada_array_bound_from_type(), ada_unop_atr(), constrained_packed_array_type(), and to_fixed_array_type().
|
static |
Definition at line 8260 of file ada-lang.c.
References dynamic_template_type(), type::is_fixed_instance(), type::set_is_fixed_instance(), template_to_fixed_record_type(), to_record_with_fixed_variant_part(), and variant_field_index().
Referenced by ada_to_fixed_type_1(), and to_fixed_variant_branch_type().
|
static |
Definition at line 8296 of file ada-lang.c.
References ada_find_parallel_type(), ada_which_variant_applies(), type::code(), empty_record(), type::field(), is_dynamic_field(), is_unchecked_variant(), type::target_type(), to_fixed_record_type(), field::type(), 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 8176 of file ada-lang.c.
References ada_type_name(), alloc_type_copy(), cond_offset_host(), cond_offset_target(), f(), type::field(), type::fields(), INIT_NONE_SPECIFIC, type::length(), field::loc_bitpos(), type::num_fields(), type::set_code(), type::set_fields(), type::set_is_fixed_instance(), type::set_length(), field::set_name(), type::set_name(), type::set_num_fields(), field::set_type(), to_fixed_variant_branch_type(), field::type(), TYPE_ALLOC, TYPE_FIELD_BITSIZE, value_from_contents_and_address(), value_type(), and variant_field_index().
Referenced by to_fixed_record_type().
Definition at line 8735 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), type::code(), dynamic_template_type(), type::is_fixed_instance(), and template_to_static_fixed_type().
Referenced by ada_get_decoded_type(), ada_lookup_struct_elt_type(), ada_to_fixed_type_1(), expr::ada_var_value_operation::evaluate(), expr::ada_unop_ind_operation::evaluate(), static_unwrap_type(), and template_to_static_fixed_type().
|
static |
Definition at line 7291 of file ada-lang.c.
References string_file::release(), and type_print().
Referenced by ada_lookup_struct_elt_type().
Definition at line 6428 of file ada-lang.c.
References ada_encode(), ada_find_any_type(), and ada_tag_name().
Referenced by ada_tag_value_at_base_address(), ada_to_fixed_type_1(), and expr::ada_var_value_operation::evaluate().
|
static |
Definition at line 9214 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::set_name(), unwrap_value(), value_address(), and value_type().
Referenced by ada_to_fixed_value(), expr::assign_component(), expr::ada_wrapped_operation::evaluate(), expr::ada_structop_operation::evaluate(), expr::ada_funcall_operation::evaluate(), and unwrap_value().
|
static |
Definition at line 3633 of file ada-lang.c.
References symbol::aclass(), ada_print_symbol_signature(), ada_print_type(), type::code(), file_name_style, find_function_start_sal(), gdb_printf(), gdb_stdout, get_selections(), symbol::is_objfile_owned(), symbol::line(), symtab_and_line::line, LOC_BLOCK, LOC_CONST, metadata_style, multiple_symbols_all, multiple_symbols_cancel, multiple_symbols_select_mode(), type::name(), general_symbol_info::print_name(), ui_file_style::ptr(), sort_choices(), cli_style_option::style(), styled_string(), block_symbol::symbol, symbol::symtab, symtab_and_line::symtab, symtab_to_filename_for_display(), symbol::type(), and type_print_raw_options.
Referenced by ada_resolve_function().
Definition at line 8946 of file ada-lang.c.
References type::code(), discrete_type_p(), type::field(), field::loc_enumval(), type::num_fields(), type::target_type(), and value_from_longest().
Referenced by ada_val_atr(), and ada_language::print_array_index().
|
static |
Definition at line 2948 of file ada-lang.c.
References bits, check_typedef(), copy_bitwise(), is_scalar_type(), type::length(), type_byte_order(), value_address(), value_bitpos(), value_bitsize(), value_cast(), value_contents(), value_contents_writeable(), and value_type().
Referenced by ada_convert_actual(), and expr::assign_component().
Definition at line 4563 of file ada-lang.c.
References type::arch(), extract_unsigned_integer(), gdbarch_address_to_pointer(), type::length(), type_byte_order(), and value_address().
Referenced by make_array_descriptor().
|
static |
Definition at line 2559 of file ada-lang.c.
References ada_check_typedef(), ada_value_primitive_packed_val(), bits, type::code(), get_discrete_bounds(), type::index_type(), lim_warning(), pos_atr(), type::target_type(), TYPE_FIELD_BITSIZE, and value_type().
Referenced by ada_value_ptr_subscript(), and ada_value_subscript().
|
static |
Definition at line 6403 of file ada-lang.c.
References find_struct_field(), type::length(), resolve_dynamic_type(), and value_from_contents_and_address().
Referenced by ada_tag_value_at_base_address(), and ada_to_fixed_type_1().
|
static |
Definition at line 7816 of file ada-lang.c.
References ada_is_variant_part(), type::code(), f(), and type::num_fields().
Referenced by to_fixed_record_type(), to_fixed_variant_branch_type(), and to_record_with_fixed_variant_part().
|
static |
Definition at line 6042 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 5137 of file ada-lang.c.
References name, and type::name().
Referenced by old_renaming_is_invisible().
|
static |
Definition at line 238 of file ada-lang.c.
Referenced by find_case_fold_entry().
|
static |
Definition at line 283 of file ada-lang.c.
Referenced by ada_language::word_break_characters().
|
static |
Definition at line 316 of file ada-lang.c.
Referenced by find_parallel_type_by_descriptive_type().
|
static |
Definition at line 337 of file ada-lang.c.
|
static |
Definition at line 13933 of file ada-lang.c.
|
static |
Definition at line 291 of file ada-lang.c.
Referenced by ada_main_name().
const struct ada_opname_map ada_opname_table[] |
Definition at line 840 of file ada-lang.c.
Referenced by ada_decode(), ada_decoded_op_name(), ada_encode_1(), and is_ada_operator().
|
static |
Definition at line 380 of file ada-lang.c.
Referenced by get_ada_pspace_data().
|
static |
Definition at line 214 of file ada-lang.c.
Referenced by ada_encode_1(), ada_fold_name(), and convert_from_hex_encoded().
|
static |
Definition at line 218 of file ada-lang.c.
Referenced by ada_encode_1(), ada_fold_name(), and convert_from_hex_encoded().
|
static |
Definition at line 8887 of file ada-lang.c.
Referenced by ada_attribute_name().
|
static |
Definition at line 1593 of file ada-lang.c.
Referenced by ada_decode_symbol().
|
static |
Definition at line 11666 of file ada-lang.c.
Referenced by ada_exception_support_info_sniffer().
|
static |
Definition at line 11692 of file ada-lang.c.
Referenced by ada_exception_support_info_sniffer().
|
static |
Definition at line 11679 of file ada-lang.c.
Referenced by ada_exception_support_info_sniffer().
|
static |
Definition at line 13956 of file ada-lang.c.
|
static |
Definition at line 305 of file ada-lang.c.
Referenced by is_known_support_routine().
|
static |
Definition at line 301 of file ada-lang.c.
Referenced by is_known_support_routine().
|
static |
Definition at line 311 of file ada-lang.c.
|
static |
Definition at line 312 of file ada-lang.c.
|
static |
Definition at line 3494 of file ada-lang.c.
Referenced by ada_print_symbol_signature().
|
static |
Definition at line 13936 of file ada-lang.c.
|
static |
Definition at line 13937 of file ada-lang.c.
|
static |
Definition at line 11622 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 9032 of file ada-lang.c.
Referenced by ada_is_aligner_type().
|
static |
Definition at line 295 of file ada-lang.c.
Referenced by lim_warning().
|
static |
Definition at line 299 of file ada-lang.c.
Referenced by lim_warning(), and ada_language::parser().