GDB (xrefs)
|
Public Member Functions | |
filename (self) | |
filename (self) | |
![]() | |
__init__ (self, base) | |
elided (self) | |
function (self) | |
address (self) | |
frame_args (self) | |
frame_locals (self) | |
line (self) | |
inferior_frame (self) | |
__init__ (self, base) | |
elided (self) | |
function (self) | |
address (self) | |
frame_args (self) | |
frame_locals (self) | |
line (self) | |
inferior_frame (self) | |
Protected Attributes | |
_base | |
![]() | |
_base | |
Basic implementation of a Frame Decorator This base frame decorator decorates a frame or another frame decorator, and provides convenience methods. If this object is wrapping a frame decorator, defer to that wrapped object's method if it has one. This allows for frame decorators that have sub-classed FrameDecorator object, but also wrap other frame decorators on the same frame to correctly execute. E.g If the result of frame filters running means we have one gdb.Frame wrapped by multiple frame decorators, all sub-classed from FrameDecorator, the resulting hierarchy will be: Decorator1 -- (wraps) Decorator2 -- (wraps) FrameDecorator -- (wraps) gdb.Frame In this case we have two frame decorators, both of which are sub-classed from FrameDecorator. If Decorator1 just overrides the 'function' method, then all of the other methods are carried out by the super-class FrameDecorator. But Decorator2 may have overriden other methods, so FrameDecorator will look at the 'base' parameter and defer to that class's methods. And so on, down the chain.
Definition at line 152 of file FrameDecorator.py.
gdb.FrameDecorator.FrameDecorator.filename | ( | self | ) |
Return the filename associated with this frame, detecting and returning the appropriate library name is this is a shared library.
Definition at line 181 of file FrameDecorator.py.
References gdb.FrameDecorator._FrameDecoratorBase._base, gdb.FrameDecorator.FrameDecorator._base, gdb.FrameDecorator.DAPFrameDecorator._base, gdb.FrameDecorator.FrameDecorator.filename(), gdb.FrameDecorator._FrameDecoratorBase.inferior_frame(), and gdb.solib_name().
gdb.FrameDecorator.FrameDecorator.filename | ( | self | ) |
Return the filename associated with this frame, detecting and returning the appropriate library name is this is a shared library.
Definition at line 181 of file FrameDecorator.py.
Referenced by gdb.FrameDecorator.FrameDecorator.filename().
|
protected |
Definition at line 186 of file FrameDecorator.py.
Referenced by gdb.FrameDecorator._FrameDecoratorBase.__init__(), gdb.FrameDecorator._FrameDecoratorBase.address(), gdb.FrameDecorator._FrameDecoratorBase.elided(), gdb.FrameDecorator.FrameDecorator.filename(), gdb.FrameDecorator.DAPFrameDecorator.filename(), gdb.FrameDecorator._FrameDecoratorBase.frame_args(), gdb.FrameDecorator._FrameDecoratorBase.frame_locals(), gdb.FrameDecorator.DAPFrameDecorator.frame_locals(), gdb.FrameDecorator._FrameDecoratorBase.function(), gdb.FrameDecorator._FrameDecoratorBase.inferior_frame(), and gdb.FrameDecorator._FrameDecoratorBase.line().