Mercurial > emacs
diff src/emacs.c @ 20527:1f7533b3f045
(abort): New function.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 30 Dec 1997 19:01:13 +0000 |
parents | 35972a1f8f1b |
children | a3cb242e8349 |
line wrap: on
line diff
--- a/src/emacs.c Mon Dec 29 20:58:19 1997 +0000 +++ b/src/emacs.c Tue Dec 30 19:01:13 1997 +0000 @@ -189,6 +189,7 @@ SIGUSR1_in_progress = 0; } } + #ifdef SIGUSR2 int SIGUSR2_in_progress=0; SIGTYPE @@ -255,6 +256,16 @@ force_auto_save_soon (); } #endif + +/* We define abort, rather than using it from the library, + so that GDB can return from a breakpoint here. */ + +void +abort () +{ + kill (getpid (), SIGABRT); +} + /* Code for dealing with Lisp access to the Unix command line */