[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Post-mortem debugging and abort

From: David Kastrup
Subject: Post-mortem debugging and abort
Date: Fri, 13 Jun 2008 17:02:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)


I just wanted to report that the declaration of "abort" in glibc is not
going to be changed to be more compatible with debugging.

<URL:http://sourceware.org/bugzilla/show_bug.cgi?id=6522> shows my
report and its resolution.

So it remains the Emacs developers' duty to either use the
-fno-crossjumping option when compiling (as specified in etc/DEBUG in
the Emacs distribution) or locally edit /usr/include/stdlib.h to remove
the noreturn attribute from abort.  The latter is, of course, giving
yourself a non-standard development system, but if you want to do any
post-mortem debugging (which usually goes through abort), it should
definitely help for all projects one actually wants to do post-mortem
debugging on for failed assertions and similar.

David Kastrup

reply via email to

[Prev in Thread] Current Thread [Next in Thread]