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
053f36c4
Commit
053f36c4
authored
Sep 06, 2010
by
hjk
Browse files
debugger: move watch dog initialization to a better place
It was missed by the remote adapter before.
parent
eb498ee4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
053f36c4
...
...
@@ -802,6 +802,9 @@ void GdbEngine::flushCommand(const GdbCommand &cmd0)
m_gdbAdapter
->
write
(
cmd
.
command
+
"
\r\n
"
);
// Start Watchdog.
if
(
m_commandTimer
->
interval
()
<=
20000
)
m_commandTimer
->
setInterval
(
commandTimeoutTime
());
m_commandTimer
->
start
();
//if (cmd.flags & LosesChild)
...
...
@@ -4019,8 +4022,6 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr
}
showMessage
(
_
(
"GDB STARTED, INITIALIZING IT"
));
m_commandTimer
->
setInterval
(
commandTimeoutTime
());
postCommand
(
"show version"
,
CB
(
handleShowVersion
));
//postCommand("-enable-timings");
...
...
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