This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] sh-tdep.c update to real size of saved_regs[]
- From: Elena Zannoni <ezannoni at localhost dot redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: Elena Zannoni <ezannoni at mail dot redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Thu, 7 Feb 2002 23:33:30 -0500
- Subject: Re: [PATCH] sh-tdep.c update to real size of saved_regs[]
- References: <15459.16261.845953.879703@localhost.redhat.com><3C634183.1020500@cygnus.com>
Andrew Cagney writes:
> > {
> > - int where[NUM_REGS];
> > + int where[NUM_REGS + NUM_PSEUDO_REGS];
> >
> BTW, that needs to be:
>
>
> int *where = alloca (....);
>
> as the above is a GCCism :-(.
>
> Andrew
>
>
Ah! Thanks.
Will fix asap.
Elena