This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdbarch: Use an anonymous union for target data in `gdbarch_info'
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Tue, 8 Nov 2016 08:47:21 +0000
- Subject: Re: [PATCH] gdbarch: Use an anonymous union for target data in `gdbarch_info'
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.00.1610181615410.31859@tp.orcam.me.uk>
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 <https://patchwork.sourceware.org/patch/16622/> to be
reviewed?
Maciej