src/gdb/testsuite ChangeLog gdb.python/py-pret ...
pkoning@sourceware.org
pkoning@sourceware.org
Tue Dec 11 20:54:00 GMT 2012
CVSROOT: /cvs/src
Module name: src
Changes by: pkoning@sourceware.org 2012-12-11 20:54:52
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.python: py-prettyprint.py py-typeprint.exp
python.exp
Log message:
* gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
exception.
(_iterator_except): New function.
(ArrayPrinter): Use _iterator function instead of local _iterator
class for Python 3 compatibility.
(NoStringContainerPrinter): Use _iterator_except instead of
_iterator.
* gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
execfile for Python 3 compatibility.
* gdb.python/python.exp: Handle Python 2.4 exception traceback
format in error_prompt test.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3483&r2=1.3484
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-prettyprint.py.diff?cvsroot=src&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-typeprint.exp.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/python.exp.diff?cvsroot=src&r1=1.38&r2=1.39
More information about the Gdb-cvs
mailing list