summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/examples/python')
-rwxr-xr-xlldb/examples/python/disasm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/disasm.py b/lldb/examples/python/disasm.py
index 67a7c6dcc80..732cf106b11 100755
--- a/lldb/examples/python/disasm.py
+++ b/lldb/examples/python/disasm.py
@@ -95,7 +95,7 @@ if target:
#print value
print "%s (number of children = %d):" % (value.GetName(), value.GetNumChildren())
for child in value:
- print "Name: ", child.GetName(), " Value: ", child.GetValue(frame)
+ print "Name: ", child.GetName(), " Value: ", child.GetValue()
print "Hit the breakpoint at main, enter to continue and wait for program to exit or 'Ctrl-D'/'quit' to terminate the program"
next = sys.stdin.readline()
OpenPOWER on IntegriCloud