From 73d80faa78a4e25275f17f106721aac907da137b Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 9 Jul 2014 20:18:54 +0000 Subject: [PATCH] Make sure the "command regex add" has a unique name for editline history purposes. llvm-svn: 212644 --- lldb/source/Commands/CommandObjectCommands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp index 04c5e1a..7d9bb7d 100644 --- a/lldb/source/Commands/CommandObjectCommands.cpp +++ b/lldb/source/Commands/CommandObjectCommands.cpp @@ -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 -- 2.7.4