summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-07-06 22:46:59 +0000
committerJim Ingham <jingham@apple.com>2010-07-06 22:46:59 +0000
commit279a6c26698c4a09784cce11e69ea9da86681406 (patch)
treeed3f56f9135d46bb4c3e9a26fed42789b02baf38 /lldb/source/Interpreter/CommandObject.cpp
parent13f0260e76dd8f55ba6d507afa589d0b863e9900 (diff)
downloadbcm5719-llvm-279a6c26698c4a09784cce11e69ea9da86681406.tar.gz
bcm5719-llvm-279a6c26698c4a09784cce11e69ea9da86681406.zip
Hide the logic for command resolution for commands, aliases & user commands behind a single
interface so everybody does it the same way. Add an "exact" lookup for internal uses. Fix up a few little cases where we weren't reporting command lookup errors correctly. Added "b" as an alias for "breakpoint" so it doesn't collide with "bt". llvm-svn: 107718
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 7ee9137b0e1..88841c4bae7 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -43,6 +43,7 @@ CommandObject::CommandObject (const char *name, const char *help, const char *sy
m_cmd_help_short (),
m_cmd_help_long (),
m_cmd_syntax (),
+ m_is_alias (false),
m_flags (flags)
{
if (help && help[0])
OpenPOWER on IntegriCloud