[Lldb-commits] [lldb] r212644 - Make sure the "command regex add" has a unique name for editline history purposes.

Greg Clayton gclayton at apple.com
Wed Jul 9 13:18:54 PDT 2014


Author: gclayton
Date: Wed Jul  9 15:18:54 2014
New Revision: 212644

URL: http://llvm.org/viewvc/llvm-project?rev=212644&view=rev
Log:
Make sure the "command regex add" has a unique name for editline history purposes.

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

Modified: lldb/trunk/source/Commands/CommandObjectCommands.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectCommands.cpp?rev=212644&r1=212643&r2=212644&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectCommands.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectCommands.cpp Wed Jul  9 15:18:54 2014
@@ -1034,7 +1034,7 @@ protected:
                 Debugger &debugger = m_interpreter.GetDebugger();
                 const bool multiple_lines = true; // Get multiple lines
                 IOHandlerSP io_handler_sp (new IOHandlerEditline (debugger,
-                                                                  "lldb",       // Name of input reader for history
+                                                                  "lldb-regex", // Name of input reader for history
                                                                   "\033[K> ",   // Prompt and clear line
                                                                   multiple_lines,
                                                                   0,            // Don't show line numbers





More information about the lldb-commits mailing list