[patch] [newlib, nano] Implement nano_malloc_stats

Corinna Vinschen vinschen@redhat.com
Wed Oct 30 15:53:00 GMT 2013


On Oct 24 10:35, Joey Ye wrote:
> This patch supports malloc_stats for nano-malloc.
> 
> ChangeLog:
> 2013/10/24  Joey Ye  <...>
> 
> 	Implement malloc_stats for nano.
> 	libc/stdlib/nano-mallocr.c (RONECALL): New parameter macro.
> 	(sbrk_start): New variable.
> 	(current_mallinfo, free_list): Forward declaration of data.
> 	(chunk): Define size as long type.
> 	(mallinfo): Synchronize with latest malloc.h.
> 	(nano_*): Forward declaration of functions.
> 	(get_chunk_from_ptr): Defined to static inline.
> 	(nano_mallinfo): Implement this function.
> 	(nano_malloc_stats): Implement this function.

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20131030/4a14dfcf/attachment.sig>


More information about the Newlib mailing list