From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8054 invoked by alias); 16 Oct 2007 22:36:37 -0000 Received: (qmail 8046 invoked by uid 22791); 16 Oct 2007 22:36:37 -0000 X-Spam-Check-By: sourceware.org Received: from smtp1.dnsmadeeasy.com (HELO smtp1.dnsmadeeasy.com) (205.234.170.144) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 16 Oct 2007 22:36:34 +0000 Received: from smtp1.dnsmadeeasy.com (localhost [127.0.0.1]) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP id 0E1AC30C890; Tue, 16 Oct 2007 22:36:49 +0000 (UTC) X-Authenticated-Name: js.dnsmadeeasy X-Transit-System: In case of SPAM please contact abuse@dnsmadeeasy.com Received: from avtrex.com (unknown [67.116.42.147]) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP; Tue, 16 Oct 2007 22:36:48 +0000 (UTC) Received: from [192.168.7.26] ([192.168.7.26]) by avtrex.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 16 Oct 2007 15:36:29 -0700 Message-ID: <47153CEC.60800@avtrex.com> Date: Tue, 16 Oct 2007 22:36:00 -0000 From: David Daney User-Agent: Thunderbird 1.5.0.12 (X11/20070719) MIME-Version: 1.0 To: "Anmol P. Paralkar" Cc: gdb@sourceware.org Subject: Re: Is there a configure time way of overriding the default architecture (instance)? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00120.txt.bz2 Anmol P. Paralkar wrote: > > Hello, > > Is it possible (via specification at configure time) > to make GDB "set architecture" to an architecture > instance of one's choice without actually having do a: > "set architecture " /after/ GDB > has been invoked? > > 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? > I don't know about a configure time option that would do that, but you could add the 'set architecture...' to your .gdbinit file so that you don't have to manually type it each time you start. David Daney