GDB (xrefs)
|
Public Member Functions | |
__init__ (self, val) | |
display_hint (self) | |
to_string (self) | |
children (self) | |
Protected Member Functions | |
_uses_member_node (self) | |
_as_node_ptr (self, elem_ptr) | |
_children_generator (self) | |
Protected Attributes | |
_val | |
_item_type | |
_node_ptr_type | |
_conv_type | |
_member_node_offset | |
_char_ptr_type | |
Print a struct intrusive_list.
Definition at line 284 of file gdb-gdb.py.
gdb-gdb.IntrusiveListPrinter.__init__ | ( | self, | |
val ) |
Definition at line 287 of file gdb-gdb.py.
|
protected |
Given ELEM_PTR, a pointer to a list element, return a pointer to the corresponding intrusive_list_node.
Definition at line 339 of file gdb-gdb.py.
References gdb-gdb.IntrusiveListPrinter._char_ptr_type, gdb-gdb.IntrusiveListPrinter._member_node_offset, gdb-gdb.IntrusiveListPrinter._node_ptr_type, and gdb-gdb.IntrusiveListPrinter._uses_member_node().
Referenced by gdb-gdb.IntrusiveListPrinter._children_generator().
|
protected |
Generator that yields one tuple per list item.
Definition at line 357 of file gdb-gdb.py.
References gdb-gdb.IntrusiveListPrinter._as_node_ptr(), gdb-gdb.CoreAddrPrettyPrinter._val, gdb-gdb.IntrusiveListPrinter._val, and gdb-gdb.HtabPrinter._val.
Referenced by gdb-gdb.IntrusiveListPrinter.children().
|
protected |
Return True if the list items use a node as a member, False if they use a node as a base class.
Definition at line 314 of file gdb-gdb.py.
References gdb-gdb.IntrusiveListPrinter._conv_type.
Referenced by gdb-gdb.IntrusiveListPrinter._as_node_ptr(), and gdb-gdb.IntrusiveListPrinter.to_string().
gdb-gdb.IntrusiveListPrinter.children | ( | self | ) |
Definition at line 368 of file gdb-gdb.py.
References gdb-gdb.IntrusiveListPrinter._children_generator().
Referenced by gdb.dap.varref.BaseReference.fetch_children(), and gdb.dap.varref.BaseReference.reset_children().
gdb-gdb.IntrusiveListPrinter.display_hint | ( | self | ) |
Definition at line 311 of file gdb-gdb.py.
gdb-gdb.IntrusiveListPrinter.to_string | ( | self | ) |
Definition at line 330 of file gdb-gdb.py.
References gdb-gdb.IntrusiveListPrinter._conv_type, gdb-gdb.IntrusiveListPrinter._item_type, and gdb-gdb.IntrusiveListPrinter._uses_member_node().
|
protected |
Definition at line 309 of file gdb-gdb.py.
Referenced by gdb-gdb.IntrusiveListPrinter._as_node_ptr().
|
protected |
Definition at line 297 of file gdb-gdb.py.
Referenced by gdb-gdb.IntrusiveListPrinter._uses_member_node(), and gdb-gdb.IntrusiveListPrinter.to_string().
|
protected |
Definition at line 291 of file gdb-gdb.py.
Referenced by gdb-gdb.IntrusiveListPrinter.to_string().
|
protected |
Definition at line 305 of file gdb-gdb.py.
Referenced by gdb-gdb.IntrusiveListPrinter._as_node_ptr().
|
protected |
Definition at line 292 of file gdb-gdb.py.
Referenced by gdb-gdb.IntrusiveListPrinter._as_node_ptr().
|
protected |
Definition at line 288 of file gdb-gdb.py.
Referenced by gdb-gdb.IntrusiveListPrinter._children_generator(), gdb-gdb.HtabPrinter.children(), gdb-gdb.CoreAddrPrettyPrinter.to_string(), and gdb-gdb.HtabPrinter.to_string().