gdb.python/py-mi-events-gdb.py: Add parentheses to print
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 9 Apr 2016 12:41:41 +0000 (08:41 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 9 Apr 2016 12:41:41 +0000 (08:41 -0400)
Required for Python 3

gdb/testsuite/ChangeLog:

* gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
parentheses to print.
(continue_handler): Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-mi-events-gdb.py

index 5b4cb586f585ee62e594911c43a5666b8ce916c3..67e58cc92701686c4842e08931ec9c76b6dab017 100644 (file)
@@ -1,3 +1,9 @@
+2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
+       parentheses to print.
+       (continue_handler): Likewise.
+
 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
 
        * gdb.server/solib-list.exp: Remove is_remote check.
index 0aa4fda79c1da6a8c5a1fbede58c415d076a4f74..975ff2f3a05479d00b2b78e8f29976e78dd5e7f0 100644 (file)
@@ -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):