Fix a problem with the const_variables test case (another lldb bug remains)

- make the test case step past the location where 'index' is initialized, otherwise its value cannot be printed (verified gcc 4.6/4.7 and recent clang)
- "Couldn't materialize struct" error from LLDB still prevents this test case from passing

llvm-svn: 175653
This commit is contained in:
Daniel Malea 2013-02-20 19:41:49 +00:00
parent 4467d79ad4
commit 294c5e1cc3
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ class ConstVariableTestCase(TestBase):
self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE,
substrs = [' resolved, hit count = 1'])
self.runCmd("next")
# Try frame variable.
self.expect("frame variable index", VARIABLES_DISPLAYED_CORRECTLY,
substrs = ['(int32_t) index = 512'])