binutils-gdb/gdb/features/tic6x-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

48 lines
2.6 KiB
C

/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
Original: tic6x-core.xml */
#include "common/tdesc.h"
static int
create_feature_tic6x_core (struct target_desc *result, long regnum)
{
struct tdesc_feature *feature;
feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.core");
tdesc_create_reg (feature, "A0", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A1", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A2", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A3", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A4", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A5", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A6", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A7", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A8", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A9", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A10", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A11", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A12", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A13", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A14", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "A15", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B0", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B1", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B2", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B3", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B4", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B5", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B6", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B7", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B8", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B9", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B10", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B11", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B12", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B13", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B14", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "B15", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "CSR", regnum++, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "PC", regnum++, 1, NULL, 32, "code_ptr");
return regnum;
}