From 9b2075e7eaa2d2c7c2f1742df62078745995e641 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 14 Jul 2023 09:58:59 +0200 Subject: [PATCH] Debugger: Remove gdboptionspage.cpp This file has been merged into the settings times ago. Change-Id: I0e7fe315790e7193790d3ff6bfe11e0a0fb02570 Reviewed-by: hjk --- src/plugins/debugger/gdb/gdboptionspage.cpp | 99 --------------------- 1 file changed, 99 deletions(-) delete mode 100644 src/plugins/debugger/gdb/gdboptionspage.cpp diff --git a/src/plugins/debugger/gdb/gdboptionspage.cpp b/src/plugins/debugger/gdb/gdboptionspage.cpp deleted file mode 100644 index 37008cabcd1..00000000000 --- a/src/plugins/debugger/gdb/gdboptionspage.cpp +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (C) 2016 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 - -#include -#include -#include -#include -#include - -#include - -#include - -using namespace Core; -using namespace Utils; - -namespace Debugger::Internal { - -///////////////////////////////////////////////////////////////////////// -// -// GdbOptionsPage - harmless options -// -///////////////////////////////////////////////////////////////////////// - -class GdbOptionsPage : public Core::IOptionsPage -{ -public: - GdbOptionsPage() - { - setId("M.Gdb"); - setDisplayName(Tr::tr("GDB")); - setCategory(Constants::DEBUGGER_SETTINGS_CATEGORY); - setSettings(&debuggerSettings()->page2); - - setLayouter([] { - using namespace Layouting; - DebuggerSettings &s = *debuggerSettings(); - - auto labelDangerous = new QLabel("" + - Tr::tr("The options below give access to advanced
" - "or experimental functions of GDB.

" - "Enabling them may negatively impact
" - "your debugging experience.") + "
"); - - Group general { - title(Tr::tr("General")), - Column { - Row { s.gdbWatchdogTimeout, st }, - s.skipKnownFrames, - s.useMessageBoxForSignals, - s.adjustBreakpointLocations, - s.useDynamicType, - s.loadGdbInit, - s.loadGdbDumpers, - s.intelFlavor, - s.usePseudoTracepoints, - s.useIndexCache, - st - } - }; - - Group extended { - title(Tr::tr("Extended")), - Column { - labelDangerous, - s.targetAsync, - s.autoEnrichParameters, - s.breakOnWarning, - s.breakOnFatal, - s.breakOnAbort, - s.enableReverseDebugging, - s.multiInferior, - st - } - }; - - Group startup { - title(Tr::tr("Additional Startup Commands")), - Column { s.gdbStartupCommands } - }; - - Group attach { - title(Tr::tr("Additional Attach Commands")), - Column { s.gdbPostAttachCommands }, - }; - - return Grid { general, extended, br, startup, attach }; - }); - } -}; - -// Registration - -void addGdbOptionPages(QList *opts) -{ - opts->push_back(new GdbOptionsPage); -} - -} // Debugger::Internal