summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog.txt11
-rw-r--r--Makefile1
2 files changed, 12 insertions, 0 deletions
diff --git a/Changelog.txt b/Changelog.txt
index 28dab9917..2a8469119 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,6 +1,17 @@
Date Added
02/04
+ * Added experimental code to generate a stack dump when it segfaults, thanks
+ to Ser [celest]
+ - does not work with Cygwin, as it does not have glibc
+ - to enable, edit the Makefile and remove the # on the line:
+
+ # OPT += -DDUMPSTACK -rdynamic
+
+ - What it does: everytime eA crashes it'll generate a file "stackdump_
+ <number>.txt" in your save folder with a backtrace, which you can
+ examine and send to a dev to be fixed.
+
* Some more tidying up in status_get_ functions [celest]
02/03
diff --git a/Makefile b/Makefile
index fe096d619..26d07fbcc 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,7 @@ MAKE = make
endif
OPT = -g -O2 -ffast-math
+# OPT += -DDUMPSTACK -rdynamic
ifeq ($(findstring CYGWIN,$(PLATFORM)), CYGWIN)
OS_TYPE = -DCYGWIN