* arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs
instead of NUM_PSEUDO_REGS.
This commit is contained in:
parent
6c86dcd550
commit
29673b2905
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-04-20 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs
|
||||
instead of NUM_PSEUDO_REGS.
|
||||
|
||||
2002-04-20 David S. Miller <davem@redhat.com>
|
||||
|
||||
* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to
|
||||
|
|
|
@ -3015,7 +3015,8 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
|||
|
||||
prologue_cache.saved_regs = (CORE_ADDR *)
|
||||
xcalloc (1, (sizeof (CORE_ADDR)
|
||||
* (gdbarch_num_regs (gdbarch) + NUM_PSEUDO_REGS)));
|
||||
* (gdbarch_num_regs (gdbarch)
|
||||
+ gdbarch_num_pseudo_regs (gdbarch))));
|
||||
|
||||
return gdbarch;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue