GDB (xrefs)
Public Member Functions | List of all members
gdb.function.caller_is.AnyCallerIs Class Reference
Inheritance diagram for gdb.function.caller_is.AnyCallerIs:

Public Member Functions

def __init__ (self)
 
def invoke
 
def __init__ (self)
 
def invoke
 

Detailed Description

Check all calling function's names.

Usage:
  $_any_caller_is(name [, number_of_frames])

Arguments:

  name: The name of the function to search for.

  number_of_frames: How many stack frames to traverse back from the currently
selected frame to compare with.  If the value is greater than the depth of
the stack from that point then the result is False.
The default is 1.

Returns:
  True if any function's name is equal to name.

Definition at line 86 of file caller_is.py.

Constructor & Destructor Documentation

def gdb.function.caller_is.AnyCallerIs.__init__ (   self)

Definition at line 105 of file caller_is.py.

Referenced by gdb.function.caller_is.AnyCallerIs.__init__().

def gdb.function.caller_is.AnyCallerIs.__init__ (   self)

Definition at line 105 of file caller_is.py.

References gdb.function.caller_is.AnyCallerIs.__init__().

Member Function Documentation

def gdb.function.caller_is.AnyCallerIs.invoke (   self,
  name,
  nframes = 1 
)

Definition at line 108 of file caller_is.py.

Referenced by gdb.function.caller_is.AnyCallerIs.invoke().

def gdb.function.caller_is.AnyCallerIs.invoke (   self,
  name,
  nframes = 1 
)

Definition at line 108 of file caller_is.py.

References gdb.function.caller_is.AnyCallerIs.invoke().


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