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
61eadde6
Commit
61eadde6
authored
Sep 16, 2009
by
hjk
Browse files
trk: work around stack trace problems
Asking gdb twice seems to work.
parent
1066dad5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
61eadde6
...
...
@@ -1283,6 +1283,9 @@ void GdbEngine::reloadStack()
if
(
stackDepth
&&
!
m_gdbAdapter
->
isAdapter
())
cmd
+=
_
(
" 0 "
)
+
QString
::
number
(
stackDepth
);
postCommand
(
cmd
,
WatchUpdate
,
CB
(
handleStackListFrames
),
false
);
// FIXME: gdb 6.4 likes to be asked twice
if
(
m_gdbAdapter
->
isAdapter
())
postCommand
(
cmd
,
WatchUpdate
,
CB
(
handleStackListFrames
),
false
);
}
void
GdbEngine
::
handleAsyncOutput2
(
const
GdbResultRecord
&
,
const
QVariant
&
cookie
)
...
...
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