forked from qt-creator/qt-creator
debugger: code cosmetics
This commit is contained in:
@@ -230,5 +230,5 @@ bool dissassemble(IDebugClient5 *client,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // namespace Internal
|
||||||
}
|
} // namespace Debugger
|
||||||
|
@@ -57,8 +57,8 @@ bool dissassemble(IDebugClient5 *client,
|
|||||||
unsigned long afterLines,
|
unsigned long afterLines,
|
||||||
QList<DisassemblerLine> *lines,
|
QList<DisassemblerLine> *lines,
|
||||||
QString *errorMessage);
|
QString *errorMessage);
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
} // namespace Internal
|
||||||
|
} // namespace Debugger
|
||||||
|
|
||||||
#endif // CDBASSEMBLER_H
|
#endif // CDBASSEMBLER_H
|
||||||
|
@@ -385,5 +385,5 @@ bool CDBBreakPoint::synchronizeBreakPoints(IDebugControl4* debugControl,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // namespace Internal
|
||||||
}
|
} // namespace Debugger
|
||||||
|
@@ -49,7 +49,8 @@ class BreakpointData;
|
|||||||
/* CDB Break point data structure with utilities to
|
/* CDB Break point data structure with utilities to
|
||||||
* apply to engine and to retrieve them from the engine and comparison. */
|
* apply to engine and to retrieve them from the engine and comparison. */
|
||||||
|
|
||||||
struct CDBBreakPoint {
|
struct CDBBreakPoint
|
||||||
|
{
|
||||||
CDBBreakPoint();
|
CDBBreakPoint();
|
||||||
CDBBreakPoint(const BreakpointData &bpd);
|
CDBBreakPoint(const BreakpointData &bpd);
|
||||||
|
|
||||||
@@ -94,7 +95,7 @@ inline bool operator!=(const CDBBreakPoint& b1, const CDBBreakPoint& b2)
|
|||||||
inline bool operator<(const CDBBreakPoint& b1, const CDBBreakPoint& b2)
|
inline bool operator<(const CDBBreakPoint& b1, const CDBBreakPoint& b2)
|
||||||
{ return b1.compare(b2) < 0; }
|
{ return b1.compare(b2) < 0; }
|
||||||
|
|
||||||
}
|
} // namespace Internal
|
||||||
}
|
} // namespace Debugger
|
||||||
|
|
||||||
#endif // CDBBREAKPOINTS_H
|
#endif // CDBBREAKPOINTS_H
|
||||||
|
@@ -48,7 +48,8 @@ class CdbStackTraceContext;
|
|||||||
// Thin wrapper around the 'DBEng' debugger engine shared library
|
// Thin wrapper around the 'DBEng' debugger engine shared library
|
||||||
// which is loaded at runtime.
|
// which is loaded at runtime.
|
||||||
|
|
||||||
class DebuggerEngineLibrary {
|
class DebuggerEngineLibrary
|
||||||
|
{
|
||||||
public:
|
public:
|
||||||
DebuggerEngineLibrary();
|
DebuggerEngineLibrary();
|
||||||
bool init(QString *errorMessage);
|
bool init(QString *errorMessage);
|
||||||
|
@@ -159,5 +159,5 @@ bool getModuleSymbols(IDebugSymbols3 *syms, const QString &moduleName,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // namespace Internal
|
||||||
}
|
} // namespace Debugger
|
||||||
|
@@ -59,7 +59,7 @@ ResolveSymbolResult resolveSymbol(IDebugSymbols3 *syms, QString *symbol, QString
|
|||||||
bool getModuleSymbols(IDebugSymbols3 *syms, const QString &moduleName,
|
bool getModuleSymbols(IDebugSymbols3 *syms, const QString &moduleName,
|
||||||
QList<Symbol> *symbols, QString *errorMessage);
|
QList<Symbol> *symbols, QString *errorMessage);
|
||||||
|
|
||||||
}
|
} // namespace Internal
|
||||||
}
|
} // namespace Debugger
|
||||||
|
|
||||||
#endif // CDBMODULES_H
|
#endif // CDBMODULES_H
|
||||||
|
@@ -166,5 +166,5 @@ IDebugSymbolGroup2 *CdbStackTraceContext::createSymbolGroup(int index, QString *
|
|||||||
return sg;
|
return sg;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // namespace Internal
|
||||||
}
|
} // namespace Debugger
|
||||||
|
@@ -84,7 +84,7 @@ private:
|
|||||||
ULONG64 m_instructionOffset;
|
ULONG64 m_instructionOffset;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
} // namespace Internal
|
||||||
}
|
} // namespace Debugger
|
||||||
|
|
||||||
#endif // CDBSTACKTRACECONTEXT_H
|
#endif // CDBSTACKTRACECONTEXT_H
|
||||||
|
@@ -58,7 +58,7 @@ static inline void debugSymbolFlags(unsigned long f, QTextStream &str)
|
|||||||
str << "|DEBUG_SYMBOL_IS_LOCAL";
|
str << "|DEBUG_SYMBOL_IS_LOCAL";
|
||||||
}
|
}
|
||||||
|
|
||||||
QTextStream &operator<<(QTextStream &str, const DEBUG_SYMBOL_PARAMETERS& p)
|
QTextStream &operator<<(QTextStream &str, const DEBUG_SYMBOL_PARAMETERS &p)
|
||||||
{
|
{
|
||||||
str << " Type=" << p.TypeId << " parent=";
|
str << " Type=" << p.TypeId << " parent=";
|
||||||
if (isTopLevelSymbol(p)) {
|
if (isTopLevelSymbol(p)) {
|
||||||
@@ -639,5 +639,5 @@ bool CdbSymbolGroupContext::completeModel(CdbSymbolGroupContext *sg,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // namespace Internal
|
||||||
}
|
} // namespace Debugger
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
#include <QtCore/QMap>
|
#include <QtCore/QMap>
|
||||||
|
|
||||||
namespace Debugger {
|
namespace Debugger {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
class WatchData;
|
class WatchData;
|
||||||
class WatchHandler;
|
class WatchHandler;
|
||||||
@@ -145,6 +145,7 @@ bool CdbSymbolGroupContext::getChildSymbols(const QString &prefix, OutputIterato
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // namespace Internal
|
||||||
}
|
} // namespace Debugger
|
||||||
|
|
||||||
#endif // CDBSYMBOLGROUPCONTEXT_H
|
#endif // CDBSYMBOLGROUPCONTEXT_H
|
||||||
|
Reference in New Issue
Block a user