[PATCH] malloc: enable assert() with debug

Baruch Siach baruch at tkos.co.il
Sun Jul 28 03:43:44 UTC 2013


Hi uclibc list,

On Mon, Jul 08, 2013 at 11:40:17AM +0300, Baruch Siach wrote:
> UCLIBC_MALLOC_DEBUGGING is useless without assert().

Ping? Any comment?

baruch

> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
>  extra/Configs/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
> index 374d772..c1ce9bd 100644
> --- a/extra/Configs/Config.in
> +++ b/extra/Configs/Config.in
> @@ -2393,6 +2393,7 @@ config SUPPORT_LD_DEBUG_EARLY
>  config UCLIBC_MALLOC_DEBUGGING
>  	bool "Build malloc with debugging support"
>  	depends on MALLOC || MALLOC_STANDARD
> +	select DOASSERTS
>  	help
>  	  Answer Y here to compile extra debugging support code into malloc.
>  	  Malloc debugging output may then be enabled at runtime using the
> -- 
> 1.8.3.2

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the uClibc mailing list