From 56f788ccefc9b5a0a8fad88e53439fd08bb18263 Mon Sep 17 00:00:00 2001 From: con <qtc-committer@nokia.com> Date: Wed, 3 Dec 2008 11:27:20 +0100 Subject: [PATCH] Fixes: - Setting breakpoints on Mac Details: - Bad formatted command confused gdb completely --- src/plugins/debugger/gdbengine.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp index bd1d564a609..df0eaa9f0b2 100644 --- a/src/plugins/debugger/gdbengine.cpp +++ b/src/plugins/debugger/gdbengine.cpp @@ -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)); } -- GitLab