aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/stack-checking.c
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/gdb.base/stack-checking.c
parent3c35e65b000b530bf71bb4e283e237134d97c5ec (diff)
downloadbinutils-9990c83091bfd16fd899274d1153cddec66bad09.zip
binutils-9990c83091bfd16fd899274d1153cddec66bad09.tar.gz
binutils-9990c83091bfd16fd899274d1153cddec66bad09.tar.bz2
* gdb.base/stack-checking.c (big_frame): Reduce stack consumption
on SPU.
Diffstat (limited to 'gdb/testsuite/gdb.base/stack-checking.c')
-rw-r--r--gdb/testsuite/gdb.base/stack-checking.c4
1 files changed, 4 insertions, 0 deletions
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 ();
}