From d37ff0ab4248a4a36bffa8fbf423b4796ced8c58 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 11 Jan 2015 02:13:24 +0100 Subject: [PATCH] don't advice people to use debug options for the GC and core --- lib/system/excpt.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index bc322ef970..3ef0d9ce3d 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):