Fix gdb.python/py-record-btrace-threads.exp with Python 3
authorPedro Alves <palves@redhat.com>
Thu, 4 May 2017 15:02:36 +0000 (16:02 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 4 May 2017 15:02:36 +0000 (16:02 +0100)
commitd512d31c395e3c45f83778e01b9824efe45cac5f
treed183ce6d7a757361b52c71ec6e7cb81c2f9c205e
parent5ed8105e02d0c6648b7faea9f4e941237b932717
Fix gdb.python/py-record-btrace-threads.exp with Python 3

Fix several instances of:

 ...
 python print not f1calls
   File "<string>", line 1
     print not f1calls
     ^
 SyntaxError: Missing parentheses in call to 'print'
 Error while executing Python code.
 (gdb) FAIL: gdb.python/py-record-btrace-threads.exp: thread=1: checking thread 1: python print not f1calls
 ...

gdb/testsuite/ChangeLog:
2017-05-04  Pedro Alves  <palves@redhat.com>

* gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
Add parens to print call for Python 3.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-record-btrace-threads.exp