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 class CMICmdCmdGdbThread : public CMICmdBase
34 // Required by the CMICmdFactory when registering *this command
35 static CMICmdBase *CreateSelf();
39 /* ctor */ CMICmdCmdGdbThread();
43 // From CMICmdInvoker::ICmd
44 bool Execute() override;
45 bool Acknowledge() override;
47 /* dtor */ ~CMICmdCmdGdbThread() override;