From: Ian Lynagh Date: Wed, 19 Aug 2009 20:21:12 +0000 (+0000) Subject: Improve the "Stack space overflow" error; fixes trac #3296 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=c768955afb2e5580eb779104e3900d981013dbcc Improve the "Stack space overflow" error; fixes trac #3296 --- diff --git a/rts/hooks/StackOverflow.c b/rts/hooks/StackOverflow.c index 0a1a23a..4313702 100644 --- a/rts/hooks/StackOverflow.c +++ b/rts/hooks/StackOverflow.c @@ -12,6 +12,6 @@ void StackOverflowHook (lnat stack_size) /* in bytes */ { - fprintf(stderr, "Stack space overflow: current size %ld bytes.\nUse `+RTS -Ksize' to increase it.\n", stack_size); + fprintf(stderr, "Stack space overflow: current size %ld bytes.\nUse `+RTS -Ksize -RTS' to increase it.\n", stack_size); }