Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
800a48f0
Commit
800a48f0
authored
Apr 15, 2009
by
hjk
Browse files
debugger: code cosmetics
parent
2f115beb
Changes
11
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/cdb/cdbassembler.cpp
View file @
800a48f0
...
...
@@ -230,5 +230,5 @@ bool dissassemble(IDebugClient5 *client,
return
true
;
}
}
}
}
// namespace Internal
}
// namespace Debugger
src/plugins/debugger/cdb/cdbassembler.h
View file @
800a48f0
...
...
@@ -57,8 +57,8 @@ bool dissassemble(IDebugClient5 *client,
unsigned
long
afterLines
,
QList
<
DisassemblerLine
>
*
lines
,
QString
*
errorMessage
);
}
}
}
// namespace Internal
}
// namespace Debugger
#endif // CDBASSEMBLER_H
src/plugins/debugger/cdb/cdbbreakpoint.cpp
View file @
800a48f0
...
...
@@ -385,5 +385,5 @@ bool CDBBreakPoint::synchronizeBreakPoints(IDebugControl4* debugControl,
return
true
;
}
}
}
}
// namespace Internal
}
// namespace Debugger
src/plugins/debugger/cdb/cdbbreakpoint.h
View file @
800a48f0
...
...
@@ -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
src/plugins/debugger/cdb/cdbdebugengine_p.h
View file @
800a48f0
...
...
@@ -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
);
...
...
src/plugins/debugger/cdb/cdbmodules.cpp
View file @
800a48f0
...
...
@@ -159,5 +159,5 @@ bool getModuleSymbols(IDebugSymbols3 *syms, const QString &moduleName,
return
true
;
}
}
}
}
// namespace Internal
}
// namespace Debugger
src/plugins/debugger/cdb/cdbmodules.h
View file @
800a48f0
...
...
@@ -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
src/plugins/debugger/cdb/cdbstacktracecontext.cpp
View file @
800a48f0
...
...
@@ -166,5 +166,5 @@ IDebugSymbolGroup2 *CdbStackTraceContext::createSymbolGroup(int index, QString *
return
sg
;
}
}
}
}
// namespace Internal
}
// namespace Debugger
src/plugins/debugger/cdb/cdbstacktracecontext.h
View file @
800a48f0
...
...
@@ -84,7 +84,7 @@ private:
ULONG64
m_instructionOffset
;
};
}
}
}
// namespace Internal
}
// namespace Debugger
#endif // CDBSTACKTRACECONTEXT_H
src/plugins/debugger/cdb/cdbsymbolgroupcontext.cpp
View file @
800a48f0
...
...
@@ -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
src/plugins/debugger/cdb/cdbsymbolgroupcontext.h
View file @
800a48f0
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment