summaryrefslogtreecommitdiffstats
path: root/Tools/gdb
diff options
context:
space:
mode:
authorJeroen Demeyer <J.Demeyer@UGent.be>2019-07-23 10:39:51 (GMT)
committerƁukasz Langa <lukasz@langa.pl>2019-07-23 10:39:51 (GMT)
commitbf8e82f976b37856c7d35cdf88a238cb6f57fe65 (patch)
treeeef98efc9b9f0206ff2ee927e697434003405796 /Tools/gdb
parent5dab5e7d24c790d54b8d1eca0568e798bfda2c68 (diff)
downloadcpython-bf8e82f976b37856c7d35cdf88a238cb6f57fe65.zip
cpython-bf8e82f976b37856c7d35cdf88a238cb6f57fe65.tar.gz
cpython-bf8e82f976b37856c7d35cdf88a238cb6f57fe65.tar.bz2
[3.8] bpo-36974: separate vectorcall functions for each calling convention (GH-13781) (#14782)
Diffstat (limited to 'Tools/gdb')
-rwxr-xr-xTools/gdb/libpython.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 93f720a..e40f79b 100755
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -1563,9 +1563,8 @@ class Frame(object):
if not caller:
return False
- if caller in ('_PyCFunction_FastCallDict',
- '_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