forked from qt-creator/qt-creator
Debugger: Split out gdb related options into own page object
Goal is to make option setup more similar to the other "simple" pages. The GdbOptionPage is now separated in the setup code, but aggregated into the old place and accessed there. The per-backend separation seem quite weak, a full split would currently need to have include gdb/* in several places now is an indication that the gdb/non-gdb split in the options is dubious at best. Change-Id: Iad210016739aa4a63645731e16825f546bdd5e8a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <gdb/gdbsettings.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QHash>
|
||||
#include <QMap>
|
||||
#include <QVector>
|
||||
|
||||
#include <utils/aspects.h>
|
||||
|
||||
namespace Debugger::Internal {
|
||||
|
||||
class SourcePathMapAspectPrivate;
|
||||
@@ -50,7 +50,7 @@ class GeneralSettings
|
||||
~GeneralSettings();
|
||||
};
|
||||
|
||||
class DebuggerSettings
|
||||
class DebuggerSettings : public GdbSettings
|
||||
{
|
||||
public:
|
||||
explicit DebuggerSettings();
|
||||
@@ -77,31 +77,6 @@ public:
|
||||
|
||||
SourcePathMapAspect sourcePathMap;
|
||||
|
||||
// Page 2: GDB
|
||||
Utils::IntegerAspect gdbWatchdogTimeout;
|
||||
Utils::BoolAspect skipKnownFrames;
|
||||
Utils::BoolAspect useMessageBoxForSignals;
|
||||
Utils::BoolAspect adjustBreakpointLocations;
|
||||
Utils::BoolAspect useDynamicType;
|
||||
Utils::BoolAspect loadGdbInit;
|
||||
Utils::BoolAspect loadGdbDumpers;
|
||||
Utils::BoolAspect intelFlavor;
|
||||
Utils::BoolAspect usePseudoTracepoints;
|
||||
Utils::BoolAspect useIndexCache;
|
||||
Utils::StringAspect gdbStartupCommands;
|
||||
Utils::StringAspect gdbPostAttachCommands;
|
||||
|
||||
// Page 3: GDB Extended
|
||||
Utils::BoolAspect targetAsync;
|
||||
Utils::BoolAspect autoEnrichParameters;
|
||||
Utils::BoolAspect breakOnThrow;
|
||||
Utils::BoolAspect breakOnCatch;
|
||||
Utils::BoolAspect breakOnWarning;
|
||||
Utils::BoolAspect breakOnFatal;
|
||||
Utils::BoolAspect breakOnAbort;
|
||||
Utils::BoolAspect enableReverseDebugging;
|
||||
Utils::BoolAspect multiInferior;
|
||||
|
||||
// Page 4: Locals and expressions
|
||||
Utils::BoolAspect useDebuggingHelpers;
|
||||
Utils::BoolAspect useCodeModel;
|
||||
@@ -163,7 +138,6 @@ public:
|
||||
|
||||
Utils::AspectContainer all; // All
|
||||
Utils::AspectContainer page1; // General
|
||||
Utils::AspectContainer page2; // GDB
|
||||
Utils::AspectContainer page4; // Locals & Expressions
|
||||
Utils::AspectContainer page5; // CDB
|
||||
Utils::AspectContainer page6; // CDB Paths
|
||||
|
||||
Reference in New Issue
Block a user