mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Update and enhance python-gdb.py
Issue #29259: * Detect PyCFunction is the current frame, not only in the older frame * Ignore PyCFunction_Call() since it now calls _PyCFunction_FastCallDict(), and _PyCFunction_FastCallDict() is already detected
This commit is contained in:
parent
e69f0e6111
commit
fa025f112f
2 changed files with 11 additions and 17 deletions
|
@ -845,7 +845,7 @@ id(42)
|
|||
breakpoint='time_gmtime',
|
||||
cmds_after_breakpoint=['py-bt-full'],
|
||||
)
|
||||
self.assertIn('#0 <built-in method gmtime', gdb_output)
|
||||
self.assertIn('#1 <built-in method gmtime', gdb_output)
|
||||
|
||||
|
||||
class PyPrintTests(DebuggerTests):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue