diff options
author | Jim Ingham <jingham@apple.com> | 2010-07-07 03:36:20 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2010-07-07 03:36:20 +0000 |
commit | ebc09c36e98f6017b366e841ed4b1c6a411b8080 (patch) | |
tree | e8ee2d9b7b7e5e4bd10c91015823dea6c09af72b /lldb/source/Commands/CommandObjectSource.h | |
parent | 3df55b2d6f6dda0e7cfacfba0280148029ad639e (diff) | |
download | bcm5719-llvm-ebc09c36e98f6017b366e841ed4b1c6a411b8080.tar.gz bcm5719-llvm-ebc09c36e98f6017b366e841ed4b1c6a411b8080.zip |
Fix GetRepeatCommand so it works with multi-word commands.
Move the "source", "alias", and "unalias" commands to "commands *".
Move "source-file" to "source list".
Added a "source info" command but it isn't implemented yet.
llvm-svn: 107751
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.h')
-rw-r--r-- | lldb/source/Commands/CommandObjectSource.h | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.h b/lldb/source/Commands/CommandObjectSource.h index 8bc1ae58b3d..0daef138586 100644 --- a/lldb/source/Commands/CommandObjectSource.h +++ b/lldb/source/Commands/CommandObjectSource.h @@ -1,4 +1,4 @@ -//===-- CommandObjectSource.h -----------------------------------*- C++ -*-===// +//===-- CommandObjectSource.h.h -----------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -15,33 +15,26 @@ // Other libraries and framework includes // Project includes #include "lldb/Interpreter/CommandObject.h" +#include "lldb/Interpreter/CommandObjectMultiword.h" #include "lldb/Core/STLUtils.h" namespace lldb_private { //------------------------------------------------------------------------- -// CommandObjectSource +// CommandObjectMultiwordSource //------------------------------------------------------------------------- -class CommandObjectSource : public CommandObject +class CommandObjectMultiwordSource : public CommandObjectMultiword { public: - CommandObjectSource (); + CommandObjectMultiwordSource (CommandInterpreter &interpreter); virtual - ~CommandObjectSource (); - - STLStringArray & - GetCommands (); - - virtual bool - Execute (CommandInterpreter &interpreter, - Args& command, - CommandReturnObject &result); + ~CommandObjectMultiwordSource (); }; } // namespace lldb_private -#endif // liblldb_CommandObjectSource_h_ +#endif // liblldb_CommandObjectSource.h_h_ |