This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] s390: Fix gdb.base/all-architectures.exp with --enable-targets=all


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]