This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.python/py-pret ...
- From: pkoning at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 11 Dec 2012 20:54:52 -0000
- Subject: src/gdb/testsuite ChangeLog gdb.python/py-pret ...
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