mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
bpo-36974: Fix GDB integration (GH-13665)
As it changes the way functions are called, the PEP 590 implementation skipped the functions that the GDB integration is looking for (by name) to find function calls. Looking for the new helper `cfunction_call_varargs` hopefully fixes the tests, and thus buildbots. The changed frame nuber in test_gdb is due to there being fewer C calls when calling a built-in method.
This commit is contained in:
parent
e70bfa95e6
commit
fecb75c1bb
2 changed files with 3 additions and 2 deletions
|
@ -1564,7 +1564,8 @@ class Frame(object):
|
|||
return False
|
||||
|
||||
if caller in ('_PyCFunction_FastCallDict',
|
||||
'_PyCFunction_FastCallKeywords'):
|
||||
'_PyCFunction_FastCallKeywords',
|
||||
'cfunction_call_varargs'):
|
||||
arg_name = 'func'
|
||||
# Within that frame:
|
||||
# "func" is the local containing the PyObject* of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue