aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/gdb/gdbsettings.h
blob: 98b1bf78cb57cc7c9838486b420b81769f6126ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <utils/aspects.h>

namespace Debugger::Internal {

class GdbSettings : public Utils::AspectContainer
{
public:
    GdbSettings();

    Utils::IntegerAspect gdbWatchdogTimeout{this};
    Utils::BoolAspect skipKnownFrames{this};
    Utils::BoolAspect useMessageBoxForSignals{this};
    Utils::BoolAspect adjustBreakpointLocations{this};
    Utils::BoolAspect useDynamicType{this};
    Utils::BoolAspect loadGdbInit{this};
    Utils::BoolAspect loadGdbDumpers{this};
    Utils::BoolAspect intelFlavor{this};
    Utils::BoolAspect usePseudoTracepoints{this};
    Utils::BoolAspect useIndexCache{this};
    Utils::TriStateAspect useDebugInfoD{this};
    Utils::StringAspect gdbStartupCommands{this};
    Utils::StringAspect gdbPostAttachCommands{this};

    Utils::BoolAspect targetAsync{this};
    Utils::BoolAspect autoEnrichParameters{this};
    Utils::BoolAspect breakOnThrow{this};
    Utils::BoolAspect breakOnCatch{this};
    Utils::BoolAspect breakOnWarning{this};
    Utils::BoolAspect breakOnFatal{this};
    Utils::BoolAspect breakOnAbort{this};
    Utils::BoolAspect enableReverseDebugging{this};
    Utils::BoolAspect multiInferior{this};
};

GdbSettings &gdbSettings();

} // Debugger::Internal