mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 10:34:21 +08:00
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:
@ -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):
|
||||
|
Reference in New Issue
Block a user