[Lldb-commits] [lldb] r130741 - /lldb/trunk/source/Commands/CommandObjectTarget.cpp

Johnny Chen johnny.chen at apple.com
Mon May 2 17:06:12 PDT 2011


Author: johnny
Date: Mon May  2 19:06:12 2011
New Revision: 130741

URL: http://llvm.org/viewvc/llvm-project?rev=130741&view=rev
Log:
The 'target stop-hook add' command is missing the stop hook added message for one-liner.

Modified:
    lldb/trunk/source/Commands/CommandObjectTarget.cpp

Modified: lldb/trunk/source/Commands/CommandObjectTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectTarget.cpp?rev=130741&r1=130740&r2=130741&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectTarget.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectTarget.cpp Mon May  2 19:06:12 2011
@@ -1161,6 +1161,7 @@
             {
                 // Use one-liner.
                 new_hook_sp->GetCommandPointer()->AppendString (m_options.m_one_liner.c_str());
+                result.AppendMessageWithFormat("Stop hook #%d added.\n", new_hook_sp->GetID());
             }
             else
             {





More information about the lldb-commits mailing list