]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32962: Backport python-gdb.py and test_gdb.py from master (GH-7726)
authorVictor Stinner <vstinner@redhat.com>
Fri, 15 Jun 2018 21:59:56 +0000 (23:59 +0200)
committerGitHub <noreply@github.com>
Fri, 15 Jun 2018 21:59:56 +0000 (23:59 +0200)
commite36f94f204f3257a206a7766464a94230337fd18
treecb376223e21d6e00c6b9d70602c8be493a9aa0eb
parent184e8ed1eeda3ba869755ff37374dd86f332f30d
bpo-32962: Backport python-gdb.py and test_gdb.py from master (GH-7726)

* bpo-32962: python-gdb catchs ValueError on read_var() (GH-7692)

python-gdb now catchs ValueError on read_var(): when Python has no
debug symbols for example.

(cherry picked from commit 019d33b7a447e78057842332fb5d3bad01922122)

* bpo-32962: python-gdb catchs UnicodeDecodeError (GH-7693)

python-gdb now catchs UnicodeDecodeError exceptions when calling
string().

(cherry picked from commit d22fc0bc7de7882da204abe50884bbde2da4f9e7)

bpo-29367: python-gdb.py now supports also method-wrapper
(wrapperobject) objects.

(cherry picked from commit 611083331d534481ca7956a376e38fb0e9ef3854)
Lib/test/test_gdb.py
Misc/NEWS.d/next/Tools-Demos/2018-06-14-16-16-53.bpo-32962.2YfdwI.rst [new file with mode: 0644]
Misc/NEWS.d/next/Tools-Demos/2018-06-14-16-23-07.bpo-32962.Q3Dwns.rst [new file with mode: 0644]
Misc/NEWS.d/next/Tools-Demos/2018-06-15-23-07-50.bpo-29367.52w9Uq.rst [new file with mode: 0644]
Tools/gdb/libpython.py