From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3939 invoked by alias); 18 Feb 2008 16:04:11 -0000 Received: (qmail 3930 invoked by uid 22791); 18 Feb 2008 16:04:11 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate7.de.ibm.com (HELO mtagate7.de.ibm.com) (195.212.29.156) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 18 Feb 2008 16:03:49 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate7.de.ibm.com (8.13.8/8.13.8) with ESMTP id m1IG3kEP219758 for ; Mon, 18 Feb 2008 16:03: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.7) with ESMTP id m1IG3lAx2301992 for ; Mon, 18 Feb 2008 17:03:47 +0100 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 m1IG3kjN030896 for ; Mon, 18 Feb 2008 16:03:46 GMT 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 m1IG3k9G030893; Mon, 18 Feb 2008 16:03:46 GMT Message-Id: <200802181603.m1IG3k9G030893@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 18 Feb 2008 17:03:46 +0100 Subject: Re: [rfc]: Replace current_gdbarch in hppa To: deuling@de.ibm.com (Markus Deuling) Date: Mon, 18 Feb 2008 16:04:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org (GDB Patches) In-Reply-To: <47B999F9.1090608@de.ibm.com> from "Markus Deuling" at Feb 18, 2008 03:45:13 PM X-Mailer: ELM [version 2.5 PL2] 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: 2008-02/txt/msg00294.txt.bz2 Markus Deuling wrote: > * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter. > > * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace > current_gdbarch by gdbarch. > (hppa64_hpux_find_global_pointer): Likewise. > * hppa-tdep.c (hppa_find_global_pointer): Likewise. > (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for > find_global_pointer. > > * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as > parameter. > * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. > > * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead > of gdbarch_num_regs. > > * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and > replace current_gdbarch by gdbarch. > (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr. This is OK, thanks. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com