This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]