Commit 7d2f56d3 authored by hjk's avatar hjk
Browse files

debugger: rename CdbDebugEngine into CdbEngine

Fits better into the scheme and makes grep^H^H^H^H Ctrl-F-ing easier.
parent f8d96f09
......@@ -3,8 +3,8 @@ include(cdbcore.pri)
!isEmpty(CDB_PATH) {
HEADERS += \
$$PWD/cdbdebugengine.h \
$$PWD/cdbdebugengine_p.h \
$$PWD/cdbengine.h \
$$PWD/cdbengine_p.h \
$$PWD/cdbdebugeventcallback.h \
$$PWD/cdbdebugoutput.h \
$$PWD/cdbsymbolgroupcontext.h \
......@@ -20,7 +20,7 @@ HEADERS += \
$$PWD/cdbexceptionutils.h
SOURCES += \
$$PWD/cdbdebugengine.cpp \
$$PWD/cdbengine.cpp \
$$PWD/cdbdebugeventcallback.cpp \
$$PWD/cdbdebugoutput.cpp \
$$PWD/cdbsymbolgroupcontext.cpp \
......@@ -52,8 +52,8 @@ HEADERS += \
$$PWD/breakpoint.h
HEADERS += \
$$PWD/cdbdebugengine.h \
$$PWD/cdbdebugengine_p.h \
$$PWD/cdbengine.h \
$$PWD/cdbengine_p.h \
$$PWD/cdbdebugeventcallback.h \
$$PWD/cdbdebugoutput.h \
$$PWD/cdbsymbolgroupcontext.h \
......@@ -77,7 +77,7 @@ SOURCES += \
# $$PWD/breakpoint.cpp
SOURCES += \
# $$PWD/cdbdebugengine.cpp \
# $$PWD/cdbengine.cpp \
# $$PWD/cdbdebugeventcallback.cpp \
$$PWD/cdbdebugoutput.cpp \
# $$PWD/cdbsymbolgroupcontext.cpp \
......
......@@ -29,7 +29,7 @@
#include "cdbassembler.h"
#include "cdbdebugoutput.h"
#include "cdbdebugengine_p.h"
#include "cdbengine_p.h"
#include "cdbsymbolgroupcontext.h"
#include "registerhandler.h"
......
......@@ -28,9 +28,9 @@
**************************************************************************/
#include "cdbdebugeventcallback.h"
#include "cdbdebugengine.h"
#include "cdbengine.h"
#include "cdbexceptionutils.h"
#include "cdbdebugengine_p.h"
#include "cdbengine_p.h"
#include <QtCore/QDebug>
#include <QtCore/QTextStream>
......@@ -41,7 +41,7 @@ namespace Internal {
// ---------- CdbDebugEventCallback
CdbDebugEventCallback::CdbDebugEventCallback(CdbDebugEngine *dbg) :
CdbDebugEventCallback::CdbDebugEventCallback(CdbEngine *dbg) :
m_pEngine(dbg)
{
}
......@@ -206,7 +206,7 @@ STDMETHODIMP CdbDebugEventCallback::SystemError(
// -----------ExceptionLoggerEventCallback
CdbExceptionLoggerEventCallback::CdbExceptionLoggerEventCallback(int logChannel,
bool skipNonFatalExceptions, CdbDebugEngine *engine) :
bool skipNonFatalExceptions, CdbEngine *engine) :
m_logChannel(logChannel),
m_skipNonFatalExceptions(skipNonFatalExceptions),
m_engine(engine)
......
......@@ -37,12 +37,12 @@
namespace Debugger {
namespace Internal {
class CdbDebugEngine;
class CdbEngine;
class CdbDebugEventCallback : public CdbCore::DebugEventCallbackBase
{
public:
explicit CdbDebugEventCallback(CdbDebugEngine* dbg);
explicit CdbDebugEventCallback(CdbEngine* dbg);
// IDebugEventCallbacks.
......@@ -117,7 +117,7 @@ public:
);
private:
CdbDebugEngine *m_pEngine;
CdbEngine *m_pEngine;
};
// Event handler logs exceptions to the debugger window
......@@ -127,7 +127,7 @@ class CdbExceptionLoggerEventCallback : public CdbCore::DebugEventCallbackBase
public:
CdbExceptionLoggerEventCallback(int logChannel,
bool skipNonFatalExceptions,
CdbDebugEngine *engine);
CdbEngine *engine);
STDMETHOD(GetInterestMask)(
THIS_
......@@ -147,7 +147,7 @@ public:
private:
const int m_logChannel;
const bool m_skipNonFatalExceptions;
CdbDebugEngine *m_engine;
CdbEngine *m_engine;
QList<ULONG> m_exceptionCodes;
QStringList m_exceptionMessages;
};
......
......@@ -29,7 +29,7 @@
#include "cdbdebugoutput.h"
#include "debuggerrunner.h"
#include "cdbdebugengine_p.h"
#include "cdbengine_p.h"
#include "cdbcom.h"
namespace Debugger {
......
......@@ -29,8 +29,8 @@
#include "cdbdumperhelper.h"
#include "cdbmodules.h"
#include "cdbdebugengine.h"
#include "cdbdebugengine_p.h"
#include "cdbengine.h"
#include "cdbengine_p.h"
#include "cdbdebugoutput.h"
#include "cdbdebugeventcallback.h"
#include "cdbsymbolgroupcontext.h"
......@@ -100,7 +100,7 @@ namespace Internal {
// the QtCored4.pdb file to be present as we need "qstrdup"
// as dummy symbol. This is ok ATM since dumpers only
// make sense for Qt apps.
static bool debuggeeLoadLibrary(CdbDebugEngine *cdbEngine,
static bool debuggeeLoadLibrary(CdbEngine *cdbEngine,
CdbCore::CoreEngine *engine,
unsigned long threadId,
const QString &moduleName,
......@@ -295,7 +295,7 @@ void CdbDumperInitThread ::run()
// ------------------- CdbDumperHelper
CdbDumperHelper::CdbDumperHelper(CdbDebugEngine *engine,
CdbDumperHelper::CdbDumperHelper(CdbEngine *engine,
CdbCore::CoreEngine *coreEngine) :
m_tryInjectLoad(true),
m_msgDisabled(QLatin1String("Dumpers are disabled")),
......
......@@ -45,7 +45,7 @@ namespace Debugger {
namespace Internal {
class CdbDumperInitThread;
class CdbDebugEngine;
class CdbEngine;
/* For code clarity, all the stuff related to custom dumpers goes here.
* "Custom dumper" is a library compiled against the current
......@@ -85,7 +85,7 @@ public:
Initialized, // List of types, etc. retrieved
};
explicit CdbDumperHelper(CdbDebugEngine *engine,
explicit CdbDumperHelper(CdbEngine *engine,
CdbCore::CoreEngine *coreEngine);
~CdbDumperHelper();
......@@ -139,7 +139,7 @@ private:
const QString m_msgDisabled;
const QString m_msgNotInScope;
State m_state;
CdbDebugEngine *m_engine;
CdbEngine *m_engine;
CdbCore::CoreEngine *m_coreEngine;
QString m_library;
......
......@@ -40,17 +40,16 @@ namespace Internal {
class DisassemblerViewAgent;
class CdbDebugEventCallback;
class CdbDebugOutput;
class CdbDebugEnginePrivate;
class CdbEnginePrivate;
struct CdbOptions;
class CdbDebugEngine : public DebuggerEngine
class CdbEngine : public DebuggerEngine
{
Q_DISABLE_COPY(CdbDebugEngine)
Q_OBJECT
explicit CdbDebugEngine(const DebuggerStartParameters &sp);
explicit CdbEngine(const DebuggerStartParameters &sp);
public:
~CdbDebugEngine();
~CdbEngine();
// Factory function that returns 0 if the debug engine library cannot be found.
static DebuggerEngine *create(const DebuggerStartParameters &sp,
......@@ -115,9 +114,9 @@ private:
QString editorToolTip(const QString &exp, const QString &function);
bool step(unsigned long executionStatus);
CdbDebugEnginePrivate *m_d;
CdbEnginePrivate *m_d;
friend class CdbDebugEnginePrivate;
friend class CdbEnginePrivate;
friend class CdbDebugEventCallback;
friend class CdbDebugOutput;
};
......
......@@ -48,7 +48,7 @@ class WatchHandler;
class CdbStackTraceContext;
class CdbSymbolGroupContext;
class CdbDebugEnginePrivate : public CdbCore::CoreEngine
class CdbEnginePrivate : public CdbCore::CoreEngine
{
Q_OBJECT
public:
......@@ -67,8 +67,8 @@ public:
StoppedOther
};
explicit CdbDebugEnginePrivate(CdbDebugEngine* engine);
~CdbDebugEnginePrivate();
explicit CdbEnginePrivate(CdbEngine* engine);
~CdbEnginePrivate();
bool init(QString *errorMessage);
void checkVersion();
......@@ -125,7 +125,7 @@ public:
QSharedPointer<CdbDumperHelper> m_dumper;
CdbDebugEngine *m_engine;
CdbEngine *m_engine;
CdbStackTraceContext *m_currentStackTrace;
EditorToolTipCache m_editorToolTipCache;
......
......@@ -28,7 +28,7 @@
**************************************************************************/
#include "cdbexceptionutils.h"
#include "cdbdebugengine_p.h"
#include "cdbengine_p.h"
#include "stacktracecontext.h"
#include <QtCore/QString>
......
......@@ -29,7 +29,7 @@
#include "cdbmodules.h"
#include "moduleshandler.h"
#include "cdbdebugengine_p.h"
#include "cdbengine_p.h"
#include <QtCore/QFileInfo>
#include <QtCore/QRegExp>
......
......@@ -28,7 +28,7 @@
**************************************************************************/
#include "cdbstackframecontext.h"
#include "cdbdebugengine_p.h"
#include "cdbengine_p.h"
#include "cdbsymbolgroupcontext.h"
#include "cdbdumperhelper.h"
#include "debuggeractions.h"
......
......@@ -31,7 +31,7 @@
#include "cdbsymbolgroupcontext.h"
#include "cdbdumperhelper.h"
#include "cdbdebugengine_p.h"
#include "cdbengine_p.h"
#include "debuggeractions.h"
#include "debuggerplugin.h"
#include "watchutils.h"
......
......@@ -28,7 +28,7 @@
**************************************************************************/
#include "cdbsymbolgroupcontext.h"
#include "cdbdebugengine_p.h"
#include "cdbengine_p.h"
#include "cdbdumperhelper.h"
#include "watchhandler.h"
#include "watchutils.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment