Improve reporting of fatal exception on MS-Windows, to aid debugging #15994.
authorEli Zaretskii <eliz@gnu.org>
Mon, 2 Dec 2013 17:28:17 +0000 (19:28 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 2 Dec 2013 17:28:17 +0000 (19:28 +0200)
commit21bf394d7d1065a886c486f00c614ca905db1ed5
tree1e58173b63b155f4a524c4df71fc6f19b1ffa82e
parentf345395c71fb70cc6b42edbef06a26bc6b9b31e0
Improve reporting of fatal exception on MS-Windows, to aid debugging #15994.

 src/w32fns.c (my_exception_handler): New function.
 (globals_of_w32fns): Set it up as the unhandled exception
 handler.  Initialize exception code and address to zeros.
 (emacs_abort): If the exception code and address are available,
 print them at the beginning of the backtrace.  Fix the format of
 printing addresses (was producing 0x0x12345678 on XP).
src/ChangeLog
src/w32fns.c