Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/fpe conditionalize the ddb hook on DDB && DEBU...



details:   https://anonhg.NetBSD.org/src/rev/17ee56c26d0e
branches:  trunk
changeset: 503397:17ee56c26d0e
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Feb 05 12:35:13 2001 +0000

description:
conditionalize the ddb hook on DDB && DEBUG_FPE rather than DDB && DEBUG,
since that's the condition under which we include the header file that
allows it to compile.

diffstat:

 sys/arch/m68k/fpe/fpu_emulate.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c1d180784f6b -r 17ee56c26d0e sys/arch/m68k/fpe/fpu_emulate.c
--- a/sys/arch/m68k/fpe/fpu_emulate.c   Mon Feb 05 12:27:18 2001 +0000
+++ b/sys/arch/m68k/fpe/fpu_emulate.c   Mon Feb 05 12:35:13 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_emulate.c,v 1.22 2001/01/05 19:54:30 is Exp $      */
+/*     $NetBSD: fpu_emulate.c,v 1.23 2001/02/05 12:35:13 chs Exp $     */
 
 /*
  * Copyright (c) 1995 Gordon W. Ross
@@ -232,7 +232,7 @@
       */
     if ((sig == 0) || (sig == SIGFPE))
        frame->f_pc += insn.is_advance;
-#if defined(DDB) && defined(DEBUG)
+#if defined(DDB) && defined(DEBUG_FPE)
     else {
        printf("fpu_emulate: sig=%d, opcode=%x, word1=%x\n",
               sig, insn.is_opcode, insn.is_word1);



Home | Main Index | Thread Index | Old Index