This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Respect "red zone" for SPU inferior calls
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: uweigand at de dot ibm dot com
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 6 Aug 2008 21:13:58 +0200 (CEST)
- Subject: Re: [commit] Respect "red zone" for SPU inferior calls
- References: <200808061829.m76ITSl5032217@d12av02.megacenter.de.ibm.com>
> 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.