debugger: code cosmetics

This commit is contained in:
hjk
2009-04-15 14:26:08 +02:00
parent 2f115bebd7
commit 800a48f027
11 changed files with 28 additions and 25 deletions

View File

@@ -230,5 +230,5 @@ bool dissassemble(IDebugClient5 *client,
return true;
}
}
}
} // namespace Internal
} // namespace Debugger

View File

@@ -57,8 +57,8 @@ bool dissassemble(IDebugClient5 *client,
unsigned long afterLines,
QList<DisassemblerLine> *lines,
QString *errorMessage);
}
}
} // namespace Internal
} // namespace Debugger
#endif // CDBASSEMBLER_H

View File

@@ -385,5 +385,5 @@ bool CDBBreakPoint::synchronizeBreakPoints(IDebugControl4* debugControl,
return true;
}
}
}
} // namespace Internal
} // namespace Debugger

View File

@@ -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

View File

@@ -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);

View File

@@ -159,5 +159,5 @@ bool getModuleSymbols(IDebugSymbols3 *syms, const QString &moduleName,
return true;
}
}
}
} // namespace Internal
} // namespace Debugger

View File

@@ -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

View File

@@ -166,5 +166,5 @@ IDebugSymbolGroup2 *CdbStackTraceContext::createSymbolGroup(int index, QString *
return sg;
}
}
}
} // namespace Internal
} // namespace Debugger

View File

@@ -84,7 +84,7 @@ private:
ULONG64 m_instructionOffset;
};
}
}
} // namespace Internal
} // namespace Debugger
#endif // CDBSTACKTRACECONTEXT_H

View File

@@ -639,5 +639,5 @@ bool CdbSymbolGroupContext::completeModel(CdbSymbolGroupContext *sg,
return true;
}
}
}
} // namespace Internal
} // namespace Debugger

View File

@@ -145,6 +145,7 @@ bool CdbSymbolGroupContext::getChildSymbols(const QString &prefix, OutputIterato
return true;
}
}
}
} // namespace Internal
} // namespace Debugger
#endif // CDBSYMBOLGROUPCONTEXT_H