* linux-arm-low.c (arm_num_regs): Increase.

(arm_regmap): Include status register.

	* linux-low.c (register_addr): Remove incorrect -1 check.
This commit is contained in:
Daniel Jacobowitz 2002-11-18 00:37:50 +00:00
parent 3ae414543e
commit 23ce3b1cd0
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2002-11-17 Stuart Hughes <seh@zee2.com>
* linux-arm-low.c (arm_num_regs): Increase.
(arm_regmap): Include status register.
2002-11-17 Daniel Jacobowitz <drow@mvista.com>
* linux-low.c (register_addr): Remove incorrect -1 check.
2002-08-29 Daniel Jacobowitz <drow@mvista.com>
* linux-low.c (linux_create_inferior): Call setpgid. Return

View File

@ -26,11 +26,13 @@
#include <sys/reg.h>
#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

View File

@ -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;
}