Debugger: Move the 'break on qFatal' implementation to gdbbridge

Easier to create invisible breakpoints there.

Task-number: QTCREATORBUG-15276
Change-Id: I76ffa45f9f0de5ffbc3b82a7ef9a4ddcdfff62eb
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-11-02 16:01:43 +01:00
parent 0d02544e67
commit 9d6c63d4d2
3 changed files with 74 additions and 82 deletions

View File

@@ -331,8 +331,6 @@ private: ////////// View & Data Stuff //////////
void fetchDisassemblerByCliRangePlain(const DisassemblerAgentCookie &ac);
bool handleCliDisassemblerResult(const QByteArray &response, DisassemblerAgent *agent);
void handleBreakOnQFatal(const DebuggerResponse &response, bool continueSetup);
//
// Source file specific stuff
//
@@ -421,14 +419,10 @@ protected:
// while updating locals.
bool m_inUpdateLocals;
bool isQFatalBreakpoint(const BreakpointResponseId &id) const;
bool isHiddenBreakpoint(const BreakpointResponseId &id) const;
// HACK:
QByteArray m_currentThread;
QString m_lastWinException;
QString m_lastMissingDebugInfo;
BreakpointResponseId m_qFatalBreakpointResponseId;
bool m_terminalTrap;
bool m_temporaryStopPending;
bool usesExecInterrupt() const;