2 GDB convenience function for dereferencing arbitrary pointery types.
4 # @lint-avoid-python-3-compatibility-imports
5 # @lint-avoid-pyflakes3
6 # @lint-avoid-pyflakes2
12 #------------------------------------------------------------------------------
15 class DerefFunction(gdb
.Function
):
17 super(DerefFunction
, self
).__init
__('deref')
19 def invoke(self
, val
):
22 DerefFunction
._DerefFunction
__doc
__ = deref
.__doc
__