2 <!-- Copyright (C) 2018-2019 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.riscv.cpu">
10 <reg name="zero" bitsize="32" type="int"/>
11 <reg name="ra" bitsize="32" type="code_ptr"/>
12 <reg name="sp" bitsize="32" type="data_ptr"/>
13 <reg name="gp" bitsize="32" type="data_ptr"/>
14 <reg name="tp" bitsize="32" type="data_ptr"/>
15 <reg name="t0" bitsize="32" type="int"/>
16 <reg name="t1" bitsize="32" type="int"/>
17 <reg name="t2" bitsize="32" type="int"/>
18 <reg name="fp" bitsize="32" type="data_ptr"/>
19 <reg name="s1" bitsize="32" type="int"/>
20 <reg name="a0" bitsize="32" type="int"/>
21 <reg name="a1" bitsize="32" type="int"/>
22 <reg name="a2" bitsize="32" type="int"/>
23 <reg name="a3" bitsize="32" type="int"/>
24 <reg name="a4" bitsize="32" type="int"/>
25 <reg name="a5" bitsize="32" type="int"/>
26 <reg name="a6" bitsize="32" type="int"/>
27 <reg name="a7" bitsize="32" type="int"/>
28 <reg name="s2" bitsize="32" type="int"/>
29 <reg name="s3" bitsize="32" type="int"/>
30 <reg name="s4" bitsize="32" type="int"/>
31 <reg name="s5" bitsize="32" type="int"/>
32 <reg name="s6" bitsize="32" type="int"/>
33 <reg name="s7" bitsize="32" type="int"/>
34 <reg name="s8" bitsize="32" type="int"/>
35 <reg name="s9" bitsize="32" type="int"/>
36 <reg name="s10" bitsize="32" type="int"/>
37 <reg name="s11" bitsize="32" type="int"/>
38 <reg name="t3" bitsize="32" type="int"/>
39 <reg name="t4" bitsize="32" type="int"/>
40 <reg name="t5" bitsize="32" type="int"/>
41 <reg name="t6" bitsize="32" type="int"/>
42 <reg name="pc" bitsize="32" type="code_ptr"/>