GDB (xrefs)
|
Public Member Functions | |
__init__ (self, name, hint, frame, var_list) | |
to_object (self) | |
has_children (self) | |
child_count (self) | |
fetch_one_child (self, idx) | |
__init__ (self, name, hint, frame, var_list) | |
to_object (self) | |
has_children (self) | |
child_count (self) | |
fetch_one_child (self, idx) | |
![]() | |
reset_children (self) | |
fetch_children (self, start, count) | |
find_child_by_name (self, name) | |
reset_children (self) | |
fetch_children (self, start, count) | |
find_child_by_name (self, name) | |
Public Attributes | |
hint | |
frame | |
inf_frame | |
func | |
line | |
var_list | |
![]() | |
ref | |
name | |
children | |
by_name | |
name_counts | |
Additional Inherited Members | |
![]() | |
_compute_name (self, name) | |
_compute_name (self, name) | |
gdb.dap.scopes._ScopeReference.__init__ | ( | self, | |
name, | |||
hint, | |||
frame, | |||
var_list ) |
Create a new variable reference with the given name. NAME is a string or None. None means this does not have a name, e.g., the result of expression evaluation.
Reimplemented from gdb.dap.varref.BaseReference.
Reimplemented in gdb.dap.scopes._RegisterReference, and gdb.dap.scopes._RegisterReference.
Definition at line 63 of file scopes.py.
References gdb.dap.scopes._ScopeReference.__init__().
Referenced by gdb.dap.scopes._ScopeReference.__init__().
gdb.dap.scopes._ScopeReference.__init__ | ( | self, | |
name, | |||
hint, | |||
frame, | |||
var_list ) |
Create a new variable reference with the given name. NAME is a string or None. None means this does not have a name, e.g., the result of expression evaluation.
Reimplemented from gdb.dap.varref.BaseReference.
Reimplemented in gdb.dap.scopes._RegisterReference, and gdb.dap.scopes._RegisterReference.
Definition at line 63 of file scopes.py.
References gdb.dap.scopes._ScopeReference.__init__(), dwarf2_per_bfd.frame, dwarf2_debug_sections.frame, mi_parse.frame, gdb.dap.scopes._ScopeReference.frame, gdb.FrameDecorator.SymValueWrapper.frame, gdb.FrameDecorator.FrameVars.frame, gdb.FrameIterator.FrameIterator.frame, btrace_frame_cache.frame, varobj_root.frame, aarch64_prologue_cache.func, cmd_list_element.func, dump_context.func, scheme_function.func, with_catch_data.func, interp_factory.func, linux_find_memory_regions_data.func, gdb.dap.scopes._ScopeReference.func, func, protocol_feature.func, c_data.func, s390_unwind_cache.func, tramp_frame_cache.func, gdb.dap.scopes._ScopeReference.hint, gdb.dap.scopes._ScopeReference.inf_frame, gdb_line_mapping.line, command_line.line, deprecated_dis_line_entry.line, dis_line_entry.line, dwo_sections.line, dwp_sections.line, virtual_v1_dwo_sections.line, dwarf2_per_bfd.line, dwarf2_debug_sections.line, macro_scope.line, macro_for_each_data.line, gdb.dap.scopes._ScopeReference.line, linetable_entry_object.line, current_source_location.line(), last_displayed_symtab_info_type.line(), symbol.line(), gdb.FrameDecorator._FrameDecoratorBase.line(), linetable_entry.line, symtab_and_line.line, tui_source_element.line, and gdb.dap.scopes._ScopeReference.var_list.
gdb.dap.scopes._ScopeReference.child_count | ( | self | ) |
Return the number of children of this variable.
Reimplemented from gdb.dap.varref.BaseReference.
Definition at line 88 of file scopes.py.
References gdb.dap.scopes._ScopeReference.var_list.
Referenced by gdb.dap.varref.BaseReference.fetch_children(), and gdb.dap.varref.VariableReference.to_object().
gdb.dap.scopes._ScopeReference.child_count | ( | self | ) |
Return the number of children of this variable.
Reimplemented from gdb.dap.varref.BaseReference.
Definition at line 88 of file scopes.py.
References gdb.dap.scopes._ScopeReference.var_list.
Referenced by gdb.dap.varref.BaseReference.fetch_children(), and gdb.dap.varref.VariableReference.to_object().
gdb.dap.scopes._ScopeReference.fetch_one_child | ( | self, | |
index ) |
Fetch one child of this variable. INDEX is the index of the child to fetch. This should return a tuple of the form (NAME, VALUE), where NAME is the name of the variable, and VALUE is a gdb.Value.
Reimplemented from gdb.dap.varref.BaseReference.
Reimplemented in gdb.dap.scopes._RegisterReference, and gdb.dap.scopes._RegisterReference.
Definition at line 92 of file scopes.py.
References dwarf2_per_bfd.frame, dwarf2_debug_sections.frame, mi_parse.frame, gdb.dap.scopes._ScopeReference.frame, gdb.FrameDecorator.SymValueWrapper.frame, gdb.FrameDecorator.FrameVars.frame, gdb.FrameIterator.FrameIterator.frame, btrace_frame_cache.frame, varobj_root.frame, and gdb.dap.scopes._ScopeReference.var_list.
Referenced by gdb.dap.varref.BaseReference.fetch_children().
gdb.dap.scopes._ScopeReference.fetch_one_child | ( | self, | |
index ) |
Fetch one child of this variable. INDEX is the index of the child to fetch. This should return a tuple of the form (NAME, VALUE), where NAME is the name of the variable, and VALUE is a gdb.Value.
Reimplemented from gdb.dap.varref.BaseReference.
Reimplemented in gdb.dap.scopes._RegisterReference, and gdb.dap.scopes._RegisterReference.
Definition at line 92 of file scopes.py.
References dwarf2_per_bfd.frame, dwarf2_debug_sections.frame, mi_parse.frame, gdb.dap.scopes._ScopeReference.frame, gdb.FrameDecorator.SymValueWrapper.frame, gdb.FrameDecorator.FrameVars.frame, gdb.FrameIterator.FrameIterator.frame, btrace_frame_cache.frame, varobj_root.frame, and gdb.dap.scopes._ScopeReference.var_list.
Referenced by gdb.dap.varref.BaseReference.fetch_children().
gdb.dap.scopes._ScopeReference.has_children | ( | self | ) |
Return True if this object has children.
Reimplemented from gdb.dap.varref.BaseReference.
Definition at line 85 of file scopes.py.
Referenced by gdb.dap.varref.VariableReference._update_value(), and gdb.dap.varref.BaseReference.to_object().
gdb.dap.scopes._ScopeReference.has_children | ( | self | ) |
Return True if this object has children.
Reimplemented from gdb.dap.varref.BaseReference.
Definition at line 85 of file scopes.py.
Referenced by gdb.dap.varref.VariableReference._update_value(), and gdb.dap.varref.BaseReference.to_object().
gdb.dap.scopes._ScopeReference.to_object | ( | self | ) |
Return a dictionary that describes this object for DAP. The resulting object is a starting point that can be filled in further. See the Scope or Variable types in the spec
Reimplemented from gdb.dap.varref.BaseReference.
Definition at line 74 of file scopes.py.
References gdb.dap.scopes._ScopeReference.hint, gdb_line_mapping.line, command_line.line, deprecated_dis_line_entry.line, dis_line_entry.line, dwo_sections.line, dwp_sections.line, virtual_v1_dwo_sections.line, dwarf2_per_bfd.line, dwarf2_debug_sections.line, macro_scope.line, macro_for_each_data.line, gdb.dap.scopes._ScopeReference.line, linetable_entry_object.line, current_source_location.line(), last_displayed_symtab_info_type.line(), symbol.line(), gdb.FrameDecorator._FrameDecoratorBase.line(), linetable_entry.line, symtab_and_line.line, tui_source_element.line, gdb.dap.scopes._ScopeReference.to_object(), and gdb.dap.scopes._ScopeReference.var_list.
gdb.dap.scopes._ScopeReference.to_object | ( | self | ) |
Return a dictionary that describes this object for DAP. The resulting object is a starting point that can be filled in further. See the Scope or Variable types in the spec
Reimplemented from gdb.dap.varref.BaseReference.
Definition at line 74 of file scopes.py.
References gdb.dap.scopes._ScopeReference.hint, gdb_line_mapping.line, command_line.line, deprecated_dis_line_entry.line, dis_line_entry.line, dwo_sections.line, dwp_sections.line, virtual_v1_dwo_sections.line, dwarf2_per_bfd.line, dwarf2_debug_sections.line, macro_scope.line, macro_for_each_data.line, gdb.dap.scopes._ScopeReference.line, linetable_entry_object.line, current_source_location.line(), last_displayed_symtab_info_type.line(), symbol.line(), gdb.FrameDecorator._FrameDecoratorBase.line(), linetable_entry.line, symtab_and_line.line, tui_source_element.line, gdb.dap.scopes._ScopeReference.to_object(), and gdb.dap.scopes._ScopeReference.var_list.
Referenced by gdb.dap.scopes._ScopeReference.to_object().
gdb.dap.scopes._ScopeReference.frame |
Definition at line 66 of file scopes.py.
Referenced by gdb.FrameDecorator.FrameVars.__init__(), gdb.FrameDecorator.SymValueWrapper.__init__(), gdb.FrameIterator.FrameIterator.__init__(), gdb.dap.scopes._ScopeReference.__init__(), gdb.FrameIterator.FrameIterator.__next__(), gdb.FrameDecorator.FrameVars.fetch_frame_args(), gdb.FrameDecorator.FrameVars.fetch_frame_locals(), gdb.dap.scopes._ScopeReference.fetch_one_child(), and gdb.FrameDecorator.SymValueWrapper.value().
gdb.dap.scopes._ScopeReference.func |
Definition at line 68 of file scopes.py.
Referenced by gdb.dap.scopes._ScopeReference.__init__().
gdb.dap.scopes._ScopeReference.hint |
Definition at line 65 of file scopes.py.
Referenced by gdb.dap.scopes._ScopeReference.__init__(), and gdb.dap.scopes._ScopeReference.to_object().
gdb.dap.scopes._ScopeReference.inf_frame |
Definition at line 67 of file scopes.py.
Referenced by gdb.dap.scopes._ScopeReference.__init__(), and gdb.dap.scopes._RegisterReference.fetch_one_child().
gdb.dap.scopes._ScopeReference.line |
Definition at line 69 of file scopes.py.
Referenced by gdb.dap.scopes._ScopeReference.__init__(), and gdb.dap.scopes._ScopeReference.to_object().
gdb.dap.scopes._ScopeReference.var_list |