gdb/riscv: Add command to switch between numeric & abi register names
[binutils-gdb.git] / gdb / features / loongarch / base64.c
blobd84d42562947bdd267236231f2848a0920f2c213
1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: base64.xml */
4 #include "gdbsupport/tdesc.h"
6 static int
7 create_feature_loongarch_base64 (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", 64, "uint64");
13 tdesc_create_reg (feature, "r1", regnum++, 1, "general", 64, "code_ptr");
14 tdesc_create_reg (feature, "r2", regnum++, 1, "general", 64, "data_ptr");
15 tdesc_create_reg (feature, "r3", regnum++, 1, "general", 64, "data_ptr");
16 tdesc_create_reg (feature, "r4", regnum++, 1, "general", 64, "uint64");
17 tdesc_create_reg (feature, "r5", regnum++, 1, "general", 64, "uint64");
18 tdesc_create_reg (feature, "r6", regnum++, 1, "general", 64, "uint64");
19 tdesc_create_reg (feature, "r7", regnum++, 1, "general", 64, "uint64");
20 tdesc_create_reg (feature, "r8", regnum++, 1, "general", 64, "uint64");
21 tdesc_create_reg (feature, "r9", regnum++, 1, "general", 64, "uint64");
22 tdesc_create_reg (feature, "r10", regnum++, 1, "general", 64, "uint64");
23 tdesc_create_reg (feature, "r11", regnum++, 1, "general", 64, "uint64");
24 tdesc_create_reg (feature, "r12", regnum++, 1, "general", 64, "uint64");
25 tdesc_create_reg (feature, "r13", regnum++, 1, "general", 64, "uint64");
26 tdesc_create_reg (feature, "r14", regnum++, 1, "general", 64, "uint64");
27 tdesc_create_reg (feature, "r15", regnum++, 1, "general", 64, "uint64");
28 tdesc_create_reg (feature, "r16", regnum++, 1, "general", 64, "uint64");
29 tdesc_create_reg (feature, "r17", regnum++, 1, "general", 64, "uint64");
30 tdesc_create_reg (feature, "r18", regnum++, 1, "general", 64, "uint64");
31 tdesc_create_reg (feature, "r19", regnum++, 1, "general", 64, "uint64");
32 tdesc_create_reg (feature, "r20", regnum++, 1, "general", 64, "uint64");
33 tdesc_create_reg (feature, "r21", regnum++, 1, "general", 64, "uint64");
34 tdesc_create_reg (feature, "r22", regnum++, 1, "general", 64, "data_ptr");
35 tdesc_create_reg (feature, "r23", regnum++, 1, "general", 64, "uint64");
36 tdesc_create_reg (feature, "r24", regnum++, 1, "general", 64, "uint64");
37 tdesc_create_reg (feature, "r25", regnum++, 1, "general", 64, "uint64");
38 tdesc_create_reg (feature, "r26", regnum++, 1, "general", 64, "uint64");
39 tdesc_create_reg (feature, "r27", regnum++, 1, "general", 64, "uint64");
40 tdesc_create_reg (feature, "r28", regnum++, 1, "general", 64, "uint64");
41 tdesc_create_reg (feature, "r29", regnum++, 1, "general", 64, "uint64");
42 tdesc_create_reg (feature, "r30", regnum++, 1, "general", 64, "uint64");
43 tdesc_create_reg (feature, "r31", regnum++, 1, "general", 64, "uint64");
44 tdesc_create_reg (feature, "orig_a0", regnum++, 1, "general", 64, "uint64");
45 tdesc_create_reg (feature, "pc", regnum++, 1, "general", 64, "code_ptr");
46 tdesc_create_reg (feature, "badv", regnum++, 1, "general", 64, "code_ptr");
47 return regnum;