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: Andrew Cagney <ac131313 at cygnus dot com>
- To: Elena Zannoni <ezannoni at localhost dot redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 07 Feb 2002 22:09:55 -0500
- Subject: Re: [PATCH] sh-tdep.c update to real size of saved_regs[]
- References: <15459.16261.845953.879703@localhost.redhat.com>
> {
> - 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