From 23ce3b1cd03d01e68979f3a4a66fd16aba993fe0 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 18 Nov 2002 00:37:50 +0000 Subject: * linux-arm-low.c (arm_num_regs): Increase. (arm_regmap): Include status register. * linux-low.c (register_addr): Remove incorrect -1 check. --- gdb/gdbserver/ChangeLog | 9 +++++++++ gdb/gdbserver/linux-arm-low.c | 4 +++- gdb/gdbserver/linux-low.c | 2 -- 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'gdb') diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index e7ab609..d8e7c4c 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,12 @@ +2002-11-17 Stuart Hughes + + * linux-arm-low.c (arm_num_regs): Increase. + (arm_regmap): Include status register. + +2002-11-17 Daniel Jacobowitz + + * linux-low.c (register_addr): Remove incorrect -1 check. + 2002-08-29 Daniel Jacobowitz * linux-low.c (linux_create_inferior): Call setpgid. Return diff --git a/gdb/gdbserver/linux-arm-low.c b/gdb/gdbserver/linux-arm-low.c index 07e2792..cd075b2 100644 --- a/gdb/gdbserver/linux-arm-low.c +++ b/gdb/gdbserver/linux-arm-low.c @@ -26,11 +26,13 @@ #include #endif -#define arm_num_regs 16 +#define arm_num_regs 26 static int arm_regmap[] = { 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, + -1, -1, -1, -1, -1, -1, -1, -1, -1, + 64 }; static int 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; } -- cgit v1.1