This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] s390: Fix gdb.base/all-architectures.exp with --enable-targets=all
- From: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- To: Philipp Rudo <prudo at linux dot vnet dot ibm dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Tue, 30 Jan 2018 17:11:53 +0100
- Subject: Re: [PATCH] s390: Fix gdb.base/all-architectures.exp with --enable-targets=all
- Authentication-results: sourceware.org; auth=none
- References: <20180125100828.7599-1-prudo@linux.vnet.ibm.com> <20180125100828.7599-2-prudo@linux.vnet.ibm.com>
On Thu, Jan 25 2018, Philipp Rudo wrote:
> gdb/ChangeLog:
>
> * s390-linux-tdep.c: Move includes for features/s390-linux32.c and
> features/s390x-linux64.c to s390-tdep.c.
> (_initialize_s390_linux_tdep): Move initializaion of tdesc
> s390_linux32 and s390x_linux64 to s390-tdep.c.
> (s390_linux_init_abi_31, s390_linux_init_abi_64): Don't set default
> tdesc.
> * s390-tdep.c: Add include of features/s390-linux32.c and
> features/s390x-linux64.c.
> (s390_tdesc_valid): Add check for tdesc_has_registers.
> (s390_gdbarch_init): Make sure there is always an valid tdesc.
> (_initialize_s390_tdep): Initialize tdesc_s390_linux32 and
> tdesc_s390x_linux64.
> * s390-linux-tdep.h: Move export of tdesc_s390_linux32 and
> tdesc_s390x_linux64 to ...
> * s390-tdep.h: ... here.
Looks OK. Pushed with minor spelling fixes as c81e88797907f.
--
Andreas