]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - gdb-xml/riscv-32bit-cpu.xml
target/riscv: remove fixed numbering from GDB xml feature files
[thirdparty/qemu.git] / gdb-xml / riscv-32bit-cpu.xml
index 0d07aaec857bc94bc5254b68ce5729638c2fe65c..466f2c06485f7814a315f90bc0723c6ed66f3017 100644 (file)
@@ -5,13 +5,9 @@
      are permitted in any medium without royalty provided the copyright
      notice and this notice are preserved.  -->
 
-<!-- Register numbers are hard-coded in order to maintain backward
-     compatibility with older versions of tools that didn't use xml
-     register descriptions.  -->
-
 <!DOCTYPE feature SYSTEM "gdb-target.dtd">
 <feature name="org.gnu.gdb.riscv.cpu">
-  <reg name="zero" bitsize="32" type="int" regnum="0"/>
+  <reg name="zero" bitsize="32" type="int"/>
   <reg name="ra" bitsize="32" type="code_ptr"/>
   <reg name="sp" bitsize="32" type="data_ptr"/>
   <reg name="gp" bitsize="32" type="data_ptr"/>