forked from qt-creator/qt-creator
Merge remote branch 'origin/2.1'
Conflicts: share/qtcreator/templates/qmlapp/app.pro src/libs/utils/filesearch.cpp
This commit is contained in:
@@ -4154,11 +4154,9 @@ 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) {
|
||||
if (false && m_isMacGdb) {
|
||||
// FIXME: m_isMacGdb is only known after handleShowVersion!
|
||||
// also, setting load-rules seems to be only possible after 'file'
|
||||
postCommand("-gdb-set inferior-auto-start-cfm off");
|
||||
postCommand("-gdb-set sharedLibrary load-rules "
|
||||
"dyld \".*libSystem.*\" all "
|
||||
@@ -4170,6 +4168,10 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &gdb, const QStr
|
||||
"dyld \".*libobjc.*\" all "
|
||||
"dyld \".*CarbonDataFormatters.*\" all");
|
||||
} else {
|
||||
// Work around http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2004
|
||||
postCommand("maintenance set internal-warning quit no", ConsoleCommand);
|
||||
postCommand("maintenance set internal-error quit no", ConsoleCommand);
|
||||
|
||||
// We know that we don't have Python on Mac.
|
||||
loadPythonDumpers();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user