
This patch introduces a new top-level `scripting` command with an `run` sub-command, that basically replaces the `script` raw command. To avoid breaking the `script` command usages, this patch also adds an `script` alias to the `scripting run` sub-command. The reason behind this change is to have a top-level command that will cover scripting related subcommands. Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
26 lines
853 B
C++
26 lines
853 B
C++
//===-- CommandObjectScripting.h --------------------------------*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLDB_SOURCE_INTERPRETER_COMMANDOBJECTSCRIPTING_H
|
|
#define LLDB_SOURCE_INTERPRETER_COMMANDOBJECTSCRIPTING_H
|
|
|
|
#include "lldb/Interpreter/CommandObjectMultiword.h"
|
|
|
|
namespace lldb_private {
|
|
|
|
class CommandObjectMultiwordScripting : public CommandObjectMultiword {
|
|
public:
|
|
CommandObjectMultiwordScripting(CommandInterpreter &interpreter);
|
|
|
|
~CommandObjectMultiwordScripting() override;
|
|
};
|
|
|
|
} // namespace lldb_private
|
|
|
|
#endif // LLDB_SOURCE_INTERPRETER_COMMANDOBJECTSCRIPTING_H
|