diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-10-21 09:24:51 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-10-23 06:07:50 +0000 |
commit | f68588a58581a3169375b998ec6cf57509388986 (patch) | |
tree | fa82e656c362aeba2f12acc251993a374710a3b8 /src/plugins/remotelinux/remotelinuxdebugsupport.cpp | |
parent | 1b655f76ad61cc17483d00b8ece06e08afaeaf01 (diff) |
RemoteLinux: Correct clean shutdown when debugging
If the inferior stops by itself and the debugger
tries to shutdown it had ended up waiting forever for
the additional workers (e.g. ports gatherer, channel
provider,...) to stop.
The debugger appeared as finished but the runworker was
still in a running state until the user would hit the stop
button of the application output pane.
Make the gdbserver essential to initiate a clean finish.
Change-Id: I16b2ebe5feadc88bb76ce34b49ac5d3456d0867c
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxdebugsupport.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxdebugsupport.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp index 5143efe7d9..a9a3eca3a1 100644 --- a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp +++ b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp @@ -42,6 +42,7 @@ LinuxDeviceDebugSupport::LinuxDeviceDebugSupport(RunControl *runControl) addQmlServerInferiorCommandLineArgumentIfNeeded(); auto gdbServer = new GdbServerRunner(runControl, portsGatherer()); + gdbServer->setEssential(true); addStartDependency(gdbServer); |