Skip to content
GitLab
Menu
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
7d50aa29
Commit
7d50aa29
authored
Oct 21, 2009
by
Oswald Buddenhagen
Browse files
work around -exec-until breakage on S60 gdb 6.4
parent
09b17064
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
7d50aa29
...
...
@@ -1616,8 +1616,13 @@ void GdbEngine::runToLineExec(const QString &fileName, int lineNumber)
setTokenBarrier
();
setState
(
InferiorRunningRequested
);
showStatusMessage
(
tr
(
"Run to line %1 requested..."
).
arg
(
lineNumber
),
5000
);
postCommand
(
_
(
"-exec-until %1:%2"
).
arg
(
fileName
).
arg
(
lineNumber
),
RunRequest
,
CB
(
handleExecContinue
));
if
(
m_gdbVersion
<
60500
)
{
// We just know that 6.4 on S60 is broken
postCommand
(
_
(
"tbreak %1:%2"
).
arg
(
fileName
).
arg
(
lineNumber
));
postCommand
(
_
(
"-exec-continue"
),
RunRequest
,
CB
(
handleExecContinue
));
}
else
{
postCommand
(
_
(
"-exec-until %1:%2"
).
arg
(
fileName
).
arg
(
lineNumber
),
RunRequest
,
CB
(
handleExecContinue
));
}
}
void
GdbEngine
::
runToFunctionExec
(
const
QString
&
functionName
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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