* arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor
NUM_PSEUDO_REGS can be used.
This commit is contained in:
parent
d7bd68ca3c
commit
a0abec0350
@ -1,3 +1,8 @@
|
||||
Wed Apr 24 14:22:21 2002 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor
|
||||
NUM_PSEUDO_REGS can be used.
|
||||
|
||||
2002-04-24 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* arch-utils.h: Update copyright.
|
||||
|
@ -3035,6 +3035,9 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
||||
if (prologue_cache.saved_regs != NULL)
|
||||
xfree (prologue_cache.saved_regs);
|
||||
|
||||
/* We can't use NUM_REGS nor NUM_PSEUDO_REGS here, since that still
|
||||
references the old architecture vector, not the one we are
|
||||
building here. */
|
||||
prologue_cache.saved_regs = (CORE_ADDR *)
|
||||
xcalloc (1, (sizeof (CORE_ADDR)
|
||||
* (gdbarch_num_regs (gdbarch)
|
||||
|
Loading…
Reference in New Issue
Block a user