aboutsummaryrefslogtreecommitdiff
path: root/gdb/features
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/features')
-rw-r--r--gdb/features/Makefile4
-rw-r--r--gdb/features/sort-regs.xsl2
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/features/Makefile b/gdb/features/Makefile
index 3442f8b..e116266 100644
--- a/gdb/features/Makefile
+++ b/gdb/features/Makefile
@@ -25,10 +25,12 @@
# affected XML files is changed, and the results should be kept in the
# GDB repository.
-WHICH = arm-with-iwmmxt
+WHICH = arm-with-iwmmxt mips-linux mips64-linux
# Record which registers should be sent to GDB by default after stop.
arm-with-iwmmxt-expedite = r11,sp,pc
+mips-linux-expedite = r29,pc
+mips64-linux-expedite = r29,pc
XSLTPROC = xsltproc
outdir = ../regformats
diff --git a/gdb/features/sort-regs.xsl b/gdb/features/sort-regs.xsl
index c89fcce6..5a99ec8 100644
--- a/gdb/features/sort-regs.xsl
+++ b/gdb/features/sort-regs.xsl
@@ -3,7 +3,7 @@
<xsl:template match="/">
<target>
<xsl:for-each select="//reg">
- <xsl:sort select="regnum" data-type="number"/>
+ <xsl:sort select="@regnum" data-type="number"/>
<xsl:copy-of select="."/>
</xsl:for-each>
</target>