[PATCH] sh-tdep.c update to real size of saved_regs[]

Elena Zannoni ezannoni@localhost.redhat.com
Thu Feb 7 20:33:00 GMT 2002


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



More information about the Gdb-patches mailing list