diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-18 17:20:01 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-18 17:20:01 +0100 |
commit | 9674949696574bee9ae2bc3b9b56c30ea12285c0 (patch) | |
tree | 61889de9b3f41f3cb0cacafa4ab3691ecff138a9 /Lib | |
parent | c4ed3158f8d9458a38a5985eb8e30ac7209fbaf9 (diff) | |
download | cpython-9674949696574bee9ae2bc3b9b56c30ea12285c0.tar.gz |
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
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_gdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 60f1d92846..557591f76c 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -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): |