From 0a30001f57965af23a783934e7b11f1e451980b6 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 18 Feb 1994 21:14:25 +0000 Subject: [PATCH] Move default definition of `record_signal_delivery' to "uxsig.h". --- v7/src/microcode/uxsig.c | 3 +-- v7/src/microcode/uxsig.h | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/v7/src/microcode/uxsig.c b/v7/src/microcode/uxsig.c index 69fe8c570..8dd4d4dbd 100644 --- a/v7/src/microcode/uxsig.c +++ b/v7/src/microcode/uxsig.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: uxsig.c,v 1.29 1994/02/15 20:02:54 cph Exp $ +$Id: uxsig.c,v 1.30 1994/02/18 21:14:18 cph Exp $ Copyright (c) 1990-94 Massachusetts Institute of Technology @@ -208,7 +208,6 @@ DEFUN (record_signal_delivery, (signo), int signo) #else /* not DEBUG_SIGNAL_DELIVERY */ #define initialize_signal_debugging() -#define record_signal_delivery(signo) #endif /* not DEBUG_SIGNAL_DELIVERY */ diff --git a/v7/src/microcode/uxsig.h b/v7/src/microcode/uxsig.h index 881d2f4f7..af407f610 100644 --- a/v7/src/microcode/uxsig.h +++ b/v7/src/microcode/uxsig.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: uxsig.h,v 1.3 1994/02/15 04:23:49 cph Exp $ +$Id: uxsig.h,v 1.4 1994/02/18 21:14:25 cph Exp $ Copyright (c) 1993-94 Massachusetts Institute of Technology @@ -97,6 +97,7 @@ DEFUN (name, (signo, info, pscp), \ DECLARE_FULL_SIGCONTEXT (scp); \ INITIALIZE_FULL_SIGCONTEXT (pscp, scp); \ ENTER_HANDLER (signo); \ + record_signal_delivery (signo); \ STD_HANDLER_abortp = (enter_interruption_extent ()); \ transaction_begin (); \ { \ @@ -120,4 +121,9 @@ DEFUN (name, (signo, info, pscp), \ extern void EXFUN (ta_abort_handler, (PTR)); #endif /* NEED_HANDLER_TRANSACTION */ + +#ifndef DEBUG_SIGNAL_DELIVERY +#define record_signal_delivery(signo) +#endif + #endif /* SCM_UXSIG_H */ -- 2.25.1