From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23030 invoked by alias); 20 Oct 2010 17:12:41 -0000 Received: (qmail 23014 invoked by uid 22791); 20 Oct 2010 17:12:39 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Oct 2010 17:12:35 +0000 Received: (qmail 20206 invoked from network); 20 Oct 2010 17:12:33 -0000 Received: from unknown (HELO macbook-2.local) (stan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 20 Oct 2010 17:12:33 -0000 Message-ID: <4CBF22FB.9010303@codesourcery.com> Date: Wed, 20 Oct 2010 17:12:00 -0000 From: Stan Shebs User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: gdb darwin target on Linux host? References: <20101020135306.9C60531366@nx.neverkill.us> <20101020143016.6BE9131366@nx.neverkill.us> <20101020144225.2316031366@nx.neverkill.us> <20101020151257.25F2D31366@nx.neverkill.us> <20101020152407.3F76031367@nx.neverkill.us> In-Reply-To: <20101020152407.3F76031367@nx.neverkill.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00087.txt.bz2 On 10/20/10 8:24 AM, Peter Steiner wrote: > ok - but the packaged Apple darwin gdb (shipped with my install) CAN > read the native binaries. So, what is the difference? Another/patched > libbfd used by Apple? > > (e.g. http://www.opensource.apple.com/tarballs/gdb/gdb-1469.tar.gz > gdb version is 6.3.50.20050815-cvs) "Patched" is, shall we say, an understatement. :-) > however I do not want to debug natively (or my question here would be > pointless), I want to cross-debug using a Linux host. So, uh, once you get the executable read in, how exactly do you expect to remote-control execution from Linux-land? Is there a Darwin GDBserver or equivalent that I don't know of? There is a kernel debugging setup, but it's not useful for apps. Stan