forked from qt-creator/qt-creator
Debugger: Consider reason-less stop on Windows as terminal sigtrap
Task-number: QTCREATORBUG-14350 Change-Id: I1d7af5f9c91cfbe43127e06d0bb7faddded4ccf6 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
250798ed92
commit
cbd6985693
@@ -1309,7 +1309,8 @@ void GdbEngine::handleStopResponse(const GdbMi &data)
|
|||||||
{
|
{
|
||||||
// Ignore trap on Windows terminals, which results in
|
// Ignore trap on Windows terminals, which results in
|
||||||
// spurious "* stopped" message.
|
// spurious "* stopped" message.
|
||||||
if (!data.isValid() && m_terminalTrap && Abi::hostAbi().os() == Abi::WindowsOS) {
|
if (m_terminalTrap && (!data.isValid() || !data["reason"].isValid())
|
||||||
|
&& Abi::hostAbi().os() == Abi::WindowsOS) {
|
||||||
m_terminalTrap = false;
|
m_terminalTrap = false;
|
||||||
showMessage(_("IGNORING TERMINAL SIGTRAP"), LogMisc);
|
showMessage(_("IGNORING TERMINAL SIGTRAP"), LogMisc);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user