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[]


>  {
> -  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




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