2011-11-17 Maciej W. Rozycki<macro@codesourcery.com>
gdb/gdbserver/
* linux-mips-low.c (mips_regmap): Correct the index of $f9.
Maciej
gdb-gdbserver-linux-mips-fpr-fix.diff
Index: gdb-fsf-trunk-quilt/gdb/gdbserver/linux-mips-low.c
===================================================================
--- gdb-fsf-trunk-quilt.orig/gdb/gdbserver/linux-mips-low.c 2011-11-17 20:10:51.000000000 +0000
+++ gdb-fsf-trunk-quilt/gdb/gdbserver/linux-mips-low.c 2011-11-17 20:11:44.995624756 +0000
@@ -63,7 +63,7 @@ static int mips_regmap[] = {
FPR_BASE, FPR_BASE + 1, FPR_BASE + 2, FPR_BASE + 3,
FPR_BASE + 4, FPR_BASE + 5, FPR_BASE + 6, FPR_BASE + 7,
- FPR_BASE + 8, FPR_BASE + 8, FPR_BASE + 10, FPR_BASE + 11,
+ FPR_BASE + 8, FPR_BASE + 9, FPR_BASE + 10, FPR_BASE + 11,
FPR_BASE + 12, FPR_BASE + 13, FPR_BASE + 14, FPR_BASE + 15,
FPR_BASE + 16, FPR_BASE + 17, FPR_BASE + 18, FPR_BASE + 19,
FPR_BASE + 20, FPR_BASE + 21, FPR_BASE + 22, FPR_BASE + 23,