NetBSD Problem Report #6070

Received: (qmail 2726 invoked from network); 30 Aug 1998 16:33:46 -0000
Message-Id: <199808301633.MAA26486@wheel.tiac.net>
Date: Sun, 30 Aug 1998 12:33:43 -0400 (EDT)
From: "Gary D. Duzan" <gary@wheel.tiac.net>
Reply-To: gary@wheel.tiac.net
To: gnats-bugs@gnats.netbsd.org
Subject: adv.c makes an unprotected call to Debugger()
X-Send-Pr-Version: 3.95

>Number:         6070
>Category:       kern
>Synopsis:       adv.c makes an unprotected call to Debugger()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 30 16:20:07 +0000 1998
>Closed-Date:    Wed Sep 09 05:22:16 +0000 1998
>Last-Modified:  Wed Sep 09 05:22:28 +0000 1998
>Originator:     Gary D. Duzan
>Release:        Sun Aug 30 1998
>Organization:
	As little as possible
>Environment:
System: NetBSD wheel.tiac.net 1.3G NetBSD 1.3G (WHEEL) #0: Sat Aug 29 10:39:24 EDT 1998 gary@wheel.tiac.net:/disk0/usr/local/build/NetBSD/src/sys/arch/i386/compile/WHEEL i386


>Description:

wheel { ~/src/sys/arch/i386/compile/INSTALL } # make
making sure the kern library is up to date...
`libkern.o' is up to date.
making sure the compat library is up to date...
`libcompat.a' is up to date.
sh ../../../../conf/newvers.sh
cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -I. -I../../../../arch -I../../../.. -nostdinc -DMEMORY_DISK_HOOKS -DMEMORY_DISK_IS_ROOT -DMEMORY_DISK_SERVER="0" -DMINIROOTSIZE="0xc02" -DMSGBUFSIZE="(128 * 1024)" -DMAXUSERS=32 -D_KERNEL  -Di386  -c vers.c
rm -f netbsd
ld -z -Ttext F0100000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
adv.o: Undefined symbol `_Debugger' referenced from text segment
*** Error code 1

Stop.

>How-To-Repeat:
	As above
>Fix:
Stolen from uha.c:

*** /usr/src/sys/dev/ic/adv.c	Sun Aug 30 07:12:32 1998
--- adv.c	Sun Aug 30 12:24:54 1998
***************
*** 63,68 ****
--- 63,73 ----
  #include <dev/ic/adv.h>
  #include <dev/ic/advlib.h>

+ #ifndef   DDB
+ #define Debugger() panic("should call debugger here (adv.c)")
+ #endif /* ! DDB */
+ 
+ 
  /******************************************************************************/


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: thorpej 
State-Changed-When: Tue Sep 8 22:22:16 PDT 1998 
State-Changed-Why:  
Fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.