Ñò
55€Lc @ s\ d d k Z d d k Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ e ƒ e ƒ d S( iÿÿÿÿNt CallerIsc B s# e Z d Z d „ Z d d „ Z RS( sr Return 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.c C s t t | ƒ i d ƒ d S( Nt caller_is( t superR t __init__( t self( ( s/ /usr/share/gdb/python/gdb/function/caller_is.pyR s i c C sM t i ƒ } x( | d j o | i ƒ } | d } q W| i ƒ | i ƒ j S( Ni i ( t gdbt selected_framet oldert namet string( R R t nframest frame( ( s/ /usr/share/gdb/python/gdb/function/caller_is.pyt invoke s
( t __name__t
__module__t __doc__R R ( ( ( s/ /usr/share/gdb/python/gdb/function/caller_is.pyR s t
CallerMatchesc B s# e Z d Z d „ Z d d „ Z RS( sn Return 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.c C s t t | ƒ i d ƒ d S( Nt caller_matches( R R R ( R ( ( s/ /usr/share/gdb/python/gdb/function/caller_is.pyR / s i c C sY t i ƒ } x( | d j o | i ƒ } | d } q Wt i | i ƒ | i ƒ ƒ d j S( Ni i ( R R R t ret matchR R t None( R R R
R ( ( s/ /usr/share/gdb/python/gdb/function/caller_is.pyR 2 s
( R
R R R R ( ( ( s/ /usr/share/gdb/python/gdb/function/caller_is.pyR ' s ( R R t FunctionR R ( ( ( s/ /usr/share/gdb/python/gdb/function/caller_is.pyt