diff options
Diffstat (limited to 'lldb/test/lang/c/stepping/TestStepAndBreakpoints.py')
-rw-r--r-- | lldb/test/lang/c/stepping/TestStepAndBreakpoints.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py b/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py index 903b2fe7f49..74d509bdc85 100644 --- a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py +++ b/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py @@ -185,17 +185,17 @@ class TestCStepping(TestBase): self.assertTrue (thread.GetFrameAtIndex(0).GetLineEntry().GetLine() == current_line) self.assertTrue (thread.GetFrameAtIndex(0).GetLineEntry().GetFileSpec() == current_file) - # Now we are going to test step in targetting a function: + # Now we are going to test step in targeting a function: break_in_b.SetEnabled (False) - break_before_complex_1 = target.BreakpointCreateBySourceRegex ('// Stop here to try step in targetting b.', self.main_source_spec) + break_before_complex_1 = target.BreakpointCreateBySourceRegex ('// Stop here to try step in targeting b.', self.main_source_spec) self.assertTrue(break_before_complex_1, VALID_BREAKPOINT) - break_before_complex_2 = target.BreakpointCreateBySourceRegex ('// Stop here to try step in targetting complex.', self.main_source_spec) + break_before_complex_2 = target.BreakpointCreateBySourceRegex ('// Stop here to try step in targeting complex.', self.main_source_spec) self.assertTrue(break_before_complex_2, VALID_BREAKPOINT) - break_before_complex_3 = target.BreakpointCreateBySourceRegex ('// Stop here to step targetting b and hitting breakpoint.', self.main_source_spec) + break_before_complex_3 = target.BreakpointCreateBySourceRegex ('// Stop here to step targeting b and hitting breakpoint.', self.main_source_spec) self.assertTrue(break_before_complex_3, VALID_BREAKPOINT) break_before_complex_4 = target.BreakpointCreateBySourceRegex ('// Stop here to make sure bogus target steps over.', self.main_source_spec) @@ -218,7 +218,7 @@ class TestCStepping(TestBase): thread.StepInto ("complex") self.assertTrue (thread.GetFrameAtIndex(0).GetFunctionName() == "complex") - # Now continue out and stop at the next call to complex. This time enable breakpoints in a and c and then step targetting b: + # Now continue out and stop at the next call to complex. This time enable breakpoints in a and c and then step targeting b: threads = lldbutil.continue_to_breakpoint (process, break_before_complex_3) self.assertTrue (len(threads) == 1) thread = threads[0] @@ -241,7 +241,7 @@ class TestCStepping(TestBase): process.Continue() self.assertTrue (thread.GetFrameAtIndex(0).GetFunctionName() == "b") - # Now continue out and stop at the next call to complex. This time enable breakpoints in a and c and then step targetting b: + # Now continue out and stop at the next call to complex. This time enable breakpoints in a and c and then step targeting b: threads = lldbutil.continue_to_breakpoint (process, break_before_complex_4) self.assertTrue (len(threads) == 1) thread = threads[0] |