diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2010-11-03 22:00:28 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2010-11-03 22:00:28 +0000 |
| commit | fb53d5069d36073c505a47fd42d02a8fd7202199 (patch) | |
| tree | 72ad79a48d286b0c5d177e039cb1e972733136f4 | |
| parent | 87bb589c4df6b76629e6fab1e99c65854d3abfb7 (diff) | |
| download | bcm5719-llvm-fb53d5069d36073c505a47fd42d02a8fd7202199.tar.gz bcm5719-llvm-fb53d5069d36073c505a47fd42d02a8fd7202199.zip | |
Fix an incorrect comment in main.c and TestConditionalBreak.py.
It should be c's parent frame being a instead of the other way around.
llvm-svn: 118198
| -rw-r--r-- | lldb/test/conditional_break/TestConditionalBreak.py | 2 | ||||
| -rw-r--r-- | lldb/test/conditional_break/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/conditional_break/TestConditionalBreak.py b/lldb/test/conditional_break/TestConditionalBreak.py index 3ca1df1e9c3..2da1a0addb1 100644 --- a/lldb/test/conditional_break/TestConditionalBreak.py +++ b/lldb/test/conditional_break/TestConditionalBreak.py @@ -61,7 +61,7 @@ class ConditionalBreakTestCase(TestBase): # Find the line number where a's parent frame function is c. line = line_number('main.c', - "// Find the line number where a's parent frame function is c here.") + "// Find the line number where c's parent frame is a here.") # Suppose we are only interested in the call scenario where c()'s # immediate caller is a() and we want to find out the value passed from diff --git a/lldb/test/conditional_break/main.c b/lldb/test/conditional_break/main.c index feb20f423e6..1329fd69a2e 100644 --- a/lldb/test/conditional_break/main.c +++ b/lldb/test/conditional_break/main.c @@ -24,7 +24,7 @@ int a(int val) if (val <= 1) return b(val); else if (val >= 3) - return c(val); // Find the line number where a's parent frame function is c here. + return c(val); // Find the line number where c's parent frame is a here. return val; } |

