aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2012-02-24 16:16:02 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2012-02-24 16:16:02 +0000
commitb745defe5119cc3dde0a0a25c67d1e21ba138d5a (patch)
treee0d3d701979b4582b3ee1333b475282cc85e5b83
parent8d126d8a7aca0e005a8aabc3d8ba101d2ad9595e (diff)
downloadgdb-b745defe5119cc3dde0a0a25c67d1e21ba138d5a.zip
gdb-b745defe5119cc3dde0a0a25c67d1e21ba138d5a.tar.gz
gdb-b745defe5119cc3dde0a0a25c67d1e21ba138d5a.tar.bz2
* linux-mips-low.c (mips_regmap): Correct the index of $f9.
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/linux-mips-low.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 1f28604..64ecbf9 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-24 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * linux-mips-low.c (mips_regmap): Correct the index of $f9.
+
2012-02-24 Luis Machado <lgustavo@codesourcery>
* server.c (handle_query): Advertise support for target-side
diff --git a/gdb/gdbserver/linux-mips-low.c b/gdb/gdbserver/linux-mips-low.c
index 8baf1b0..1fb6237 100644
--- a/gdb/gdbserver/linux-mips-low.c
+++ b/gdb/gdbserver/linux-mips-low.c
@@ -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,