ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/09/07/17:51:30

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Fri, 7 Sep 2001 17:51:35 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: Binutils <binutils AT sources DOT redhat DOT com>
Cc: cygwin-apps AT cygwin DOT com
Subject: Re: ld-auto-import memory bug fixing
Message-ID: <20010907175135.B4262@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: Binutils <binutils AT sources DOT redhat DOT com>,
cygwin-apps AT cygwin DOT com
References: <000601c137d9$a4697490$816707d5 AT BRAMSCHE>
Mime-Version: 1.0
In-Reply-To: <000601c137d9$a4697490$816707d5@BRAMSCHE>
User-Agent: Mutt/1.3.21i

On Fri, Sep 07, 2001 at 10:14:04PM +0200, Ralf Habacker wrote:
>Hi,
>
>is there any way to get the size of by malloc allocated byte of an application ?
>If have tried malloc_stats() and mallinfo(), which is described in
>/usr/include/malloc.h
>and implemented in dlmalloc.cc of the cygwin source, but they seems to be not
>defined
>in the cygwin1.dll import library.

dlmalloc is the debugging malloc library that cygwin uses when compiled
with malloc debugging (configure --enable-malloc-debugging).

The normal malloc comes from newlib.

>Another library mmalloc contains mmstats() and mmtrace() which looks equal
>malloc_stats() but using
>this prints nothing. :-(

I don't think that anything in binutils uses mmalloc.

cgf

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019