aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-11 16:24:17 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-11 16:24:17 +0000
commit9990c83091bfd16fd899274d1153cddec66bad09 (patch)
tree80c89467c1b6901601d195e31e5fab55aff6efca /gdb/testsuite
parent3c35e65b000b530bf71bb4e283e237134d97c5ec (diff)
downloadgdb-9990c83091bfd16fd899274d1153cddec66bad09.zip
gdb-9990c83091bfd16fd899274d1153cddec66bad09.tar.gz
gdb-9990c83091bfd16fd899274d1153cddec66bad09.tar.bz2
* gdb.base/stack-checking.c (big_frame): Reduce stack consumption
on SPU.
Diffstat (limited to 'gdb/testsuite')
-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 ();
}