1 //===-- MICmdCmdGdbThread.h -------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Overview: CMICmdCmdGdbThread interface.
11 // To implement new MI commands derive a new command class from the
13 // class. To enable the new command for interpretation add the new
15 // to the command factory. The files of relevance are:
19 // For an introduction to adding a new command see
20 // CMICmdCmdSupportInfoMiCmdQuery
21 // command class as an example.
26 #include "MICmdBase.h"
29 //============================================================================
30 // Details: MI command class. MI commands derived from the command base class.
31 // *this class implements GDB command "thread".
33 class CMICmdCmdGdbThread : public CMICmdBase {
36 // Required by the CMICmdFactory when registering *this command
37 static CMICmdBase *CreateSelf();
41 /* ctor */ CMICmdCmdGdbThread();
45 // From CMICmdInvoker::ICmd
46 bool Execute() override;
47 bool Acknowledge() override;
49 /* dtor */ ~CMICmdCmdGdbThread() override;