From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9484 invoked by alias); 17 Jun 2009 18:58:20 -0000 Received: (qmail 9469 invoked by uid 22791); 17 Jun 2009 18:58:19 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mtagate6.de.ibm.com (HELO mtagate6.de.ibm.com) (195.212.29.155) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Jun 2009 18:58:14 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate6.de.ibm.com (8.14.3/8.13.8) with ESMTP id n5HIvxTx227838 for ; Wed, 17 Jun 2009 18:57:59 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 v9.2) with ESMTP id n5HIvxu93231918 for ; Wed, 17 Jun 2009 20:57:59 +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 n5HIvxMV024603 for ; Wed, 17 Jun 2009 20:57:59 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id n5HIvwpj024589 for ; Wed, 17 Jun 2009 20:57:58 +0200 Message-Id: <200906171857.n5HIvwpj024589@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 17 Jun 2009 20:57:58 +0200 Subject: Re: [00/19] Eliminate some more current_gdbarch uses To: gdb-patches@sourceware.org Date: Wed, 17 Jun 2009 18:58:00 -0000 From: "Ulrich Weigand" In-Reply-To: <200906052113.n55LDMj4025990@d12av02.megacenter.de.ibm.com> from "Ulrich Weigand" at Jun 05, 2009 11:13:22 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2009-06/txt/msg00444.txt.bz2 > this series of patches makes some more progress towards the goal of > eliminating the current_gdbarch global. This series tackles remaining > instances that are relatively simple to eliminate using existing > mechanism and relatively "local" changes. > > While some patches in the series do change existing interfaces to > allow passing architecture information to some lower level, these > are typically less-frequently used ones that require only limited > changes to the rest of GDB. > > After this patch series, the remaining instances of current_gdbarch > are difficult to eliminate, typically within frequently-called > central infrastructure routines. A follow-on patch series will > address those remaining occurrences. > > This patch series was tested with no regressions on amd64-linux, > powerpc64-linux, spu-elf, s390-ibm-linux, and s390x-ibm-linux. > Also, I made sure an --enable-targets=all build still succeeds. > > Comments welcome! I plan on committing the series within a week > or two (after I'm back from the GCC Summit). I've now checked this series in, with the exception of: [03/19] set_longjmp_breakpoint (I'm still rewriting this as discussed.) and [16/19] address class support (We're still discussing whether a type should always be associated with an architecture; if so, this patch is no longer needed.) Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com