From 414864ad8b4237cc31d03b020119a8cf978c30bc Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> Date: Fri, 4 Feb 2005 12:12:48 +0000 Subject: * 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 --- Changelog.txt | 11 +++++++++++ Makefile | 1 + 2 files changed, 12 insertions(+) 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_ + .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 -- cgit v1.2.3-70-g09d2