GDB (xrefs)
|
#include "defs.h"
#include "ada-lang.h"
#include "varobj.h"
#include "language.h"
#include "valprint.h"
Go to the source code of this file.
Functions | |
static int | ada_varobj_get_number_of_children (struct value *parent_value, struct type *parent_type) |
static void | ada_varobj_decode_var (struct value **value_ptr, struct type **type_ptr) |
static std::string | ada_varobj_scalar_image (struct type *type, LONGEST val) |
static void | ada_varobj_struct_elt (struct value *parent_value, struct type *parent_type, int fieldno, struct value **child_value, struct type **child_type) |
static void | ada_varobj_ind (struct value *parent_value, struct type *parent_type, struct value **child_value, struct type **child_type) |
static void | ada_varobj_simple_array_elt (struct value *parent_value, struct type *parent_type, int elt_index, struct value **child_value, struct type **child_type) |
static void | ada_varobj_adjust_for_child_access (struct value **value, struct type **type) |
static int | ada_varobj_get_array_number_of_children (struct value *parent_value, struct type *parent_type) |
static int | ada_varobj_get_struct_number_of_children (struct value *parent_value, struct type *parent_type) |
static int | ada_varobj_get_ptr_number_of_children (struct value *parent_value, struct type *parent_type) |
static void | ada_varobj_describe_child (struct value *parent_value, struct type *parent_type, const char *parent_name, const char *parent_path_expr, int child_index, std::string *child_name, struct value **child_value, struct type **child_type, std::string *child_path_expr) |
static void | ada_varobj_describe_struct_child (struct value *parent_value, struct type *parent_type, const char *parent_name, const char *parent_path_expr, int child_index, std::string *child_name, struct value **child_value, struct type **child_type, std::string *child_path_expr) |
static void | ada_varobj_describe_ptr_child (struct value *parent_value, struct type *parent_type, const char *parent_name, const char *parent_path_expr, int child_index, std::string *child_name, struct value **child_value, struct type **child_type, std::string *child_path_expr) |
static void | ada_varobj_describe_simple_array_child (struct value *parent_value, struct type *parent_type, const char *parent_name, const char *parent_path_expr, int child_index, std::string *child_name, struct value **child_value, struct type **child_type, std::string *child_path_expr) |
static std::string | ada_varobj_get_name_of_child (struct value *parent_value, struct type *parent_type, const char *parent_name, int child_index) |
static std::string | ada_varobj_get_path_expr_of_child (struct value *parent_value, struct type *parent_type, const char *parent_name, const char *parent_path_expr, int child_index) |
static struct value * | ada_varobj_get_value_of_child (struct value *parent_value, struct type *parent_type, const char *parent_name, int child_index) |
static struct type * | ada_varobj_get_type_of_child (struct value *parent_value, struct type *parent_type, int child_index) |
static std::string | ada_varobj_get_value_image (struct value *value, struct value_print_options *opts) |
static std::string | ada_varobj_get_value_of_array_variable (struct value *value, struct type *type, struct value_print_options *opts) |
static std::string | ada_varobj_get_value_of_variable (struct value *value, struct type *type, struct value_print_options *opts) |
static int | ada_number_of_children (const struct varobj *var) |
static std::string | ada_name_of_variable (const struct varobj *parent) |
static std::string | ada_name_of_child (const struct varobj *parent, int index) |
static std::string | ada_path_expr_of_child (const struct varobj *child) |
static struct value * | ada_value_of_child (const struct varobj *parent, int index) |
static struct type * | ada_type_of_child (const struct varobj *parent, int index) |
static std::string | ada_value_of_variable (const struct varobj *var, enum varobj_display_formats format) |
static bool | ada_value_is_changeable_p (const struct varobj *var) |
static bool | ada_value_has_mutated (const struct varobj *var, struct value *new_val, struct type *new_type) |
Variables | |
const struct lang_varobj_ops | ada_varobj_ops |
|
static |
Definition at line 895 of file ada-varobj.c.
References ada_varobj_get_name_of_child(), varobj::name, varobj::type, and varobj::value.
|
static |
Definition at line 889 of file ada-varobj.c.
References c_varobj_ops, and lang_varobj_ops::name_of_variable.
|
static |
Definition at line 883 of file ada-varobj.c.
References ada_varobj_get_number_of_children(), varobj::type, and varobj::value.
|
static |
Definition at line 902 of file ada-varobj.c.
References ada_varobj_get_path_expr_of_child(), varobj::index, varobj::name, varobj::parent, varobj::type, varobj::value, and varobj_get_path_expr().
Definition at line 922 of file ada-varobj.c.
References ada_varobj_get_type_of_child(), varobj::type, and varobj::value.
|
static |
Definition at line 972 of file ada-varobj.c.
References ada_varobj_get_name_of_child(), ada_varobj_get_number_of_children(), varobj::children, varobj::name, new_type(), varobj::num_children, and varobj_restrict_range().
|
static |
Definition at line 943 of file ada-varobj.c.
References ada_is_access_to_unconstrained_array(), ada_is_string_type(), type::code(), type::target_type(), varobj::type, varobj::value, and varobj_default_value_is_changeable_p().
Definition at line 915 of file ada-varobj.c.
References ada_varobj_get_value_of_child(), value::parent(), value::type(), and value::value().
|
static |
Definition at line 929 of file ada-varobj.c.
References ada_varobj_get_value_of_variable(), value_print_options::format, varobj::type, varobj::value, and varobj_formatted_print_options().
|
static |
Definition at line 202 of file ada-varobj.c.
References ada_is_array_descriptor_type(), ada_is_constrained_packed_array_type(), ada_is_tagged_type(), ada_tag_value_at_base_address(), ada_varobj_ind(), and value_as_address().
Referenced by ada_varobj_describe_child(), and ada_varobj_get_number_of_children().
Definition at line 63 of file ada-varobj.c.
References ada_check_typedef(), ada_get_decoded_type(), and ada_get_decoded_value().
Referenced by ada_varobj_describe_child(), ada_varobj_get_number_of_children(), and ada_varobj_get_value_of_variable().
|
static |
Definition at line 664 of file ada-varobj.c.
References ada_is_access_to_unconstrained_array(), ada_varobj_adjust_for_child_access(), ada_varobj_decode_var(), ada_varobj_describe_ptr_child(), ada_varobj_describe_simple_array_child(), ada_varobj_describe_struct_child(), and type::code().
Referenced by ada_varobj_describe_struct_child(), ada_varobj_get_name_of_child(), ada_varobj_get_path_expr_of_child(), ada_varobj_get_type_of_child(), and ada_varobj_get_value_of_child().
|
static |
Definition at line 553 of file ada-varobj.c.
References ada_varobj_ind().
Referenced by ada_varobj_describe_child().
|
static |
Definition at line 583 of file ada-varobj.c.
References ada_decode(), ada_discrete_type_low_bound(), ada_name_prefix_len(), ada_type_name(), ada_varobj_scalar_image(), ada_varobj_simple_array_elt(), type::code(), type::index_type(), and type::target_type().
Referenced by ada_varobj_describe_child().
|
static |
Definition at line 414 of file ada-varobj.c.
References ada_is_ignored_field(), ada_is_tagged_type(), ada_is_variant_part(), ada_is_wrapper_field(), ada_name_prefix_len(), ada_varobj_describe_child(), ada_varobj_describe_struct_child(), ada_varobj_get_number_of_children(), ada_varobj_get_struct_number_of_children(), ada_varobj_struct_elt(), type::code(), type::field(), field_name(), field::name(), and type::num_fields().
Referenced by ada_varobj_describe_child(), and ada_varobj_describe_struct_child().
|
static |
Definition at line 233 of file ada-varobj.c.
References get_array_bounds(), type::index_type(), and is_dynamic_type().
Referenced by ada_varobj_get_number_of_children(), and ada_varobj_get_value_of_array_variable().
|
static |
Definition at line 742 of file ada-varobj.c.
References ada_varobj_describe_child().
Referenced by ada_name_of_child(), and ada_value_has_mutated().
|
static |
Definition at line 350 of file ada-varobj.c.
References ada_is_access_to_unconstrained_array(), ada_varobj_adjust_for_child_access(), ada_varobj_decode_var(), ada_varobj_get_array_number_of_children(), ada_varobj_get_ptr_number_of_children(), ada_varobj_get_struct_number_of_children(), and type::code().
Referenced by ada_number_of_children(), ada_value_has_mutated(), ada_varobj_describe_struct_child(), and ada_varobj_get_struct_number_of_children().
|
static |
Definition at line 760 of file ada-varobj.c.
References ada_varobj_describe_child().
Referenced by ada_path_expr_of_child().
|
static |
Definition at line 327 of file ada-varobj.c.
References type::code(), type::target_type(), and value_as_address().
Referenced by ada_varobj_get_number_of_children().
|
static |
Definition at line 269 of file ada-varobj.c.
References ada_is_ignored_field(), ada_is_tagged_type(), ada_is_variant_part(), ada_is_wrapper_field(), ada_varobj_get_number_of_children(), ada_varobj_get_struct_number_of_children(), ada_varobj_struct_elt(), type::code(), and type::num_fields().
Referenced by ada_varobj_describe_struct_child(), ada_varobj_get_number_of_children(), and ada_varobj_get_struct_number_of_children().
|
static |
Definition at line 796 of file ada-varobj.c.
References ada_varobj_describe_child().
Referenced by ada_type_of_child().
|
static |
Definition at line 814 of file ada-varobj.c.
References common_val_print(), current_language, and string_file::release().
Referenced by ada_varobj_get_value_of_array_variable(), and ada_varobj_get_value_of_variable().
|
static |
Definition at line 834 of file ada-varobj.c.
References ada_is_string_type(), ada_varobj_get_array_number_of_children(), and ada_varobj_get_value_image().
Referenced by ada_varobj_get_value_of_variable().
|
static |
Definition at line 779 of file ada-varobj.c.
References ada_varobj_describe_child().
Referenced by ada_value_of_child().
|
static |
Definition at line 859 of file ada-varobj.c.
References ada_varobj_decode_var(), ada_varobj_get_value_image(), ada_varobj_get_value_of_array_variable(), and type::code().
Referenced by ada_value_of_variable().
|
static |
Definition at line 121 of file ada-varobj.c.
References ada_coerce_to_simple_array_type(), ada_is_array_descriptor_type(), ada_value_ind(), type::code(), lookup_pointer_type(), type::target_type(), type, value::type(), value, and value_as_address().
Referenced by ada_varobj_adjust_for_child_access(), and ada_varobj_describe_ptr_child().
|
static |
Definition at line 80 of file ada-varobj.c.
References ada_print_scalar(), and string_file::release().
Referenced by ada_varobj_describe_simple_array_child().
|
static |
Definition at line 169 of file ada-varobj.c.
References ada_value_subscript(), type::index_type(), type::target_type(), type, value::type(), value, and value_from_longest().
Referenced by ada_varobj_describe_simple_array_child().
|
static |
Definition at line 93 of file ada-varobj.c.
References type::field(), field::type(), type, value::type(), value, and value_field().
Referenced by ada_varobj_describe_struct_child(), and ada_varobj_get_struct_number_of_children().
const struct lang_varobj_ops ada_varobj_ops |
Definition at line 1009 of file ada-varobj.c.
Referenced by ada_language::varobj_ops().