]> granicus.if.org Git - python/commit
bpo-36974: Fix GDB integration (GH-13665)
authorPetr Viktorin <encukou@gmail.com>
Wed, 29 May 2019 20:45:41 +0000 (22:45 +0200)
committerGitHub <noreply@github.com>
Wed, 29 May 2019 20:45:41 +0000 (22:45 +0200)
commitfecb75c1bb46c818e6579ba422cfa5d0d9d104d1
tree36238cb886d5740f29cf07344d89c37931c9a908
parente70bfa95e6f0c98b9906f306f24d71f8b7689f87
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.
Lib/test/test_gdb.py
Tools/gdb/libpython.py