From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20427 invoked by alias); 10 Nov 2008 20:08:13 -0000 Received: (qmail 20130 invoked by uid 22791); 10 Nov 2008 20:08:13 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-kukur.atl.sa.earthlink.net (HELO elasmtp-kukur.atl.sa.earthlink.net) (209.86.89.65) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 10 Nov 2008 20:07:14 +0000 Received: from [68.108.142.23] (helo=macbook-2.local) by elasmtp-kukur.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1Kzd2R-0004qM-Bk; Mon, 10 Nov 2008 15:07:07 -0500 Message-ID: <4918946A.6050501@earthlink.net> Date: Mon, 10 Nov 2008 20:24:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Mark Kettenis CC: gingold@adacore.com, gdb-patches@sourceware.org Subject: Re: [RFA] Darwin Port (Part 1: changes in common files) References: <6C04CB59-A202-4D7E-B2DA-97DAE3F3ED85@adacore.com> <200811101858.mAAIwoKj009428@brahms.sibelius.xs4all.nl> In-Reply-To: <200811101858.mAAIwoKj009428@brahms.sibelius.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: ae6f8838ff913eba0cc1426638a40ef67e972de0d01da940580f6284294d8a49b663687a9cb8b8e4350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00190.txt.bz2 Mark Kettenis wrote: >> From: Tristan Gingold >> Date: Mon, 10 Nov 2008 11:20:41 +0100 >> >> diff -c -r1.101 configure.host >> *** configure.host 19 Jan 2008 15:03:50 -0000 1.101 >> --- configure.host 10 Nov 2008 10:19:14 -0000 >> *************** >> *** 62,67 **** >> --- 62,69 ---- >> >> case "${host}" in >> >> + *-apple-darwin*) gdb_host=macosx ;; >> + >> alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;; >> alpha*-*-linux*) gdb_host=alpha-linux ;; >> alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) >> > > I know Apple doesn't want you to run their OS on non-Apple hardware, > but I don't think we should reinforce that standpoint. Could we just > match *-*-darwin*? > I agree. > Also, I'm a bit confused by the Darwin vs. MacOS X naming game. I > realize it would be quite a bit of work, but to me it would make sense > to exclusively use Darwin in comments, function names and file names > (appropriately capitalized). > Yes, we should be using "Darwin" everywhere in sources, file names, etc. "Mac OS X" refers to the total package that Apple delivers, with Aqua, Finder, etc, while Darwin is kernel + Unix-style tools. Darwin is fully functional by itself, and to the casual user would look nearly identical to FreeBSD. There shouldn't be anything in FSF GDB that depends on non-Darwin OS X bits; there wasn't anything like that in Apple's GDB either, at least in the past. (Apple's GDB is inconsistent about "darwin" vs "macosx", not least because it predates the creation of the Darwin project.) > Why do you need both Darwin and Darwin64? We don't do this for other > operating systems that have both a 32-bit and a 64-bit variant. > > This may or may not be necessary - the ABIs are different, and both 32-bit and 64-bit executables can be run at the same time by the same kernel, no rebooting needed. So a GDB session does have to distinguish the two types of executables. Stan