|  Johnny Chen | 36d7d91616 | Add an additional formatter class RecursiveDecentFormatter which prints the value and the decendents.  For an example,
rdf = lldbutil.RecursiveDecentFormatter(indent_child=2)
print rdf.format(g_table)
produces:
(const char **[2]) g_table = 0x00000001055a80f0 (location)
  (const char **) [0] = 0x00000001055a8080
    (const char *) *[0] = "Sunday"
  (const char **) [1] = 0x00000001055a80c0
    (const char *) *[1] = "Monday"
llvm-svn: 135815 | 2011-07-22 22:01:35 +00:00 | 
				
					
						|  Johnny Chen | 989b7efd8a | Add BasicFormatter and ChildVisitingFormatter utility classes to the lldbutil.py module which provide some convenient ways to print an SBValue object.  Use that in TestValueAPI.py
to print the 'days_of_week' char* array variable.
For an example:
cvf = lldbutil.ChildVisitingFormatter(indent=2)
print cvf.format(days_of_week)
produces:
(const char *[7]) days_of_week = 0x00000001026a5060 (location)
  (const char *) [0] = "Sunday"
  (const char *) [1] = "Monday"
  (const char *) [2] = "Tuesday"
  (const char *) [3] = "Wednesday"
  (const char *) [4] = "Thursday"
  (const char *) [5] = "Friday"
  (const char *) [6] = "Saturday"
llvm-svn: 135736 | 2011-07-22 00:47:58 +00:00 | 
				
					
						|  Johnny Chen | 6cbb8d684f | Add test scenario of SBValue APIs for the 'days_of_week' global variable. llvm-svn: 135716 | 2011-07-21 23:02:00 +00:00 | 
				
					
						|  Johnny Chen | 6853cf66d1 | Add test scenario for exercising SBValue API: TypeIsPointerType() and GetByteSize(). llvm-svn: 135699 | 2011-07-21 19:31:59 +00:00 | 
				
					
						|  Johnny Chen | 5819ab49fd | Add TestValueAPI.py to exercise the newly added/modified SBValue APIs: o GetChildAtIndex, and
o GetValueForExpressionPath
llvm-svn: 135315 | 2011-07-15 22:28:10 +00:00 |