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
14 // class. To enable the new command for interpretation add the new
16 // to the command factory. The files of relevance are:
20 // For an introduction to adding a new command see
21 // CMICmdCmdSupportInfoMiCmdQuery
22 // command class as an example.
27 #include "MICmdBase.h"
28 #include "MICmnMIValueList.h"
29 #include "MICmnMIValueTuple.h"
32 //============================================================================
33 // Details: MI command class. MI commands derived from the command base class.
34 // *this class implements MI command "file-exec-and-symbols".
35 // This command does not follow the MI documentation exactly.
36 // Gotchas: This command has additional flags that were not available in GDB MI.
37 // See MIextensions.txt for details.
39 class CMICmdCmdFileExecAndSymbols : public CMICmdBase {
42 // Required by the CMICmdFactory when registering *this command
43 static CMICmdBase *CreateSelf();
47 /* ctor */ CMICmdCmdFileExecAndSymbols();
51 // From CMICmdInvoker::ICmd
52 bool Execute() override;
53 bool Acknowledge() override;
54 bool ParseArgs() override;
56 /* dtor */ ~CMICmdCmdFileExecAndSymbols() override;
57 bool GetExitAppOnCommandFailure() const override;
61 const CMIUtilString m_constStrArgNameFile;
63 m_constStrArgNamedPlatformName; // Added to support iOS platform selection
64 const CMIUtilString m_constStrArgNamedRemotePath; // Added to support iOS