aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-low.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-11-18 00:37:50 +0000
committerDaniel Jacobowitz <drow@false.org>2002-11-18 00:37:50 +0000
commit23ce3b1cd03d01e68979f3a4a66fd16aba993fe0 (patch)
tree3847c4b8d1538ddc8afeeeb0ac7fe6f8ea48fbe4 /gdb/gdbserver/linux-low.c
parent3ae414543ec83164f95a85b951310acfd52dbccb (diff)
downloadgdb-23ce3b1cd03d01e68979f3a4a66fd16aba993fe0.zip
gdb-23ce3b1cd03d01e68979f3a4a66fd16aba993fe0.tar.gz
gdb-23ce3b1cd03d01e68979f3a4a66fd16aba993fe0.tar.bz2
* linux-arm-low.c (arm_num_regs): Increase.
(arm_regmap): Include status register. * linux-low.c (register_addr): Remove incorrect -1 check.
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r--gdb/gdbserver/linux-low.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index 7644f9e..2cb592a 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -894,8 +894,6 @@ register_addr (int regnum)
error ("Invalid register number %d.", regnum);
addr = the_low_target.regmap[regnum];
- if (addr == -1)
- addr = 0;
return addr;
}