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
Marco Bubke
flatpak-qt-creator
Commits
a3b52c5e
Commit
a3b52c5e
authored
Oct 29, 2009
by
Oswald Buddenhagen
Browse files
gdb doesn't care for termination. just kill it.
parent
3edcafed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
a3b52c5e
...
...
@@ -1355,7 +1355,7 @@ void GdbEngine::shutdown()
// fall-through
case
InferiorStopFailed
:
// Tough luck, I guess. But unreachable as of now anyway.
setState
(
EngineShuttingDown
);
m_gdbProc
.
terminate
();
m_gdbProc
.
kill
();
break
;
}
}
...
...
@@ -1383,7 +1383,7 @@ void GdbEngine::handleGdbExit(const GdbResponse &response)
}
else
{
QString
msg
=
m_gdbAdapter
->
msgGdbStopFailed
(
_
(
response
.
data
.
findChild
(
"msg"
).
data
()));
debugMessage
(
_
(
"GDB WON'T EXIT (%1); KILLING IT"
).
arg
(
msg
));
m_gdbProc
.
terminate
();
m_gdbProc
.
kill
();
}
}
...
...
@@ -4232,7 +4232,7 @@ void GdbEngine::handleGdbError(QProcess::ProcessError error)
case
QProcess
::
WriteError
:
case
QProcess
::
Timedout
:
default:
m_gdbProc
.
terminate
();
m_gdbProc
.
kill
();
setState
(
EngineShuttingDown
,
true
);
showMessageBox
(
QMessageBox
::
Critical
,
tr
(
"Gdb I/O Error"
),
errorMessage
(
error
));
...
...
@@ -4325,7 +4325,7 @@ void GdbEngine::handleAdapterCrashed(const QString &msg)
setState
(
AdapterStartFailed
,
true
);
// No point in being friendly here ...
m_gdbProc
.
terminate
();
m_gdbProc
.
kill
();
if
(
!
msg
.
isEmpty
())
showMessageBox
(
QMessageBox
::
Critical
,
tr
(
"Adapter crashed"
),
msg
);
...
...
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