* sh-tdep.c (sh_fp_frame_init_saved_regs,
sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
information.
+2002-04-07 Elena Zannoni <ezannoni@redhat.com>
+
+ * sh-tdep.c (sh_fp_frame_init_saved_regs,
+ sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
+ information.
+
2002-04-07 Andrew Cagney <ac131313@redhat.com>
* MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
static void
sh_nofp_frame_init_saved_regs (struct frame_info *fi)
{
- int where[NUM_REGS + NUM_PSEUDO_REGS];
+ int *where = (int *) alloca (NUM_REGS + NUM_PSEUDO_REGS);
int rn;
int have_fp = 0;
int depth;
static void
sh_fp_frame_init_saved_regs (struct frame_info *fi)
{
- int where[NUM_REGS + NUM_PSEUDO_REGS];
+ int *where = (int *) alloca (NUM_REGS + NUM_PSEUDO_REGS);
int rn;
int have_fp = 0;
int depth;