This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]