From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94143 invoked by alias); 8 Nov 2016 08:47:44 -0000 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 Received: (qmail 94126 invoked by uid 89); 8 Nov 2016 08:47:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1113, UD:id X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 08 Nov 2016 08:47:33 +0000 Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Forcepoint Email with ESMTPS id 5E9B25DFC532B for ; Tue, 8 Nov 2016 08:47:28 +0000 (GMT) Received: from [10.20.78.54] (10.20.78.54) by HHMAIL01.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server id 14.3.294.0; Tue, 8 Nov 2016 08:47:29 +0000 Date: Tue, 08 Nov 2016 08:47:00 -0000 From: "Maciej W. Rozycki" To: Subject: Re: [PATCH] gdbarch: Use an anonymous union for target data in `gdbarch_info' In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20.17 (DEB 179 2016-10-28) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2016-11/txt/msg00151.txt.bz2 On Tue, 18 Oct 2016, Maciej W. Rozycki wrote: > gdb/ > * gdbarch.sh (gdbarch_info): Replace the `tdep_info' member with > a union of `tdep_info', `tdesc_data' and `id'. > * aarch64-tdep.c (aarch64_gdbarch_init): Use `info.tdesc_data' > rather than `info.tdep_info'. > * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise. > * i386-linux-tdep.c (i386_linux_init_abi): Likewise. > * i386-tdep.c (i386_gdbarch_init): Likewise. > * mips-linux-tdep.c (mips_linux_init_abi): Likewise. > * mips-tdep.c (mips_gdbarch_init): Likewise. > * nds32-tdep.c (nds32_gdbarch_init): Likewise. > * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. > * ppc-linux-tdep.c (ppu2spu_sniffer): Use `info.id' rather than > `info.tdep_info'. > (ppc_linux_init_abi): Use `info.tdesc_data' rather than > `info.tdep_info'. > * spu-multiarch.c (spu_gdbarch): Use `info.id' rather than > `info.tdep_info'. > * spu-tdep.c (spu_gdbarch_init): Likewise. > * gdbarch.h: Regenerate. Can I ask for to be reviewed? Maciej