From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5338 invoked by alias); 25 May 2002 00:37:58 -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 5330 invoked from network); 25 May 2002 00:37:57 -0000 Received: from unknown (HELO branoic) (128.237.170.37) by sources.redhat.com with SMTP; 25 May 2002 00:37:57 -0000 Received: from drow by branoic with local (Exim 3.35 #1 (Debian)) id 17BPYz-0006r0-00; Fri, 24 May 2002 20:37:41 -0400 Date: Fri, 24 May 2002 17:37:00 -0000 From: Daniel Jacobowitz To: "Michael D. Crawford" Cc: gdb@sources.redhat.com Subject: Re: OS X cross-debugging from Linux? Message-ID: <20020525003740.GA26267@branoic.them.org> Mail-Followup-To: "Michael D. Crawford" , gdb@sources.redhat.com References: <3CED8AF3.3050808@goingware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CED8AF3.3050808@goingware.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2002-05/txt/msg00276.txt.bz2 On Thu, May 23, 2002 at 07:36:03PM -0500, Michael D. Crawford wrote: > Greetings, I have just joined the list. > > I want to develop a Mac OS X device driver. One can debug the OS X kernel > using GDB as a cross-debugger between two machines over ethernet. Apple > has a page that describes how to do it here: > > http://www.opensource.apple.com/projects/documentation/howto/html/KEXT_Tutorials/HelloDebugger.html > > However, this assumes both machines are running OS X and using the version > of GDB that Apple provides. I'm going to wager that Apple's GDB will build OK on a Linux host. It's hard to say without actually trying it, though :) Just configuring with appropriate --target= should suffice. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer