delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/28/20:22:24

X-Spam-Check-By: sourceware.org
Date: Tue, 28 Nov 2006 20:22:05 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mtrace and mcheck.h in Cygwin
Message-ID: <20061129012205.GA3827@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20061129T000011-712 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20061129T000011-712@post.gmane.org>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, Nov 29, 2006 at 12:01:46AM +0000, John LaRusic wrote:
>I'm building a program in C using GCC under Cygwin.  I appear to have a
>memory leak somewhere in my program, so I want to use the memory
>allocation debugging that's part of the GNU C library.
>
>This involves including the mcheck.h header file in the source, and
>using the mtrace command.  It is better explained in the GNU C Library
>documentation here (sorry for the URL being broken into two lines):
>http://www.gnu.org/software/libc/manual//html_node
>/Allocation-Debugging.html#Allocation-Debugging

Sorry, but cygwin != glibc.  This function isn't available in the cygwin
DLL.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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