]> granicus.if.org Git - python/commit
Issue #13628: python-gdb.py is now able to retrieve more frames in the Python
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 19 Dec 2011 12:59:58 +0000 (13:59 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 19 Dec 2011 12:59:58 +0000 (13:59 +0100)
commit99cff3f1825e70027b2fa170fdc4723c57723b5d
treebc560b22004341028bd0bbe054f3c5ea20488c89
parent52aa260387e2de3ddf96cc0006867241cd3d3667
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 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