]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/tools/lldb-mi/MICmdCmdGdbThread.h
Update LLDB snapshot to upstream r241361
[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 // Gotchas: None.
30 // Authors: Illya Rudkin 25/02/2014.
31 // Changes: None.
32 //--
33 class CMICmdCmdGdbThread : public CMICmdBase
34 {
35     // Statics:
36   public:
37     // Required by the CMICmdFactory when registering *this command
38     static CMICmdBase *CreateSelf(void);
39
40     // Methods:
41   public:
42     /* ctor */ CMICmdCmdGdbThread(void);
43
44     // Overridden:
45   public:
46     // From CMICmdInvoker::ICmd
47     virtual bool Execute(void);
48     virtual bool Acknowledge(void);
49     // From CMICmnBase
50     /* dtor */ virtual ~CMICmdCmdGdbThread(void);
51 };