Commit Graph

7 Commits

Author SHA1 Message Date
Victor Stinner 99cff3f182 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()
2011-12-19 13:59:58 +01:00
Antoine Pitrou 2fba0b3dfc Merged revisions 84635-84636 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84635 | antoine.pitrou | 2010-09-08 22:57:48 +0200 (mer., 08 sept. 2010) | 5 lines

  Issue #9188: The gdb extension now handles correctly narrow (UCS2) as well
  as wide (UCS4) unicode builds for both the host interpreter (embedded
  inside gdb) and the interpreter under test.
........
  r84636 | antoine.pitrou | 2010-09-08 23:07:40 +0200 (mer., 08 sept. 2010) | 4 lines

  Add a safety limit to the number of unicode characters we fetch
  (followup to r84635, suggested by Dave Malcolm).
........
2010-09-08 21:12:36 +00:00
Georg Brandl eefec7b857 Merged revisions 82872,82874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82872 | georg.brandl | 2010-07-14 10:53:18 +0200 (Mi, 14 Jul 2010) | 1 line

  Remove XXX from text.
........
  r82874 | georg.brandl | 2010-07-14 10:54:40 +0200 (Mi, 14 Jul 2010) | 1 line

  #9235: fix missing import of sys.
........
2010-07-14 08:55:55 +00:00
Victor Stinner b1556c537d libpython.py: fix support of non-BMP unicode characters
Forward port some code from Python3:

 * join surrogate pairs if sizeof(Py_UNICODE)==2
 * Enable non-BMP test on narrow builds using u"\U0001D121" instead of
   unichr(0x1D121)
2010-05-20 11:29:45 +00:00
Victor Stinner a92e81bf48 Issue #8437: Fix test_gdb failures, patch written by Dave Malcolm 2010-04-20 22:28:31 +00:00
Martin v. Löwis 24f09fdb23 Issue #8279: Fix test_gdb failures. 2010-04-17 22:40:40 +00:00
Martin v. Löwis bf0dfb3d0e Issue #8032: For gdb7, a python-gdb.py file is added to the build,
allowing to use advanced gdb features when debugging Python.
2010-04-01 07:40:51 +00:00