aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 359e91523fe..a54c8345626 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -189,6 +189,7 @@ handle_USR1_signal (sig)
189 SIGUSR1_in_progress = 0; 189 SIGUSR1_in_progress = 0;
190 } 190 }
191} 191}
192
192#ifdef SIGUSR2 193#ifdef SIGUSR2
193int SIGUSR2_in_progress=0; 194int SIGUSR2_in_progress=0;
194SIGTYPE 195SIGTYPE
@@ -255,6 +256,16 @@ memory_warning_signal (sig)
255 force_auto_save_soon (); 256 force_auto_save_soon ();
256} 257}
257#endif 258#endif
259
260/* We define abort, rather than using it from the library,
261 so that GDB can return from a breakpoint here. */
262
263void
264abort ()
265{
266 kill (getpid (), SIGABRT);
267}
268
258 269
259/* Code for dealing with Lisp access to the Unix command line */ 270/* Code for dealing with Lisp access to the Unix command line */
260 271