summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorJeroen Demeyer <J.Demeyer@UGent.be>2019-07-05 12:48:24 (GMT)
committerPetr Viktorin <encukou@gmail.com>2019-07-05 12:48:24 (GMT)
commit0d722f3cd602e5f5492f9c65c8af57ea9d3743b6 (patch)
treee64e73f12cbad55824a13f3e7871051b9b34d98c /Tools
parent6e43d07324ca799118e805751a10a7eff71d5a04 (diff)
downloadcpython-0d722f3cd602e5f5492f9c65c8af57ea9d3743b6.zip
cpython-0d722f3cd602e5f5492f9c65c8af57ea9d3743b6.tar.gz
cpython-0d722f3cd602e5f5492f9c65c8af57ea9d3743b6.tar.bz2
bpo-36974: separate vectorcall functions for each calling convention (GH-13781)
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/gdb/libpython.py4
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