From 9990c83091bfd16fd899274d1153cddec66bad09 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Thu, 11 Sep 2008 16:24:17 +0000 Subject: [PATCH] * gdb.base/stack-checking.c (big_frame): Reduce stack consumption on SPU. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/stack-checking.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8d3b5fb7577..f8d4be5ecfa 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ulrich Weigand + + * gdb.base/stack-checking.c (big_frame): Reduce stack consumption + on SPU. + 2008-09-10 Joel Brobecker * 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 027d30ba274..f6891e1f671 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 (); } -- 2.30.2