From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11672 invoked by alias); 29 May 2007 07:21:52 -0000 Received: (qmail 11663 invoked by uid 22791); 29 May 2007 07:21:51 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.29.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 May 2007 07:21:49 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.8/8.13.8) with ESMTP id l4T7LkR2048822 for ; Tue, 29 May 2007 07:21:46 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l4T7LkHY4026392 for ; Tue, 29 May 2007 09:21:46 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l4T7LjVO022926 for ; Tue, 29 May 2007 09:21:46 +0200 Received: from [9.152.248.39] (dyn-9-152-248-39.boeblingen.de.ibm.com [9.152.248.39]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l4T7LiXI022898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 May 2007 09:21:45 +0200 Message-ID: <465BD439.1060300@de.ibm.com> Date: Tue, 29 May 2007 07:21:00 -0000 From: Markus Deuling User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: GDB Patches CC: Ulrich Weigand Subject: [rfc] [0/6] Remove macros from gdbarch.sh Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00413.txt.bz2 Hello, this set of patches are the first 5 patches to get rid of the macros in gdbarch.sh like TARGET_BYTE_ORDER etc. These macros are replaced by their appropriate "gdbarch_" functions as it is already done with some macros in the past. I'd like to fulfill that transition and get completely rid of all macros. The following macros are replaced by this patch set: * CALL_DUMMY_LOCATION * TARGET_BYTE_ORDER * TARGET_CHAR_SIGNED * TARGET_OSABI * CANNOT_FETCH_REGISTER / CANNOT_STORE_REGISTER * NUM_REGS / NUM_PSEUDO_REGS I tested patches that change different tdep-files using the gdb_mbuild.sh script and run the testsuite on x86. As far as I've seen it, there were no regressions. But I'm not sure if I caught up everything. I'd appreciate any comments to this patches. Do you think this would be OK to commit? If so, then I'll come up with the next couple of patches. Thank you very much in advance. Regards, Markus -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com