[Lldb-commits] [lldb] r118198 - in /lldb/trunk/test/conditional_break: TestConditionalBreak.py main.c

Johnny Chen johnny.chen at apple.com
Wed Nov 3 15:00:28 PDT 2010


Author: johnny
Date: Wed Nov  3 17:00:28 2010
New Revision: 118198

URL: http://llvm.org/viewvc/llvm-project?rev=118198&view=rev
Log:
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.

Modified:
    lldb/trunk/test/conditional_break/TestConditionalBreak.py
    lldb/trunk/test/conditional_break/main.c

Modified: lldb/trunk/test/conditional_break/TestConditionalBreak.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/conditional_break/TestConditionalBreak.py?rev=118198&r1=118197&r2=118198&view=diff
==============================================================================
--- lldb/trunk/test/conditional_break/TestConditionalBreak.py (original)
+++ lldb/trunk/test/conditional_break/TestConditionalBreak.py Wed Nov  3 17:00:28 2010
@@ -61,7 +61,7 @@
 
         # 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

Modified: lldb/trunk/test/conditional_break/main.c
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/conditional_break/main.c?rev=118198&r1=118197&r2=118198&view=diff
==============================================================================
--- lldb/trunk/test/conditional_break/main.c (original)
+++ lldb/trunk/test/conditional_break/main.c Wed Nov  3 17:00:28 2010
@@ -24,7 +24,7 @@
     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;
 }





More information about the lldb-commits mailing list