aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2012-09-04 11:29:04 -0700
committerPaul Eggert2012-09-04 11:29:04 -0700
commitcf29dd84d205e1c78fed5d1ea0006a382658598c (patch)
tree7e6806fdd94ef53cda78db6b29a4df0276408eb4 /src/ChangeLog
parent972debf2e7381b4fd2c70f9c1fd585d8bd137917 (diff)
downloademacs-cf29dd84d205e1c78fed5d1ea0006a382658598c.tar.gz
emacs-cf29dd84d205e1c78fed5d1ea0006a382658598c.zip
Give more-useful info on a fatal error (Bug#12328).
* doc/emacs/trouble.texi (Crashing): New section, documenting this. * etc/NEWS: Document the change. * src/alloc.c [ENABLE_CHECKING]: Do not include <execinfo.h>. (die) [ENABLE_CHECKING]: Call fatal_error_backtrace instead of doing the work ourselves. * src/emacs.c (fatal_error_signal): Let fatal_error_backtrace do most of the work. (fatal_error_backtrace): New function, taken from the guts of the old fatal_error_signal, but with a new option to output a backtrace. (shut_down_emacs) [!DOS_NT]: Use strsignal to give more-useful info about the signal than just its number. * src/lisp.h (fatal_error_backtrace, emacs_backtrace): New decls. * src/sysdep.c: Include <execinfo.h> (emacs_backtrace): New function, taken partly from the previous code of the 'die' function. (emacs_abort): Call fatal_error_backtrace rather than abort.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b2634c4fdc4..ea3b3a92e01 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,22 @@
12012-09-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Give more-useful info on a fatal error (Bug#12328).
4 * alloc.c [ENABLE_CHECKING]: Do not include <execinfo.h>.
5 (die) [ENABLE_CHECKING]: Call fatal_error_backtrace instead
6 of doing the work ourselves.
7 * emacs.c (fatal_error_signal): Let fatal_error_backtrace
8 do most of the work.
9 (fatal_error_backtrace): New function, taken from the guts
10 of the old fatal_error_signal, but with a new option to output
11 a backtrace.
12 (shut_down_emacs) [!DOS_NT]: Use strsignal to give more-useful
13 info about the signal than just its number.
14 * lisp.h (fatal_error_backtrace, emacs_backtrace): New decls.
15 * sysdep.c: Include <execinfo.h>
16 (emacs_backtrace): New function, taken partly from the previous
17 code of the 'die' function.
18 (emacs_abort): Call fatal_error_backtrace rather than abort.
19
12012-09-04 Stefan Monnier <monnier@iro.umontreal.ca> 202012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2 21
3 * lread.c (readevalloop): Call internal-macroexpand-for-load to perform 22 * lread.c (readevalloop): Call internal-macroexpand-for-load to perform