<rdar://problem/12028723>
Adding useful formatting options to the expression (expr) command.
As a side effect of this change, the -d option now supports the same three-values enumeration that frame variables uses (run, don't run, none) instead of a boolean like it did previously
These options do not apply to print, p or po because these are aliased to not take any options.
In order to use them, use expression or expr.
llvm-svn: 171993
diff --git a/lldb/test/lang/c/strings/TestCStrings.py b/lldb/test/lang/c/strings/TestCStrings.py
index 089e23e..0a1a826 100644
--- a/lldb/test/lang/c/strings/TestCStrings.py
+++ b/lldb/test/lang/c/strings/TestCStrings.py
@@ -53,9 +53,9 @@
startstr = "(const char) $4 = '\\0'")
self.expect("p \"hello\"",
- substrs = ['(const char [6]) $', 'hello',
- '(const char) [0] = \'h\'',
- '(const char) [5] = \'\\0\''])
+ substrs = ['[6]) $', 'hello',
+ '[0] = \'h\'',
+ '[5] = \'\\0\''])
self.expect("p (char*)\"hello\"",
substrs = ['(char *) $', ' = 0x',