# HG changeset patch # User Richard M. Stallman # Date 883508473 0 # Node ID 1f7533b3f04510e780aee5f0ab18c7b3e596a13b # Parent ec0a8ccddd6c7395b9a1fa72ae74a999204a697f (abort): New function. diff -r ec0a8ccddd6c -r 1f7533b3f045 src/emacs.c --- 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 */