From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32069 invoked by alias); 28 Mar 2007 17:59:37 -0000 Received: (qmail 32053 invoked by uid 22791); 28 Mar 2007 17:59:36 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Mar 2007 18:59:28 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 90C274B267; Wed, 28 Mar 2007 12:59:27 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id 712184B262; Wed, 28 Mar 2007 12:59:27 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HWcQg-0006Ez-MX; Wed, 28 Mar 2007 13:59:26 -0400 Date: Wed, 28 Mar 2007 17:59:00 -0000 From: Daniel Jacobowitz To: Luis Machado Cc: gdb@sourceware.org Subject: Re: gdbarch script's purpose Message-ID: <20070328175926.GA23975@caradoc.them.org> Mail-Followup-To: Luis Machado , gdb@sourceware.org References: <1175104141.4417.3.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1175104141.4417.3.camel@localhost> User-Agent: Mutt/1.5.14+cvs20070313 (2007-03-13) 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-03/txt/msg00332.txt.bz2 On Wed, Mar 28, 2007 at 02:49:00PM -0300, Luis Machado wrote: > Hi folks, > > What is exactly the purpose of the gdb/gdbarch.sh script and where in > the build process it's used? > > Sorry if it's a basic question, but the internal documentation is not > very clear on what is its purpose. It generates gdbarch.c and gdbarch.h, which are very repetitive. It's not used during the build process - they're regenerated manually as needed. -- Daniel Jacobowitz CodeSourcery