From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1713 invoked by alias); 18 May 2007 13:51:06 -0000 Received: (qmail 1662 invoked by uid 22791); 18 May 2007 13:50:57 -0000 X-Spam-Check-By: sourceware.org Received: from az33egw02.freescale.net (HELO az33egw02.freescale.net) (192.88.158.103) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 18 May 2007 13:50:51 +0000 Received: from az33smr02.freescale.net (az33smr02.freescale.net [10.64.34.200]) by az33egw02.freescale.net (8.12.11/az33egw02) with ESMTP id l4IDojkx008769 for ; Fri, 18 May 2007 06:50:45 -0700 (MST) Received: from postal.somerset.sps.mot.com ([163.12.132.5]) by az33smr02.freescale.net (8.13.1/8.13.0) with ESMTP id l4IDoivj018077 for ; Fri, 18 May 2007 08:50:45 -0500 (CDT) Received: from ld0159-tx32 (ld0159-tx32 [10.82.19.109]) by postal.somerset.sps.mot.com (8.11.0/8.11.0) with ESMTP id l4IDoxL05779 for ; Fri, 18 May 2007 08:50:59 -0500 (CDT) Date: Fri, 18 May 2007 13:51:00 -0000 From: "Anmol P. Paralkar" To: gdb@sourceware.org Subject: RE: Need advice on building GDB for a large number of PowerPC variants. In-Reply-To: <655C3D4066B7954481633935A40BB36F041300@ussunex02.svl.access-company.com> Message-ID: References: <655C3D4066B7954481633935A40BB36F041300@ussunex02.svl.access-company.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: 2007-05/txt/msg00074.txt.bz2 Hello, Forwarding Michael Snyder's affirmation below. (For some reason, his response bounced off the mailing list server). Someone else might need to benefit from this, hence the forward. Best Regards, Anmol. On Thu, 17 May 2007, Michael Snyder wrote: > Hi Anmol, > > You're perfectly correct -- in fact, you might be even luckier in that > in most respects, a native (ppc-linux) gdb should be able to support > "target remote". I can't immediately think of anything that should > prevent debugging both remote and native programs with the same gdb. > > Hope you're well, > Michael > > > -----Original Message----- > From: gdb-owner@sourceware.org on behalf of Anmol P. Paralkar > Sent: Thu 5/17/2007 2:43 PM > To: gdb@sourceware.org > Subject: Need advice on building GDB for a large number of PowerPC variants. > > Hello, > > I need to build GDB for a debugging a variety of PowerPC families. > The host environment is x86 plus a small subset of the PowerPC > variants. GDB will be used native as well as cross (remote) from > each host (x86 (cross-only) as well as PowerPC). A substantial > number of PowerPC flavours is desired to be targetted - the number > of families and the instances within each family all result in a > fairly large number of individual targets. Both the variations in > configurations: powerpc-linux-gnu as well as powerpc-eabi are needed > for almost each individual target. > > I reckon that I only need build: > > * GDB in both eabi and linux configurations per host; any desired > target can be debugged by doing a 'set architecture' for it. > > That way the number of GDB's built is two per host. > > as against: > > * A GDB per (host, target) combination of interest. > > Which will needless to say, will result in a large number of > GDB executables needed to be built. > > Please could you tell me if my reasoning is correct or am I missing > something essential? > > Thank you very much for your help. > > Best Regards, > Anmol P. Paralkar > >