target-mips: Correct the handling of register #72 on writes
commit800675f11742b6080e40d17b8d5f35d3a5fc5724
authorMaciej W. Rozycki <macro@codesourcery.com>
Mon, 3 Nov 2014 18:47:45 +0000 (3 18:47 +0000)
committerLeon Alrae <leon.alrae@imgtec.com>
Tue, 16 Dec 2014 12:45:19 +0000 (16 12:45 +0000)
tree4c045b49cd4895afa41cecfc2ff3304fc1096f1e
parentdfa9c2a0f4d0a0c8b2c1449ecdbb1297427e1560
target-mips: Correct the handling of register #72 on writes

Fix an off-by-one error in `mips_cpu_gdb_write_register' for register
matching how `mips_cpu_gdb_read_register' handles it.  This register
slot is a fake anyway, there's nothing in hardware that corresponds to
it.

Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
target-mips/gdbstub.c