Ñò 55€Lc@s\ddkZddkZdeifd„ƒYZdeifd„ƒYZeƒeƒdS(iÿÿÿÿNtCallerIscBs#eZdZd„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(tsuperRt__init__(tself((s//usr/share/gdb/python/gdb/function/caller_is.pyRsicCsMtiƒ}x(|djo|iƒ}|d}qW|iƒ|iƒjS(Nii(tgdbtselected_frametoldertnametstring(RRtnframestframe((s//usr/share/gdb/python/gdb/function/caller_is.pytinvoke s    (t__name__t __module__t__doc__RR (((s//usr/share/gdb/python/gdb/function/caller_is.pyRs t CallerMatchescBs#eZdZd„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(RRR(R((s//usr/share/gdb/python/gdb/function/caller_is.pyR/sicCsYtiƒ}x(|djo|iƒ}|d}qWti|iƒ|iƒƒdj S(Nii(RRRtretmatchR RtNone(RRR R ((s//usr/share/gdb/python/gdb/function/caller_is.pyR 2s    (R RRRR (((s//usr/share/gdb/python/gdb/function/caller_is.pyR's (RRtFunctionRR(((s//usr/share/gdb/python/gdb/function/caller_is.pyts