Subject: port-x68k/2625: Debuger () is called outside of #ifdef DDB - #endif in com.c
To: None <gnats-bugs@NetBSD.ORG>
From: MINOURA Makoto <minoura@netlaputa.or.jp>
List: netbsd-bugs
Date: 07/13/1996 20:08:18
>Number: 2625
>Category: port-x68k
>Synopsis: Debuger () is called outside of #ifdef DDB - #endif in com.c
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 14 10:35:01 1996
>Last-Modified:
>Originator: MINOURA Makoto
>Organization:
MINOURA Makoto
minoura@netlaputa.or.jp
Nakahara-ku Kawasaki-Shi, Japan
>Release: 1.2_BETA
>Environment:
System: NetBSD donald 1.2_BETA NetBSD 1.2_BETA (DONALD) #20: Sat Jul 13 19:47:56 JST 1996 root@donald:/usr/src/sys/arch/x68k/compile/DONALD x68k
>Description:
The synopsis says everything :-p
>How-To-Repeat:
Configure kernel with com0 at mainbus0 and without options DDB.
>Fix:
*** com.c.orig Thu Jun 6 20:33:57 1996
--- com.c Sat Jul 13 15:57:03 1996
***************
*** 842,849 ****
--- 842,851 ----
int iobase = sc->sc_iobase;
int s;
+ #ifdef DDB
if (comdebug)
Debugger();
+ #endif
s = spltty();
if (ISSET(tp->t_state, TS_BUSY))
goto out;
>Audit-Trail:
>Unformatted: