From c768955afb2e5580eb779104e3900d981013dbcc Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 19 Aug 2009 20:21:12 +0000 Subject: [PATCH] Improve the "Stack space overflow" error; fixes trac #3296 --- rts/hooks/StackOverflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 1.7.10.4