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
2 changed files with 8 additions and 2 deletions
|
@ -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>
|
2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
* gdb.server/solib-list.exp: Remove is_remote check.
|
* gdb.server/solib-list.exp: Remove is_remote check.
|
||||||
|
|
|
@ -24,14 +24,14 @@ def signal_stop_handler (event):
|
||||||
"""Stop event handler"""
|
"""Stop event handler"""
|
||||||
assert (isinstance (event, gdb.StopEvent))
|
assert (isinstance (event, gdb.StopEvent))
|
||||||
print ("stop_handler")
|
print ("stop_handler")
|
||||||
print gdb.execute("info break", False, True)
|
print (gdb.execute("info break", False, True))
|
||||||
|
|
||||||
|
|
||||||
def continue_handler (event):
|
def continue_handler (event):
|
||||||
"""Continue event handler"""
|
"""Continue event handler"""
|
||||||
assert (isinstance (event, gdb.ContinueEvent))
|
assert (isinstance (event, gdb.ContinueEvent))
|
||||||
print ("continue_handler")
|
print ("continue_handler")
|
||||||
print gdb.execute("info break", False, True)
|
print (gdb.execute("info break", False, True))
|
||||||
|
|
||||||
|
|
||||||
class test_events (gdb.Command):
|
class test_events (gdb.Command):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue