delorie.com/archives/browse.cgi | search |
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 |
From: | "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de> |
To: | "Binutils" <binutils AT sources DOT redhat DOT com> |
Cc: | "Cygwin-Apps" <cygwin-apps AT cygwin DOT com> |
Subject: | Re: ld-auto-import memory bug fixing |
Date: | Fri, 7 Sep 2001 22:14:04 +0200 |
Message-ID: | <000601c137d9$a4697490$816707d5@BRAMSCHE> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook 8.5, Build 4.71.2173.0 |
Disposition-Notification-To: | "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de> |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Importance: | Normal |
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. Another library mmalloc contains mmstats() and mmtrace() which looks equal malloc_stats() but using this prints nothing. :-( Can I use the mmalloc lib with ld to archieve this or is there any other way for this ? Ralf
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |