From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20691 invoked by alias); 8 Jun 2007 23:22:15 -0000 Received: (qmail 20683 invoked by uid 22791); 8 Jun 2007 23:22:15 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate3.de.ibm.com (HELO mtagate3.de.ibm.com) (195.212.29.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 08 Jun 2007 23:22:13 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate3.de.ibm.com (8.13.8/8.13.8) with ESMTP id l58NMA50117404 for ; Fri, 8 Jun 2007 23:22:10 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 l58NMAoR4165718 for ; Sat, 9 Jun 2007 01:22:10 +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 l58NMA28019332 for ; Sat, 9 Jun 2007 01:22:10 +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 l58NMAh7019329 for ; Sat, 9 Jun 2007 01:22:10 +0200 Message-Id: <200706082322.l58NMAh7019329@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Sat, 9 Jun 2007 01:22:10 +0200 Subject: [0/3] Remove deprecated_register_gdbarch_swap To: gdb-patches@sourceware.org Date: Fri, 08 Jun 2007 23:22:00 -0000 From: "Ulrich Weigand" 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: 2007-06/txt/msg00124.txt.bz2 Hello, assuming that the following patch sets are applied: Eliminate read_register: http://sourceware.org/ml/gdb-patches/2007-06/msg00079.html Eliminate current_regcache: http://sourceware.org/ml/gdb-patches/2007-06/msg00093.html Clean up built-in types: http://sourceware.org/ml/gdb-patches/2007-06/msg00112.html there are only two gdbarch-swapped data variables remaining: - remote_address_masked in remote.c - stop_registers in infrun.c Fortunately those two seem relatively straightforward to eliminate, so this is what the following small patch set does: [1/3] Remove gdbarch-swapping of remote_address_masked [2/3] Remove gdbarch-swapping of stop_registers [3/3] Remove deprecated_register_gdbarch_swap infrastructure Once this patch set is in place, it will finally be safe to maintain multiple active gdbarch structures at the same time. I've tested the combination of this patch set on top of all the patches referred to above on i386-linux, powerpc64-linux, s390-ibm-linux, s390x-ibm-linux, and spu-elf. I'd appreciate any comments on this patch set. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com