* features/Makefile: Generate regformats for mips-linux and
authorDaniel Jacobowitz <drow@false.org>
Wed, 13 Jun 2007 18:50:38 +0000 (18:50 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 13 Jun 2007 18:50:38 +0000 (18:50 +0000)
commit117ce5436248fc716d7328850061120ba2e05bbf
treeaae0d3e7d90fc2ac6f0fe07749ed43d6c463d019
parent822b65708d4030ccb4fd2a979de5292f730e30b8
* 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.
gdb/ChangeLog
gdb/features/Makefile
gdb/features/sort-regs.xsl
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/configure.srv
gdb/gdbserver/linux-mips-low.c
gdb/regformats/mips-linux.dat [new file with mode: 0644]
gdb/regformats/mips64-linux.dat [new file with mode: 0644]