This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: testsuite/gdb.base/call-ar-st.[exp|c]: Change to work better with small targets
- To: gdb-patches <gdb-patches at sources dot redhat dot com>
- Subject: Re: [RFA]: testsuite/gdb.base/call-ar-st.[exp|c]: Change to work better with small targets
- From: Corinna Vinschen <vinschen at redhat dot com>
- Date: Thu, 25 Oct 2001 18:30:06 +0200
- References: <20011025160025.Q7622@cygbert.vinschen.de> <Pine.SUN.3.91.1011025160656.4816Q-100000@is>
- Reply-To: gdb-patches <gdb-patches at sources dot redhat dot com>
On Thu, Oct 25, 2001 at 04:07:52PM +0200, Eli Zaretskii wrote:
>
> On Thu, 25 Oct 2001, Corinna Vinschen wrote:
>
> > the following patch allows the call-ar-st test to run better on smaller
> > targets. Currently nearly all variable space is allocated on the stack
> > and moreover especially the double array is somewhat big. The patch
> > changes all auto variables in main() to be static to unburden the stack
> > and reduces the size of the double array to reduce the all over memory
> > requirements of the test.
> [...]
> > - char char_array[121];
> > - double double_array[100];
> > - float float_array[15];
> > - int integer_array[50];
>
> Do we really have targets where 1000 bytes on the stack matter?
My target has a 2K stack...
Corinna