forked from qt-creator/qt-creator
Debugger: Add comment for revert
Amends 2364448f91
.
Change-Id: I1b34c7b69c0817460d20c8ea892bdc54d7658e4a
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -675,6 +675,8 @@ void GdbEngine::interruptInferior()
|
|||||||
} else {
|
} else {
|
||||||
showStatusMessage(Tr::tr("Stop requested..."), 5000);
|
showStatusMessage(Tr::tr("Stop requested..."), 5000);
|
||||||
showMessage("TRYING TO INTERRUPT INFERIOR");
|
showMessage("TRYING TO INTERRUPT INFERIOR");
|
||||||
|
// Ctrl+C events are only handled properly for console applications on Windows
|
||||||
|
// when gdb debugs a GUI application the CTRL+C events are not handled
|
||||||
if (HostOsInfo::isWindowsHost() && !m_isQnxGdb) {
|
if (HostOsInfo::isWindowsHost() && !m_isQnxGdb) {
|
||||||
IDevice::ConstPtr dev = device();
|
IDevice::ConstPtr dev = device();
|
||||||
QTC_ASSERT(dev, notifyInferiorStopFailed(); return);
|
QTC_ASSERT(dev, notifyInferiorStopFailed(); return);
|
||||||
|
Reference in New Issue
Block a user