GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Static Private Member Functions | List of all members
gdb.FrameDecorator._FrameDecoratorBase Class Reference
Inheritance diagram for gdb.FrameDecorator._FrameDecoratorBase:
gdb.FrameDecorator.DAPFrameDecorator gdb.FrameDecorator.DAPFrameDecorator gdb.FrameDecorator.FrameDecorator gdb.FrameDecorator.FrameDecorator

Public Member Functions

 __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
 

Static Private Member Functions

 __is_limited_frame (frame)
 
 __is_limited_frame (frame)
 

Detailed Description

Base class of frame decorators.

Definition at line 19 of file FrameDecorator.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

gdb.FrameDecorator._FrameDecoratorBase.__init__ ( self,
base )

Definition at line 26 of file FrameDecorator.py.

◆ __init__() [2/2]

gdb.FrameDecorator._FrameDecoratorBase.__init__ ( self,
base )

Member Function Documentation

◆ __is_limited_frame() [1/2]

gdb.FrameDecorator._FrameDecoratorBase.__is_limited_frame ( frame)
staticprivate
Internal utility to determine if the frame is special or
limited.

Definition at line 30 of file FrameDecorator.py.

Referenced by gdb.FrameDecorator._FrameDecoratorBase.frame_args(), gdb.FrameDecorator._FrameDecoratorBase.frame_locals(), and gdb.FrameDecorator._FrameDecoratorBase.line().

◆ __is_limited_frame() [2/2]

gdb.FrameDecorator._FrameDecoratorBase.__is_limited_frame ( frame)
staticprivate
Internal utility to determine if the frame is special or
limited.

Definition at line 30 of file FrameDecorator.py.

Referenced by gdb.FrameDecorator._FrameDecoratorBase.frame_args(), gdb.FrameDecorator._FrameDecoratorBase.frame_locals(), and gdb.FrameDecorator._FrameDecoratorBase.line().

◆ address() [1/2]

gdb.FrameDecorator._FrameDecoratorBase.address ( self)

◆ address() [2/2]

gdb.FrameDecorator._FrameDecoratorBase.address ( self)

◆ elided() [1/2]

gdb.FrameDecorator._FrameDecoratorBase.elided ( self)

◆ elided() [2/2]

gdb.FrameDecorator._FrameDecoratorBase.elided ( self)

◆ frame_args() [1/2]

gdb.FrameDecorator._FrameDecoratorBase.frame_args ( self)
Return an iterable of frame arguments for this frame, if
any.  The iterable object contains objects conforming with the
Symbol/Value interface.  If there are no frame arguments, or
if this frame is deemed to be a special case, return None.

Definition at line 92 of file FrameDecorator.py.

References gdb.FrameDecorator._FrameDecoratorBase.__is_limited_frame(), gdb.FrameDecorator._FrameDecoratorBase._base, gdb.FrameDecorator.FrameDecorator._base, gdb.FrameDecorator.DAPFrameDecorator._base, gdb.FrameDecorator._FrameDecoratorBase.frame_args(), and gdb.FrameDecorator._FrameDecoratorBase.inferior_frame().

◆ frame_args() [2/2]

gdb.FrameDecorator._FrameDecoratorBase.frame_args ( self)
Return an iterable of frame arguments for this frame, if
any.  The iterable object contains objects conforming with the
Symbol/Value interface.  If there are no frame arguments, or
if this frame is deemed to be a special case, return None.

Definition at line 92 of file FrameDecorator.py.

References gdb.FrameDecorator._FrameDecoratorBase.__is_limited_frame(), gdb.FrameDecorator._FrameDecoratorBase._base, gdb.FrameDecorator.FrameDecorator._base, gdb.FrameDecorator.DAPFrameDecorator._base, gdb.FrameDecorator._FrameDecoratorBase.frame_args(), and gdb.FrameDecorator._FrameDecoratorBase.inferior_frame().

Referenced by gdb.FrameDecorator._FrameDecoratorBase.frame_args().

◆ frame_locals() [1/2]

gdb.FrameDecorator._FrameDecoratorBase.frame_locals ( self)
Return an iterable of local variables for this frame, if
any.  The iterable object contains objects conforming with the
Symbol/Value interface.  If there are no frame locals, or if
this frame is deemed to be a special case, return None.

Reimplemented in gdb.FrameDecorator.DAPFrameDecorator, and gdb.FrameDecorator.DAPFrameDecorator.

Definition at line 108 of file FrameDecorator.py.

References gdb.FrameDecorator._FrameDecoratorBase.__is_limited_frame(), gdb.FrameDecorator._FrameDecoratorBase._base, gdb.FrameDecorator.FrameDecorator._base, gdb.FrameDecorator.DAPFrameDecorator._base, gdb.FrameDecorator._FrameDecoratorBase.frame_locals(), and gdb.FrameDecorator._FrameDecoratorBase.inferior_frame().

◆ frame_locals() [2/2]

gdb.FrameDecorator._FrameDecoratorBase.frame_locals ( self)
Return an iterable of local variables for this frame, if
any.  The iterable object contains objects conforming with the
Symbol/Value interface.  If there are no frame locals, or if
this frame is deemed to be a special case, return None.

Reimplemented in gdb.FrameDecorator.DAPFrameDecorator, and gdb.FrameDecorator.DAPFrameDecorator.

Definition at line 108 of file FrameDecorator.py.

References gdb.FrameDecorator._FrameDecoratorBase.__is_limited_frame(), gdb.FrameDecorator._FrameDecoratorBase._base, gdb.FrameDecorator.FrameDecorator._base, gdb.FrameDecorator.DAPFrameDecorator._base, gdb.FrameDecorator._FrameDecoratorBase.frame_locals(), and gdb.FrameDecorator._FrameDecoratorBase.inferior_frame().

Referenced by gdb.FrameDecorator._FrameDecoratorBase.frame_locals().

◆ function() [1/2]

gdb.FrameDecorator._FrameDecoratorBase.function ( self)
Return the name of the frame's function or an address of
the function of the frame.  First determine if this is a
special frame.  If not, try to determine filename from GDB's
frame internal function API.  Finally, if a name cannot be
determined return the address.  If this function returns an
address, GDB will attempt to determine the function name from
its internal minimal symbols store (for example, for inferiors
without debug-info).

Definition at line 53 of file FrameDecorator.py.

References gdb.FrameDecorator._FrameDecoratorBase._base, gdb.FrameDecorator.FrameDecorator._base, gdb.FrameDecorator.DAPFrameDecorator._base, and gdb.FrameDecorator._FrameDecoratorBase.inferior_frame().

◆ function() [2/2]

gdb.FrameDecorator._FrameDecoratorBase.function ( self)
Return the name of the frame's function or an address of
the function of the frame.  First determine if this is a
special frame.  If not, try to determine filename from GDB's
frame internal function API.  Finally, if a name cannot be
determined return the address.  If this function returns an
address, GDB will attempt to determine the function name from
its internal minimal symbols store (for example, for inferiors
without debug-info).

Definition at line 53 of file FrameDecorator.py.

References gdb.FrameDecorator._FrameDecoratorBase._base, gdb.FrameDecorator.FrameDecorator._base, gdb.FrameDecorator.DAPFrameDecorator._base, and gdb.FrameDecorator._FrameDecoratorBase.inferior_frame().

◆ inferior_frame() [1/2]

gdb.FrameDecorator._FrameDecoratorBase.inferior_frame ( self)

◆ inferior_frame() [2/2]

gdb.FrameDecorator._FrameDecoratorBase.inferior_frame ( self)

◆ line() [1/2]

gdb.FrameDecorator._FrameDecoratorBase.line ( self)

◆ line() [2/2]

gdb.FrameDecorator._FrameDecoratorBase.line ( self)

Member Data Documentation

◆ _base

gdb.FrameDecorator._FrameDecoratorBase._base
protected

The documentation for this class was generated from the following files: