GDB (xrefs)
|
Public Member Functions | |
py_varobj_iter (struct varobj *var, gdbpy_ref<> &&pyiter, const value_print_options *opts) | |
~py_varobj_iter () override | |
std::unique_ptr< varobj_item > | next () override |
![]() | |
virtual | ~varobj_iter ()=default |
Private Attributes | |
struct varobj * | m_var |
int | m_next_raw_index = 0 |
PyObject * | m_iter |
value_print_options | m_opts |
Definition at line 25 of file py-varobj.c.
py_varobj_iter::py_varobj_iter | ( | struct varobj * | var, |
gdbpy_ref<> && | pyiter, | ||
const value_print_options * | opts ) |
Definition at line 135 of file py-varobj.c.
|
override |
Definition at line 54 of file py-varobj.c.
|
overridevirtual |
Implements varobj_iter.
Definition at line 64 of file py-varobj.c.
References convert_value_from_python(), gdb_python_initialized, gdbpy_current_print_options, gdbpy_gdb_memory_error, gdbpy_print_stack(), m_iter, m_next_raw_index, m_opts, m_var, name, varobj_item::name, release_value(), gdbpy_err_fetch::to_string(), and varobj_item::value.
|
private |
Definition at line 45 of file py-varobj.c.
Referenced by next(), and ~py_varobj_iter().
|
private |
Definition at line 41 of file py-varobj.c.
Referenced by next().
|
private |
Definition at line 48 of file py-varobj.c.
Referenced by next().
|
private |
Definition at line 36 of file py-varobj.c.
Referenced by next(), and ~py_varobj_iter().