This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mtrace and mcheck.h in Cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]