[RFA]: testsuite/gdb.base/call-ar-st.[exp|c]: Change to work better with small targets

Corinna Vinschen vinschen@redhat.com
Thu Oct 25 09:30:00 GMT 2001


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



More information about the Gdb-patches mailing list