1 //===-- MICmdCmdFile.h ------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Overview: CMICmdCmdFileExecAndSymbols interface.
12 // To implement new MI commands derive a new command class from the command base
13 // class. To enable the new command for interpretation add the new command class
14 // to the command factory. The files of relevance are:
18 // For an introduction to adding a new command see CMICmdCmdSupportInfoMiCmdQuery
19 // command class as an example.
24 #include "MICmdBase.h"
25 #include "MICmnMIValueTuple.h"
26 #include "MICmnMIValueList.h"
28 //++ ============================================================================
29 // Details: MI command class. MI commands derived from the command base class.
30 // *this class implements MI command "file-exec-and-symbols".
31 // This command does not follow the MI documentation exactly.
32 // Gotchas: This command has additional flags that were not available in GDB MI.
33 // See MIextensions.txt for details.
35 class CMICmdCmdFileExecAndSymbols : public CMICmdBase
39 // Required by the CMICmdFactory when registering *this command
40 static CMICmdBase *CreateSelf();
44 /* ctor */ CMICmdCmdFileExecAndSymbols();
48 // From CMICmdInvoker::ICmd
49 bool Execute() override;
50 bool Acknowledge() override;
51 bool ParseArgs() override;
53 /* dtor */ ~CMICmdCmdFileExecAndSymbols() override;
54 bool GetExitAppOnCommandFailure() const override;
58 const CMIUtilString m_constStrArgNameFile;
59 const CMIUtilString m_constStrArgNamedPlatformName; // Added to support iOS platform selection
60 const CMIUtilString m_constStrArgNamedRemotePath; // Added to support iOS device remote file location