From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30671 invoked by alias); 1 Jun 2004 01:44:48 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 30662 invoked from network); 1 Jun 2004 01:44:48 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 1 Jun 2004 01:44:48 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BUyKd-00019g-Bf; Mon, 31 May 2004 21:44:47 -0400 Date: Tue, 01 Jun 2004 01:44:00 -0000 From: Daniel Jacobowitz To: Gregor Riepl Cc: gdb@sources.redhat.com Subject: Re: Building a cross-gdb with host=i686-pc-linux-gnu and target=powerpc-apple-darwin Message-ID: <20040601014447.GB4341@nevyn.them.org> Mail-Followup-To: Gregor Riepl , gdb@sources.redhat.com References: <200406010249.17839.seto-kun@freesurf.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406010249.17839.seto-kun@freesurf.ch> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-06/txt/msg00002.txt.bz2 On Tue, Jun 01, 2004 at 02:49:17AM +0200, Gregor Riepl wrote: > Hi, this is my first posting here. > > How can I build a cross-gcc on my Linux box (host=i686-pc-linux-gnu) for > kernel debugging on my iBook G4 running Mac OS X 10.3.4? Apple doesn't cover > this issue in their docs and I couldn't find any decent cross-gdb information > on the net. > I tried to use gdb-5.3 with a more recent libbfd (the included one doesn't > know about Darwin), but this gives me a gdb that doesn't understand Mach-O: > "I'm sorry, Dave, I can't do that. Symbol format `mach-o-be' unknown." > gdb-6.3 builds, but I don't get a gdb, only a few support libs. > I also tried Apple's gdb-309, which seems to need Darwin headers. > Maybe I can get it to work if I just copy those over. > > Has someone tried this? > gdb should easily do the job, but I had no luck yet. > Thanks for your help! There's no Darwin support in GDB outside of Apple's sources, so you're out of luck asking here. Might want to try an Apple list instead. -- Daniel Jacobowitz