2 <!-- Copyright (C) 2022 Free Software Foundation, Inc.
4 Copying and distribution of this file, with or without modification,
5 are permitted in any medium without royalty provided the copyright
6 notice and this notice are preserved. -->
8 <!DOCTYPE feature SYSTEM "gdb-target.dtd">
9 <feature name="org.gnu.gdb.loongarch.base">
10 <reg name="r0" bitsize="64" type="uint64" group="general"/>
11 <reg name="r1" bitsize="64" type="code_ptr" group="general"/>
12 <reg name="r2" bitsize="64" type="data_ptr" group="general"/>
13 <reg name="r3" bitsize="64" type="data_ptr" group="general"/>
14 <reg name="r4" bitsize="64" type="uint64" group="general"/>
15 <reg name="r5" bitsize="64" type="uint64" group="general"/>
16 <reg name="r6" bitsize="64" type="uint64" group="general"/>
17 <reg name="r7" bitsize="64" type="uint64" group="general"/>
18 <reg name="r8" bitsize="64" type="uint64" group="general"/>
19 <reg name="r9" bitsize="64" type="uint64" group="general"/>
20 <reg name="r10" bitsize="64" type="uint64" group="general"/>
21 <reg name="r11" bitsize="64" type="uint64" group="general"/>
22 <reg name="r12" bitsize="64" type="uint64" group="general"/>
23 <reg name="r13" bitsize="64" type="uint64" group="general"/>
24 <reg name="r14" bitsize="64" type="uint64" group="general"/>
25 <reg name="r15" bitsize="64" type="uint64" group="general"/>
26 <reg name="r16" bitsize="64" type="uint64" group="general"/>
27 <reg name="r17" bitsize="64" type="uint64" group="general"/>
28 <reg name="r18" bitsize="64" type="uint64" group="general"/>
29 <reg name="r19" bitsize="64" type="uint64" group="general"/>
30 <reg name="r20" bitsize="64" type="uint64" group="general"/>
31 <reg name="r21" bitsize="64" type="uint64" group="general"/>
32 <reg name="r22" bitsize="64" type="data_ptr" group="general"/>
33 <reg name="r23" bitsize="64" type="uint64" group="general"/>
34 <reg name="r24" bitsize="64" type="uint64" group="general"/>
35 <reg name="r25" bitsize="64" type="uint64" group="general"/>
36 <reg name="r26" bitsize="64" type="uint64" group="general"/>
37 <reg name="r27" bitsize="64" type="uint64" group="general"/>
38 <reg name="r28" bitsize="64" type="uint64" group="general"/>
39 <reg name="r29" bitsize="64" type="uint64" group="general"/>
40 <reg name="r30" bitsize="64" type="uint64" group="general"/>
41 <reg name="r31" bitsize="64" type="uint64" group="general"/>
42 <reg name="orig_a0" bitsize="64" type="uint64" group="general"/>
43 <reg name="pc" bitsize="64" type="code_ptr" group="general"/>
44 <reg name="badv" bitsize="64" type="code_ptr" group="general"/>