diff options
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/gdb/libpython.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index abfea96..e40f79b 100755 --- a/Tools/gdb/libpython.py +++ b/Tools/gdb/libpython.py @@ -1563,8 +1563,8 @@ class Frame(object): if not caller: return False - if caller in ('_PyCFunction_Vectorcall', - 'cfunction_call_varargs'): + if (caller.startswith('cfunction_vectorcall_') or + caller == 'cfunction_call_varargs'): arg_name = 'func' # Within that frame: # "func" is the local containing the PyObject* of the |