2023-08-08 15:37:39 +02:00
|
|
|
// Copyright (C) 2023 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "dapengine.h"
|
|
|
|
|
|
|
|
|
|
namespace Debugger::Internal {
|
|
|
|
|
|
|
|
|
|
class GdbDapEngine : public DapEngine
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
GdbDapEngine();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void setupEngine() override;
|
2023-09-08 16:05:22 +02:00
|
|
|
|
|
|
|
|
void handleDapInitialize() override;
|
|
|
|
|
void handleDapConfigurationDone() override;
|
|
|
|
|
|
|
|
|
|
bool isLocalAttachEngine() const;
|
2023-09-12 10:44:57 +02:00
|
|
|
|
|
|
|
|
const QLoggingCategory &logCategory() override
|
|
|
|
|
{
|
|
|
|
|
static const QLoggingCategory logCategory = QLoggingCategory("qtc.dbg.dapengine.gdb",
|
|
|
|
|
QtWarningMsg);
|
|
|
|
|
return logCategory;
|
|
|
|
|
}
|
2023-08-08 15:37:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // Debugger::Internal
|