1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00
emacs/nt/inc
Paul Eggert 1088b9226e Simplify redefinition of 'abort' (Bug#12316).
Do not try to redefine the 'abort' function.  Instead, redo
the code so that it calls 'emacs_abort' rather than 'abort'.
This removes the need for the NO_ABORT configure-time macro
and makes it easier to change the abort code to do a backtrace.
* configure.ac (NO_ABRT): Remove.
* admin/CPP-DEFINES (NO_ABORT): Remove.
* nt/inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
* src/.gdbinit: Just stop at emacs_abort, not at w32_abort or abort.
* src/emacs.c (abort) [!DOS_NT && !NO_ABORT]:
Remove; sysdep.c's emacs_abort now takes its place.
* src/lisp.h (emacs_abort): New decl.  All calls from Emacs code to
'abort' changed to use 'emacs_abort'.
* src/msdos.c (dos_abort) [defined abort]: Remove; not used.
(abort) [!defined abort]: Rename to ...
(emacs_abort): ... new name.
* src/sysdep.c (emacs_abort) [!HAVE_NTGUI]: New function, taking
the place of the old 'abort' in emacs.c.
* src/w32.c, src/w32fns.c (abort): Do not #undef.
* src/w32.c (emacs_abort): Rename from w32_abort.
2012-09-04 10:34:54 -07:00
..
arpa Nuke arch-tags. 2011-01-15 15:16:57 -08:00
netinet Nuke arch-tags. 2011-01-15 15:16:57 -08:00
sys Support symlinks on latest versions of MS-Windows. 2012-08-03 13:23:30 +03:00
grp.h Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
inttypes.h Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
langinfo.h Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
ms-w32.h Simplify redefinition of 'abort' (Bug#12316). 2012-09-04 10:34:54 -07:00
netdb.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
nl_types.h Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
pwd.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
stdalign.h MS-Windows followup for 2012-07-28T23:05:32Z!eggert@cs.ucla.edu. 2012-07-29 18:43:09 +03:00
stdbool.h Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu and 2011-01-31T08:15:13Z!eggert@cs.ucla.edu. 2011-01-31 21:36:08 +02:00
stdint.h Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
unistd.h Simplify redefinition of 'abort' (Bug#12316). 2012-09-04 10:34:54 -07:00