1 //===-- MICmdCmdGdbThread.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: CMICmdCmdGdbThread 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"
26 //++ ============================================================================
27 // Details: MI command class. MI commands derived from the command base class.
28 // *this class implements GDB command "thread".
30 // Authors: Illya Rudkin 25/02/2014.
33 class CMICmdCmdGdbThread : public CMICmdBase
37 // Required by the CMICmdFactory when registering *this command
38 static CMICmdBase *CreateSelf(void);
42 /* ctor */ CMICmdCmdGdbThread(void);
46 // From CMICmdInvoker::ICmd
47 virtual bool Execute(void);
48 virtual bool Acknowledge(void);
50 /* dtor */ virtual ~CMICmdCmdGdbThread(void);