* gdb.base/stack-checking.c (big_frame): Reduce stack consumption
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 11 Sep 2008 16:24:17 +0000 (16:24 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 11 Sep 2008 16:24:17 +0000 (16:24 +0000)
on SPU.

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

index 8d3b5fb7577896b8648de3e81119f59e3f3f219a..f8d4be5ecfa68ded9296a9bdd64e04c27413e36c 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 027d30ba27437fc409ed91f88ede4cac673b4377..f6891e1f67196426cb5c2d9fed2ecf75b2b342fa 100644 (file)
@@ -36,7 +36,11 @@ void medium_frame ()
 
 void big_frame ()
 {
+#ifdef __SPU__
+  char S [131072];
+#else
   char S [524188];
+#endif
   small_frame ();
 }