Make some more of the LLDB/SWIG/Python glue Python 3 aware.
Mostly this is just converting some print statements to print
functions.
llvm-svn: 250533
diff --git a/lldb/scripts/interface/SBValue.i b/lldb/scripts/interface/SBValue.i
index e7e67b7..725c551 100644
--- a/lldb/scripts/interface/SBValue.i
+++ b/lldb/scripts/interface/SBValue.i
@@ -22,9 +22,9 @@
GPRs = regs
break
- print '%s (number of children = %d):' % (GPRs.GetName(), GPRs.GetNumChildren())
+ print('%s (number of children = %d):' % (GPRs.GetName(), GPRs.GetNumChildren()))
for reg in GPRs:
- print 'Name: ', reg.GetName(), ' Value: ', reg.GetValue()
+ print('Name: ', reg.GetName(), ' Value: ', reg.GetValue())
produces the output: