]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
(Merge 3.2) Issue #13628: python-gdb.py is now able to retrieve more frames in
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 19 Dec 2011 12:47:10 +0000 (13:47 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 19 Dec 2011 12:47:10 +0000 (13:47 +0100)
commitd974393419eb55ad7f483ff3c56f746446778172
treeb9b30f46130ef790563fac7da4e169860b442b01
parent6db4944cc57804391b554d96f3400944779617f0
parentd208416a4033c1d8e10ee70e1aa74e6d3108c7d6
(Merge 3.2) Issue #13628: python-gdb.py is now able to retrieve more frames in
the Python traceback if Python is optimized.

 * delay the lookup of the size_t type, it is not available at startup
 * The second argument of the PyFrameObjectPtr constructor is optional, as
   done in other constructors
 * iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
   an empty tuple instead of None if Python is optimized
 * Fix py-bt and py-bt-full to handle correctly "optimized" frames
 * Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
   if the pointer is optimized out in PyEval_EvalFrameEx()
Lib/test/test_gdb.py
Misc/NEWS
Tools/gdb/libpython.py