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 |
Typedefs | |
typedef gdb::function_view< void(struct ada_task_info *task)> | ada_task_list_iterator_ftype |
Functions | |
int | ada_get_field_index (const struct type *type, const char *field_name, int maybe_missing) |
int | ada_parse (struct parser_state *) |
void | ada_print_type (struct type *, const char *, struct ui_file *, int, int, const struct type_print_options *) |
void | ada_print_typedef (struct type *type, struct symbol *new_symbol, struct ui_file *stream) |
void | ada_value_print_inner (struct value *, struct ui_file *, int, const struct value_print_options *) |
void | ada_value_print (struct value *, struct ui_file *, const struct value_print_options *) |
void | ada_emit_char (int, struct type *, struct ui_file *, int, int) |
void | ada_printchar (int, struct type *, struct ui_file *) |
void | ada_printstr (struct ui_file *, struct type *, const gdb_byte *, unsigned int, const char *, int, const struct value_print_options *) |
struct value * | ada_convert_actual (struct value *actual, struct type *formal_type0) |
bool | ada_is_access_to_unconstrained_array (struct type *type) |
struct value * | ada_value_subscript (struct value *, int, struct value **) |
void | ada_fixup_array_indexes_type (struct type *index_desc_type) |
struct type * | ada_array_element_type (struct type *, int) |
int | ada_array_arity (struct type *) |
struct value * | ada_coerce_to_simple_array_ptr (struct value *) |
struct value * | ada_coerce_to_simple_array (struct value *) |
int | ada_is_simple_array_type (struct type *) |
int | ada_is_array_descriptor_type (struct type *) |
int | ada_is_bogus_array_descriptor (struct type *) |
LONGEST | ada_discrete_type_low_bound (struct type *) |
LONGEST | ada_discrete_type_high_bound (struct type *) |
struct value * | ada_get_decoded_value (struct value *value) |
struct type * | ada_get_decoded_type (struct type *type) |
const char * | ada_decode_symbol (const struct general_symbol_info *) |
std::string | ada_decode (const char *name, bool wrap=true, bool operators=true) |
std::vector< struct block_symbol > | ada_lookup_symbol_list (const char *, const struct block *, domain_enum) |
struct block_symbol | ada_lookup_symbol (const char *, const struct block *, domain_enum) |
void | ada_lookup_encoded_symbol (const char *name, const struct block *block, domain_enum domain, struct block_symbol *symbol_info) |
struct bound_minimal_symbol | ada_lookup_simple_minsym (const char *, objfile *) |
int | ada_scan_number (const char *, int, LONGEST *, int *) |
struct value * | ada_value_primitive_field (struct value *arg1, int offset, int fieldno, struct type *arg_type) |
struct type * | ada_parent_type (struct type *) |
int | ada_is_ignored_field (struct type *, int) |
int | ada_is_constrained_packed_array_type (struct type *) |
struct value * | ada_value_primitive_packed_val (struct value *, const gdb_byte *, long, int, int, struct type *) |
struct type * | ada_coerce_to_simple_array_type (struct type *) |
bool | ada_is_character_type (struct type *) |
bool | ada_is_string_type (struct type *) |
int | ada_is_tagged_type (struct type *, int) |
int | ada_is_tag_type (struct type *) |
gdb::unique_xmalloc_ptr< char > | ada_tag_name (struct value *) |
struct value * | ada_tag_value_at_base_address (struct value *obj) |
int | ada_is_parent_field (struct type *, int) |
int | ada_is_wrapper_field (struct type *, int) |
int | ada_is_variant_part (struct type *, int) |
struct type * | ada_variant_discrim_type (struct type *, struct type *) |
const char * | ada_variant_discrim_name (struct type *) |
int | ada_is_aligner_type (struct type *) |
struct type * | ada_aligned_type (struct type *) |
const gdb_byte * | ada_aligned_value_addr (struct type *, const gdb_byte *) |
int | ada_is_system_address_type (struct type *) |
int | ada_which_variant_applies (struct type *, struct value *) |
struct type * | ada_to_fixed_type (struct type *, const gdb_byte *, CORE_ADDR, struct value *, int check_tag) |
struct value * | ada_to_fixed_value (struct value *val) |
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) |
int | ada_name_prefix_len (const char *) |
const char * | ada_type_name (struct type *) |
struct type * | ada_find_parallel_type (struct type *, const char *suffix) |
bool | get_int_var_value (const char *, LONGEST &value) |
int | ada_prefer_type (struct type *, struct type *) |
struct type * | ada_get_base_type (struct type *) |
struct type * | ada_check_typedef (struct type *) |
std::string | ada_encode (const char *, bool fold=true) |
const char * | ada_enum_name (const char *) |
int | ada_is_modular_type (struct type *) |
ULONGEST | ada_modulus (struct type *) |
struct value * | ada_value_ind (struct value *) |
void | ada_print_scalar (struct type *, LONGEST, struct ui_file *) |
int | ada_is_range_type_name (const char *) |
enum ada_renaming_category | ada_parse_renaming (struct symbol *, const char **, int *, const char **) |
void | ada_find_printable_frame (frame_info_ptr fi) |
char * | ada_breakpoint_rewrite (char *, int *) |
char * | ada_main_name (void) |
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) |
bool | is_ada_exception_catchpoint (breakpoint *bp) |
std::vector< ada_exc_info > | ada_exceptions_list (const char *regexp) |
int | valid_task_id (int) |
struct ada_task_info * | ada_get_task_info_from_ptid (ptid_t ptid) |
int | ada_get_task_number (thread_info *thread) |
void | iterate_over_live_ada_tasks (ada_task_list_iterator_ftype iterator) |
const char * | ada_get_tcb_types_info (void) |
void | print_ada_task_info (struct ui_out *uiout, const char *taskno_str, struct inferior *inf) |
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) |
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) |
struct type * | ada_index_type (struct type *type, int n, const char *name) |
Variables | |
const struct ada_opname_map | ada_opname_table [] |
#define ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS |
Definition at line 52 of file ada-lang.h.
#define ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS |
Definition at line 44 of file ada-lang.h.
#define MAX_ENCLOSING_FRAME_LEVELS 7 |
Definition at line 59 of file ada-lang.h.
#define MAX_RENAMING_CHAIN_LENGTH 10 |
Definition at line 64 of file ada-lang.h.
typedef gdb::function_view<void (struct ada_task_info *task)> ada_task_list_iterator_ftype |
Definition at line 378 of file ada-lang.h.
Enumerator | |
---|---|
ada_catch_exception | |
ada_catch_exception_unhandled | |
ada_catch_assert | |
ada_catch_handlers |
Definition at line 106 of file ada-lang.h.
Enumerator | |
---|---|
ADA_NOT_RENAMING | |
ADA_OBJECT_RENAMING | |
ADA_EXCEPTION_RENAMING | |
ADA_PACKAGE_RENAMING | |
ADA_SUBPROGRAM_RENAMING |
Definition at line 82 of file ada-lang.h.
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().
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().
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().
char * ada_breakpoint_rewrite | ( | char * | , |
int * | |||
) |
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().
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 * | name, |
bool | wrap = true , |
||
bool | operators = true |
||
) |
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().
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().
Definition at line 262 of file ada-valprint.c.
References gdb_printf().
Referenced by ada_printchar(), ada_language::emitchar(), and printstr().
std::string ada_encode | ( | const char * | decoded, |
bool | fold = true |
||
) |
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().
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().
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().
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().
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().
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().
struct ada_task_info * ada_get_task_info_from_ptid | ( | ptid_t | ptid | ) |
Definition at line 392 of file ada-tasks.c.
References ada_build_task_list(), current_inferior(), get_ada_tasks_inferior_data(), and ada_task_info::ptid.
Referenced by ravenscar_thread_target::get_thread_base_cpu().
int ada_get_task_number | ( | thread_info * | thread | ) |
Definition at line 334 of file ada-tasks.c.
References get_ada_tasks_inferior_data(), thread_info::inf, and thread_info::ptid.
Referenced by bpstat_check_breakpoint_conditions(), and display_current_task_id().
const char * ada_get_tcb_types_info | ( | void | ) |
Definition at line 503 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_ll_type, ada_tasks_pspace_data::atcb_type, atcb_fieldnos::base_cpu, builtin_type::builtin_uint32, atcb_fieldnos::call, atcb_fieldnos::call_self, atcb_fieldnos::common, ada_tasks_pspace_data::cpu_id_offset, 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_bound_minimal_symbol(), lookup_symbol_in_language(), bound_minimal_symbol::minsym, atcb_fieldnos::parent, atcb_fieldnos::priority, atcb_fieldnos::state, STRUCT_DOMAIN, block_symbol::symbol, target_gdbarch(), symbol::type(), bound_minimal_symbol::value_address(), value_as_long(), and value_at().
Referenced by ravenscar_inferior_created(), and read_atcb().
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().
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().
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().
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().
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().
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().
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 | ) |
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().
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 * | 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().
struct bound_minimal_symbol ada_lookup_simple_minsym | ( | const char * | name, |
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(), objfile::msymbols(), name, name_match_type_from_name(), and target_gdbarch().
Referenced by write_var_or_type().
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().
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().
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().
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().
int ada_parse | ( | struct parser_state * | par_state | ) |
Definition at line 3064 of file ada-exp.c.
References ada_pop(), associations, components, lexer_init(), parser_state::lexptr, original_expr, parse_type, parser_debug, pstate, expr_builder::set_operation(), temp_parse_space, parser_state::void_context_p, yydebug, yyin, and yyparse().
Referenced by ada_language::parser().
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().
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().
Definition at line 374 of file ada-valprint.c.
References ada_check_typedef(), ada_enum_name(), ada_print_scalar(), type::code(), current_language, type::field(), fputs_styled(), gdb_printf(), type::is_unsigned(), field::loc_enumval(), field::name(), type::num_fields(), print_longest(), language_defn::printchar(), cli_style_option::style(), type::target_type(), TYPE_CODE_UNDEF, and variable_name_style.
Referenced by ada_print_scalar(), 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 * | type0, |
const char * | varstring, | ||
struct ui_file * | stream, | ||
int | show, | ||
int | level, | ||
const struct type_print_options * | flags | ||
) |
Definition at line 940 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_modular_type(), ada_is_range_type_name(), ada_modulus(), ada_name_prefix_len(), ada_print_type(), ada_type_name(), c_print_type(), type::code(), decoded_type_name(), flags, fprintf_styled(), gdb_printf(), is_fixed_point_type(), language_ada, type::length(), metadata_style, name, print_array_type(), print_enum_type(), print_func_type(), print_range(), print_range_type(), print_record_type(), print_type_fixed_point(), print_unchecked_union_type(), cli_style_option::style(), and type::target_type().
Referenced by ada_print_symbol_signature(), ada_print_type(), ada_print_typedef(), print_array_type(), print_func_type(), print_selected_record_field_types(), ada_language::print_type(), and user_select_syms().
Definition at line 1079 of file ada-typeprint.c.
References ada_check_typedef(), ada_print_type(), and type_print_raw_options.
Referenced by ada_language::print_typedef().
Definition at line 362 of file ada-valprint.c.
References ada_emit_char(), gdb_puts(), and type::length().
Referenced by ada_value_print_num(), and ada_language::printchar().
void ada_printstr | ( | struct ui_file * | stream, |
struct type * | type, | ||
const gdb_byte * | string, | ||
unsigned int | length, | ||
const char * | encoding, | ||
int | force_ellipses, | ||
const struct value_print_options * | options | ||
) |
Definition at line 537 of file ada-valprint.c.
References type::length(), and printstr().
Referenced by ada_language::printstr().
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().
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().
int ada_scan_number | ( | const char * | , |
int | , | ||
LONGEST * | , | ||
int * | |||
) |
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().
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().
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().
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().
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 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().
void ada_value_print | ( | struct value * | val0, |
struct ui_file * | stream, | ||
const struct value_print_options * | options | ||
) |
Definition at line 1085 of file ada-valprint.c.
References ada_check_typedef(), ada_is_array_descriptor_type(), ada_is_bogus_array_descriptor(), ada_to_fixed_value(), type::code(), common_val_print(), current_language, gdb_printf(), type::is_unsigned(), type::length(), type::target_type(), type_print(), and value_type().
Referenced by ada_language::value_print().
void ada_value_print_inner | ( | struct value * | val, |
struct ui_file * | stream, | ||
int | recurse, | ||
const struct value_print_options * | options | ||
) |
Definition at line 995 of file ada-valprint.c.
References ada_check_typedef(), ada_get_decoded_value(), ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), ada_print_floating(), ada_to_fixed_value(), ada_val_print_enum(), ada_val_print_ref(), ada_val_print_struct_union(), ada_value_print_array(), ada_value_print_num(), ada_value_print_ptr(), type::code(), coerce_ref(), common_val_print(), deprecated_set_value_type(), type::fixed_point_type_base_type(), value_print_options::format, gdb_printf(), is_fixed_point_type(), language_c, language_def(), type::length(), resolve_dynamic_type(), value_address(), value_contents_for_printing(), value_copy(), and value_type().
Referenced by ada_language::value_print_inner().
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().
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().
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().
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().
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().
void iterate_over_live_ada_tasks | ( | ada_task_list_iterator_ftype | iterator | ) |
Definition at line 412 of file ada-tasks.c.
References ada_build_task_list(), ada_task_is_alive(), current_inferior(), and get_ada_tasks_inferior_data().
Referenced by ravenscar_thread_target::update_thread_list().
Definition at line 1065 of file ada-tasks.c.
References ada_build_task_list(), ada_task_is_alive(), ada_task_info::called_task, ada_task_info::caller_task, ui_out::field_fmt(), ui_out::field_signed(), ui_out::field_skip(), ui_out::field_string(), find_thread_ptid(), get_ada_tasks_inferior_data(), get_state(), get_task_number_from_id(), thread_info::global_num, inferior_ptid, ui_out::is_mi_like_p(), ui_out::message(), metadata_style, ada_task_info::name, ada_task_info::parent, parse_and_eval(), ada_task_info::priority, ada_task_info::ptid, ada_task_info::state, cli_style_option::style(), ui_out::table_body(), ui_out::table_header(), target_update_thread_list(), ada_task_info::task_id, ada_tasks_inferior_data::task_list, ui_out::text(), ui_left, ui_noalign, ui_right, and value_as_long().
Referenced by info_tasks_command(), and mi_cmd_ada_task_info().
int valid_task_id | ( | int | task_num | ) |
Definition at line 370 of file ada-tasks.c.
References ada_build_task_list(), current_inferior(), and get_ada_tasks_inferior_data().
Referenced by bppy_set_task(), find_condition_and_thread(), gdbscm_set_breakpoint_task_x(), and watch_command_1().
|
extern |
Definition at line 840 of file ada-lang.c.
Referenced by ada_decode(), ada_decoded_op_name(), ada_encode_1(), and is_ada_operator().