forked from qt-creator/qt-creator
debugger: code cosmetics
This commit is contained in:
@@ -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
|
||||
|
@@ -639,5 +639,5 @@ bool CdbSymbolGroupContext::completeModel(CdbSymbolGroupContext *sg,
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace Internal
|
||||
} // namespace Debugger
|
||||
|
@@ -145,6 +145,7 @@ bool CdbSymbolGroupContext::getChildSymbols(const QString &prefix, OutputIterato
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace Internal
|
||||
} // namespace Debugger
|
||||
|
||||
#endif // CDBSYMBOLGROUPCONTEXT_H
|
||||
|
Reference in New Issue
Block a user