Fixes: - Setting breakpoints on Mac

Details:  - Bad formatted command confused gdb completely
This commit is contained in:
con
2008-12-03 11:27:20 +01:00
parent b825ac4355
commit 56f788ccef

View File

@@ -1650,16 +1650,15 @@ bool GdbEngine::startDebugger()
#ifdef Q_OS_MAC
sendCommand("-gdb-set inferior-auto-start-cfm off");
sendCommand("-gdb-set sharedLibrary load-rules "
"dyld \".*libSystem.*\" "
"all dyld \".*libauto.*\" "
"all dyld \".*AppKit.*\" "
"all dyld \".*PBGDBIntrospectionSupport.*\" "
"all dyld \".*Foundation.*\" "
"all dyld \".*CFDataFormatters.*\" "
"all dyld \".*libobjc.*\" "
"all dyld \".*CarbonDataFormatters");
"dyld \".*libSystem.*\" all "
"dyld \".*libauto.*\" all "
"dyld \".*AppKit.*\" all "
"dyld \".*PBGDBIntrospectionSupport.*\" all "
"dyld \".*Foundation.*\" all "
"dyld \".*CFDataFormatters.*\" all "
"dyld \".*libobjc.*\" all "
"dyld \".*CarbonDataFormatters.*\" all");
#endif
if (q->startMode() == q->attachExternal) {
sendCommand("attach " + QString::number(q->m_attachedPID));
}