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
7cfac4da
Commit
7cfac4da
authored
Sep 15, 2009
by
hjk
Browse files
debugger: work around listing of short stacks for old gdbs (apple + symbian)
parent
55bcce46
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
7cfac4da
...
...
@@ -2510,7 +2510,12 @@ void GdbEngine::handleStackSelectThread(const GdbResultRecord &, const QVariant
void
GdbEngine
::
handleStackListFrames
(
const
GdbResultRecord
&
record
,
const
QVariant
&
cookie
)
{
if
(
record
.
resultClass
==
GdbResultDone
)
{
#if defined(Q_OS_MAC)
bool
handleIt
=
true
;
#else
bool
handleIt
=
record
.
resultClass
==
GdbResultDone
;
#endif
if
(
handleIt
)
{
bool
isFull
=
cookie
.
toBool
();
QList
<
StackFrame
>
stackFrames
;
...
...
@@ -2568,8 +2573,8 @@ void GdbEngine::handleStackListFrames(const GdbResultRecord &record, const QVari
const
StackFrame
&
frame
=
qq
->
stackHandler
()
->
currentFrame
();
m_manager
->
gotoLocation
(
frame
,
true
);
}
}
else
if
(
record
.
resultClass
==
GdbResultError
)
{
qDebug
()
<<
"STACK FAILED: "
<<
record
.
toString
();
}
else
{
qDebug
()
<<
"
LISTING
STACK FAILED: "
<<
record
.
toString
();
}
}
...
...
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