Fix prints in tests for Python 3
authorSimon Marchi <simon.marchi@ericsson.com>
Fri, 28 Nov 2014 16:18:48 +0000 (11:18 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Fri, 28 Nov 2014 16:36:52 +0000 (11:36 -0500)
commitd7fc3181f73ab3d5549b396198645558127e0584
treeb802e7103873a444a6d8328de53faf92c3a293e0
parent57df9adf2d437e3c7f17a77c3e0f3c0d8e56aa40
Fix prints in tests for Python 3

Python 3's print requires to use parentheses, so this patch adds them
where they were missing.

gdb/testsuite/ChangeLog:

* gdb.ada/py_range.exp: Add parentheses to calls to print.
* gdb.dwarf2/symtab-producer.exp: Same.
* gdb.gdb/python-interrupts.exp: Same.
* gdb.gdb/python-selftest.exp: Same.
* gdb.python/py-linetable.exp: Same.
* gdb.python/py-type.exp: Same.
* gdb.python/py-value-cc.exp: Same.
* gdb.python/py-value.exp: Same.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/py_range.exp
gdb/testsuite/gdb.dwarf2/symtab-producer.exp
gdb/testsuite/gdb.gdb/python-interrupts.exp
gdb/testsuite/gdb.gdb/python-selftest.exp
gdb/testsuite/gdb.python/py-linetable.exp
gdb/testsuite/gdb.python/py-type.exp
gdb/testsuite/gdb.python/py-value-cc.exp
gdb/testsuite/gdb.python/py-value.exp