From: Simon Marchi Date: Sat, 9 Apr 2016 12:41:41 +0000 (-0400) Subject: gdb.python/py-mi-events-gdb.py: Add parentheses to print X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e88a1ea30deecac47d89b03f6d60ca04245c36f;p=binutils-gdb.git gdb.python/py-mi-events-gdb.py: Add parentheses to print Required for Python 3 gdb/testsuite/ChangeLog: * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add parentheses to print. (continue_handler): Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5b4cb586f58..67e58cc9270 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-04-09 Simon Marchi + + * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add + parentheses to print. + (continue_handler): Likewise. + 2016-04-08 Simon Marchi * gdb.server/solib-list.exp: Remove is_remote check. diff --git a/gdb/testsuite/gdb.python/py-mi-events-gdb.py b/gdb/testsuite/gdb.python/py-mi-events-gdb.py index 0aa4fda79c1..975ff2f3a05 100644 --- a/gdb/testsuite/gdb.python/py-mi-events-gdb.py +++ b/gdb/testsuite/gdb.python/py-mi-events-gdb.py @@ -24,14 +24,14 @@ def signal_stop_handler (event): """Stop event handler""" assert (isinstance (event, gdb.StopEvent)) print ("stop_handler") - print gdb.execute("info break", False, True) + print (gdb.execute("info break", False, True)) def continue_handler (event): """Continue event handler""" assert (isinstance (event, gdb.ContinueEvent)) print ("continue_handler") - print gdb.execute("info break", False, True) + print (gdb.execute("info break", False, True)) class test_events (gdb.Command):