summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/command_script/mysto.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/command_script/mysto.py')
-rw-r--r--lldb/test/functionalities/command_script/mysto.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/test/functionalities/command_script/mysto.py b/lldb/test/functionalities/command_script/mysto.py
index 7191914731c..656cd150293 100644
--- a/lldb/test/functionalities/command_script/mysto.py
+++ b/lldb/test/functionalities/command_script/mysto.py
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
import lldb
import sys
import os
@@ -8,11 +10,11 @@ def StepOver(debugger, args, result, dict):
Step over a given number of times instead of only just once
"""
arg_split = args.split(" ")
- print type(arg_split)
+ print(type(arg_split))
count = int(arg_split[0])
for i in range(0,count):
debugger.GetSelectedTarget().GetProcess().GetSelectedThread().StepOver(lldb.eOnlyThisThread)
- print "step<%d>"%i
+ print("step<%d>"%i)
def __lldb_init_module(debugger, session_dict):
# by default, --synchronicity is set to synchronous
OpenPOWER on IntegriCloud