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: Corinna Vinschen <vinschen at redhat dot com>
- Subject: Re: [RFA]: testsuite/gdb.base/call-ar-st.[exp|c]: Change to work better with small targets
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Thu, 25 Oct 2001 16:07:52 +0200 (IST)
- cc: gdb-patches <gdb-patches at sources dot redhat dot com>
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?