debugger: Do not automatically kill gdb on internal errors.

This improves overall debugging experience after some "mostly harmless" errors.

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-2004
This commit is contained in:
hjk
2010-10-12 16:05:38 +02:00
parent 0e6226b009
commit fbe6f96869
2 changed files with 7 additions and 1 deletions

View File

@@ -4155,6 +4155,10 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr
postCommand("set width 0");
postCommand("set height 0");
// Work around http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2004
postCommand("maintenance set internal-warning quit no");
postCommand("maintenance set internal-error quit no");
if (m_isMacGdb) {
postCommand("-gdb-set inferior-auto-start-cfm off");
postCommand("-gdb-set sharedLibrary load-rules "