OSDN Git Service

* gdb.base/stack-checking.c (big_frame): Reduce stack consumption
authoruweigand <uweigand>
Thu, 11 Sep 2008 16:24:16 +0000 (16:24 +0000)
committeruweigand <uweigand>
Thu, 11 Sep 2008 16:24:16 +0000 (16:24 +0000)
on SPU.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/stack-checking.c

index 8d3b5fb..f8d4be5 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
+       on SPU.
+
 2008-09-10  Joel Brobecker  <brobecker@adacore.com>
 
        * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
index 027d30b..f6891e1 100644 (file)
@@ -36,7 +36,11 @@ void medium_frame ()
 
 void big_frame ()
 {
+#ifdef __SPU__
+  char S [131072];
+#else
   char S [524188];
+#endif
   small_frame ();
 }