diff options
| author | Jim Ingham <jingham@apple.com> | 2010-07-06 22:46:59 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2010-07-06 22:46:59 +0000 |
| commit | 279a6c26698c4a09784cce11e69ea9da86681406 (patch) | |
| tree | ed3f56f9135d46bb4c3e9a26fed42789b02baf38 /lldb/source/Interpreter/CommandObject.cpp | |
| parent | 13f0260e76dd8f55ba6d507afa589d0b863e9900 (diff) | |
| download | bcm5719-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.cpp | 1 |
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]) |

