binutils-gdb/gdb/features/i386
Doug Evans ee8da4b839 Make "end" field in feature specs required again.
Newer gdbservers may be talking to older gdbs,
and older gdbs will flag a missing "end" as an error.
So just make "end" required again, and for compatibility
change the default field type to "bool".

gdb/ChangeLog:
2016-10-06  Doug Evans  <dje@google.com>

	* features/aarch64-core.xml (cpsr_flags): Elide "type" and specify
	"end" in all fields.
	* features/aarch64.c: Regenerate.
	* features/i386/32bit-mpx.xml (_bndcfgu): Specify type of "preserved"
	and "enabled" fields. Correct size of "enabled" field.
	* features/i386/64bit-mpx.xml (_bndcfgu): Specify type of "preserved"
	and "enabled" fields.
	* features/i386/i386-avx-mpx-linux.c: Regenerate.
	* features/i386/i386-avx-mpx.c: Regenerate.
	* features/i386/i386-avx512-linux.c: Regenerate.
	* features/i386/i386-avx512.c: Regenerate.
	* features/i386/i386-mpx-linux.c: Regenerate.
	* features/i386/i386-mpx.c: Regenerate.
	* features/arc-arcompact.c: Regenerate.
	* features/arc-v2.c: Regenerate.
	* xml-tdesc.c (tdesc_start_field): Require "end" spec.  Single bit
	fields default to "bool" type.

	Revert 2016-03-15  Doug Evans  <dje@google.com>
	* features/i386/32bit-core.xml (i386_eflags): Remove "end" spec.
	* features/i386/32bit-sse.xml (i386_eflags): Ditto.
	* features/i386/64bit-core.xml (i386_eflags): Ditto.
	* features/i386/64bit-sse.xml (i386_eflags): Ditto.
	* features/i386/x32-core.xml (i386_eflags): Ditto.

gdb/doc/ChangeLog:
2016-10-06  Doug Evans  <dje@google.com>

	* gdb.texinfo (Target Description Format): Update docs on "end"
	field spec and field default type.

gdb/testsuite/ChangeLog:
2016-10-06  Doug Evans  <dje@google.com>

	* gdb.xml/extra-regs.xml: Update, end field now required, default type
	for single bitfields is bool.
	* gdb.xml/tdesc-regs.exp: Ditto.
2016-10-06 12:12:33 +01:00
..
32bit-avx.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
32bit-avx512.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
32bit-core.xml Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
32bit-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
32bit-mpx.xml Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
32bit-sse.xml Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
64bit-avx.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
64bit-avx512.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
64bit-core.xml Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
64bit-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
64bit-mpx.xml Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
64bit-sse.xml Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
amd64-avx-linux.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
amd64-avx-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
amd64-avx-mpx-linux.c Regenerate some target description files 2016-08-08 15:09:46 +01:00
amd64-avx-mpx-linux.xml Add target descriptions for AVX + MPX 2016-04-19 15:44:32 +02:00
amd64-avx-mpx.c Regenerate some target description files 2016-08-08 15:09:46 +01:00
amd64-avx-mpx.xml Add target descriptions for AVX + MPX 2016-04-19 15:44:32 +02:00
amd64-avx.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
amd64-avx.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
amd64-avx512-linux.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
amd64-avx512-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
amd64-avx512.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
amd64-avx512.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
amd64-linux.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
amd64-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
amd64-mpx-linux.c Re-factor (i386|amd64)mpx target descriptions. 2016-04-19 15:45:50 +02:00
amd64-mpx-linux.xml Re-factor (i386|amd64)mpx target descriptions. 2016-04-19 15:45:50 +02:00
amd64-mpx.c Re-factor (i386|amd64)mpx target descriptions. 2016-04-19 15:45:50 +02:00
amd64-mpx.xml Re-factor (i386|amd64)mpx target descriptions. 2016-04-19 15:45:50 +02:00
amd64.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
amd64.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
i386-avx-linux.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
i386-avx-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
i386-avx-mpx-linux.c Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
i386-avx-mpx-linux.xml Add target descriptions for AVX + MPX 2016-04-19 15:44:32 +02:00
i386-avx-mpx.c Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
i386-avx-mpx.xml Add target descriptions for AVX + MPX 2016-04-19 15:44:32 +02:00
i386-avx.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
i386-avx.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
i386-avx512-linux.c Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
i386-avx512-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
i386-avx512.c Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
i386-avx512.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
i386-linux.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
i386-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
i386-mmx-linux.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
i386-mmx-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
i386-mmx.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
i386-mmx.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
i386-mpx-linux.c Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
i386-mpx-linux.xml Re-factor (i386|amd64)mpx target descriptions. 2016-04-19 15:45:50 +02:00
i386-mpx.c Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
i386-mpx.xml Re-factor (i386|amd64)mpx target descriptions. 2016-04-19 15:45:50 +02:00
i386.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
i386.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
x32-avx-linux.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
x32-avx-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
x32-avx.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
x32-avx.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
x32-avx512-linux.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
x32-avx512-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
x32-avx512.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
x32-avx512.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
x32-core.xml Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
x32-linux.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
x32-linux.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
x32.c maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type. 2016-03-15 12:53:55 -07:00
x32.xml GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00