manual copyright year range of various GDB files to add 2023
[binutils-gdb.git] / gdb / features / loongarch / base32.c
blob3fb35ef2d05a7f68b5e845e0e24e8534dd0db42f
1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: base32.xml */
4 #include "gdbsupport/tdesc.h"
6 static int
7 create_feature_loongarch_base32 (struct target_desc *result, long regnum)
9 struct tdesc_feature *feature;
11 feature = tdesc_create_feature (result, "org.gnu.gdb.loongarch.base");
12 tdesc_create_reg (feature, "r0", regnum++, 1, "general", 32, "uint32");
13 tdesc_create_reg (feature, "r1", regnum++, 1, "general", 32, "code_ptr");
14 tdesc_create_reg (feature, "r2", regnum++, 1, "general", 32, "data_ptr");
15 tdesc_create_reg (feature, "r3", regnum++, 1, "general", 32, "data_ptr");
16 tdesc_create_reg (feature, "r4", regnum++, 1, "general", 32, "uint32");
17 tdesc_create_reg (feature, "r5", regnum++, 1, "general", 32, "uint32");
18 tdesc_create_reg (feature, "r6", regnum++, 1, "general", 32, "uint32");
19 tdesc_create_reg (feature, "r7", regnum++, 1, "general", 32, "uint32");
20 tdesc_create_reg (feature, "r8", regnum++, 1, "general", 32, "uint32");
21 tdesc_create_reg (feature, "r9", regnum++, 1, "general", 32, "uint32");
22 tdesc_create_reg (feature, "r10", regnum++, 1, "general", 32, "uint32");
23 tdesc_create_reg (feature, "r11", regnum++, 1, "general", 32, "uint32");
24 tdesc_create_reg (feature, "r12", regnum++, 1, "general", 32, "uint32");
25 tdesc_create_reg (feature, "r13", regnum++, 1, "general", 32, "uint32");
26 tdesc_create_reg (feature, "r14", regnum++, 1, "general", 32, "uint32");
27 tdesc_create_reg (feature, "r15", regnum++, 1, "general", 32, "uint32");
28 tdesc_create_reg (feature, "r16", regnum++, 1, "general", 32, "uint32");
29 tdesc_create_reg (feature, "r17", regnum++, 1, "general", 32, "uint32");
30 tdesc_create_reg (feature, "r18", regnum++, 1, "general", 32, "uint32");
31 tdesc_create_reg (feature, "r19", regnum++, 1, "general", 32, "uint32");
32 tdesc_create_reg (feature, "r20", regnum++, 1, "general", 32, "uint32");
33 tdesc_create_reg (feature, "r21", regnum++, 1, "general", 32, "uint32");
34 tdesc_create_reg (feature, "r22", regnum++, 1, "general", 32, "data_ptr");
35 tdesc_create_reg (feature, "r23", regnum++, 1, "general", 32, "uint32");
36 tdesc_create_reg (feature, "r24", regnum++, 1, "general", 32, "uint32");
37 tdesc_create_reg (feature, "r25", regnum++, 1, "general", 32, "uint32");
38 tdesc_create_reg (feature, "r26", regnum++, 1, "general", 32, "uint32");
39 tdesc_create_reg (feature, "r27", regnum++, 1, "general", 32, "uint32");
40 tdesc_create_reg (feature, "r28", regnum++, 1, "general", 32, "uint32");
41 tdesc_create_reg (feature, "r29", regnum++, 1, "general", 32, "uint32");
42 tdesc_create_reg (feature, "r30", regnum++, 1, "general", 32, "uint32");
43 tdesc_create_reg (feature, "r31", regnum++, 1, "general", 32, "uint32");
44 tdesc_create_reg (feature, "orig_a0", regnum++, 1, "general", 32, "uint32");
45 tdesc_create_reg (feature, "pc", regnum++, 1, "general", 32, "code_ptr");
46 tdesc_create_reg (feature, "badv", regnum++, 1, "general", 32, "code_ptr");
47 return regnum;