1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: aarch64-core.xml */
4 #include "common/tdesc.h"
7 create_feature_aarch64_core (struct target_desc
*result
, long regnum
)
9 struct tdesc_feature
*feature
;
11 feature
= tdesc_create_feature (result
, "org.gnu.gdb.aarch64.core");
12 tdesc_type_with_fields
*type_with_fields
;
13 type_with_fields
= tdesc_create_flags (feature
, "cpsr_flags", 4);
14 tdesc_add_flag (type_with_fields
, 0, "SP");
15 tdesc_add_flag (type_with_fields
, 1, "");
16 tdesc_add_bitfield (type_with_fields
, "EL", 2, 3);
17 tdesc_add_flag (type_with_fields
, 4, "nRW");
18 tdesc_add_flag (type_with_fields
, 5, "");
19 tdesc_add_flag (type_with_fields
, 6, "F");
20 tdesc_add_flag (type_with_fields
, 7, "I");
21 tdesc_add_flag (type_with_fields
, 8, "A");
22 tdesc_add_flag (type_with_fields
, 9, "D");
23 tdesc_add_flag (type_with_fields
, 20, "IL");
24 tdesc_add_flag (type_with_fields
, 21, "SS");
25 tdesc_add_flag (type_with_fields
, 28, "V");
26 tdesc_add_flag (type_with_fields
, 29, "C");
27 tdesc_add_flag (type_with_fields
, 30, "Z");
28 tdesc_add_flag (type_with_fields
, 31, "N");
30 tdesc_create_reg (feature
, "x0", regnum
++, 1, NULL
, 64, "int");
31 tdesc_create_reg (feature
, "x1", regnum
++, 1, NULL
, 64, "int");
32 tdesc_create_reg (feature
, "x2", regnum
++, 1, NULL
, 64, "int");
33 tdesc_create_reg (feature
, "x3", regnum
++, 1, NULL
, 64, "int");
34 tdesc_create_reg (feature
, "x4", regnum
++, 1, NULL
, 64, "int");
35 tdesc_create_reg (feature
, "x5", regnum
++, 1, NULL
, 64, "int");
36 tdesc_create_reg (feature
, "x6", regnum
++, 1, NULL
, 64, "int");
37 tdesc_create_reg (feature
, "x7", regnum
++, 1, NULL
, 64, "int");
38 tdesc_create_reg (feature
, "x8", regnum
++, 1, NULL
, 64, "int");
39 tdesc_create_reg (feature
, "x9", regnum
++, 1, NULL
, 64, "int");
40 tdesc_create_reg (feature
, "x10", regnum
++, 1, NULL
, 64, "int");
41 tdesc_create_reg (feature
, "x11", regnum
++, 1, NULL
, 64, "int");
42 tdesc_create_reg (feature
, "x12", regnum
++, 1, NULL
, 64, "int");
43 tdesc_create_reg (feature
, "x13", regnum
++, 1, NULL
, 64, "int");
44 tdesc_create_reg (feature
, "x14", regnum
++, 1, NULL
, 64, "int");
45 tdesc_create_reg (feature
, "x15", regnum
++, 1, NULL
, 64, "int");
46 tdesc_create_reg (feature
, "x16", regnum
++, 1, NULL
, 64, "int");
47 tdesc_create_reg (feature
, "x17", regnum
++, 1, NULL
, 64, "int");
48 tdesc_create_reg (feature
, "x18", regnum
++, 1, NULL
, 64, "int");
49 tdesc_create_reg (feature
, "x19", regnum
++, 1, NULL
, 64, "int");
50 tdesc_create_reg (feature
, "x20", regnum
++, 1, NULL
, 64, "int");
51 tdesc_create_reg (feature
, "x21", regnum
++, 1, NULL
, 64, "int");
52 tdesc_create_reg (feature
, "x22", regnum
++, 1, NULL
, 64, "int");
53 tdesc_create_reg (feature
, "x23", regnum
++, 1, NULL
, 64, "int");
54 tdesc_create_reg (feature
, "x24", regnum
++, 1, NULL
, 64, "int");
55 tdesc_create_reg (feature
, "x25", regnum
++, 1, NULL
, 64, "int");
56 tdesc_create_reg (feature
, "x26", regnum
++, 1, NULL
, 64, "int");
57 tdesc_create_reg (feature
, "x27", regnum
++, 1, NULL
, 64, "int");
58 tdesc_create_reg (feature
, "x28", regnum
++, 1, NULL
, 64, "int");
59 tdesc_create_reg (feature
, "x29", regnum
++, 1, NULL
, 64, "int");
60 tdesc_create_reg (feature
, "x30", regnum
++, 1, NULL
, 64, "int");
61 tdesc_create_reg (feature
, "sp", regnum
++, 1, NULL
, 64, "data_ptr");
62 tdesc_create_reg (feature
, "pc", regnum
++, 1, NULL
, 64, "code_ptr");
63 tdesc_create_reg (feature
, "cpsr", regnum
++, 1, NULL
, 32, "cpsr_flags");