aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-07-09 20:18:54 +0000
committerGreg Clayton <gclayton@apple.com>2014-07-09 20:18:54 +0000
commit73d80faa78a4e25275f17f106721aac907da137b (patch)
tree4b5ce239b3f26d70626e9b0147c13a352fb99b62 /lldb/source/Commands/CommandObjectCommands.cpp
parentb7dd329f2f3ffdb8a1e5ec31e87e94a6038c2073 (diff)
downloadllvm-73d80faa78a4e25275f17f106721aac907da137b.zip
llvm-73d80faa78a4e25275f17f106721aac907da137b.tar.gz
llvm-73d80faa78a4e25275f17f106721aac907da137b.tar.bz2
Make sure the "command regex add" has a unique name for editline history purposes.
llvm-svn: 212644
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectCommands.cpp2
1 files changed, 1 insertions, 1 deletions
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