Commit 800a48f0 authored by hjk's avatar hjk

debugger: code cosmetics

parent 2f115beb
......@@ -230,5 +230,5 @@ bool dissassemble(IDebugClient5 *client,
return true;
}
}
}
} // namespace Internal
} // namespace Debugger
......@@ -57,8 +57,8 @@ bool dissassemble(IDebugClient5 *client,
unsigned long afterLines,
QList<DisassemblerLine> *lines,
QString *errorMessage);
}
}
} // namespace Internal
} // namespace Debugger
#endif // CDBASSEMBLER_H
......@@ -385,5 +385,5 @@ bool CDBBreakPoint::synchronizeBreakPoints(IDebugControl4* debugControl,
return true;
}
}
}
} // namespace Internal
} // namespace Debugger
......@@ -49,7 +49,8 @@ class BreakpointData;
/* CDB Break point data structure with utilities to
* apply to engine and to retrieve them from the engine and comparison. */
struct CDBBreakPoint {
struct CDBBreakPoint
{
CDBBreakPoint();
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)
{ return b1.compare(b2) < 0; }
}
}
} // namespace Internal
} // namespace Debugger
#endif // CDBBREAKPOINTS_H
......@@ -48,7 +48,8 @@ class CdbStackTraceContext;
// Thin wrapper around the 'DBEng' debugger engine shared library
// which is loaded at runtime.
class DebuggerEngineLibrary {
class DebuggerEngineLibrary
{
public:
DebuggerEngineLibrary();
bool init(QString *errorMessage);
......
......@@ -159,5 +159,5 @@ bool getModuleSymbols(IDebugSymbols3 *syms, const QString &moduleName,
return true;
}
}
}
} // namespace Internal
} // namespace Debugger
......@@ -59,7 +59,7 @@ ResolveSymbolResult resolveSymbol(IDebugSymbols3 *syms, QString *symbol, QString
bool getModuleSymbols(IDebugSymbols3 *syms, const QString &moduleName,
QList<Symbol> *symbols, QString *errorMessage);
}
}
} // namespace Internal
} // namespace Debugger
#endif // CDBMODULES_H
......@@ -166,5 +166,5 @@ IDebugSymbolGroup2 *CdbStackTraceContext::createSymbolGroup(int index, QString *
return sg;
}
}
}
} // namespace Internal
} // namespace Debugger
......@@ -84,7 +84,7 @@ private:
ULONG64 m_instructionOffset;
};
}
}
} // namespace Internal
} // namespace Debugger
#endif // CDBSTACKTRACECONTEXT_H
......@@ -58,13 +58,13 @@ static inline void debugSymbolFlags(unsigned long f, QTextStream &str)
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=";
if (isTopLevelSymbol(p)) {
str << "<ROOT>";
} else {
str << p.ParentSymbol;
str << p.ParentSymbol;
}
str << " Subs=" << p.SubElements << " flags=" << p.Flags << '/';
debugSymbolFlags(p.Flags, str);
......@@ -639,5 +639,5 @@ bool CdbSymbolGroupContext::completeModel(CdbSymbolGroupContext *sg,
return true;
}
}
}
} // namespace Internal
} // namespace Debugger
......@@ -41,7 +41,7 @@
#include <QtCore/QMap>
namespace Debugger {
namespace Internal {
namespace Internal {
class WatchData;
class WatchHandler;
......@@ -145,6 +145,7 @@ bool CdbSymbolGroupContext::getChildSymbols(const QString &prefix, OutputIterato
return true;
}
}
}
} // namespace Internal
} // namespace Debugger
#endif // CDBSYMBOLGROUPCONTEXT_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