[Lldb-commits] [lldb] r114377 - /lldb/trunk/test/conditional_break/conditional_break.py

Johnny Chen johnny.chen at apple.com
Mon Sep 20 16:51:28 PDT 2010


Author: johnny
Date: Mon Sep 20 18:51:27 2010
New Revision: 114377

URL: http://llvm.org/viewvc/llvm-project?rev=114377&view=rev
Log:
Changed this breakpoint callback function to print to the stdout instead of
stderr so as not to disrupt the information emitted by the unittest framework.

Modified:
    lldb/trunk/test/conditional_break/conditional_break.py

Modified: lldb/trunk/test/conditional_break/conditional_break.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/conditional_break/conditional_break.py?rev=114377&r1=114376&r2=114377&view=diff
==============================================================================
--- lldb/trunk/test/conditional_break/conditional_break.py (original)
+++ lldb/trunk/test/conditional_break/conditional_break.py Mon Sep 20 18:51:27 2010
@@ -24,15 +24,15 @@
     # of the leaf function c() is a().  If it's not the right caller, we ask the
     # command interpreter to continue execution.
 
-    print >> sys.stderr, "Checking call frames..."
+    print >> sys.stdout, "Checking call frames..."
     lldbutil.PrintStackTrace(thread)
     if thread.GetNumFrames() >= 2:
         funcs = lldbutil.GetFunctionNames(thread)
-        print >> sys.stderr, funcs[0], "called from", funcs[1]
+        print >> sys.stdout, funcs[0], "called from", funcs[1]
         if (funcs[0] == 'c' and funcs[1] == 'a'):
-            print >> sys.stderr, "Stopped at c() with immediate caller as a()."
+            print >> sys.stdout, "Stopped at c() with immediate caller as a()."
         else:
-            print >> sys.stderr, "Continuing..."
+            print >> sys.stdout, "Continuing..."
             ci.HandleCommand("process continue", res)
 
     return True





More information about the lldb-commits mailing list