summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectCommands.h
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-07-07 03:36:20 +0000
committerJim Ingham <jingham@apple.com>2010-07-07 03:36:20 +0000
commitebc09c36e98f6017b366e841ed4b1c6a411b8080 (patch)
treee8ee2d9b7b7e5e4bd10c91015823dea6c09af72b /lldb/source/Commands/CommandObjectCommands.h
parent3df55b2d6f6dda0e7cfacfba0280148029ad639e (diff)
downloadbcm5719-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/CommandObjectCommands.h')
-rw-r--r--lldb/source/Commands/CommandObjectCommands.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectCommands.h b/lldb/source/Commands/CommandObjectCommands.h
new file mode 100644
index 00000000000..8a56e8dae6f
--- /dev/null
+++ b/lldb/source/Commands/CommandObjectCommands.h
@@ -0,0 +1,40 @@
+//===-- CommandObjectCommands.h -----------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef liblldb_CommandObjectCommands_h_
+#define liblldb_CommandObjectCommands_h_
+
+// C Includes
+// C++ Includes
+// 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 {
+
+//-------------------------------------------------------------------------
+// CommandObjectMultiwordCommands
+//-------------------------------------------------------------------------
+
+class CommandObjectMultiwordCommands : public CommandObjectMultiword
+{
+public:
+
+ CommandObjectMultiwordCommands (CommandInterpreter &interpreter);
+
+ virtual
+ ~CommandObjectMultiwordCommands ();
+
+};
+
+} // namespace lldb_private
+
+#endif // liblldb_CommandObjectCommands_h_
OpenPOWER on IntegriCloud