proxygen
gdb.FiberUnwinderFrameFilter Class Reference

Public Member Functions

def set_skip_frame_sp (cls, skip_frame_sp)
 
def __init__ (self)
 
def filter (self, frame_iter)
 
def filter_impl (self, frame_iter)
 

Public Attributes

 name
 
 priority
 
 enabled
 

Static Public Attributes

 instance = None
 

Detailed Description

Definition at line 161 of file gdb.py.

Constructor & Destructor Documentation

def gdb.FiberUnwinderFrameFilter.__init__ (   self)

Definition at line 171 of file gdb.py.

171  def __init__(self):
172  self.name = "FiberUnwinderFrameFilter"
173  self.priority = 100
174  self.enabled = True
175  gdb.frame_filters[self.name] = self
176 

Member Function Documentation

def gdb.FiberUnwinderFrameFilter.filter (   self,
  frame_iter 
)

Definition at line 177 of file gdb.py.

References gdb.FiberUnwinderFrameFilter.filter_impl().

177  def filter(self, frame_iter):
178  if not self.skip_frame_sp:
179  return frame_iter
180 
181  return self.filter_impl(frame_iter)
182 
def filter(self, frame_iter)
Definition: gdb.py:177
def filter_impl(self, frame_iter)
Definition: gdb.py:183
def gdb.FiberUnwinderFrameFilter.filter_impl (   self,
  frame_iter 
)

Definition at line 183 of file gdb.py.

Referenced by gdb.FiberUnwinderFrameFilter.filter().

183  def filter_impl(self, frame_iter):
184  for frame in frame_iter:
185  frame_sp = frame.inferior_frame().read_register("rsp")
186  if frame_sp == self.skip_frame_sp:
187  continue
188  yield frame
189 
190 
def filter_impl(self, frame_iter)
Definition: gdb.py:183
def gdb.FiberUnwinderFrameFilter.set_skip_frame_sp (   cls,
  skip_frame_sp 
)

Member Data Documentation

gdb.FiberUnwinderFrameFilter.enabled

Definition at line 174 of file gdb.py.

gdb.FiberUnwinderFrameFilter.instance = None
static
gdb.FiberUnwinderFrameFilter.name

Definition at line 172 of file gdb.py.

gdb.FiberUnwinderFrameFilter.priority

Definition at line 173 of file gdb.py.


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