GDB (xrefs)
|
#include "varobj.h"
Public Member Functions | |
varobj (varobj_root *root_) | |
~varobj () | |
Public Attributes | |
std::string | name |
std::string | path_expr |
std::string | obj_name |
int | index = -1 |
struct type * | type = NULL |
value_ref_ptr | value |
int | num_children = -1 |
struct varobj * | parent = NULL |
std::vector< varobj * > | children |
struct varobj_root * | root |
enum varobj_display_formats | format = FORMAT_NATURAL |
bool | updated = false |
std::string | print_value |
bool | frozen = false |
bool | not_fetched = false |
int | from = -1 |
int | to = -1 |
struct varobj_dynamic * | dynamic |
|
explicit |
Definition at line 1815 of file varobj.c.
Referenced by create_child_with_value().
varobj::~varobj | ( | ) |
Definition at line 1822 of file varobj.c.
References varobj_dynamic::constructor, dynamic, is_root_p(), varobj_dynamic::pretty_printer, and root.
std::vector<varobj *> varobj::children |
Definition at line 134 of file varobj.h.
Referenced by ada_value_has_mutated(), cplus_number_of_children(), delete_variable_1(), gdb.dap.varref.BaseReference::fetch_children(), install_dynamic_child(), mi_cmd_var_list_children(), py_varobj_get_iterator(), gdb.dap.varref.BaseReference::reset_children(), update_dynamic_varobj_children(), update_type_if_necessary(), varobj_add_child(), varobj_has_more(), varobj_list_children(), varobj_restrict_range(), and varobj_update().
struct varobj_dynamic* varobj::dynamic |
Definition at line 166 of file varobj.h.
Referenced by install_new_value(), install_new_value_visualizer(), my_value_of_variable(), update_dynamic_varobj_children(), varobj_get_display_hint(), varobj_get_iterator(), varobj_has_more(), varobj_is_dynamic_p(), varobj_list_children(), varobj_update(), varobj_value_get_print_value(), and ~varobj().
enum varobj_display_formats varobj::format = FORMAT_NATURAL |
Definition at line 141 of file varobj.h.
Referenced by c_value_of_variable(), install_new_value(), mi_cmd_var_evaluate_expression(), mi_cmd_var_show_format(), my_value_of_variable(), varobj_get_display_format(), varobj_get_iterator(), varobj_get_value(), varobj_set_display_format(), and varobj_set_visualizer().
int varobj::from = -1 |
Definition at line 162 of file varobj.h.
Referenced by mi_cmd_var_list_children(), mi_cmd_var_set_update_range(), update_dynamic_varobj_children(), value_of_root(), varobj_get_child_range(), varobj_list_children(), varobj_restrict_range(), varobj_set_child_range(), and varobj_update().
bool varobj::frozen = false |
Definition at line 152 of file varobj.h.
Referenced by install_new_value(), mi_cmd_var_set_frozen(), varobj_get_frozen(), varobj_set_frozen(), and varobj_update().
int varobj::index = -1 |
Definition at line 114 of file varobj.h.
Referenced by ada_path_expr_of_child(), c_is_path_expr_parent(), c_path_expr_of_child(), cplus_path_expr_of_child(), create_child_with_value(), delete_variable_1(), install_dynamic_child(), and varobj_update().
std::string varobj::name |
Definition at line 103 of file varobj.h.
Referenced by gdb.printing.FlagEnumerationPrinter::__call__(), gdb.dap.varref.BaseReference::__init__(), gdb.disassembler.Disassembler::__init__(), gdb.printing.SubPrettyPrinter::__init__(), gdb.types.TypePrinter::__init__(), gdb.xmethod.XMethod::__init__(), gdb.xmethod.XMethodMatcher::__init__(), gdb.printing.PrettyPrinter::__init__(), ada_name_of_child(), ada_path_expr_of_child(), ada_value_has_mutated(), c_describe_child(), c_name_of_variable(), cplus_describe_child(), cplus_number_of_children(), create_child_with_value(), gdb.dap.varref.BaseReference::to_object(), value_of_root(), varobj_is_anonymous_child(), and varobj_re_set_iter().
bool varobj::not_fetched = false |
Definition at line 157 of file varobj.h.
Referenced by c_value_of_variable(), and install_new_value().
int varobj::num_children = -1 |
Definition at line 128 of file varobj.h.
Referenced by ada_value_has_mutated(), c_value_of_variable(), update_dynamic_varobj_children(), update_type_if_necessary(), value_of_root(), varobj_get_num_children(), varobj_list_children(), varobj_set_visualizer(), varobj_update(), and varobj_value_has_mutated().
std::string varobj::obj_name |
Definition at line 111 of file varobj.h.
Referenced by create_child_with_value(), delete_variable_1(), eq_varobj_and_string(), hash_varobj(), install_variable(), uninstall_variable(), value_of_root(), varobj_get_objname(), and varobj_re_set_iter().
struct varobj* varobj::parent = NULL |
Definition at line 131 of file varobj.h.
Referenced by ada_path_expr_of_child(), c_is_path_expr_parent(), c_path_expr_of_child(), cplus_describe_child(), cplus_number_of_children(), cplus_path_expr_of_child(), create_child_with_value(), delete_variable_1(), install_new_value(), my_value_of_variable(), varobj_get_path_expr_parent(), and varobj_update().
std::string varobj::path_expr |
Definition at line 107 of file varobj.h.
Referenced by mi_cmd_var_info_path_expression(), and varobj_get_path_expr().
std::string varobj::print_value |
Definition at line 147 of file varobj.h.
Referenced by c_value_of_variable(), install_new_value(), my_value_of_variable(), and varobj_set_display_format().
struct varobj_root* varobj::root |
Definition at line 138 of file varobj.h.
Referenced by check_scope(), create_child_with_value(), install_variable(), is_path_expr_parent(), is_root_p(), my_value_of_variable(), name_of_child(), name_of_variable(), number_of_children(), uninstall_variable(), value_of_root(), value_of_root_1(), varobj_editable_p(), varobj_floating_p(), varobj_get_language(), varobj_get_path_expr(), varobj_get_thread_id(), varobj_get_type(), varobj_invalidate_if_uses_objfile(), varobj_re_set_iter(), varobj_update(), varobj_value_has_mutated(), varobj_value_is_changeable_p(), and ~varobj().
int varobj::to = -1 |
Definition at line 163 of file varobj.h.
Referenced by mi_cmd_var_list_children(), mi_cmd_var_set_update_range(), update_dynamic_varobj_children(), value_of_root(), varobj_get_child_range(), varobj_has_more(), varobj_list_children(), varobj_restrict_range(), varobj_set_child_range(), and varobj_update().
struct type* varobj::type = NULL |
Definition at line 119 of file varobj.h.
Referenced by ada_name_of_child(), ada_number_of_children(), ada_path_expr_of_child(), ada_type_of_child(), ada_value_is_changeable_p(), ada_value_of_variable(), cplus_describe_child(), cplus_number_of_children(), create_child_with_value(), get_type(), install_new_value(), preserve_one_varobj(), update_type_if_necessary(), varobj_get_gdb_type(), varobj_get_type(), varobj_get_value_type(), and varobj_update().
bool varobj::updated = false |
Definition at line 144 of file varobj.h.
Referenced by install_new_value(), varobj_set_value(), and varobj_update().
value_ref_ptr varobj::value |
Definition at line 125 of file varobj.h.
Referenced by gdb.command.prompt._ExtendedPrompt::__init__(), gdb.dap.startup.LoggingParam::__init__(), gdb.dap.varref.VariableReference::__init__(), gdb-gdb.TypeFlag::__lt__(), gdb.dap.varref.VariableReference::_update_value(), ada_name_of_child(), ada_number_of_children(), ada_path_expr_of_child(), ada_type_of_child(), ada_value_is_changeable_p(), ada_value_of_variable(), gdb.dap.varref.VariableReference::assign(), gdb.command.prompt._ExtendedPrompt::before_prompt_hook(), c_value_of_variable(), cplus_describe_child(), cplus_number_of_children(), gdb.dap.startup.LoggingParam::get_set_string(), gdb.command.prompt._ExtendedPrompt::get_show_string(), install_new_value(), install_new_value_visualizer(), my_value_of_variable(), preserve_one_varobj(), gdb.dap.varref.VariableReference::to_object(), value_of_root(), varobj_editable_p(), varobj_get_value_type(), varobj_set_display_format(), and varobj_set_value().