[commit] Respect "red zone" for SPU inferior calls

Mark Kettenis mark.kettenis@xs4all.nl
Wed Aug 6 19:15:00 GMT 2008


> Date: Wed, 6 Aug 2008 20:29:28 +0200 (CEST)
> From: "Ulrich Weigand" <uweigand@de.ibm.com>
> 
> Hello,
> 
> GDB neglected to respect the ABI-defined "red zone" of 2000 bytes on the SPU,
> which could cause stack corruption when calling an inferior function while
> within prologue code of another function.  Fixed by the patch below.

Do I read that right, is that reallu *decimal* 2000?  Seems a bit ood
to me.



More information about the Gdb-patches mailing list