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
2f115beb
Commit
2f115beb
authored
Apr 15, 2009
by
Friedemann Kleint
Browse files
Fix previous commit.
parent
4c2f5d1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/cdb/cdbdebugengine.cpp
View file @
2f115beb
...
...
@@ -1089,6 +1089,25 @@ void CdbDebugEngine::loadAllSymbols()
qDebug
()
<<
Q_FUNC_INFO
;
}
QList
<
Symbol
>
CdbDebugEngine
::
moduleSymbols
(
const
QString
&
moduleName
)
{
QList
<
Symbol
>
rc
;
QString
errorMessage
;
bool
success
=
false
;
do
{
if
(
m_d
->
isDebuggeeRunning
())
{
errorMessage
=
tr
(
"Cannot retrieve symbols while the debuggee is running."
);
break
;
}
if
(
!
getModuleSymbols
(
m_d
->
m_pDebugSymbols
,
moduleName
,
&
rc
,
&
errorMessage
))
break
;
success
=
true
;
}
while
(
false
);
if
(
!
success
)
qWarning
(
"%s
\n
"
,
qPrintable
(
errorMessage
));
return
rc
;
}
static
inline
int
registerFormatBase
()
{
switch
(
checkedRegisterFormatAction
())
{
...
...
src/plugins/debugger/cdb/cdbdebugengine.h
View file @
2f115beb
...
...
@@ -87,6 +87,7 @@ public:
virtual
void
reloadModules
();
virtual
void
loadSymbols
(
const
QString
&
moduleName
);
virtual
void
loadAllSymbols
();
virtual
QList
<
Symbol
>
moduleSymbols
(
const
QString
&
moduleName
);
virtual
void
reloadRegisters
();
virtual
void
reloadSourceFiles
();
...
...
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