Subject: Re: kern/37042: ddb uses malloc
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 09/30/2007 20:35:05
The following reply was made to PR kern/37042; it has been noted by GNATS.

From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/37042: ddb uses malloc
Date: Sun, 30 Sep 2007 23:15:17 +0900 (JST)

 >  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
 
 i'm using rev.1.314. (yamt-x86pmap branch)
 
 YAMAMOTO Takashi