1 //===-- MICmdCmdSymbol.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: CMICmdCmdSymbolListLines 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.
26 // Third party headers:
27 #include "lldb/API/SBCommandReturnObject.h"
30 #include "MICmdBase.h"
33 //============================================================================
34 // Details: MI command class. MI commands derived from the command base class.
35 // *this class implements MI command "symbol-list-lines".
37 class CMICmdCmdSymbolListLines : public CMICmdBase {
40 // Required by the CMICmdFactory when registering *this command
41 static CMICmdBase *CreateSelf();
45 /* ctor */ CMICmdCmdSymbolListLines();
49 // From CMICmdInvoker::ICmd
50 bool Execute() override;
51 bool Acknowledge() override;
52 bool ParseArgs() override;
54 /* dtor */ ~CMICmdCmdSymbolListLines() override;
58 lldb::SBCommandReturnObject m_lldbResult;
59 const CMIUtilString m_constStrArgNameFile;