Skip to content

Commit 8160025

Browse files
committed
[lldb][util] Use Python3 print function in example code
1 parent c336625 commit 8160025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/utils/lui/lldbutil.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ def get_GPRs(frame):
951951
from lldbutil import get_GPRs
952952
regs = get_GPRs(frame)
953953
for reg in regs:
954-
print "%s => %s" % (reg.GetName(), reg.GetValue())
954+
print("%s => %s" % (reg.GetName(), reg.GetValue()))
955955
...
956956
"""
957957
return get_registers(frame, "general purpose")
@@ -965,7 +965,7 @@ def get_FPRs(frame):
965965
from lldbutil import get_FPRs
966966
regs = get_FPRs(frame)
967967
for reg in regs:
968-
print "%s => %s" % (reg.GetName(), reg.GetValue())
968+
print("%s => %s" % (reg.GetName(), reg.GetValue()))
969969
...
970970
"""
971971
return get_registers(frame, "floating point")

0 commit comments

Comments
 (0)