diff options
Diffstat (limited to 'gdb/gdbserver/linux-cris-low.c')
-rw-r--r-- | gdb/gdbserver/linux-cris-low.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/linux-cris-low.c b/gdb/gdbserver/linux-cris-low.c index 27e1d75..0b0c04a 100644 --- a/gdb/gdbserver/linux-cris-low.c +++ b/gdb/gdbserver/linux-cris-low.c @@ -38,7 +38,7 @@ static int cris_regmap[] = { -1, 17*4, -1, 16*4, -1, -1, -1, 18*4, -1, 17*4, -1, -1 - + }; static int @@ -46,7 +46,7 @@ cris_cannot_store_register (int regno) { if (cris_regmap[regno] == -1) return 1; - + return (regno >= cris_num_regs); } |