From 7acb8cedaeb96860787ddb920fcee77997b018f6 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 3 Nov 1993 18:50:24 +0000 Subject: [PATCH] Reversed the conditionalization so that we can support ENABLE_DEUBGGING_FLAGS again. --- v7/src/microcode/bkpt.c | 10 ++++++---- v7/src/microcode/bkpt.h | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/v7/src/microcode/bkpt.c b/v7/src/microcode/bkpt.c index 054af4508..5848007a0 100644 --- a/v7/src/microcode/bkpt.c +++ b/v7/src/microcode/bkpt.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: bkpt.c,v 9.28 1993/06/24 07:07:04 gjr Exp $ +$Id: bkpt.c,v 9.29 1993/11/03 18:49:17 jmiller Exp $ Copyright (c) 1987-92 Massachusetts Institute of Technology @@ -37,9 +37,7 @@ MIT in each case. */ #include "scheme.h" -#ifndef ENABLE_DEBUGGING_TOOLS -#include "Error: Not debugging but bkpt.c included" -#endif +#ifdef ENABLE_DEBUGGING_FLAGS #define sp_nil ((struct sp_record *) 0) @@ -108,3 +106,7 @@ DEFUN_VOID (Pop_Return_Break_Point) SP_List = One_Before.next; return; } + +#else +/* Not ENABLE_DEBUGGING_FLAGS */ +#endif diff --git a/v7/src/microcode/bkpt.h b/v7/src/microcode/bkpt.h index 89b04f2a2..3dbf0d645 100644 --- a/v7/src/microcode/bkpt.h +++ b/v7/src/microcode/bkpt.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: bkpt.h,v 9.29 1993/06/24 07:07:06 gjr Exp $ +$Id: bkpt.h,v 9.30 1993/11/03 18:50:24 jmiller Exp $ Copyright (c) 1987, 1988, 1989, 1990 Massachusetts Institute of Technology @@ -36,7 +36,7 @@ MIT in each case. */ Disabled when not debugging the interpreter. It "shadows" definitions in default.h */ -#ifdef ENABLE_DEBUGGING_TOOLS +#ifdef ENABLE_DEBUGGING_FLAGS struct sp_record { @@ -71,4 +71,4 @@ typedef struct sp_record * sp_record_list; #define Apply_Ucode_Hook() -#endif /* ENABLE_DEBUGGING_TOOLS */ +#endif /* ENABLE_DEBUGGING_FLAGS */ -- 2.25.1