projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a88647
)
Improve the "Stack space overflow" error; fixes trac #3296
author
Ian Lynagh
<igloo@earth.li>
Wed, 19 Aug 2009 20:21:12 +0000
(20:21 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 19 Aug 2009 20:21:12 +0000
(20:21 +0000)
rts/hooks/StackOverflow.c
patch
|
blob
|
history
diff --git
a/rts/hooks/StackOverflow.c
b/rts/hooks/StackOverflow.c
index
0a1a23a
..
4313702
100644
(file)
--- 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);
}