diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-06-13 18:50:38 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-06-13 18:50:38 +0000 |
commit | 117ce5436248fc716d7328850061120ba2e05bbf (patch) | |
tree | aae0d3e7d90fc2ac6f0fe07749ed43d6c463d019 /gdb/features | |
parent | 822b65708d4030ccb4fd2a979de5292f730e30b8 (diff) | |
download | gdb-117ce5436248fc716d7328850061120ba2e05bbf.zip gdb-117ce5436248fc716d7328850061120ba2e05bbf.tar.gz gdb-117ce5436248fc716d7328850061120ba2e05bbf.tar.bz2 |
* features/Makefile: Generate regformats for mips-linux and
mips64-linux.
* features/sort-regs.xsl: Correct typo.
* regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete.
* regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated
files.
* Makefile.in (clean): Clean new files instead of deleted ones.
(reg-mips.o, reg-mips.c, reg-mips64.o, reg-mips64.c): Delete.
(mips-linux.o, mips-linux.c, mips64-linux.o, mips64-linux.c): New
rules.
* configure.srv: Specify XML files and new regformats for MIPS and
MIPS64 GNU/Linux.
* linux-mips-low.c (mips_num_regs): Set to only used registers.
(mips_regmap): Do not fetch $0. Remove unused registers. Add
an entry for the restart register.
(mips_cannot_fetch_register, mips_cannot_store_register)
(mips_reinsert_addr, mips_fill_fpregset, mips_store_fpregset): Update
register names to match the XML descriptions.
(mips_fill_gregset, mips_store_gregset): Likewise. Handle the
restart register instead of $0.
Diffstat (limited to 'gdb/features')
-rw-r--r-- | gdb/features/Makefile | 4 | ||||
-rw-r--r-- | gdb/features/sort-regs.xsl | 2 |
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> |