Subject: port-mac68k/3744: Debugger referenced from zs.c
To: None <>
From: Chris Jones <>
List: netbsd-bugs
Date: 06/12/1997 17:43:27
>Number:         3744
>Category:       port-mac68k
>Synopsis:       Debugger referenced from zs.c
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 12 16:50:00 1997
>Originator:     Chris Jones
Chris Jones                            
           Mad scientist in training...
"Is this going to be a stand-up programming session, sir, or another bug hunt?"
>Release:        1.2
System: NetBSD 1.2E NetBSD 1.2E (RUPERT) #1: Wed May 28 15:45:29 MDT 1997 mac68k

Script started on Thu Jun 12 17:33:47 1997
# make zs.o
cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DEXEC_AOUT -DEXEC_SCRIPT -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DUCONSOLE -DDIAGNOSTIC -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DFFS -DNFS -DKERNFS -DMFS -DPROCFS -DUNION -DNFSSERVER -DFIFO -DINET -DTCP_COMPAT_42 -DM68030 -DM68020 -DFPSP -DMAXUSERS=16 -D_KERNEL  -Dmc68020 -Dmac68k  -c ../../../../arch/mac68k/dev/zs.c
cc1: warnings being treated as errors
../../../../arch/mac68k/dev/zs.c: In function `zs_abort':
../../../../arch/mac68k/dev/zs.c:807: warning: implicit declaration of function `Debugger'
*** Error code 1

# exit

Script done on Thu Jun 12 17:34:49 1997

The code in zs.c says:

	/* XXX - Always available, but may be the PROM monitor. */

...But this apparently isn't true.  My kernel config file has neither
DDB nor ZS_CONSOLE_ABORT as options; I want the machine to reboot
instead of dropping into the debugger.
Maybe panic instead if DDB isn't defined?