From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7614 invoked by alias); 15 Mar 2006 09:39:29 -0000 Received: (qmail 7601 invoked by uid 22791); 15 Mar 2006 09:39:29 -0000 X-Spam-Check-By: sourceware.org Received: from uproxy.gmail.com (HELO uproxy.gmail.com) (66.249.92.193) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 15 Mar 2006 09:39:27 +0000 Received: by uproxy.gmail.com with SMTP id u2so33869uge for ; Wed, 15 Mar 2006 01:39:24 -0800 (PST) Received: by 10.66.224.14 with SMTP id w14mr92692ugg; Wed, 15 Mar 2006 01:39:23 -0800 (PST) Received: from ?10.0.2.3? ( [84.139.104.131]) by mx.gmail.com with ESMTP id a1sm411927ugf.2006.03.15.01.39.22; Wed, 15 Mar 2006 01:39:23 -0800 (PST) In-Reply-To: <44172425.9040203@gmail.com> References: <000401c64798$12156170$a501a8c0@CAM.ARTIMI.COM> <44171B6F.9090701@gmail.com> <46C0FE96-1DEC-44A8-90D2-F13926EEA7CA@gmail.com> <44172425.9040203@gmail.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: insight@sourceware.org Content-Transfer-Encoding: 7bit From: Hermann-Simon Lichte Subject: Re: insight builds with no errors on OSX, but gdb not! being built ... Date: Wed, 15 Mar 2006 09:39:00 -0000 To: openmacnews@gmail.com X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00098.txt.bz2 On 14.03.2006, at 21:14, OpenMacNews wrote: > hi hermann, > >> Insight is included in Apple's gdb! I am trying to build it right now >> which should tell you that you're not the *sole* flunky :D > > by 'included', i presume you mean 'as source' ... or has it been > somewhere rolled-out as a/the GUI-bin in the OSX devtools? In fact XCode uses gdb as its debugger and I was just curious whether you could debug any Mac OS X application with it. And you can! Richard, why not use XCode for debugging? What you need to do is to create a new empty project in XCode and add the executable to it that you would like to debug (click on Project->New Custom Executable...). Now you can start gdb from within a nifty Cocoa interface by clicking on Debug->Debug Executable. I think you should give it a shot. The debugger interface is awesome! Cheers, Hermann