diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro index f708ba1b42ee7c670aceef61de96db1417243a85..b964b8284256ae2b017ff17911dee13679dd91ef 100644 --- a/src/plugins/debugger/debugger.pro +++ b/src/plugins/debugger/debugger.pro @@ -27,8 +27,6 @@ HEADERS += \ disassemblerhandler.h \ disassemblerwindow.h \ watchutils.h \ - gdbengine.h \ - gdbmi.h \ idebuggerengine.h \ imports.h \ moduleshandler.h \ @@ -45,7 +43,6 @@ HEADERS += \ threadswindow.h \ watchhandler.h \ watchwindow.h \ - gdboptionspage.h SOURCES += \ breakhandler.cpp \ @@ -60,8 +57,6 @@ SOURCES += \ disassemblerhandler.cpp \ disassemblerwindow.cpp \ watchutils.cpp \ - gdbengine.cpp \ - gdbmi.cpp \ moduleshandler.cpp \ moduleswindow.cpp \ outputcollector.cpp \ @@ -76,7 +71,6 @@ SOURCES += \ tcfengine.cpp \ watchhandler.cpp \ watchwindow.cpp \ - gdboptionspage.cpp FORMS += attachexternaldialog.ui \ attachcoredialog.ui \ @@ -84,7 +78,6 @@ FORMS += attachexternaldialog.ui \ breakbyfunction.ui \ breakcondition.ui \ dumperoptionpage.ui \ - gdboptionspage.ui \ commonoptionspage.ui \ startexternaldialog.ui \ startremotedialog.ui \ @@ -97,6 +90,8 @@ HEADERS += $$PWD/modeltest.h DEFINES += USE_MODEL_TEST=1 } +include(gdb/gdb.pri) + win32 { include(win/win.pri) include(cdb/cdb.pri) diff --git a/src/plugins/debugger/debugger.qrc b/src/plugins/debugger/debugger.qrc index 608626d970005abb7ed8f6a973559c445fb0d463..c00d8b24e15ea0f4b5fed9a3893a6a95285a21d3 100644 --- a/src/plugins/debugger/debugger.qrc +++ b/src/plugins/debugger/debugger.qrc @@ -1,6 +1,5 @@ <RCC> <qresource prefix="/gdbdebugger" > - <file>gdbmacros.txt</file> <file>images/breakpoint.svg</file> <file>images/breakpoint_pending.svg</file> <file>images/breakpoint_disabled.svg</file> diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 2d853d73270c02a3029385dbeced4d010a4cc8e4..0646db016a55a7edb8cd609cd099e59a6a16af17 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -34,7 +34,6 @@ #include "debuggerconstants.h" #include "debuggermanager.h" #include "debuggerrunner.h" -#include "gdbengine.h" #include "ui_commonoptionspage.h" #include "ui_dumperoptionpage.h" diff --git a/src/plugins/debugger/gdb/gdb.qrc b/src/plugins/debugger/gdb/gdb.qrc new file mode 100644 index 0000000000000000000000000000000000000000..15579e95ab73067c06af593c0535ed06a81da30c --- /dev/null +++ b/src/plugins/debugger/gdb/gdb.qrc @@ -0,0 +1,5 @@ +<RCC> + <qresource prefix="/gdb" > + <file>gdbmacros.txt</file> + </qresource> +</RCC> diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp similarity index 99% rename from src/plugins/debugger/gdbengine.cpp rename to src/plugins/debugger/gdb/gdbengine.cpp index d232537d4a955ca606a1340c7e1c949bedd82a32..29307601490689edb11cc7d590c067680715d9f8 100644 --- a/src/plugins/debugger/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -3877,7 +3877,7 @@ void GdbEngine::tryLoadDebuggingHelpers() return; if (!startModeAllowsDumpers()) { // load gdb macro based dumpers at least - QFile file(_(":/gdbdebugger/gdbmacros.txt")); + QFile file(_(":/gdb/gdbmacros.txt")); file.open(QIODevice::ReadOnly); QByteArray contents = file.readAll(); //qDebug() << "CONTENTS: " << contents; diff --git a/src/plugins/debugger/gdbengine.h b/src/plugins/debugger/gdb/gdbengine.h similarity index 100% rename from src/plugins/debugger/gdbengine.h rename to src/plugins/debugger/gdb/gdbengine.h diff --git a/src/plugins/debugger/gdbmacros.txt b/src/plugins/debugger/gdb/gdbmacros.txt similarity index 100% rename from src/plugins/debugger/gdbmacros.txt rename to src/plugins/debugger/gdb/gdbmacros.txt diff --git a/src/plugins/debugger/gdbmi.cpp b/src/plugins/debugger/gdb/gdbmi.cpp similarity index 100% rename from src/plugins/debugger/gdbmi.cpp rename to src/plugins/debugger/gdb/gdbmi.cpp diff --git a/src/plugins/debugger/gdbmi.h b/src/plugins/debugger/gdb/gdbmi.h similarity index 100% rename from src/plugins/debugger/gdbmi.h rename to src/plugins/debugger/gdb/gdbmi.h diff --git a/src/plugins/debugger/gdboptionspage.cpp b/src/plugins/debugger/gdb/gdboptionspage.cpp similarity index 100% rename from src/plugins/debugger/gdboptionspage.cpp rename to src/plugins/debugger/gdb/gdboptionspage.cpp diff --git a/src/plugins/debugger/gdboptionspage.h b/src/plugins/debugger/gdb/gdboptionspage.h similarity index 100% rename from src/plugins/debugger/gdboptionspage.h rename to src/plugins/debugger/gdb/gdboptionspage.h diff --git a/src/plugins/debugger/gdboptionspage.ui b/src/plugins/debugger/gdb/gdboptionspage.ui similarity index 100% rename from src/plugins/debugger/gdboptionspage.ui rename to src/plugins/debugger/gdb/gdboptionspage.ui