Don't use "lldb." global variables in LLDB commands.

llvm-svn: 212852
diff --git a/lldb/examples/python/stacks.py b/lldb/examples/python/stacks.py
index aee8c91..06907e1 100755
--- a/lldb/examples/python/stacks.py
+++ b/lldb/examples/python/stacks.py
@@ -16,8 +16,11 @@
     except:
         return
     
+    target = debugger.GetSelectedTarget()
+    process = target.GetProcess()
+    
     frame_info = {}
-    for thread in lldb.process:
+    for thread in process:
         last_frame = None
         print "thread %u" % (thread.id)
         for frame in thread.frames: