|
GDB (xrefs)
|
Go to the source code of this file.
Classes | |
| struct | ada_opname_map |
| struct | ada_task_info |
| struct | ada_exc_info |
Macros | |
| #define | ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS |
| #define | ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS |
| #define | MAX_ENCLOSING_FRAME_LEVELS 7 |
| #define | MAX_RENAMING_CHAIN_LENGTH 10 |
| #define | GROW_VECT(v, s, m) if ((s) < (m)) (v) = (char *) grow_vect (v, &(s), m, sizeof *(v)); |
Typedefs | |
| typedef void() | ada_task_list_iterator_ftype(struct ada_task_info *task) |
Variables | |
| const struct ada_opname_map | ada_opname_table [] |
| #define ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS |
Definition at line 53 of file ada-lang.h.
| #define ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS |
Definition at line 45 of file ada-lang.h.
Definition at line 156 of file ada-lang.h.
Referenced by ada_decode(), ada_encode_1(), ada_enum_name(), ada_fold_name(), ada_variant_discrim_name(), scan_discrim_bound(), and to_fixed_range_type().
| #define MAX_ENCLOSING_FRAME_LEVELS 7 |
Definition at line 60 of file ada-lang.h.
| #define MAX_RENAMING_CHAIN_LENGTH 10 |
Definition at line 65 of file ada-lang.h.
Referenced by write_var_or_type().
| typedef void() ada_task_list_iterator_ftype(struct ada_task_info *task) |
Definition at line 409 of file ada-lang.h.
| Enumerator | |
|---|---|
| ada_catch_exception | |
| ada_catch_exception_unhandled | |
| ada_catch_assert | |
| ada_catch_handlers | |
Definition at line 107 of file ada-lang.h.
| Enumerator | |
|---|---|
| ADA_NOT_RENAMING | |
| ADA_OBJECT_RENAMING | |
| ADA_EXCEPTION_RENAMING | |
| ADA_PACKAGE_RENAMING | |
| ADA_SUBPROGRAM_RENAMING | |
Definition at line 83 of file ada-lang.h.
Definition at line 9584 of file ada-lang.c.
References ada_aligned_type(), ada_get_base_type(), ada_is_aligner_type(), and TYPE_FIELD_TYPE.
Referenced by ada_aligned_type(), ada_evaluate_subexp(), ada_print_type(), ada_template_to_fixed_record_type_1(), and printable_val_type().
Definition at line 9597 of file ada-lang.c.
References ada_aligned_value_addr(), ada_is_aligner_type(), TARGET_CHAR_BIT, TYPE_FIELD_BITPOS, and TYPE_FIELD_TYPE.
Referenced by ada_aligned_value_addr(), and ada_val_print_1().
| int ada_array_arity | ( | struct type * | ) |
Definition at line 2967 of file ada-lang.c.
References ada_check_typedef(), desc_arity(), desc_base_type(), desc_bounds_type(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, and TYPE_TARGET_TYPE.
Referenced by ada_array_element_type(), ada_evaluate_subexp(), ada_index_type(), ada_is_string_type(), ada_type_of_array(), make_array_descriptor(), and print_array_type().
Definition at line 2995 of file ada-lang.c.
References ada_array_arity(), ada_check_typedef(), desc_base_type(), desc_data_target_type(), type, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, and TYPE_TARGET_TYPE.
Referenced by ada_evaluate_subexp(), ada_is_string_type(), ada_type_of_array(), empty_array(), and print_array_type().
| const char* ada_attribute_name | ( | enum | exp_opcode | ) |
Definition at line 9401 of file ada-lang.c.
References attribute_names.
Referenced by ada_evaluate_subexp(), and ada_print_subexp().
| char* ada_breakpoint_rewrite | ( | char * | , |
| int * | |||
| ) |
| int ada_build_task_list | ( | void | ) |
Definition at line 1011 of file ada-tasks.c.
References _, current_inferior(), error(), get_ada_tasks_inferior_data(), read_known_tasks(), target_has_stack, ada_tasks_inferior_data::task_list_valid_p, and VEC_length.
Referenced by ada_get_task_info_from_ptid(), info_task(), iterate_over_live_ada_tasks(), print_ada_task_info(), ravenscar_update_thread_list(), task_command(), and valid_task_id().
Definition at line 9307 of file ada-lang.c.
References ada_check_typedef(), ada_find_any_type(), ada_typedef_target_type(), check_typedef(), is_thick_pntr(), name, type, TYPE_CODE, TYPE_CODE_ENUM, TYPE_CODE_TYPEDEF, TYPE_STUB, and TYPE_TAG_NAME.
Referenced by ada_args_match(), ada_array_arity(), ada_array_element_type(), ada_check_typedef(), ada_coerce_to_simple_array_type(), ada_convert_actual(), ada_evaluate_subexp(), ada_fixup_array_indexes_type(), ada_get_decoded_value(), ada_index_struct_field_1(), ada_is_aligner_type(), ada_is_array_descriptor_type(), ada_is_direct_array_type(), ada_is_packed_array_type(), ada_is_parent_field(), ada_is_simple_array_type(), ada_is_string_type(), ada_is_tag_type(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_print_scalar(), ada_print_type(), ada_print_typedef(), ada_resolve_function(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type_1(), ada_type_match(), ada_type_of_array(), ada_val_print_1(), ada_value_binop(), ada_value_cast(), ada_value_equal(), ada_value_primitive_field(), ada_value_primitive_packed_val(), ada_value_print(), ada_value_slice(), ada_value_slice_from_ptr(), ada_value_struct_elt(), ada_value_subscript(), ada_varobj_decode_var(), coerce_for_assign(), coerce_unspec_val_to_type(), constrained_packed_array_type(), decode_constrained_packed_array(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), desc_base_type(), desc_bounds(), desc_bounds_type(), desc_data_target_type(), dynamic_template_type(), empty_array(), ensure_lval(), fat_pntr_bounds_bitsize(), find_struct_field(), make_array_descriptor(), possible_user_operator_p(), static_unwrap_type(), template_to_static_fixed_type(), thin_data_pntr(), to_fixed_array_type(), to_static_fixed_type(), unwrap_value(), and value_subscript_packed().
Definition at line 2080 of file ada-lang.c.
References _, ada_coerce_to_simple_array_ptr(), ada_ensure_varsize_limit(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), decode_constrained_packed_array(), error(), TYPE_TARGET_TYPE, value_ind(), and value_type().
Referenced by ada_evaluate_subexp(), ada_exception_message_1(), ada_get_decoded_value(), ada_val_print_gnat_array(), ada_value_assign(), ada_value_equal(), ada_value_subscript(), and assign_aggregate().
Definition at line 2059 of file ada-lang.c.
References ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), ada_type_of_array(), decode_constrained_packed_array(), desc_data(), value_cast(), value_copy(), and value_type().
Referenced by ada_coerce_to_simple_array(), ada_evaluate_subexp(), ada_get_decoded_value(), ada_val_print_gnat_array(), and read_atcb().
Definition at line 2102 of file ada-lang.c.
References ada_check_typedef(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), decode_constrained_packed_array_type(), desc_data_target_type(), and type.
Referenced by ada_get_decoded_type(), ada_varobj_ind(), and print_array_type().
Definition at line 4497 of file ada-lang.c.
References ada_check_typedef(), ada_is_aligner_type(), ada_is_array_descriptor_type(), ada_value_ind(), ada_value_struct_elt(), allocate_value(), desc_data(), ensure_lval(), lval_memory, make_array_descriptor(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_LENGTH, TYPE_TARGET_TYPE, value_addr(), value_assign_to_component(), value_cast_pointers(), value_contents(), value_contents_raw(), VALUE_LVAL, and value_type().
Referenced by value_arg_coerce().
| const char* ada_decode | ( | const char * | ) |
Definition at line 1166 of file ada-lang.c.
References ada_opname_table, ada_remove_po_subprogram_suffix(), ada_remove_trailing_digits(), ada_opname_map::decoded, ada_opname_map::encoded, GROW_VECT, is_lower_alphanum(), startswith(), and xsnprintf().
Referenced by ada_add_global_exceptions(), ada_decode_symbol(), ada_la_decode(), ada_sniff_from_mangled_name(), ada_varobj_describe_simple_array_child(), is_valid_name_for_wild_match(), ada_lookup_name_info::matches(), name_matches_regex(), and write_object_renaming().
| const char* ada_decode_symbol | ( | const struct general_symbol_info * | ) |
Definition at line 1430 of file ada-lang.c.
References ada_decode(), general_symbol_info::ada_mangled, decoded_names_store, general_symbol_info::demangled_name, general_symbol_info::language_specific, general_symbol_info::name, and general_symbol_info::obstack.
Referenced by symbol_demangled_name(), and symbol_natural_name().
Definition at line 11701 of file ada-lang.c.
References ada_scaling_type(), fixed_type_info(), value_binop(), and value_from_longest().
Referenced by print_fixed_point_type().
Definition at line 800 of file ada-lang.c.
References _, error(), max_of_type(), resolve_dynamic_type(), TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_INT, TYPE_CODE_RANGE, TYPE_FIELD_ENUMVAL, TYPE_HIGH_BOUND, and TYPE_NFIELDS.
Referenced by ada_array_bound_from_type(), ada_evaluate_subexp(), print_range(), to_fixed_range_type(), and type_is_full_subrange_of_target_type().
Definition at line 821 of file ada-lang.c.
References _, error(), min_of_type(), resolve_dynamic_type(), TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_INT, TYPE_CODE_RANGE, TYPE_FIELD_ENUMVAL, and TYPE_LOW_BOUND.
Referenced by ada_array_bound_from_type(), ada_evaluate_subexp(), ada_value_slice_from_ptr(), ada_varobj_describe_simple_array_child(), print_range(), to_fixed_range_type(), and type_is_full_subrange_of_target_type().
Definition at line 259 of file ada-valprint.c.
References fprintf_filtered().
Referenced by ada_printchar(), emit_char(), and printstr().
| char* ada_encode | ( | const char * | ) |
Definition at line 1041 of file ada-lang.c.
References ada_encode_1(), and ada_opname_map::decoded.
Referenced by block_lookup(), type_from_tag(), and write_var_or_type().
| void ada_ensure_varsize_limit | ( | const struct type * | type | ) |
Definition at line 747 of file ada-lang.c.
References _, error(), TYPE_LENGTH, and varsize_limit.
Referenced by ada_coerce_to_simple_array(), ada_evaluate_subexp(), ada_template_to_fixed_record_type_1(), ada_val_print_ref(), and coerce_unspec_val_to_type().
| const char* ada_enum_name | ( | const char * | ) |
Definition at line 9613 of file ada-lang.c.
References GROW_VECT, name, and xsnprintf().
Referenced by ada_print_scalar(), ada_val_print_enum(), and print_enum_type().
| std::vector<ada_exc_info> ada_exceptions_list | ( | const char * | regexp | ) |
Definition at line 13807 of file ada-lang.c.
References _, and ada_exceptions_list_1().
Referenced by info_exceptions_command(), and mi_cmd_info_ada_exceptions().
| void ada_fill_in_ada_prototype | ( | struct symbol * | ) |
Definition at line 8242 of file ada-lang.c.
References ada_find_parallel_type_with_name(), ada_type_name(), and name.
Referenced by ada_array_bound_from_type(), ada_evaluate_subexp(), ada_get_base_type(), ada_is_aligner_type(), constrained_packed_array_type(), dynamic_template_type(), print_array_type(), print_record_type(), print_variant_clauses(), thin_descriptor_type(), to_fixed_array_type(), to_fixed_variant_branch_type(), to_static_fixed_type(), and unwrap_value().
| void ada_find_printable_frame | ( | struct frame_info * | fi | ) |
Definition at line 12253 of file ada-lang.c.
References get_prev_frame(), is_known_support_routine(), and select_frame().
Referenced by print_it_exception(), and task_command_1().
Definition at line 8037 of file ada-lang.c.
References ada_find_any_type_symbol(), find_old_style_renaming_symbol(), name, and SYMBOL_LINKAGE_NAME.
Referenced by ada_read_var_value(), and write_var_or_type().
| void ada_fixup_array_indexes_type | ( | struct type * | index_desc_type | ) |
Definition at line 1538 of file ada-lang.c.
References ada_check_typedef(), ada_find_any_type(), gdb_assert, name, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_NAME, and TYPE_NFIELDS.
Referenced by ada_array_bound_from_type(), print_array_type(), and to_fixed_array_type().
| char* ada_fold_name | ( | const char * | ) |
Definition at line 1051 of file ada-lang.c.
References GROW_VECT, and name.
Referenced by ada_lookup_name_info::ada_lookup_name_info().
Definition at line 9536 of file ada-lang.c.
References ada_find_any_type(), ada_find_parallel_type(), ada_is_aligner_type(), TYPE_CODE, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_NFIELDS, and TYPE_TARGET_TYPE.
Referenced by ada_aligned_type(), ada_parent_type(), ada_print_type(), ada_template_to_fixed_record_type_1(), ada_value_struct_elt(), static_unwrap_type(), and unwrap_value().
Definition at line 886 of file ada-lang.c.
References ada_coerce_to_simple_array_type(), ada_is_constrained_packed_array_type(), to_static_fixed_type(), and type.
Referenced by ada_varobj_decode_var().
Definition at line 861 of file ada-lang.c.
References ada_check_typedef(), ada_coerce_to_simple_array(), ada_coerce_to_simple_array_ptr(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), ada_to_fixed_value(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_TYPEDEF, and value_type().
Referenced by ada_varobj_decode_var().
| int ada_get_field_index | ( | const struct type * | type, |
| const char * | field_name, | ||
| int | maybe_missing | ||
| ) |
Definition at line 619 of file ada-lang.c.
References _, check_typedef(), error(), field_name(), field_name_match(), TYPE_FIELD_NAME, TYPE_NAME, and TYPE_NFIELDS.
Referenced by ada_get_tcb_types_info(), ada_nget_field_index(), get_symbol_field_type(), read_atcb(), and read_fat_string_value().
| struct ada_task_info* ada_get_task_info_from_ptid | ( | ptid_t | ptid | ) |
Definition at line 360 of file ada-tasks.c.
References ada_build_task_list(), current_inferior(), get_ada_tasks_inferior_data(), ada_task_info::ptid, ptid_equal(), VEC_index, and VEC_length.
Referenced by ravenscar_get_thread_base_cpu().
| int ada_get_task_number | ( | ptid_t | ) |
Definition at line 295 of file ada-tasks.c.
References find_inferior_ptid(), gdb_assert, get_ada_tasks_inferior_data(), ptid_equal(), VEC_index, and VEC_length.
Referenced by bpstat_check_breakpoint_conditions(), and display_current_task_id().
| const char* ada_get_tcb_types_info | ( | void | ) |
Definition at line 479 of file ada-tasks.c.
References _, atcb_fieldnos::activation_link, ada_get_field_index(), ada_template_to_fixed_record_type_1(), atcb_fieldnos::atc_nesting_level, ada_tasks_pspace_data::atcb_call_type, ada_tasks_pspace_data::atcb_common_type, ada_tasks_pspace_data::atcb_fieldno, ada_tasks_pspace_data::atcb_ll_type, ada_tasks_pspace_data::atcb_type, atcb_fieldnos::base_cpu, atcb_fieldnos::call, atcb_fieldnos::call_self, atcb_fieldnos::common, current_program_space, atcb_fieldnos::entry_calls, get_ada_tasks_pspace_data(), atcb_fieldnos::image, atcb_fieldnos::image_len, ada_tasks_pspace_data::initialized_p, language_c, atcb_fieldnos::ll, atcb_fieldnos::ll_lwp, atcb_fieldnos::ll_thread, lookup_symbol_in_language(), atcb_fieldnos::parent, atcb_fieldnos::priority, atcb_fieldnos::state, STRUCT_DOMAIN, block_symbol::symbol, type, and symbol::type.
Referenced by ravenscar_inferior_created(), and read_atcb().
Definition at line 7165 of file ada-lang.c.
References ada_scan_number(), L, name, and TYPE_FIELD_NAME.
Referenced by ada_which_variant_applies().
| int ada_is_aligner_type | ( | struct type * | ) |
Definition at line 9520 of file ada-lang.c.
References ada_check_typedef(), ada_find_parallel_type(), trust_pad_over_xvs, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_FIELD_NAME, and TYPE_NFIELDS.
Referenced by ada_aligned_type(), ada_aligned_value_addr(), ada_convert_actual(), ada_evaluate_subexp(), ada_get_base_type(), ada_print_type(), ada_template_to_fixed_record_type_1(), static_unwrap_type(), and unwrap_value().
| int ada_is_array_descriptor_type | ( | struct type * | ) |
Definition at line 1943 of file ada-lang.c.
References ada_check_typedef(), desc_arity(), desc_bounds_type(), desc_data_target_type(), TYPE_CODE, and TYPE_CODE_ARRAY.
Referenced by ada_coerce_to_simple_array(), ada_coerce_to_simple_array_ptr(), ada_coerce_to_simple_array_type(), ada_convert_actual(), ada_evaluate_subexp(), ada_get_decoded_value(), ada_is_bogus_array_descriptor(), ada_is_constrained_packed_array_type(), ada_is_direct_array_type(), ada_is_string_type(), ada_is_unconstrained_packed_array_type(), ada_prefer_type(), ada_print_type(), ada_type_match(), ada_type_of_array(), ada_val_print_1(), ada_value_is_changeable_p(), ada_value_print(), ada_varobj_adjust_for_child_access(), ada_varobj_describe_child(), ada_varobj_get_number_of_children(), and ada_varobj_ind().
| int ada_is_bogus_array_descriptor | ( | struct type * | ) |
Definition at line 1961 of file ada-lang.c.
References ada_is_array_descriptor_type(), lookup_struct_elt_type(), TYPE_CODE, and TYPE_CODE_STRUCT.
Referenced by ada_print_type(), ada_val_print_struct_union(), and ada_value_print().
| int ada_is_character_type | ( | struct type * | ) |
Definition at line 9463 of file ada-lang.c.
References ada_type_name(), name, TYPE_CODE, TYPE_CODE_CHAR, TYPE_CODE_INT, and TYPE_CODE_RANGE.
Referenced by ada_is_string_type(), and ada_val_print_num().
| int ada_is_constrained_packed_array_type | ( | struct type * | ) |
Definition at line 2131 of file ada-lang.c.
References ada_is_array_descriptor_type(), and ada_is_packed_array_type().
Referenced by ada_array_bound(), ada_array_bound_from_type(), ada_array_length(), ada_coerce_to_simple_array(), ada_coerce_to_simple_array_ptr(), ada_coerce_to_simple_array_type(), ada_evaluate_subexp(), ada_get_decoded_type(), ada_get_decoded_value(), ada_prefer_type(), ada_print_type(), ada_type_of_array(), ada_val_print_1(), ada_varobj_adjust_for_child_access(), find_parallel_type_by_descriptive_type(), print_array_type(), and to_fixed_array_type().
| int ada_is_fixed_point_type | ( | struct type * | ) |
Definition at line 11672 of file ada-lang.c.
References fixed_type_info().
Referenced by ada_evaluate_subexp(), ada_print_type(), ada_val_print_num(), ada_value_cast(), and cast_to_fixed().
| int ada_is_ignored_field | ( | struct type * | , |
| int | |||
| ) |
Definition at line 6623 of file ada-lang.c.
References ada_is_dispatch_table_ptr_type(), ada_is_interface_tag(), ada_is_tagged_type(), name, startswith(), TYPE_FIELD_NAME, TYPE_FIELD_TYPE, and TYPE_NFIELDS.
Referenced by ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), print_field_values(), and print_selected_record_field_types().
| int ada_is_modular_type | ( | struct type * | ) |
Definition at line 11955 of file ada-lang.c.
References get_base_type(), TYPE_CODE, TYPE_CODE_INT, TYPE_CODE_RANGE, and TYPE_UNSIGNED.
Referenced by ada_evaluate_subexp(), ada_print_type(), and decode_constrained_packed_array().
| int ada_is_others_clause | ( | struct type * | , |
| int | |||
| ) |
Definition at line 7057 of file ada-lang.c.
References name, and TYPE_FIELD_NAME.
Referenced by ada_which_variant_applies().
| int ada_is_parent_field | ( | struct type * | , |
| int | |||
| ) |
Definition at line 6986 of file ada-lang.c.
References ada_check_typedef(), name, startswith(), and TYPE_FIELD_NAME.
Referenced by ada_lookup_struct_elt_type(), ada_parent_type(), ada_search_struct_field(), find_struct_field(), and print_selected_record_field_types().
| int ada_is_range_type_name | ( | const char * | ) |
| int ada_is_simple_array_type | ( | struct type * | ) |
Definition at line 1929 of file ada-lang.c.
References ada_check_typedef(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_PTR, and TYPE_TARGET_TYPE.
Referenced by ada_array_bound(), ada_array_bound_from_type(), ada_array_length(), ada_evaluate_subexp(), ada_index_type(), ada_is_string_type(), and print_array_type().
| int ada_is_string_type | ( | struct type * | ) |
Definition at line 9487 of file ada-lang.c.
References ada_array_arity(), ada_array_element_type(), ada_check_typedef(), ada_is_array_descriptor_type(), ada_is_character_type(), ada_is_simple_array_type(), TYPE_CODE, and TYPE_CODE_PTR.
Referenced by ada_val_print_array(), ada_value_is_changeable_p(), and ada_varobj_get_value_of_array_variable().
| int ada_is_system_address_type | ( | struct type * | ) |
Definition at line 11680 of file ada-lang.c.
References TYPE_NAME.
Referenced by ada_val_print_num().
| int ada_is_tag_type | ( | struct type * | ) |
Definition at line 6672 of file ada-lang.c.
References ada_check_typedef(), ada_type_name(), name, TYPE_CODE, TYPE_CODE_PTR, and TYPE_TARGET_TYPE.
Referenced by ada_tag_name(), and ada_val_print_ptr().
| int ada_is_tagged_type | ( | struct type * | , |
| int | |||
| ) |
Definition at line 6664 of file ada-lang.c.
References ada_lookup_struct_elt_type().
Referenced by ada_coerce_ref(), ada_evaluate_subexp(), ada_is_ignored_field(), ada_to_fixed_type_1(), ada_val_print_ref(), ada_value_ind(), ada_value_struct_elt(), ada_varobj_adjust_for_child_access(), ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), and print_record_type().
| int ada_is_variant_part | ( | struct type * | , |
| int | |||
| ) |
Definition at line 7029 of file ada-lang.c.
References is_dynamic_field(), TYPE_CODE, TYPE_CODE_UNION, TYPE_FIELD_TYPE, and TYPE_TARGET_TYPE.
Referenced by ada_index_struct_field_1(), ada_lookup_struct_elt_type(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), find_struct_field(), print_field_values(), print_selected_record_field_types(), and variant_field_index().
| int ada_is_wrapper_field | ( | struct type * | , |
| int | |||
| ) |
Definition at line 7002 of file ada-lang.c.
References name, startswith(), and TYPE_FIELD_NAME.
Referenced by ada_index_struct_field_1(), ada_lookup_struct_elt_type(), ada_search_struct_field(), ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), find_struct_field(), print_field_values(), and print_selected_record_field_types().
| void ada_lookup_encoded_symbol | ( | const char * | name, |
| const struct block * | block, | ||
| domain_enum | domain, | ||
| struct block_symbol * | symbol_info | ||
| ) |
Definition at line 5910 of file ada-lang.c.
References ada_lookup_symbol(), gdb_assert, name, and string.
Referenced by write_object_renaming().
| struct bound_minimal_symbol ada_lookup_simple_minsym | ( | const char * | ) |
Definition at line 4945 of file ada-lang.c.
References ada_get_symbol_name_matcher(), ALL_MSYMBOLS, memset(), bound_minimal_symbol::minsym, mst_solib_trampoline, MSYMBOL_LINKAGE_NAME, MSYMBOL_TYPE, name, name_match_type_from_name(), bound_minimal_symbol::objfile, and objfile::objfile().
Referenced by ada_add_standard_exceptions(), and write_var_or_type().
| struct block_symbol ada_lookup_symbol | ( | const char * | , |
| const struct block * | , | ||
| domain_enum | , | ||
| int * | |||
| ) |
Definition at line 5933 of file ada-lang.c.
References ada_lookup_symbol_list(), do_cleanups(), fixup_symbol_section(), make_cleanup(), name, block_symbol::symbol, and xfree().
Referenced by ada_lookup_encoded_symbol(), ada_lookup_symbol_nonlocal(), and find_primitive_type().
| int ada_lookup_symbol_list | ( | const char * | , |
| const struct block * | , | ||
| domain_enum | , | ||
| struct block_symbol ** | |||
| ) |
Definition at line 5869 of file ada-lang.c.
References ada_lookup_symbol_list_worker(), name, and name_match_type_from_name().
Referenced by ada_lookup_symbol(), block_lookup(), resolve_subexp(), write_name_assoc(), and write_var_or_type().
| char* ada_main_name | ( | void | ) |
Definition at line 916 of file ada-lang.c.
References _, ADA_MAIN_PROGRAM_SYMBOL_NAME, BMSYMBOL_VALUE_ADDRESS, error(), lookup_minimal_symbol(), bound_minimal_symbol::minsym, target_read_string(), and xfree().
Referenced by find_main_name().
Definition at line 11967 of file ada-lang.c.
References TYPE_HIGH_BOUND.
Referenced by ada_evaluate_subexp(), ada_print_type(), and decode_constrained_packed_array().
| std::string ada_name_for_lookup | ( | const char * | name | ) |
| int ada_name_prefix_len | ( | const char * | ) |
Definition at line 639 of file ada-lang.c.
References name.
Referenced by ada_print_type(), ada_varobj_describe_simple_array_child(), ada_varobj_describe_struct_child(), find_old_style_renaming_symbol(), print_field_values(), and print_range().
Definition at line 6955 of file ada-lang.c.
References ada_check_typedef(), ada_get_base_type(), ada_is_parent_field(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_STRUCT, TYPE_FIELD_TYPE, TYPE_NFIELDS, and TYPE_TARGET_TYPE.
Referenced by print_record_type().
| int ada_parse | ( | struct parser_state * | ) |
Definition at line 2698 of file ada-exp.c.
References gdb_assert, make_scoped_restore(), pstate, temp_parse_space, type_qualifier, yyin, and yyparse().
Referenced by parse().
| enum ada_renaming_category ada_parse_renaming | ( | struct symbol * | , |
| const char ** | , | ||
| int * | , | ||
| const char ** | |||
| ) |
Definition at line 4332 of file ada-lang.c.
References ADA_EXCEPTION_RENAMING, ADA_NOT_RENAMING, ADA_OBJECT_RENAMING, ADA_PACKAGE_RENAMING, ADA_SUBPROGRAM_RENAMING, LOC_COMPUTED, LOC_LOCAL, LOC_OPTIMIZED_OUT, LOC_STATIC, LOC_TYPEDEF, parse_old_style_renaming(), SYMBOL_CLASS, SYMBOL_LINKAGE_NAME, and SYMBOL_TYPE.
Referenced by remove_irrelevant_renamings(), write_object_renaming(), and write_var_or_type().
Definition at line 8118 of file ada-lang.c.
References ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), TYPE_CODE, TYPE_CODE_VOID, TYPE_NAME, and type_name_no_tag().
Referenced by select_possible_type_sym().
Definition at line 360 of file ada-valprint.c.
References _, ada_check_typedef(), ada_enum_name(), error(), fprintf_filtered(), fputs_filtered(), gdb_flush(), LA_PRINT_CHAR, print_longest(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_ERROR, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, TYPE_CODE_METHODPTR, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_SET, TYPE_CODE_STRING, TYPE_CODE_STRUCT, TYPE_CODE_UNDEF, TYPE_CODE_UNION, TYPE_CODE_VOID, TYPE_FIELD_ENUMVAL, TYPE_FIELD_NAME, TYPE_NFIELDS, TYPE_TARGET_TYPE, TYPE_UNSIGNED, and warning().
Referenced by ada_varobj_scalar_image(), print_choices(), print_dynamic_range_bound(), print_optional_low_bound(), print_range(), and print_range_bound().
| void ada_print_type | ( | struct type * | , |
| const char * | , | ||
| struct ui_file * | , | ||
| int | , | ||
| int | , | ||
| const struct type_print_options * | |||
| ) |
Definition at line 830 of file ada-typeprint.c.
References _, ada_aligned_type(), ada_check_typedef(), ada_get_base_type(), ada_is_aligner_type(), ada_is_array_descriptor_type(), ada_is_bogus_array_descriptor(), ada_is_constrained_packed_array_type(), ada_is_fixed_point_type(), ada_is_modular_type(), ada_is_range_type_name(), ada_modulus(), ada_name_prefix_len(), ada_type_name(), c_print_type(), decoded_type_name(), flags, fprintf_filtered(), int_string(), name, print_array_type(), print_enum_type(), print_fixed_point_type(), print_func_type(), print_range(), print_range_type(), print_record_type(), print_unchecked_union_type(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_BOOL, TYPE_CODE_ENUM, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_CODE_TYPEDEF, TYPE_CODE_UNION, TYPE_LENGTH, and TYPE_TARGET_TYPE.
Referenced by ada_print_symbol_signature(), ada_print_typedef(), print_array_type(), print_func_type(), print_selected_record_field_types(), print_unchecked_union_type(), and user_select_syms().
Definition at line 950 of file ada-typeprint.c.
References ada_check_typedef(), ada_print_type(), fprintf_filtered(), and type_print_raw_options.
Definition at line 348 of file ada-valprint.c.
References ada_emit_char(), fputs_filtered(), and TYPE_LENGTH.
Referenced by ada_val_print_num().
| void ada_printstr | ( | struct ui_file * | , |
| struct type * | , | ||
| const gdb_byte * | , | ||
| unsigned | int, | ||
| const char * | , | ||
| int | , | ||
| const struct value_print_options * | |||
| ) |
Definition at line 522 of file ada-valprint.c.
References type::length, printstr(), and TYPE_LENGTH.
Definition at line 11719 of file ada-lang.c.
References ada_scaling_type(), fixed_type_info(), value_binop(), and value_from_longest().
Referenced by ada_val_print_num(), cast_from_fixed(), cast_to_fixed(), and print_fixed_point_type().
| int ada_scan_number | ( | const char * | , |
| int | , | ||
| LONGEST * | , | ||
| int * | |||
| ) |
| struct type* ada_system_address_type | ( | void | ) |
| const char* ada_tag_name | ( | struct value * | ) |
Definition at line 6921 of file ada-lang.c.
References ada_get_tsd_from_tag(), ada_is_tag_type(), ada_tag_name_from_tsd(), CATCH, END_CATCH, name, RETURN_MASK_ERROR, TRY, and value_type().
Referenced by ada_val_print_ptr(), and type_from_tag().
Definition at line 6690 of file ada-lang.c.
References ada_lookup_struct_elt_type(), and value_type().
Referenced by ada_evaluate_subexp().
Definition at line 6754 of file ada-lang.c.
References ada_value_tag(), CATCH, END_CATCH, is_ada95_tag(), language_ada, language_def(), language_lookup_primitive_type(), lookup_pointer_type(), RETURN_MASK_ERROR, target_gdbarch(), TRY, TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, type_from_tag(), value_address(), value_as_long(), value_cast(), value_from_contents_and_address(), value_ind(), value_ptradd(), value_tag_from_contents_and_address(), and value_type().
Referenced by ada_coerce_ref(), ada_to_fixed_type_1(), ada_val_print_ref(), ada_value_ind(), and ada_varobj_adjust_for_child_access().
| struct type* ada_template_to_fixed_record_type_1 | ( | struct type * | type, |
| const gdb_byte * | valaddr, | ||
| CORE_ADDR | address, | ||
| struct value * | dval0, | ||
| int | keep_dynamic_fields | ||
| ) |
Definition at line 8350 of file ada-lang.c.
References _, ada_aligned_type(), ada_check_typedef(), ada_ensure_varsize_limit(), ada_get_base_type(), ada_is_aligner_type(), ada_is_variant_part(), ada_to_fixed_type(), ada_type_name(), ada_typedef_target_type(), align_value(), alloc_type_copy(), cond_offset_host(), cond_offset_target(), error(), field_alignment(), INIT_CPLUS_SPECIFIC, is_dynamic_field(), memset(), SET_FIELD_BITPOS, TARGET_CHAR_BIT, to_fixed_variant_branch_type(), TYPE_ALLOC, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_TYPEDEF, TYPE_FIELD, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_FIXED_INSTANCE, TYPE_LENGTH, TYPE_NAME, TYPE_NFIELDS, TYPE_TAG_NAME, TYPE_TARGET_TYPE, value_free_to_mark(), value_from_contents_and_address_unresolved(), value_mark(), value_type(), varsize_limit, and warning().
Referenced by ada_get_tcb_types_info(), and template_to_fixed_record_type().
| struct type* ada_to_fixed_type | ( | struct type * | , |
| const gdb_byte * | , | ||
| CORE_ADDR | , | ||
| struct value * | , | ||
| int | check_tag | ||
| ) |
Definition at line 9201 of file ada-lang.c.
References ada_to_fixed_type_1(), ada_typedef_target_type(), type, TYPE_CODE, TYPE_CODE_TYPEDEF, and TYPE_MAIN_TYPE.
Referenced by ada_template_to_fixed_record_type_1(), ada_to_fixed_value_create(), ada_value_struct_elt(), printable_val_type(), to_fixed_array_type(), and unwrap_value().
Definition at line 9368 of file ada-lang.c.
References ada_to_fixed_value_create(), unwrap_value(), value_address(), and value_type().
Referenced by ada_coerce_ref(), ada_evaluate_subexp(), ada_get_decoded_value(), ada_value_ind(), ada_value_print(), assign_component(), and common_val_print().
| const char* ada_type_name | ( | struct type * | ) |
Definition at line 8151 of file ada-lang.c.
References TYPE_NAME, and TYPE_TAG_NAME.
Referenced by ada_evaluate_subexp(), ada_find_parallel_type(), ada_is_character_type(), ada_is_packed_array_type(), ada_is_tag_type(), ada_print_type(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type_1(), ada_variant_discrim_name(), ada_varobj_describe_simple_array_child(), constrained_packed_array_type(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), decoded_type_name(), dynamic_template_type(), equiv_types(), find_parallel_type_by_descriptive_type(), fixed_type_info(), is_nondebugging_type(), is_thin_pntr(), print_record_type(), static_unwrap_type(), template_to_static_fixed_type(), thin_descriptor_type(), to_fixed_array_type(), to_record_with_fixed_variant_part(), and unwrap_value().
Definition at line 1980 of file ada-lang.c.
References ada_array_arity(), ada_array_element_type(), ada_check_typedef(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), ada_is_unconstrained_packed_array_type(), alloc_type_copy(), create_array_type(), create_static_range_type(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), desc_bounds(), desc_data_target_type(), desc_one_bound(), longest_to_int(), lookup_pointer_type(), TYPE_FIELD_BITSIZE, TYPE_LENGTH, value_as_long(), and value_type().
Referenced by ada_coerce_to_simple_array_ptr(), and ada_evaluate_subexp().
| enum language ada_update_initial_language | ( | enum | language | ) |
Definition at line 902 of file ada-lang.c.
References language_ada, and lookup_minimal_symbol().
Referenced by ada_exception_support_info_sniffer().
| void ada_val_print | ( | struct type * | , |
| int | , | ||
| CORE_ADDR | , | ||
| struct ui_file * | , | ||
| int | , | ||
| struct value * | , | ||
| const struct value_print_options * | |||
| ) |
Definition at line 1165 of file ada-valprint.c.
References _, ada_val_print_1(), value::address, CATCH, current_language, value::embedded_offset, END_CATCH, fprintf_filtered(), RETURN_MASK_ERROR, and TRY.
Definition at line 7929 of file ada-lang.c.
References ada_is_tagged_type(), ada_tag_value_at_base_address(), ada_to_fixed_value(), value_ind(), and value_type().
Referenced by ada_convert_actual(), ada_evaluate_subexp(), ada_val_print_ref(), ada_value_ptr_subscript(), ada_value_struct_elt(), ada_varobj_ind(), and coerce_for_assign().
| struct value* ada_value_primitive_packed_val | ( | struct value * | , |
| const gdb_byte * | , | ||
| long | , | ||
| int | , | ||
| int | , | ||
| struct type * | |||
| ) |
Definition at line 2553 of file ada-lang.c.
References ada_check_typedef(), ada_unpack_from_contents(), allocate_value(), gdbarch_bits_big_endian(), get_type_arch(), has_negatives(), HOST_CHAR_BIT, is_dynamic_type(), is_scalar_type(), lval_memory, memset(), offset, read_memory(), resolve_dynamic_type(), set_value_bitpos(), set_value_bitsize(), set_value_component_location(), set_value_offset(), set_value_parent(), TYPE_LENGTH, value_address(), value_at(), value_bitpos(), value_contents(), value_contents_writeable(), value_lazy(), and VALUE_LVAL.
Referenced by ada_value_primitive_field(), ada_value_struct_elt(), decode_constrained_packed_array(), print_field_values(), val_print_packed_array_elements(), and value_subscript_packed().
| void ada_value_print | ( | struct value * | , |
| struct ui_file * | , | ||
| const struct value_print_options * | |||
| ) |
Definition at line 1186 of file ada-valprint.c.
References ada_check_typedef(), ada_is_array_descriptor_type(), ada_is_bogus_array_descriptor(), ada_to_fixed_value(), value::address, current_language, value_print_options::deref_ref, fprintf_filtered(), TYPE_CODE, TYPE_CODE_INT, TYPE_CODE_PTR, TYPE_CODE_TYPEDEF, TYPE_LENGTH, type_print(), TYPE_TARGET_TYPE, TYPE_UNSIGNED, val_print(), value_address(), value_embedded_offset(), and value_enclosing_type().
Definition at line 7577 of file ada-lang.c.
References _, ada_check_typedef(), ada_coerce_ref(), ada_get_base_type(), ada_is_tagged_type(), ada_search_struct_field(), ada_to_fixed_type(), ada_value_ind(), ada_value_primitive_packed_val(), coerce_ref(), error(), find_struct_field(), name, TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_TARGET_TYPE, value_address(), value_at_lazy(), value_ind(), and value_type().
Referenced by ada_convert_actual(), ada_evaluate_subexp(), ada_get_tsd_from_tag(), ada_tag_name_from_tsd(), ada_value_tag(), ada_which_variant_applies(), is_ada95_tag(), and unwrap_value().
Definition at line 2837 of file ada-lang.c.
References _, ada_check_typedef(), ada_coerce_to_simple_array(), error(), pos_atr(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_FIELD_BITSIZE, value_subscript(), value_subscript_packed(), and value_type().
Referenced by ada_evaluate_subexp(), ada_varobj_simple_array_elt(), and assign_component().
Definition at line 6707 of file ada-lang.c.
References ada_value_struct_elt().
Referenced by ada_evaluate_subexp(), and ada_tag_value_at_base_address().
| const char* ada_variant_discrim_name | ( | struct type * | ) |
Definition at line 7069 of file ada-lang.c.
References ada_type_name(), GROW_VECT, name, startswith(), type, TYPE_CODE, TYPE_CODE_PTR, and TYPE_TARGET_TYPE.
Referenced by ada_variant_discrim_type(), ada_which_variant_applies(), is_unchecked_variant(), and print_variant_part().
Definition at line 7045 of file ada-lang.c.
References ada_lookup_struct_elt_type(), ada_variant_discrim_name(), and name.
Referenced by print_variant_clauses().
Definition at line 7855 of file ada-lang.c.
References ada_in_variant(), ada_is_others_clause(), ada_value_struct_elt(), ada_variant_discrim_name(), TYPE_NFIELDS, value_as_long(), and value_from_contents_and_address_unresolved().
Referenced by print_variant_part(), and to_fixed_variant_branch_type().
| void ada_yyerror | ( | const char * | ) |
| void create_ada_exception_catchpoint | ( | struct gdbarch * | gdbarch, |
| enum ada_exception_catchpoint_kind | ex_kind, | ||
| char * | excep_string, | ||
| char * | cond_string, | ||
| int | tempflag, | ||
| int | disabled, | ||
| int | from_tty | ||
| ) |
Definition at line 13396 of file ada-lang.c.
References ada_exception_sal(), create_excep_cond_exprs(), init_ada_exception_breakpoint(), install_breakpoint(), and set_breakpoint_condition().
Referenced by catch_ada_exception_command(), catch_ada_handlers_command(), catch_assert_command(), mi_cmd_catch_assert(), and mi_cmd_catch_exception().
| bool get_int_var_value | ( | const char * | , |
| LONGEST & | value | ||
| ) |
Definition at line 11826 of file ada-lang.c.
References get_var_value(), name, and value_as_long().
Referenced by ada_to_fixed_type_1(), print_dynamic_range_bound(), and to_fixed_range_type().
| int get_selections | ( | int * | , |
| int | , | ||
| int | , | ||
| int | , | ||
| const char * | |||
| ) |
Definition at line 4046 of file ada-lang.c.
References _, command_line_input(), error(), error_no_arg(), and skip_spaces().
Referenced by user_select_syms().
| void* grow_vect | ( | void * | , |
| size_t * | , | ||
| size_t | , | ||
| int | |||
| ) |
Definition at line 581 of file ada-lang.c.
References size, and xrealloc().
| void iterate_over_live_ada_tasks | ( | ada_task_list_iterator_ftype * | iterator | ) |
Definition at line 384 of file ada-tasks.c.
References ada_build_task_list(), ada_task_is_alive(), current_inferior(), get_ada_tasks_inferior_data(), VEC_index, and VEC_length.
Referenced by ravenscar_update_thread_list().
Definition at line 1031 of file ada-tasks.c.
References _, ada_build_task_list(), ada_task_info::called_task, ada_task_info::caller_task, Entry_Caller_Sleep, ui_out::field_fmt(), ui_out::field_int(), ui_out::field_skip(), ui_out::field_string(), gdb_assert, get_ada_tasks_inferior_data(), get_task_number_from_id(), inferior_ptid, ui_out::is_mi_like_p(), ui_out::message(), ada_task_info::name, ada_task_info::parent, parse_and_eval(), ada_task_info::priority, ada_task_info::ptid, ptid_equal(), ptid_to_global_thread_id(), ada_task_info::state, ui_out::table_body(), ui_out::table_header(), target_update_thread_list(), ada_task_info::task_id, ui_out::text(), ui_left, ui_noalign, ui_right, value_as_long(), VEC_index, and VEC_length.
Referenced by info_tasks_command(), and mi_cmd_ada_task_info().
| int user_select_syms | ( | struct block_symbol * | , |
| int | , | ||
| int | |||
| ) |
Definition at line 3920 of file ada-lang.c.
References _, ada_print_symbol_signature(), ada_print_type(), error(), find_function_start_sal(), gdb_stdout, get_selections(), symtab_and_line::line, LOC_BLOCK, LOC_CONST, multiple_symbols_all, multiple_symbols_cancel, multiple_symbols_select_mode(), printf_unfiltered(), sort_choices(), SYMBOL_CLASS, SYMBOL_LINE, SYMBOL_OBJFILE_OWNED, SYMBOL_PRINT_NAME, symbol_symtab(), SYMBOL_TYPE, symtab_and_line::symtab, symtab_to_filename_for_display(), TYPE_CODE, TYPE_CODE_ENUM, TYPE_NAME, and type_print_raw_options.
Referenced by ada_resolve_function(), and resolve_subexp().
| int valid_task_id | ( | int | ) |
Definition at line 337 of file ada-tasks.c.
References ada_build_task_list(), current_inferior(), get_ada_tasks_inferior_data(), and VEC_length.
Referenced by bppy_set_task(), find_condition_and_thread(), and gdbscm_set_breakpoint_task_x().
| const struct ada_opname_map ada_opname_table[] |
Definition at line 955 of file ada-lang.c.
Referenced by ada_decode(), ada_decoded_op_name(), ada_encode_1(), and is_ada_operator().
1.8.14