Change the rest of lldbutil.py's function names to all lower case formats to be consistent.
And modify the test cases accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@130314 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/lldbtest.py b/test/lldbtest.py
index 5d85c7b..583cf14 100644
--- a/test/lldbtest.py
+++ b/test/lldbtest.py
@@ -863,7 +863,7 @@
thread = process.GetThreadAtIndex(0)
SR = thread.GetStopReason()
with recording(self, trace) as sbuf:
- print >> sbuf, "StopReason =", StopReasonString(SR)
+ print >> sbuf, "StopReason =", stop_reason_to_str(SR)
if SR == StopReasonEnum("Breakpoint"):
frame = thread.GetFrameAtIndex(0)
@@ -932,7 +932,7 @@
def DebugSBValue(self, frame, val):
"""Debug print a SBValue object, if traceAlways is True."""
- from lldbutil import ValueTypeString
+ from lldbutil import value_type_to_str
if not traceAlways:
return
@@ -943,7 +943,7 @@
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' + "ValueType -> " + ValueTypeString(val.GetValueType()) + '\n')
+ err.write('\t' + "ValueType -> " + value_type_to_str(val.GetValueType()) + '\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')