Modify the test suite and lldbutil.py to utilize the Python iteration pattern now that
the lldb iteration protocol has been added to lldb.py module.
llvm-svn: 130452
diff --git a/lldb/test/python_api/frame/TestFrames.py b/lldb/test/python_api/frame/TestFrames.py
index 2ce9fd9..038264e 100644
--- a/lldb/test/python_api/frame/TestFrames.py
+++ b/lldb/test/python_api/frame/TestFrames.py
@@ -80,8 +80,7 @@
# in_scope_only => True
valList = frame.GetVariables(True, False, False, True)
argList = []
- from lldbutil import lldb_iter
- for val in lldb_iter(valList, 'GetSize', 'GetValueAtIndex'):
+ for val in valList:
#self.DebugSBValue(frame, val)
argList.append("(%s)%s=%s" % (val.GetTypeName(),
val.GetName(),