forked from qt-creator/qt-creator
Debugger: rename gdb/gdbmi.{h,cpp} into debuggerprotocol.{h,cpp}
The scope is a bit broader nowadays. Change-Id: I9578da94f06df199be5668c1751fd7bfb37f1c5b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
|||||||
#include "debuggeractions.h"
|
#include "debuggeractions.h"
|
||||||
#include "debuggercore.h"
|
#include "debuggercore.h"
|
||||||
#include "debuggerinternalconstants.h"
|
#include "debuggerinternalconstants.h"
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
#include "debuggerrunner.h"
|
#include "debuggerrunner.h"
|
||||||
#include "debuggerstartparameters.h"
|
#include "debuggerstartparameters.h"
|
||||||
#include "debuggertooltipmanager.h"
|
#include "debuggertooltipmanager.h"
|
||||||
@@ -51,7 +52,6 @@
|
|||||||
#include "threadshandler.h"
|
#include "threadshandler.h"
|
||||||
#include "watchhandler.h"
|
#include "watchhandler.h"
|
||||||
#include "watchutils.h"
|
#include "watchutils.h"
|
||||||
#include "gdb/gdbmi.h"
|
|
||||||
#include "shared/cdbsymbolpathlisteditor.h"
|
#include "shared/cdbsymbolpathlisteditor.h"
|
||||||
#include "shared/hostutils.h"
|
#include "shared/hostutils.h"
|
||||||
#include "procinterrupt.h"
|
#include "procinterrupt.h"
|
||||||
|
|||||||
@@ -28,13 +28,14 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "cdbparsehelpers.h"
|
#include "cdbparsehelpers.h"
|
||||||
|
|
||||||
#include "breakpoint.h"
|
#include "breakpoint.h"
|
||||||
#include "threadshandler.h"
|
|
||||||
#include "registerhandler.h"
|
|
||||||
#include "bytearrayinputstream.h"
|
#include "bytearrayinputstream.h"
|
||||||
#include "gdb/gdbmi.h"
|
#include "debuggerprotocol.h"
|
||||||
#include "disassemblerlines.h"
|
#include "disassemblerlines.h"
|
||||||
|
#include "registerhandler.h"
|
||||||
#include "shared/hostutils.h"
|
#include "shared/hostutils.h"
|
||||||
|
#include "threadshandler.h"
|
||||||
|
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ HEADERS += \
|
|||||||
debuggerengine.h \
|
debuggerengine.h \
|
||||||
debuggermainwindow.h \
|
debuggermainwindow.h \
|
||||||
debuggerplugin.h \
|
debuggerplugin.h \
|
||||||
|
debuggerprotocol.h \
|
||||||
debuggerrunner.h \
|
debuggerrunner.h \
|
||||||
debuggerstartparameters.h \
|
debuggerstartparameters.h \
|
||||||
debuggerstreamops.h \
|
debuggerstreamops.h \
|
||||||
@@ -85,6 +86,7 @@ SOURCES += \
|
|||||||
debuggerengine.cpp \
|
debuggerengine.cpp \
|
||||||
debuggermainwindow.cpp \
|
debuggermainwindow.cpp \
|
||||||
debuggerplugin.cpp \
|
debuggerplugin.cpp \
|
||||||
|
debuggerprotocol.cpp \
|
||||||
debuggerrunner.cpp \
|
debuggerrunner.cpp \
|
||||||
debuggerstreamops.cpp \
|
debuggerstreamops.cpp \
|
||||||
debuggerkitconfigwidget.cpp \
|
debuggerkitconfigwidget.cpp \
|
||||||
|
|||||||
@@ -66,6 +66,8 @@ QtcPlugin {
|
|||||||
"debuggermainwindow.h",
|
"debuggermainwindow.h",
|
||||||
"debuggerplugin.cpp",
|
"debuggerplugin.cpp",
|
||||||
"debuggerplugin.h",
|
"debuggerplugin.h",
|
||||||
|
"debuggerprotocol.cpp",
|
||||||
|
"debuggerprotocol.h",
|
||||||
"debuggerruncontrolfactory.h",
|
"debuggerruncontrolfactory.h",
|
||||||
"debuggerrunner.cpp",
|
"debuggerrunner.cpp",
|
||||||
"debuggerrunner.h",
|
"debuggerrunner.h",
|
||||||
@@ -160,8 +162,6 @@ QtcPlugin {
|
|||||||
"gdb/gdb.qrc",
|
"gdb/gdb.qrc",
|
||||||
"gdb/gdbengine.cpp",
|
"gdb/gdbengine.cpp",
|
||||||
"gdb/gdbengine.h",
|
"gdb/gdbengine.h",
|
||||||
"gdb/gdbmi.cpp",
|
|
||||||
"gdb/gdbmi.h",
|
|
||||||
"gdb/gdboptionspage.cpp",
|
"gdb/gdboptionspage.cpp",
|
||||||
"gdb/gdboptionspage.h",
|
"gdb/gdboptionspage.h",
|
||||||
"gdb/localgdbprocess.cpp",
|
"gdb/localgdbprocess.cpp",
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gdbmi.h"
|
#include "debuggerprotocol.h"
|
||||||
|
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
@@ -27,8 +27,10 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef DEBUGGER_GDBMI_H
|
#ifndef DEBUGGER_PROTOCOL_H
|
||||||
#define DEBUGGER_GDBMI_H
|
#define DEBUGGER_PROTOCOL_H
|
||||||
|
|
||||||
|
#include "debugger_global.h"
|
||||||
|
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
@@ -175,6 +177,5 @@ void extractGdbVersion(const QString &msg,
|
|||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
} // namespace Debugger
|
} // namespace Debugger
|
||||||
|
|
||||||
//Q_DECLARE_METATYPE(GdbDebugger::Internal::GdbMi)
|
|
||||||
|
|
||||||
#endif // DEBUGGER_GDBMI_H
|
#endif // DEBUGGER_PROTOCOL_H
|
||||||
@@ -28,11 +28,11 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "abstractplaingdbadapter.h"
|
#include "abstractplaingdbadapter.h"
|
||||||
#include "gdbmi.h"
|
|
||||||
#include "gdbengine.h"
|
|
||||||
#include "debuggerstartparameters.h"
|
|
||||||
#include "debuggeractions.h"
|
#include "debuggeractions.h"
|
||||||
#include "debuggercore.h"
|
#include "debuggercore.h"
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
|
#include "debuggerstartparameters.h"
|
||||||
#include "debuggerstringutils.h"
|
#include "debuggerstringutils.h"
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
|||||||
@@ -28,12 +28,11 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "attachgdbadapter.h"
|
#include "attachgdbadapter.h"
|
||||||
#include "gdbmi.h"
|
|
||||||
#include "debuggerstartparameters.h"
|
|
||||||
|
|
||||||
#include "gdbengine.h"
|
#include "debuggerprotocol.h"
|
||||||
#include "procinterrupt.h"
|
|
||||||
#include "debuggerstringutils.h"
|
#include "debuggerstringutils.h"
|
||||||
|
#include "debuggerstartparameters.h"
|
||||||
|
#include "procinterrupt.h"
|
||||||
|
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
|
|||||||
@@ -28,13 +28,12 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gdbengine.h"
|
#include "gdbengine.h"
|
||||||
#include "gdbmi.h"
|
|
||||||
|
|
||||||
#include "debuggerstartparameters.h"
|
|
||||||
#include "debuggeractions.h"
|
#include "debuggeractions.h"
|
||||||
#include "debuggercore.h"
|
#include "debuggercore.h"
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
|
#include "debuggerstartparameters.h"
|
||||||
#include "debuggerstringutils.h"
|
#include "debuggerstringutils.h"
|
||||||
|
|
||||||
#include "stackhandler.h"
|
#include "stackhandler.h"
|
||||||
#include "watchhandler.h"
|
#include "watchhandler.h"
|
||||||
|
|
||||||
|
|||||||
@@ -29,12 +29,11 @@
|
|||||||
|
|
||||||
#include "coregdbadapter.h"
|
#include "coregdbadapter.h"
|
||||||
|
|
||||||
#include "debuggerstartparameters.h"
|
|
||||||
#include "debuggercore.h"
|
|
||||||
#include "debuggeractions.h"
|
#include "debuggeractions.h"
|
||||||
|
#include "debuggercore.h"
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
|
#include "debuggerstartparameters.h"
|
||||||
#include "debuggerstringutils.h"
|
#include "debuggerstringutils.h"
|
||||||
#include "gdbmi.h"
|
|
||||||
#include "gdbengine.h"
|
|
||||||
|
|
||||||
#include <utils/consoleprocess.h>
|
#include <utils/consoleprocess.h>
|
||||||
#include <utils/elfreader.h>
|
#include <utils/elfreader.h>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
HEADERS += \
|
HEADERS += \
|
||||||
$$PWD/gdbmi.h \
|
|
||||||
$$PWD/gdbengine.h \
|
$$PWD/gdbengine.h \
|
||||||
$$PWD/gdboptionspage.h \
|
$$PWD/gdboptionspage.h \
|
||||||
$$PWD/attachgdbadapter.h \
|
$$PWD/attachgdbadapter.h \
|
||||||
@@ -15,7 +14,6 @@ HEADERS += \
|
|||||||
$$PWD/startgdbserverdialog.h
|
$$PWD/startgdbserverdialog.h
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
$$PWD/gdbmi.cpp \
|
|
||||||
$$PWD/gdbengine.cpp \
|
$$PWD/gdbengine.cpp \
|
||||||
$$PWD/classicgdbengine.cpp \
|
$$PWD/classicgdbengine.cpp \
|
||||||
$$PWD/pythongdbengine.cpp \
|
$$PWD/pythongdbengine.cpp \
|
||||||
|
|||||||
@@ -44,11 +44,11 @@
|
|||||||
#include "debuggerconstants.h"
|
#include "debuggerconstants.h"
|
||||||
#include "debuggercore.h"
|
#include "debuggercore.h"
|
||||||
#include "debuggerplugin.h"
|
#include "debuggerplugin.h"
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
#include "debuggerrunner.h"
|
#include "debuggerrunner.h"
|
||||||
#include "debuggerstringutils.h"
|
#include "debuggerstringutils.h"
|
||||||
#include "debuggertooltipmanager.h"
|
#include "debuggertooltipmanager.h"
|
||||||
#include "disassembleragent.h"
|
#include "disassembleragent.h"
|
||||||
#include "gdbmi.h"
|
|
||||||
#include "gdboptionspage.h"
|
#include "gdboptionspage.h"
|
||||||
#include "memoryagent.h"
|
#include "memoryagent.h"
|
||||||
#include "watchutils.h"
|
#include "watchutils.h"
|
||||||
|
|||||||
@@ -28,7 +28,8 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gdbengine.h"
|
#include "gdbengine.h"
|
||||||
#include "gdbmi.h"
|
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
#include "debuggeractions.h"
|
#include "debuggeractions.h"
|
||||||
#include "debuggercore.h"
|
#include "debuggercore.h"
|
||||||
#include "debuggerstringutils.h"
|
#include "debuggerstringutils.h"
|
||||||
|
|||||||
@@ -30,17 +30,16 @@
|
|||||||
#include "remotegdbserveradapter.h"
|
#include "remotegdbserveradapter.h"
|
||||||
|
|
||||||
#include "debuggeractions.h"
|
#include "debuggeractions.h"
|
||||||
#include "debuggerstartparameters.h"
|
|
||||||
#include "debuggercore.h"
|
#include "debuggercore.h"
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
|
#include "debuggerstartparameters.h"
|
||||||
#include "debuggerstringutils.h"
|
#include "debuggerstringutils.h"
|
||||||
#include "gdbengine.h"
|
|
||||||
#include "gdbmi.h"
|
|
||||||
|
|
||||||
|
#include <projectexplorer/abi.h>
|
||||||
|
#include <utils/fancymainwindow.h>
|
||||||
#include <utils/hostosinfo.h>
|
#include <utils/hostosinfo.h>
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
#include <utils/fancymainwindow.h>
|
|
||||||
#include <utils/qtcprocess.h>
|
#include <utils/qtcprocess.h>
|
||||||
#include <projectexplorer/abi.h>
|
|
||||||
|
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|||||||
@@ -29,12 +29,11 @@
|
|||||||
|
|
||||||
#include "termgdbadapter.h"
|
#include "termgdbadapter.h"
|
||||||
|
|
||||||
#include "debuggerstartparameters.h"
|
|
||||||
#include "gdbmi.h"
|
|
||||||
#include "gdbengine.h"
|
|
||||||
#include "procinterrupt.h"
|
|
||||||
#include "debuggerstringutils.h"
|
|
||||||
#include "debuggercore.h"
|
#include "debuggercore.h"
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
|
#include "debuggerstartparameters.h"
|
||||||
|
#include "debuggerstringutils.h"
|
||||||
|
#include "procinterrupt.h"
|
||||||
#include "shared/hostutils.h"
|
#include "shared/hostutils.h"
|
||||||
|
|
||||||
#include <utils/hostosinfo.h>
|
#include <utils/hostosinfo.h>
|
||||||
|
|||||||
@@ -29,11 +29,12 @@
|
|||||||
|
|
||||||
#include "pdbengine.h"
|
#include "pdbengine.h"
|
||||||
|
|
||||||
#include "debuggerstartparameters.h"
|
|
||||||
#include "debuggeractions.h"
|
#include "debuggeractions.h"
|
||||||
#include "debuggercore.h"
|
#include "debuggercore.h"
|
||||||
#include "debuggerdialogs.h"
|
#include "debuggerdialogs.h"
|
||||||
#include "debuggerplugin.h"
|
#include "debuggerplugin.h"
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
|
#include "debuggerstartparameters.h"
|
||||||
#include "debuggerstringutils.h"
|
#include "debuggerstringutils.h"
|
||||||
#include "debuggertooltipmanager.h"
|
#include "debuggertooltipmanager.h"
|
||||||
|
|
||||||
@@ -44,8 +45,6 @@
|
|||||||
#include "watchhandler.h"
|
#include "watchhandler.h"
|
||||||
#include "watchutils.h"
|
#include "watchutils.h"
|
||||||
|
|
||||||
#include "../gdb/gdbmi.h"
|
|
||||||
|
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
#include <texteditor/itexteditor.h>
|
#include <texteditor/itexteditor.h>
|
||||||
|
|||||||
@@ -28,11 +28,11 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "threadshandler.h"
|
#include "threadshandler.h"
|
||||||
#include "gdb/gdbmi.h"
|
|
||||||
#include "watchutils.h"
|
|
||||||
|
|
||||||
#include "debuggerconstants.h"
|
#include "debuggerconstants.h"
|
||||||
#include "debuggercore.h"
|
#include "debuggercore.h"
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
|
#include "watchutils.h"
|
||||||
|
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
|
|
||||||
#include "watchutils.h"
|
#include "watchutils.h"
|
||||||
#include "watchdata.h"
|
#include "watchdata.h"
|
||||||
|
#include "debuggerprotocol.h"
|
||||||
#include "debuggerstringutils.h"
|
#include "debuggerstringutils.h"
|
||||||
#include "gdb/gdbmi.h"
|
|
||||||
|
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ UTILSDIR = $$IDE_SOURCE_TREE/src/libs/utils
|
|||||||
MACROSDIR = $$IDE_SOURCE_TREE/share/qtcreator/dumper
|
MACROSDIR = $$IDE_SOURCE_TREE/share/qtcreator/dumper
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
$$DEBUGGERDIR/gdb/gdbmi.cpp \
|
#$$DUMPERDIR/dumper.cpp \
|
||||||
$$MACROSDIR/dumper.cpp \
|
$$DEBUGGERDIR/debuggerprotocol.cpp \
|
||||||
tst_dumpers.cpp
|
tst_dumpers.cpp
|
||||||
|
|
||||||
exists($$QMAKE_INCDIR_QT/QtCore/private/qobject_p.h):DEFINES += USE_PRIVATE
|
exists($$QMAKE_INCDIR_QT/QtCore/private/qobject_p.h):DEFINES += USE_PRIVATE
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ INCLUDEPATH += $$DEBUGGERDIR $$UTILSDIR
|
|||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
tst_gdb.cpp \
|
tst_gdb.cpp \
|
||||||
$$DEBUGGERDIR/gdb/gdbmi.cpp \
|
$$DEBUGGERDIR/debuggerprotocol.cpp \
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ bool checkUninitialized = false;
|
|||||||
#define DO_DEBUG 1
|
#define DO_DEBUG 1
|
||||||
//TESTED_COMPONENT=src/plugins/debugger/gdb
|
//TESTED_COMPONENT=src/plugins/debugger/gdb
|
||||||
|
|
||||||
#include "gdb/gdbmi.h"
|
#include "debuggerprotocol.h"
|
||||||
|
|
||||||
#ifdef QT_GUI_LIB
|
#ifdef QT_GUI_LIB
|
||||||
#include <QBitmap>
|
#include <QBitmap>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gdb/gdbmi.h"
|
#include "debuggerprotocol.h"
|
||||||
|
|
||||||
#include <QtTest>
|
#include <QtTest>
|
||||||
|
|
||||||
|
|||||||
@@ -8,5 +8,5 @@ INCLUDEPATH += $$DEBUGGERDIR $$UTILSDIR
|
|||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
tst_version.cpp \
|
tst_version.cpp \
|
||||||
$$DEBUGGERDIR/gdb/gdbmi.cpp \
|
$$DEBUGGERDIR/debuggerprotocol.cpp \
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user