proxygen
gdb.FiberActivateCommand Class Reference
Inheritance diagram for gdb.FiberActivateCommand:

Public Member Functions

def __init__ (self)
 
def invoke (self, arg, from_tty)
 

Detailed Description

Definition at line 267 of file gdb.py.

Constructor & Destructor Documentation

def gdb.FiberActivateCommand.__init__ (   self)

Definition at line 268 of file gdb.py.

268  def __init__(self):
269  super(FiberActivateCommand, self).__init__("fiber", gdb.COMMAND_USER)
270 
def __init__(self)
Definition: gdb.py:268

Member Function Documentation

def gdb.FiberActivateCommand.invoke (   self,
  arg,
  from_tty 
)

Definition at line 271 of file gdb.py.

References gdb.fiber_activate().

271  def invoke(self, arg, from_tty):
272  if not arg:
273  print("folly::fibers::Fiber* has to be passed to 'fiber' command")
274  return
275  fiber_ptr = gdb.parse_and_eval(arg)
276  print(fiber_activate(fiber_ptr))
277 
278 
def fiber_activate(fiber)
Definition: gdb.py:250
def invoke(self, arg, from_tty)
Definition: gdb.py:271

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