aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/stack-checking.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8d3b5fb..f8d4be5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/stack-checking.c b/gdb/testsuite/gdb.base/stack-checking.c
index 027d30b..f6891e1 100644
--- a/gdb/testsuite/gdb.base/stack-checking.c
+++ b/gdb/testsuite/gdb.base/stack-checking.c
@@ -36,7 +36,11 @@ void medium_frame ()
void big_frame ()
{
+#ifdef __SPU__
+ char S [131072];
+#else
char S [524188];
+#endif
small_frame ();
}