Subject: Re: kern/37042: ddb uses malloc
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 09/30/2007 13:55:02
The following reply was made to PR kern/37042; it has been noted by GNATS.

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/37042: ddb uses malloc
Date: Sun, 30 Sep 2007 15:52:38 +0200

 I agree in principle, but the malloc-avoidance is not trivial in this
 case (maybe it should, and we shouold fix that problem instead?) - anyway,
 I tought I had worked around the problem by adding
 
 #ifdef DDB
 	db_init_commands();
 #endif
 
 to init_main.c in rev. 1.315, which solves the problem on sparc64 at least.
 Could you double check if you have that in your tree?
 Or is DDB not defined for you? Maybe missing an opt_ddb.h include?
 
 Martin