binutils-gdb/gdb/features
Ulrich Weigand 4ac33720d6 gdb/ChangeLog:
2013-09-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>

	* NEWS: Mention TDB support.
	* features/s390-tdb.xml: New file.
	* features/s390-te-linux64.xml: New file.
	* features/s390x-te-linux64.xml: New file.
	* features/Makefile (WHICH): Add new tdescs above.
	(s390-te-linux64-expedite): Set.
	(s390x-te-linux64-expedite): Set.
	* features/s390-te-linux64.c: New file (generated).
	* features/s390x-te-linux64.c: New file (generated).
	* regformats/s390-te-linux64.dat: New file (generated).
	* regformats/s390x-te-linux64.dat: New file (generated).
	* s390-tdep.h (HWCAP_S390_HIGH_GPRS): Define.
	(HWCAP_S390_TE): Likewise.
	(S390_TDB_DWORD0_REGNUM): Likewise.
	(S390_TDB_DWORD0_REGNUM): Likewise.
	(S390_TDB_ABORT_CODE_REGNUM): Likewise.
	(S390_TDB_CONFLICT_TOKEN_REGNUM): Likewise.
	(S390_TDB_ATIA_REGNUM): Likewise.
	(S390_TDB_R0_REGNUM): Likewise.
	(S390_TDB_R1_REGNUM): Likewise.
	(S390_TDB_R2_REGNUM): Likewise.
	(S390_TDB_R3_REGNUM): Likewise.
	(S390_TDB_R4_REGNUM): Likewise.
	(S390_TDB_R5_REGNUM): Likewise.
	(S390_TDB_R6_REGNUM): Likewise.
	(S390_TDB_R7_REGNUM): Likewise.
	(S390_TDB_R8_REGNUM): Likewise.
	(S390_TDB_R9_REGNUM): Likewise.
	(S390_TDB_R10_REGNUM): Likewise.
	(S390_TDB_R11_REGNUM): Likewise.
	(S390_TDB_R12_REGNUM): Likewise.
	(S390_TDB_R13_REGNUM): Likewise.
	(S390_TDB_R14_REGNUM): Likewise.
	(S390_TDB_R15_REGNUM): Likewise.
	(S390_NUM_REGS): Increase.
	(S390_IS_TDBREGSET_REGNUM): New macro.
	(s390_regmap_tdb): Declare.
	(s390_sizeof_tdbregset): Define.
	(tdesc_s390_te_linux64): Declare.
	(tdesc_s390x_te_linux64): Likewise.
	* s390-tdep.c: Add includes for "auxv.h", <elf.h>,
	"features/s390-te-linux64.c", and "features/s390x-te-linux64.c".
	(s390_regmap_tdb): New regmap.
	(s390_supply_tdb_regset): New function.
	(s390_tdb_regset): New regset.
	(s390_linux64v2_regset_sections): Add TDB regset to list.
	(s390x_linux64v2_regset_sections): Likewise.
	(s390_regset_from_core_section): Recognize TDB core note section.
	(s390_core_read_description): If HWCAP indicates TE support,
	select tdesc_s390_te_linux64 or tdesc_s390_s390x_te_linux64.
	(s390_gdbarch_init): Handle TDB regset.
	(_initialize_s390_tdep): Initialize new tdescs.
	* s390-nat.c (HWCAP_S390_HIGH_GPRS): Remove define.
	(have_regset_tdb): New variable.
	(s390_native_supply): Support register invalidation.
	(fetch_regset): Invalidate registers if ptrace yields ENODATA.
	(check_regset): Treat ENODATA as "regset exists".
	(s390_linux_fetch_inferior_registers): Add TDB.
	(s390_read_description): Check for TDB existence and select
	appropriate tdesc.
	* gdbserver/Makefile.in (clean): Add removal of new makefile
	targets.
	(s390-te-linux64.c): New makefile target.
	(s390x-te-linux64.c): Likewise.
	* gdbserver/configure.srv (srv_regobj): Append new objects
	s390-te-linux64.o and s390x-te-linux64.o.
	(srv_xmlfiles): Append new files s390-te-linux64.xml,
	s390x-te-linux64.xml, and s390-tdb.xml.
	* gdbserver/linux-s390-low.c (init_registers_s390_te_linux64): New
	declaration.
	(tdesc_s390_te_linux64): Likewise.
	(init_registers_s390x_te_linux64): Likewise.
	(tdesc_s390x_te_linux64): Likewise.
	(s390_check_regset): Treat ENODATA as "regset exists".
	(s390_arch_setup): Add TDB regset support.
	(initialize_low_arch): Initialize registers for new tdescs.

gdb/doc/ChangeLog:
2013-09-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>

	* gdb.texinfo (Decimal Floating Point format): Mention S/390.
	(Standard Target Features): Add new node to menu.
	(S/390 and System z Features): New node.

gdb/testsuite/ChangeLog:
2013-09-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>

	* gdb.arch/s390-tdbregs.c: New file.
	* gdb.arch/s390-tdbregs.exp: New file.
2013-09-13 14:17:31 +00:00
..
i386
rs6000
aarch64-core.xml
aarch64-fpu.xml
aarch64.c
aarch64.xml
arm-core.xml
arm-fpa.xml
arm-m-profile.xml
arm-vfpv2.xml
arm-vfpv3.xml
arm-with-iwmmxt.c
arm-with-iwmmxt.xml
arm-with-m-fpa-layout.c
arm-with-m-fpa-layout.xml
arm-with-m-vfp-d16.c
arm-with-m-vfp-d16.xml
arm-with-m.c
arm-with-m.xml
arm-with-neon.c
arm-with-neon.xml
arm-with-vfpv2.c
arm-with-vfpv2.xml
arm-with-vfpv3.c
arm-with-vfpv3.xml
btrace.dtd Define the xml document style for transferring branch trace data. 2013-03-11 08:28:58 +00:00
feature_to_c.sh
gdb-target.dtd
gdbserver-regs.xsl
library-list-aix.dtd AIX: Change XML to use library-list-aix instead of library-list. 2013-05-07 09:50:49 +00:00
library-list-svr4.dtd
library-list.dtd
m68k-core.xml
Makefile gdb/ChangeLog: 2013-09-13 14:17:31 +00:00
mips64-cp0.xml
mips64-cpu.xml
mips64-dsp-linux.c
mips64-dsp-linux.xml
mips64-dsp.xml
mips64-fpu.xml
mips64-linux.c
mips64-linux.xml
mips-cp0.xml
mips-cpu.xml
mips-dsp-linux.c
mips-dsp-linux.xml
mips-dsp.xml
mips-fpu.xml
mips-linux.c
mips-linux.xml
nios2-cpu.xml 2013-05-06 Sandra Loosemore <sandra@codesourcery.com> 2013-05-07 01:09:29 +00:00
nios2-linux.c 2013-05-06 Sandra Loosemore <sandra@codesourcery.com> 2013-05-07 01:09:29 +00:00
nios2-linux.xml 2013-05-06 Sandra Loosemore <sandra@codesourcery.com> 2013-05-07 01:09:29 +00:00
nios2.c 2013-05-06 Sandra Loosemore <sandra@codesourcery.com> 2013-05-07 01:09:29 +00:00
nios2.xml 2013-05-06 Sandra Loosemore <sandra@codesourcery.com> 2013-05-07 01:09:29 +00:00
number-regs.xsl
osdata.dtd
s390-acr.xml
s390-core32.xml
s390-core64.xml
s390-fpr.xml
s390-linux32.c
s390-linux32.xml
s390-linux32v1.c
s390-linux32v1.xml
s390-linux32v2.c
s390-linux32v2.xml
s390-linux64.c
s390-linux64.xml
s390-linux64v1.c
s390-linux64v1.xml
s390-linux64v2.c
s390-linux64v2.xml
s390-tdb.xml gdb/ChangeLog: 2013-09-13 14:17:31 +00:00
s390-te-linux64.c gdb/ChangeLog: 2013-09-13 14:17:31 +00:00
s390-te-linux64.xml gdb/ChangeLog: 2013-09-13 14:17:31 +00:00
s390x-core64.xml
s390x-linux64.c
s390x-linux64.xml
s390x-linux64v1.c
s390x-linux64v1.xml
s390x-linux64v2.c
s390x-linux64v2.xml
s390x-te-linux64.c gdb/ChangeLog: 2013-09-13 14:17:31 +00:00
s390x-te-linux64.xml gdb/ChangeLog: 2013-09-13 14:17:31 +00:00
sort-regs.xsl
threads.dtd
tic6x-c6xp.xml
tic6x-c62x-linux.c
tic6x-c62x-linux.xml
tic6x-c62x.c
tic6x-c62x.xml
tic6x-c64x-linux.c
tic6x-c64x-linux.xml
tic6x-c64x.c
tic6x-c64x.xml
tic6x-c64xp-linux.c
tic6x-c64xp-linux.xml
tic6x-c64xp.c
tic6x-c64xp.xml
tic6x-core.xml
tic6x-gp.xml
traceframe-info.dtd gdb/ 2013-06-26 08:01:57 +00:00
xinclude.dtd
xscale-iwmmxt.xml