[Lldb-commits] [lldb] r117924 - in /lldb/trunk/test: array_types/TestArrayTypes.py lldbtest.py

Johnny Chen johnny.chen at apple.com
Mon Nov 1 09:08:47 PDT 2010


Author: johnny
Date: Mon Nov  1 11:08:47 2010
New Revision: 117924

URL: http://llvm.org/viewvc/llvm-project?rev=117924&view=rev
Log:
Python API changes: SBValue.IsPtrType() -> SBValue.IsPointerType().
                    SBFrame print representation: idx: 0 -> #0

Modified:
    lldb/trunk/test/array_types/TestArrayTypes.py
    lldb/trunk/test/lldbtest.py

Modified: lldb/trunk/test/array_types/TestArrayTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/array_types/TestArrayTypes.py?rev=117924&r1=117923&r2=117924&view=diff
==============================================================================
--- lldb/trunk/test/array_types/TestArrayTypes.py (original)
+++ lldb/trunk/test/array_types/TestArrayTypes.py Mon Nov  1 11:08:47 2010
@@ -145,7 +145,7 @@
         self.expect(frm,
                     "Frame looks good with correct index %d" % frame.GetFrameID(),
                     exe=False,
-            substrs = ["idx = %d" % frame.GetFrameID()])
+            substrs = ["#%d" % frame.GetFrameID()])
 
         # Lookup the "strings" string array variable and sanity check its print
         # representation.

Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=117924&r1=117923&r2=117924&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Mon Nov  1 11:08:47 2010
@@ -781,11 +781,11 @@
 
         err = sys.stderr
         err.write(val.GetName() + ":\n")
-        err.write('\t' + "TypeName    -> " + val.GetTypeName()          + '\n')
-        err.write('\t' + "ByteSize    -> " + str(val.GetByteSize())     + '\n')
-        err.write('\t' + "NumChildren -> " + str(val.GetNumChildren())  + '\n')
-        err.write('\t' + "Value       -> " + str(val.GetValue(frame))   + '\n')
-        err.write('\t' + "Summary     -> " + str(val.GetSummary(frame)) + '\n')
-        err.write('\t' + "IsPtrType   -> " + str(val.TypeIsPtrType())   + '\n')
-        err.write('\t' + "Location    -> " + val.GetLocation(frame)     + '\n')
+        err.write('\t' + "TypeName      -> " + val.GetTypeName()            + '\n')
+        err.write('\t' + "ByteSize      -> " + str(val.GetByteSize())       + '\n')
+        err.write('\t' + "NumChildren   -> " + str(val.GetNumChildren())    + '\n')
+        err.write('\t' + "Value         -> " + str(val.GetValue(frame))     + '\n')
+        err.write('\t' + "Summary       -> " + str(val.GetSummary(frame))   + '\n')
+        err.write('\t' + "IsPointerType -> " + str(val.TypeIsPointerType()) + '\n')
+        err.write('\t' + "Location      -> " + val.GetLocation(frame)       + '\n')
 





More information about the lldb-commits mailing list