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.
This commit is contained in:
parent
41065f5e08
commit
2e88a1ea30
|
@ -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.
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue