summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-04 12:12:48 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-04 12:12:48 +0000
commit414864ad8b4237cc31d03b020119a8cf978c30bc (patch)
tree6bf7725a12a4daf7d61237de2fabc91635fba746
parent814c06211cb44c08ac93b8c978248358d9bcdb23 (diff)
downloadhercules-414864ad8b4237cc31d03b020119a8cf978c30bc.tar.gz
hercules-414864ad8b4237cc31d03b020119a8cf978c30bc.tar.bz2
hercules-414864ad8b4237cc31d03b020119a8cf978c30bc.tar.xz
hercules-414864ad8b4237cc31d03b020119a8cf978c30bc.zip
* Added experimental code to generate a stack dump when it segfaults
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1027 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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