MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
Disabled: NONE
Upload Files
File: //usr/share/gdb/python/gdb/function/caller_is.pyc
mò
Ç0Kc@sVdkZdkZdeifd„ƒYZdeifd„ƒYZeƒeƒdS(NtCallerIscBs#tZdZd„Zdd„ZRS(srReturn True if the calling function's name is equal to a string.
This function takes one or two arguments.
The first argument is the name of a function; if the calling function's
name is equal to this argument, this function returns True.
The optional second argument tells this function how many stack frames
to traverse to find the calling function.  The default is 1.cCstt|ƒidƒdS(Nt	caller_is(tsuperRtselft__init__(R((t//usr/share/gdb/python/gdb/function/caller_is.pyRsicCsMtiƒ}x(|djo|iƒ}|d}qW|iƒ|iƒjS(Nii(tgdbtselected_frametframetnframestoldertnametstring(RRR	R((Rtinvoke s
(t__name__t
__module__t__doc__RR
(((RRs	t
CallerMatchescBs#tZdZd„Zdd„ZRS(snReturn True if the calling function's name matches a string.
This function takes one or two arguments.
The first argument is a regular expression; if the calling function's
name is matched by this argument, this function returns True.
The optional second argument tells this function how many stack frames
to traverse to find the calling function.  The default is 1.cCstt|ƒidƒdS(Ntcaller_matches(RRRR(R((RR/sicCsYtiƒ}x(|djo|iƒ}|d}qWti|iƒ|iƒƒdj	S(Nii(
RRRR	R
tretmatchRRtNone(RRR	R((RR
2s
(RRRRR
(((RR's	(RRtFunctionRR(RRRR((Rt?s