From owner-cvs-all@FreeBSD.ORG Tue Nov 30 09:08:07 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B05B316A4CE; Tue, 30 Nov 2004 09:08:07 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED53F43D46; Tue, 30 Nov 2004 09:08:06 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAU986Ih047339; Tue, 30 Nov 2004 11:08:06 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 48681-14; Tue, 30 Nov 2004 11:08:05 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAU985NW047336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Nov 2004 11:08:05 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iAU984bo000761; Tue, 30 Nov 2004 11:08:04 +0200 (EET) (envelope-from ru) Date: Tue, 30 Nov 2004 11:08:04 +0200 From: Ruslan Ermilov To: Marcel Moolenaar Message-ID: <20041130090804.GB691@ip.net.ua> References: <200411300256.iAU2urva052399@repoman.freebsd.org> <20041130073515.GA92857@ip.net.ua> <41690958-42A5-11D9-A383-000D93C47836@xcllnt.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uQr8t48UFsdbeI+V" Content-Disposition: inline In-Reply-To: <41690958-42A5-11D9-A383-000D93C47836@xcllnt.net> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/gdb/kgdb Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 09:08:07 -0000 --uQr8t48UFsdbeI+V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Marcel, On Mon, Nov 29, 2004 at 11:55:51PM -0800, Marcel Moolenaar wrote: > On Nov 29, 2004, at 11:35 PM, Ruslan Ermilov wrote: >=20 > >On Tue, Nov 30, 2004 at 02:56:53AM +0000, Marcel Moolenaar wrote: > >>marcel 2004-11-30 02:56:53 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> gnu/usr.bin/gdb/kgdb Makefile > >> Log: > >> s/MACHINE_ARCH/TARGET_ARCH/. We use TARGET_ARCH to pick the MD files > >> for libgdb and should do so here as well. > >> > >> Revision Changes Path > >> 1.2 +1 -1 src/gnu/usr.bin/gdb/kgdb/Makefile > >> > >We use TARGET_ARCH only for cross-tools. Once upon a time, gdb > >was a cross-tool (as part of gnu/usr.bin/binutils). Not anymore. > >If it's not going to change then we should be using MACHINE_ARCH. >=20 > I disagree. The fact that gdb is not a cross-tool in the buildworld > sense of the meaning is because we don't need gdb to cross-build world. > This does not mean that gdb cannot be a cross-tool from a developers > point of view. In fact, it's really handy to be able to debug a kernel > remotely when the debugger doesn't run on the same architecture as > the kernel. I for one do not want to have 2 machines per architecture > for the only reason that I want to debug a kernel remotely. So, I made > some changes to work towards that goal. I see no problems or harm, > especially since I'm not misusing TARGET_ARCH. The ability to build a > cross-debugger is simply not utilized as part of a buildworld. >=20 As long as it's possible to build gdb(1) suitable for a different platform (eiher as part of cross-"buildworld" or manually), I'm happy -- this fits into my defitinion of a cross-tool. ;) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --uQr8t48UFsdbeI+V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBrDh0qRfpzJluFF4RAvS7AJ42ZKJrN1Q67M3sMuAvxF1WaDZMBACcC7jt uXTPNdVsTDzy572aZSXWid4= =5PBm -----END PGP SIGNATURE----- --uQr8t48UFsdbeI+V--