GDB (xrefs)
|
Public Member Functions | |
__init__ (self) | |
invoke (self, name, nframes=1) | |
__init__ (self) | |
invoke (self, name, nframes=1) | |
Compare the calling function's name with a regexp. Usage: $_caller_matches (REGEX [, NUMBER-OF-FRAMES]) Arguments: REGEX: The regular expression to compare the function's name with. 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 the function's name at the specified frame matches REGEX.
Definition at line 53 of file caller_is.py.
gdb.function.caller_is.CallerMatches.__init__ | ( | self | ) |
Definition at line 70 of file caller_is.py.
References gdb.function.caller_is.CallerMatches.__init__().
Referenced by gdb.function.caller_is.CallerMatches.__init__().
gdb.function.caller_is.CallerMatches.__init__ | ( | self | ) |
Definition at line 70 of file caller_is.py.
References gdb.function.caller_is.CallerMatches.__init__().
gdb.function.caller_is.CallerMatches.invoke | ( | self, | |
name, | |||
nframes = 1 ) |
Definition at line 73 of file caller_is.py.
gdb.function.caller_is.CallerMatches.invoke | ( | self, | |
name, | |||
nframes = 1 ) |
Definition at line 73 of file caller_is.py.