Subject: Re: How to enter ddb in my driver
To: None <port-sparc@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-sparc
Date: 07/09/1999 19:14:53
In article <01BECA11.27D86360.steven.grunza@dgms.com>,
Steven Grunza <steven.grunza@dgms.com> wrote:
>Someone suggested calling Debugger(); however, this is what I get 
>during compilation:
>
>root@hw-ss1# make
>cc -g -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes 
> -Wpointer-arith -Wno-main -mno-fpu -I. -I../../../../arch 
>-I../../../.. -nostdinc -DSUN4C -DRASTERCONSOLE -DLKM -DDIAGNOSTIC 
>-DDEBUG -DMAXUSERS=32 -D_KERNEL  -c ../../../../dev/testdata.c
>cc1: warnings being treated as errors
>../../../../dev/testdata.c: In function `tdread':
>../../../../dev/testdata.c:69: warning: implicit declaration of 
>function `Debugger'
>*** Error code 1
>
>Stop.
>
>What includes does "Debugger" require?  I'm using the following:

You forgot "opt_ddb.h"

christos