summary refs log tree commit diff stats
path: root/lib/system/excpt.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-01-11 02:13:24 +0100
committerAraq <rumpf_a@web.de>2015-01-11 02:13:24 +0100
commitd37ff0ab4248a4a36bffa8fbf423b4796ced8c58 (patch)
treeb12e5e967898b026d331d4ca577ff40f3f714e7d /lib/system/excpt.nim
parentba7ef4e30f361d3d9ca827aa2d16b60b469562b9 (diff)
downloadNim-d37ff0ab4248a4a36bffa8fbf423b4796ced8c58.tar.gz
don't advice people to use debug options for the GC and core
Diffstat (limited to 'lib/system/excpt.nim')
-rw-r--r--lib/system/excpt.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim
index bc322ef97..3ef0d9ce3 100644
--- a/lib/system/excpt.nim
+++ b/lib/system/excpt.nim
@@ -296,7 +296,7 @@ when not defined(noSignalHandler):
     template processSignal(s, action: expr) {.immediate,  dirty.} =
       if s == SIGINT: action("SIGINT: Interrupted by Ctrl-C.\n")
       elif s == SIGSEGV: 
-        action("SIGSEGV: Illegal storage access. (Try to compile with -d:useSysAssert -d:useGcAssert for details.)\n")
+        action("SIGSEGV: Illegal storage access. (Attempt to read from nil?)\n")
       elif s == SIGABRT:
         when defined(endb):
           if dbgAborting: return # the debugger wants to abort
@@ -304,7 +304,7 @@ when not defined(noSignalHandler):
       elif s == SIGFPE: action("SIGFPE: Arithmetic error.\n")
       elif s == SIGILL: action("SIGILL: Illegal operation.\n")
       elif s == SIGBUS:
-        action("SIGBUS: Illegal storage access.  (Try to compile with -d:useSysAssert -d:useGcAssert for details.)\n")
+        action("SIGBUS: Illegal storage access. (Attempt to read from nil?)\n")
       else:
         block platformSpecificSignal:
           when declared(SIGPIPE):