Add test sequences for 'frame variable' address-of operator and 'frame variable' fully-qualified name variable.
Also add some comments.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119165 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/global_variables/TestGlobalVariables.py b/test/global_variables/TestGlobalVariables.py
index 4bb7f4f..581d123 100644
--- a/test/global_variables/TestGlobalVariables.py
+++ b/test/global_variables/TestGlobalVariables.py
@@ -56,6 +56,9 @@
                        'GLOBAL: (const char *) g_file_static_cstr',
                        '"g_file_static_cstr"'])
 
+        # 'frame variable' should support address-of operator.
+        self.runCmd("frame variable &g_file_global_int")
+
 
 if __name__ == '__main__':
     import atexit
diff --git a/test/namespace/TestNamespace.py b/test/namespace/TestNamespace.py
index 072ffbb..342dd11 100644
--- a/test/namespace/TestNamespace.py
+++ b/test/namespace/TestNamespace.py
@@ -54,14 +54,23 @@
             substrs = ['state is stopped',
                        'stop reason = breakpoint'])
 
+        # 'frame variable' with basename 'i' should work.
         self.expect("frame variable -c -G i",
             startstr = "main.cpp:%d: (int) (anonymous namespace)::i = 3" % self.line_var_i)
         # main.cpp:12: (int) (anonymous namespace)::i = 3
 
+        # 'frame variable' with basename 'j' should work, too.
         self.expect("frame variable -c -G j",
             startstr = "main.cpp:%d: (int) A::B::j = 4" % self.line_var_j)
         # main.cpp:19: (int) A::B::j = 4
 
+        # 'frame variable' should support address-of operator.
+        self.runCmd("frame variable &i")
+
+        # 'frame variable' with fully qualified name 'A::B::j' should work.
+        self.expect("frame variable 'A::B::j", VARIABLES_DISPLAYED_CORRECTLY,
+            startstr = '(int) A::B::j = 4')
+
         # rdar://problem/8660275
         # test/namespace: 'expression -- i+j' not working
         self.expect("expression -- i + j",