Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
tools/lldb-mi/MICmdCmdExec.h
Show All 12 Lines | |||||
// Overview: CMICmdCmdExecRun interface. | // Overview: CMICmdCmdExecRun interface. | ||||
// CMICmdCmdExecContinue interface. | // CMICmdCmdExecContinue interface. | ||||
// CMICmdCmdExecNext interface. | // CMICmdCmdExecNext interface. | ||||
// CMICmdCmdExecStep interface. | // CMICmdCmdExecStep interface. | ||||
// CMICmdCmdExecNextInstruction interface. | // CMICmdCmdExecNextInstruction interface. | ||||
// CMICmdCmdExecStepInstruction interface. | // CMICmdCmdExecStepInstruction interface. | ||||
// CMICmdCmdExecFinish interface. | // CMICmdCmdExecFinish interface. | ||||
// CMICmdCmdExecInterrupt interface. | // CMICmdCmdExecInterrupt interface. | ||||
// CMICmdCmdExecArguments interface. | |||||
// | // | ||||
// To implement new MI commands derive a new command class from the command base | // To implement new MI commands derive a new command class from the command base | ||||
// class. To enable the new command for interpretation add the new command class | // class. To enable the new command for interpretation add the new command class | ||||
// to the command factory. The files of relevance are: | // to the command factory. The files of relevance are: | ||||
// MICmdCommands.cpp | // MICmdCommands.cpp | ||||
// MICmdBase.h / .cpp | // MICmdBase.h / .cpp | ||||
// MICmdCmd.h / .cpp | // MICmdCmd.h / .cpp | ||||
// For an introduction to adding a new command see CMICmdCmdSupportInfoMiCmdQuery | // For an introduction to adding a new command see CMICmdCmdSupportInfoMiCmdQuery | ||||
▲ Show 20 Lines • Show All 273 Lines • ▼ Show 20 Lines | public: | ||||
virtual bool Acknowledge(void); | virtual bool Acknowledge(void); | ||||
// From CMICmnBase | // From CMICmnBase | ||||
/* dtor */ virtual ~CMICmdCmdExecInterrupt(void); | /* dtor */ virtual ~CMICmdCmdExecInterrupt(void); | ||||
// Attributes: | // Attributes: | ||||
private: | private: | ||||
lldb::SBCommandReturnObject m_lldbResult; | lldb::SBCommandReturnObject m_lldbResult; | ||||
}; | }; | ||||
//++ ============================================================================ | |||||
// Details: MI command class. MI commands derived from the command base class. | |||||
// *this class implements MI command "exec-arguments". | |||||
// Gotchas: None. | |||||
// Authors: Ilia Kirianovskii 25/11/2014. | |||||
// Changes: None. | |||||
//-- | |||||
class CMICmdCmdExecArguments : public CMICmdBase | |||||
{ | |||||
// Statics: | |||||
public: | |||||
// Required by the CMICmdFactory when registering *this command | |||||
static CMICmdBase *CreateSelf(void); | |||||
// Methods: | |||||
public: | |||||
/* ctor */ CMICmdCmdExecArguments(void); | |||||
// Overridden: | |||||
public: | |||||
// From CMICmdInvoker::ICmd | |||||
virtual bool Execute(void); | |||||
virtual bool Acknowledge(void); | |||||
virtual bool ParseArgs(void); | |||||
// From CMICmnBase | |||||
/* dtor */ virtual ~CMICmdCmdExecArguments(void); | |||||
// Attributes: | |||||
private: | |||||
const CMIUtilString m_constStrArgArguments; | |||||
}; |