Index: gdb/testsuite/gdb.python/py-events.py |
diff --git a/gdb/testsuite/gdb.python/py-events.py b/gdb/testsuite/gdb.python/py-events.py |
index 122def0caf84f883f48beefbebdcbcdd88662fcd..f7e45f56bcf1ebaabd83ef5a1555aa3c56d16f71 100644 |
--- a/gdb/testsuite/gdb.python/py-events.py |
+++ b/gdb/testsuite/gdb.python/py-events.py |
@@ -44,6 +44,7 @@ def exit_handler (event): |
print "event type: exit" |
print "exit code: %d" % (event.exit_code) |
print "exit inf: %d" % (event.inferior.num) |
+ print "dir ok: %s" % str('exit_code' in dir(event)) |
def continue_handler (event): |
if (isinstance (event, gdb.ContinueEvent)): |