]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/tools/lldb-mi/MICmdCmdGdbThread.h
Update clang to trunk r256945.
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / tools / lldb-mi / MICmdCmdGdbThread.h
1 //===-- MICmdCmdGdbThread.h -------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 // Overview:    CMICmdCmdGdbThread      interface.
11 //
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:
15 //                  MICmdCommands.cpp
16 //                  MICmdBase.h / .cpp
17 //                  MICmdCmd.h / .cpp
18 //              For an introduction to adding a new command see CMICmdCmdSupportInfoMiCmdQuery
19 //              command class as an example.
20
21 #pragma once
22
23 // In-house headers:
24 #include "MICmdBase.h"
25
26 //++ ============================================================================
27 // Details: MI command class. MI commands derived from the command base class.
28 //          *this class implements GDB command "thread".
29 //--
30 class CMICmdCmdGdbThread : public CMICmdBase
31 {
32     // Statics:
33   public:
34     // Required by the CMICmdFactory when registering *this command
35     static CMICmdBase *CreateSelf();
36
37     // Methods:
38   public:
39     /* ctor */ CMICmdCmdGdbThread();
40
41     // Overridden:
42   public:
43     // From CMICmdInvoker::ICmd
44     bool Execute() override;
45     bool Acknowledge() override;
46     // From CMICmnBase
47     /* dtor */ ~CMICmdCmdGdbThread() override;
48 };