binutils-gdb/gdb/features/i386/64bit-core.c
Alan Hayward 3b74854b8d Remove xml file references from target descriptions
gdb/
	* common/tdesc.h (tdesc_create_feature): Remove xml filename
	parameter.
	* features/aarch64-core.c (create_feature_aarch64_core):
	Regenerate.
	* features/aarch64-fpu.c (create_feature_aarch64_fpu):
	Likewise.
	* features/i386/32bit-avx.c (create_feature_i386_32bit_avx):
	Likewise.
	* features/i386/32bit-avx512.c
	(create_feature_i386_32bit_avx512): Likewise.
	* features/i386/32bit-core.c (create_feature_i386_32bit_core):
	Likewise.
	* features/i386/32bit-linux.c (create_feature_i386_32bit_linux):
	Likewise.
	* features/i386/32bit-mpx.c (create_feature_i386_32bit_mpx):
	Likewise.
	* features/i386/32bit-pkeys.c (create_feature_i386_32bit_pkeys):
	Likewise.
	* features/i386/32bit-sse.c (create_feature_i386_32bit_sse):
	Likewise.
	* features/i386/64bit-avx.c (create_feature_i386_64bit_avx):
	Likewise.
	* features/i386/64bit-avx512.c
	(create_feature_i386_64bit_avx512): Likewise.
	* features/i386/64bit-core.c (create_feature_i386_64bit_core):
	Likewise.
	* features/i386/64bit-linux.c (create_feature_i386_64bit_linux):
	Likewise.
	* features/i386/64bit-mpx.c (create_feature_i386_64bit_mpx):
	Likewise.
	* features/i386/64bit-pkeys.c (create_feature_i386_64bit_pkeys):
	Likewise.
	* features/i386/64bit-segments.c
	(create_feature_i386_64bit_segments): Likewise.
	* features/i386/64bit-sse.c (create_feature_i386_64bit_sse):
	Likewise.
	* features/i386/x32-core.c
	(create_feature_i386_x32_core): Likewise.
	* features/tic6x-c6xp.c (create_feature_tic6x_c6xp): Likewise.
	* features/tic6x-core.c (create_feature_tic6x_core): Likewise.
	* features/tic6x-gp.c (create_feature_tic6x_gp): Likewise.
	* target-descriptions.c: In generated code, don't pass xml
	filename.

gdbserver/
	* tdesc.c: Remove xml parameter.
2018-04-18 20:49:37 +01:00

74 lines
4.0 KiB
C

/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
Original: 64bit-core.xml */
#include "common/tdesc.h"
static int
create_feature_i386_64bit_core (struct target_desc *result, long regnum)
{
struct tdesc_feature *feature;
feature = tdesc_create_feature (result, "org.gnu.gdb.i386.core");
tdesc_type_with_fields *type_with_fields;
type_with_fields = tdesc_create_flags (feature, "i386_eflags", 4);
tdesc_add_flag (type_with_fields, 0, "CF");
tdesc_add_flag (type_with_fields, 1, "");
tdesc_add_flag (type_with_fields, 2, "PF");
tdesc_add_flag (type_with_fields, 4, "AF");
tdesc_add_flag (type_with_fields, 6, "ZF");
tdesc_add_flag (type_with_fields, 7, "SF");
tdesc_add_flag (type_with_fields, 8, "TF");
tdesc_add_flag (type_with_fields, 9, "IF");
tdesc_add_flag (type_with_fields, 10, "DF");
tdesc_add_flag (type_with_fields, 11, "OF");
tdesc_add_flag (type_with_fields, 14, "NT");
tdesc_add_flag (type_with_fields, 16, "RF");
tdesc_add_flag (type_with_fields, 17, "VM");
tdesc_add_flag (type_with_fields, 18, "AC");
tdesc_add_flag (type_with_fields, 19, "VIF");
tdesc_add_flag (type_with_fields, 20, "VIP");
tdesc_add_flag (type_with_fields, 21, "ID");
tdesc_create_reg (feature, "rax", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "rbx", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "rcx", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "rdx", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "rsi", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "rdi", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "rbp", regnum++, 1, NULL, 64, "data_ptr");
tdesc_create_reg (feature, "rsp", regnum++, 1, NULL, 64, "data_ptr");
tdesc_create_reg (feature, "r8", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "r9", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "r10", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "r11", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "r12", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "r13", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "r14", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "r15", regnum++, 1, NULL, 64, "int64");
tdesc_create_reg (feature, "rip", regnum++, 1, NULL, 64, "code_ptr");
tdesc_create_reg (feature, "eflags", regnum++, 1, NULL, 32, "i386_eflags");
tdesc_create_reg (feature, "cs", regnum++, 1, NULL, 32, "int32");
tdesc_create_reg (feature, "ss", regnum++, 1, NULL, 32, "int32");
tdesc_create_reg (feature, "ds", regnum++, 1, NULL, 32, "int32");
tdesc_create_reg (feature, "es", regnum++, 1, NULL, 32, "int32");
tdesc_create_reg (feature, "fs", regnum++, 1, NULL, 32, "int32");
tdesc_create_reg (feature, "gs", regnum++, 1, NULL, 32, "int32");
tdesc_create_reg (feature, "st0", regnum++, 1, NULL, 80, "i387_ext");
tdesc_create_reg (feature, "st1", regnum++, 1, NULL, 80, "i387_ext");
tdesc_create_reg (feature, "st2", regnum++, 1, NULL, 80, "i387_ext");
tdesc_create_reg (feature, "st3", regnum++, 1, NULL, 80, "i387_ext");
tdesc_create_reg (feature, "st4", regnum++, 1, NULL, 80, "i387_ext");
tdesc_create_reg (feature, "st5", regnum++, 1, NULL, 80, "i387_ext");
tdesc_create_reg (feature, "st6", regnum++, 1, NULL, 80, "i387_ext");
tdesc_create_reg (feature, "st7", regnum++, 1, NULL, 80, "i387_ext");
tdesc_create_reg (feature, "fctrl", regnum++, 1, "float", 32, "int");
tdesc_create_reg (feature, "fstat", regnum++, 1, "float", 32, "int");
tdesc_create_reg (feature, "ftag", regnum++, 1, "float", 32, "int");
tdesc_create_reg (feature, "fiseg", regnum++, 1, "float", 32, "int");
tdesc_create_reg (feature, "fioff", regnum++, 1, "float", 32, "int");
tdesc_create_reg (feature, "foseg", regnum++, 1, "float", 32, "int");
tdesc_create_reg (feature, "fooff", regnum++, 1, "float", 32, "int");
tdesc_create_reg (feature, "fop", regnum++, 1, "float", 32, "int");
return regnum;
}