From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4409 invoked by alias); 16 Oct 2007 23:50:22 -0000 Received: (qmail 4391 invoked by uid 22791); 16 Oct 2007 23:50:20 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 16 Oct 2007 23:50:18 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 4719E98336; Tue, 16 Oct 2007 23:50:16 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 13E3298100; Tue, 16 Oct 2007 23:50:16 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1IhwAw-00088s-LO; Tue, 16 Oct 2007 19:50:14 -0400 Date: Tue, 16 Oct 2007 23:50:00 -0000 From: Daniel Jacobowitz To: "Anmol P. Paralkar" Cc: gdb@sourceware.org Subject: Re: Is there a configure time way of overriding the default architecture (instance)? Message-ID: <20071016235014.GA31282@caradoc.them.org> Mail-Followup-To: "Anmol P. Paralkar" , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes 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-10/txt/msg00121.txt.bz2 On Tue, Oct 16, 2007 at 05:32:20PM -0500, Anmol P. Paralkar wrote: > e.g. GDB (6.6.50) configured with target > --target=powerpc-unknown-linux-gnu will default to > rs6000:6000. Is there a configure time way of > specification so that in the built GDB, the > architecture would be set to (say) powerpc:e500 > automatically, when invoked? The right answer depends on why you want to do that. In most cases GDB should autodetect it from some combination of the executable and the native or remote target. For instance I just checked in patches which improve automatic selection of e500. -- Daniel Jacobowitz CodeSourcery