blob: cd1d02d22ffd67e720bc105bbd34e71a9997edb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
//===-- CommandObjectAdd.cpp ------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "CommandObjectAdd.h"
// C Includes
// C++ Includes
// Other libraries and framework includes
// Project includes
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Core/Options.h"
#include "lldb/Interpreter/CommandReturnObject.h"
using namespace lldb;
using namespace lldb_private;
//-------------------------------------------------------------------------
// CommandObjectAdd
//-------------------------------------------------------------------------
CommandObjectAdd::CommandObjectAdd () :
CommandObject ("add",
"Allows the user to add a new command/function pair to the debugger's dictionary.",
"add <new-command-name> <script-function-name>")
{
}
CommandObjectAdd::~CommandObjectAdd()
{
}
bool
CommandObjectAdd::Execute
(
Args& command,
CommandContext *context,
CommandInterpreter *interpreter,
CommandReturnObject &result
)
{
result.AppendMessage ("This function has not been implemented yet.");
result.SetStatus (eReturnStatusSuccessFinishNoResult);
return result.Succeeded();
}
|