History log of /external/python/cpython3/Tools/gdb/libpython.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cb5fe9c22c6b19acf1216a93856b7bdc2bb06677 16-Dec-2016 Victor Stinner <victor.stinner@gmail.com> Merge 3.5
610f5d739dd22bce352bde59dce3985c73aaefab 16-Dec-2016 Victor Stinner <victor.stinner@gmail.com> python-gdb.py: catch gdb.error on gdb.selected_frame()
/external/python/cpython3/Tools/gdb/libpython.py
eae64fda5beb687ec3fd51e98ca78dac00d06db7 22-Nov-2016 Victor Stinner <victor.stinner@gmail.com> Issue #28770: Update python-gdb.py for fastcalls

Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict()
frames.

Thanks to the new code to handle fast calls, python-gdb.py is now also able to
detect the <built-in id method of module ...> frame.
/external/python/cpython3/Tools/gdb/libpython.py
3a5d79fbc87a70e733edc2de1bed35f6e14000a4 22-Nov-2016 Victor Stinner <victor.stinner@gmail.com> Issue #28023: Fix python-gdb.py on old GDB versions

Replace int(value.address)+offset with value.cast(unsigned char*)+offset.

It seems like int(value.address) fails on old versions of GDB.
/external/python/cpython3/Tools/gdb/libpython.py
d7d2bc8798da3b083e383e949ba01d61b78e4e4d 22-Nov-2016 INADA Naoki <songofacandy@gmail.com> Issue #28023: Fix python-gdb.py didn't support new dict implementation
/external/python/cpython3/Tools/gdb/libpython.py
a68c1bca7bd35571dd1bab736fd69452eca8394e 08-Sep-2016 Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> Remove legacy "from __future__ import with_statement" lines.
/external/python/cpython3/Tools/gdb/libpython.py
19620c57d78f2175e326205f6b919ded834099b2 20-Apr-2016 Victor Stinner <victor.stinner@gmail.com> gdb/libpython.py: inline _type_void_ptr()

The function was only called in _sizeof_void_p()
/external/python/cpython3/Tools/gdb/libpython.py
4e75ca87e3995230cc5a206bdbf45b6604030117 20-Apr-2016 Victor Stinner <victor.stinner@gmail.com> python-gdb.py: get C types at runtime

Issue #26799: Fix python-gdb.py: don't get once C types when the Python code
is loaded, but get C types on demande. The C types can change if
python-gdb.py is loaded before the Python executable.

Patch written by Thomas Ilsche.
/external/python/cpython3/Tools/gdb/libpython.py
7462b64911f1e2df2de2285ddbf8b156b5cdc418 02-Nov-2015 Martin Panter <vadmium+py@gmail.com> Issue #25523: Correct "a" article to "an" article

This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
/external/python/cpython3/Tools/gdb/libpython.py
8f8ec92de85b40b9e7bec81ae87f18cc3996c560 16-Jan-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang lines in the unittestgui and checkpip scripts.
b992a0e102c1dcc8d038983755f792c2f65a233f 16-Jan-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang line to use python3 executable in the unittestgui script.
/external/python/cpython3/Tools/gdb/libpython.py
59b7ff2d4371933052717329ec12c7203b8d1cad 23-Nov-2013 Antoine Pitrou <solipsis@pitrou.net> Undo (hopefully) buildbot failures
23828f6d8e4ff915a675eb8964ce0934b680bcce 23-Nov-2013 Antoine Pitrou <solipsis@pitrou.net> Undo (hopefully) buildbot failures
/external/python/cpython3/Tools/gdb/libpython.py
b17d2aa552e0b2b5d17a036ad32aa59ddd59b2cc 23-Nov-2013 Antoine Pitrou <solipsis@pitrou.net> Issue #19308: fix the gdb plugin on gdbs linked with Python 3
/external/python/cpython3/Tools/gdb/libpython.py
e50240c504779e6fc3a988da44d16dc84e263e07 23-Nov-2013 Antoine Pitrou <solipsis@pitrou.net> Issue #19308: fix the gdb plugin on gdbs linked with Python 3
/external/python/cpython3/Tools/gdb/libpython.py
48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe 29-Aug-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #18743: Fix references to non-existant "StringIO" module
in docstrings and comments.
50254c57cd7a562441b7ff385d59c0255301f3ff 29-Aug-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #18743: Fix references to non-existant "StringIO" module
in docstrings and comments.
/external/python/cpython3/Tools/gdb/libpython.py
d640fe2af5095c8104a7cf850c2a669c8e864215 26-Aug-2013 Ezio Melotti <ezio.melotti@gmail.com> #18803: merge with 3.3.
7c4a7e6f3cbd98ad547a3f1661582517612419e3 26-Aug-2013 Ezio Melotti <ezio.melotti@gmail.com> #18803: fix more typos. Patch by Févry Thibault.
/external/python/cpython3/Tools/gdb/libpython.py
9d95254bb7f65e0afe13547b6741b6bddab8228b 24-Aug-2013 Antoine Pitrou <solipsis@pitrou.net> Issue #18772: fix the gdb plugin after the set implementation changes
/external/python/cpython3/Tools/gdb/libpython.py
1df37c657d7b32cfc7e765f13323415ef1c5be31 06-May-2013 David Malcolm <dmalcolm@redhat.com> #17833: merge with 3.3
d08b21016466561db7a17e44e29d1d7413d79265 06-May-2013 David Malcolm <dmalcolm@redhat.com> #17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
/external/python/cpython3/Tools/gdb/libpython.py
d8a5cc91e6559e11ca28e6a915017433b14b12d1 11-Apr-2013 Victor Stinner <victor.stinner@gmail.com> python-gdb.py: Replace invalid Unicode character with U+FFFD to be able to
display invalid strings. Such strings can be found while Python is creating a
new string, in a text decoder for example, when Python is compiled in debug
mode.
/external/python/cpython3/Tools/gdb/libpython.py
3f5db3940ff71428d1eecb3d4eebe68d9c3d216d 27-Jan-2013 Ezio Melotti <ezio.melotti@gmail.com> Fix a few typos and a double semicolon. Patch by Eitan Adler.
/external/python/cpython3/Tools/gdb/libpython.py
b29614e047110f4d9af993a6cdec4e3fb7ef9738 09-Oct-2012 Benjamin Peterson <benjamin@python.org> compare singletons by identity not equality (closes #16712)

Patch from Serhiy Storchaka.
/external/python/cpython3/Tools/gdb/libpython.py
8d37ffa563cf552dd34990bfefd935eef8adfd11 27-Jun-2012 David Malcolm <dmalcolm@redhat.com> Issue #12605: Show information on more C frames within gdb backtraces

The gdb hooks for debugging CPython (within Tools/gdb) have
been enhanced to show information on more C frames relevant to CPython within
the "py-bt" and "py-bt-full" commands:
* C frames that are waiting on the GIL
* C frames that are garbage-collecting
* C frames that are due to the invocation of a PyCFunction
/external/python/cpython3/Tools/gdb/libpython.py
7d95e4072169911b228c9e42367afb5f17fd3db0 23-Apr-2012 Benjamin Peterson <benjamin@python.org> Implement PEP 412: Key-sharing dictionaries (closes #13903)

Patch from Mark Shannon.
/external/python/cpython3/Tools/gdb/libpython.py
d974393419eb55ad7f483ff3c56f746446778172 19-Dec-2011 Victor Stinner <victor.stinner@haypocalc.com> (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()
d208416a4033c1d8e10ee70e1aa74e6d3108c7d6 19-Dec-2011 Victor Stinner <victor.stinner@haypocalc.com> 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()
/external/python/cpython3/Tools/gdb/libpython.py
ca2a1a335a25b0ee0f5ddce52e203a5de0bff03d 12-Dec-2011 Antoine Pitrou <solipsis@pitrou.net> Fix test_gdb failure
/external/python/cpython3/Tools/gdb/libpython.py
aa6c1d240fc4dd883b4c5a1564182e8fa90de496 12-Dec-2011 Florent Xicluna <florent.xicluna@gmail.com> Issue #13575: there is only one class type.
/external/python/cpython3/Tools/gdb/libpython.py
0c4fbff6a72164ed18146fbc05d4601eb8881dc5 08-Dec-2011 Victor Stinner <victor.stinner@haypocalc.com> libpython.py: defer call to gdb.lookup_type('PyUnicodeObject')

The lookup fails at startup if Python is linked to a shared library.
/external/python/cpython3/Tools/gdb/libpython.py
f16a350bafbf617f876bfbbd4b1c8f2636efacff 04-Nov-2011 Victor Stinner <victor.stinner@haypocalc.com> Oops, really fix gdb/libpython.py for not ready Unicode strings
/external/python/cpython3/Tools/gdb/libpython.py
e30c0a1014fb8f7978f608d6c7f430842f685075 04-Nov-2011 Victor Stinner <victor.stinner@haypocalc.com> Fix gdb/libpython.py for not ready Unicode strings

_PyUnicode_CheckConsistency() checks also hash and length value for not ready
Unicode strings.
/external/python/cpython3/Tools/gdb/libpython.py
3c0c5f29dd0726afd91e5d79343706690459bd44 08-Oct-2011 Antoine Pitrou <solipsis@pitrou.net> Fix test_gdb following the small unicode struct change in c25262e97304 (issue #13130)
/external/python/cpython3/Tools/gdb/libpython.py
a3b334da6dd0477e5bf144934d184bc0b3e3779b 03-Oct-2011 Victor Stinner <victor.stinner@haypocalc.com> PyUnicode_Ready() now sets ascii=1 if maxchar < 128

ascii=1 is no more reserved to PyASCIIObject. Use
PyUnicode_IS_COMPACT_ASCII(obj) to check if obj is a PyASCIIObject (as before).
/external/python/cpython3/Tools/gdb/libpython.py
24fa9832be29e242333763d54de460e83b5acaaa 28-Sep-2011 Martin v. Löwis <martin@v.loewis.de> Update for PEP 393.
/external/python/cpython3/Tools/gdb/libpython.py
d63a3b8beb4a0841cb59fb3515347ccaab34b733 28-Sep-2011 Martin v. Löwis <martin@v.loewis.de> Implement PEP 393.
/external/python/cpython3/Tools/gdb/libpython.py
d57c5c8a3adc7ec3cd0b41b5f7a1a1f72eeec70e 01-Jul-2011 Victor Stinner <victor.stinner@haypocalc.com> libpython.py (gdb) now catchs IOError in py-list and py-bt commands

py-list displays the error. py-bt ignores the error (the filename and line
number is already displayed).
/external/python/cpython3/Tools/gdb/libpython.py
e670c889ccf5ce7b27dedbc7d6d24e0679ca93bb 13-May-2011 Victor Stinner <victor.stinner@haypocalc.com> Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and add
a smarter "py-bt" command printing a classic Python traceback.
/external/python/cpython3/Tools/gdb/libpython.py
6ffbee77dc1a29d828d936a2b9f47bd6da102aff 17-Oct-2010 Victor Stinner <victor.stinner@haypocalc.com> libpython: implementation of os.fsencode() with surrogateescape error handler
/external/python/cpython3/Tools/gdb/libpython.py
7c9cf01238cdfb597041d12e71d5a11a98402b34 08-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> gdb: fix representation of non-printable surrogate pairs, and workaround
a bug in ascii().
/external/python/cpython3/Tools/gdb/libpython.py
b1856d7fa74e045473a530197a0dedd9052a5e95 08-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> Add a safety limit to the number of unicode characters we fetch
(followup to r84635, suggested by Dave Malcolm).
/external/python/cpython3/Tools/gdb/libpython.py
b41e128fe1e2a511748926d0837d1a87f090b9a9 08-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> 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.
/external/python/cpython3/Tools/gdb/libpython.py
0e5a41b8f5b87bf07ed6368df5a84137d3e4e4da 18-Aug-2010 Victor Stinner <victor.stinner@haypocalc.com> libpython.py: py-bt commands escape unencodable characters

Encode unicode strings to the terminal encoding with backslashreplace error (as
Python does for sys.stderr) before writing them to sys.stdout. It fixes
UnicodeEncodeError on writing non-ascii characters in an ascii terminal (C
locale: ASCII encoding).
/external/python/cpython3/Tools/gdb/libpython.py
b639c14c32a737224382bfc5a690e0c05766e090 14-Jul-2010 Georg Brandl <georg@python.org> #9235: fix missing import of sys.
/external/python/cpython3/Tools/gdb/libpython.py
b0eb5da018785ca384679b990b8548338883c645 14-Jul-2010 Georg Brandl <georg@python.org> Remove unused code that would raise a NameError.
/external/python/cpython3/Tools/gdb/libpython.py
150016fd2433231d59a6ee38e46849bd0a57a3b8 20-May-2010 Victor Stinner <victor.stinner@haypocalc.com> Issue #8559: improve unicode support of (gdb) libpython.py

* Escape non printable characters (use locale.getpreferredencoding())
* Fix support of surrogate pairs
* test_gdb.py: use ascii() instead of repr() in gdb program arguments to avoid
encoding issues
* Fix test_strings() of test_gdb.py for encoding different than UTF-8
(eg. ACSII)
/external/python/cpython3/Tools/gdb/libpython.py
5ae681081975ac074bd030d3f23e99e3644cfe10 22-Apr-2010 Martin v. Löwis <martin@v.loewis.de> Issue #8380: Port gdb/libpython to 3.x.
/external/python/cpython3/Tools/gdb/libpython.py
67df3a4b7eb67f8c7d7631ba2d0704fe9210d98c 21-Apr-2010 Victor Stinner <victor.stinner@haypocalc.com> Adapt libpython.py and test_gdb.py to Python3

* Rename PyStringObjectPtr to PyBytesObjectPtr
* Replace PyObject_Print by textiowrapper_write
/external/python/cpython3/Tools/gdb/libpython.py
5226fd66e1a251cc9852b77e9e002ea754d7bc65 21-Apr-2010 Martin v. Löwis <martin@v.loewis.de> Merged revisions 79986-79987,80156 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r79986 | martin.v.loewis | 2010-04-12 07:18:16 +0200 (Mo, 12 Apr 2010) | 2 lines

Issue #8330: Fix expected output in test_gdb.
........
r79987 | martin.v.loewis | 2010-04-12 07:22:25 +0200 (Mo, 12 Apr 2010) | 2 lines

Re-enable all tests, to see which ones fail on the buildbots.
........
r80156 | martin.v.loewis | 2010-04-18 00:40:40 +0200 (So, 18 Apr 2010) | 2 lines

Issue #8279: Fix test_gdb failures.
........
/external/python/cpython3/Tools/gdb/libpython.py
50eb60e6bfedbdad2dda30fa5ce7fe3ce83f7748 21-Apr-2010 Victor Stinner <victor.stinner@haypocalc.com> Merged revisions 80288 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r80288 | victor.stinner | 2010-04-21 00:28:31 +0200 (mer., 21 avril 2010) | 2 lines

Issue #8437: Fix test_gdb failures, patch written by Dave Malcolm
........
/external/python/cpython3/Tools/gdb/libpython.py
6a6666ab7d87d08ee73342f42649a22d52b30d1d 11-Apr-2010 Benjamin Peterson <benjamin@python.org> Merged revisions 79548,79557,79616-79617,79716,79778,79795,79803,79896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r79548 | martin.v.loewis | 2010-04-01 02:40:51 -0500 (Thu, 01 Apr 2010) | 3 lines

Issue #8032: For gdb7, a python-gdb.py file is added to the build,
allowing to use advanced gdb features when debugging Python.
........
r79557 | antoine.pitrou | 2010-04-01 12:56:57 -0500 (Thu, 01 Apr 2010) | 5 lines

Issue #8281: rename test_gdb_sample.py to gdb_sample.py, otherwise it gets picked
as a regular test by regrtest.py, and fails.
........
r79616 | mark.dickinson | 2010-04-02 15:22:21 -0500 (Fri, 02 Apr 2010) | 1 line

Add python.exe-gdb.py to svn:ignore, for the benefit of OS X developers.
........
r79617 | mark.dickinson | 2010-04-02 15:34:26 -0500 (Fri, 02 Apr 2010) | 1 line

Add python-gdb.py and python.exe-gdb.py to distclean target in Makefile.
........
r79716 | martin.v.loewis | 2010-04-03 13:54:07 -0500 (Sat, 03 Apr 2010) | 2 lines

Don't install python-gdb.py as an executable.
........
r79778 | r.david.murray | 2010-04-04 20:34:50 -0500 (Sun, 04 Apr 2010) | 3 lines

Issue 8287: try to fix the gdb-python install errors on Solaris
and FreeBSD. Patch by Dave Malcolm.
........
r79795 | ronald.oussoren | 2010-04-05 06:21:21 -0500 (Mon, 05 Apr 2010) | 7 lines

Ensure that the gdb hooks can be installed when
srcdir != builddir.

Without this patch it is no longer possible to
build python when you don't run configure from
the root of the source tree.
........
r79803 | r.david.murray | 2010-04-05 11:28:49 -0500 (Mon, 05 Apr 2010) | 3 lines

Issue 8316: make test_gdb robust in the face of differing terminal
widths. Patch by Dave Malcolm.
........
r79896 | martin.v.loewis | 2010-04-07 14:11:32 -0500 (Wed, 07 Apr 2010) | 2 lines

Issue #8337: Disable the remaining test also for now.
........
/external/python/cpython3/Tools/gdb/libpython.py