forked from OSchip/llvm-project
Don't use "lldb." global variables in LLDB commands.
llvm-svn: 212852
This commit is contained in:
parent
04b444913b
commit
bca7db7177
|
@ -16,8 +16,11 @@ def stack_frames(debugger, command, result, dict):
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue