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]

mtrace and mcheck.h in Cygwin


Hi!  

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

However, I can't seem to find either the header file or the mtrace command.  I
don't know if I'm missing a package or what.  

There was a post four years ago about the subject (Again, my apologies for this
URL being broken onto two lines): 
http://news.gmane.org/find-root.php?message_id=
%3c2DFB37B7D3EBFD4BB4FEDEC443C50B330C16D2%40mailserver%3e
The answer then seemed to be that the mtrace/mcheck.h utility does not exist in
Cygwin.  I'm curious if that's still the case four years later.

What follows the list of packages I have currently installed, if it's of any 
help.  

Cygwin Package Information
Package              Version
_update-info-dir     00469-1
alternatives         1.3.29a-1
ash                  20040127-3
base-files           3.7-1
base-passwd          2.2-1
bash                 3.2.5-6
binutils             20060817-1
bzip2                1.0.3-2
coreutils            6.6-2
crypt                1.1-1
cygutils             1.3.0-1
cygwin               1.5.22-1
cygwin-doc           1.4-4
diffutils            2.8.7-1
editrights           1.01-1
expat                1.95.8-1
findutils            4.3.1-3
gawk                 3.1.5-4
gcc-core             3.4.4-1
gcc-g++              3.4.4-1
gcc-mingw-core       20050522-1
gcc-mingw-g++        20050522-1
gdb                  20060706-2
gdbm                 1.8.3-8
grep                 2.5.1a-2
groff                1.18.1-2
gzip                 1.3.5-2
less                 381-1
libbz2_1             1.0.3-2
libcharset1          1.11-1
libdb4.2             4.2.52-1
libdb4.3             4.3.28-1
libgdbm              1.8.0-5
libgdbm-devel        1.8.3-8
libgdbm3             1.8.3-3
libgdbm4             1.8.3-8
libiconv             1.11-1
libiconv2            1.11-1
libintl              0.10.38-3
libintl1             0.10.40-1
libintl2             0.12.1-3
libintl3             0.14.5-1
libintl8             0.15-1
libncurses5          5.2-1
$
libncurses7          5.3-4
libncurses8          5.5-3
libpcre0             6.6-1
libpopt0             1.6.4-4
libreadline4         4.1-2
libreadline5         4.3-5
libreadline6         5.2-3
login                1.9-7
make                 3.81-1
man                  1.6d-2
mingw-runtime        3.11-1
mktemp               1.5-4
ncurses              5.5-3
openssl              0.9.8d-1
openssl097           0.9.7l-1
perl                 5.8.7-5
python               2.4.3-1
run                  1.1.10-1
sed                  4.1.5-2
tar                  1.16-1
tcltk                20060202-1
termcap              20050421-1
terminfo             5.5_20061104-1
texinfo              4.8-3
unzip                5.52-2
w32api               3.8-1
which                1.7-1
zip                  2.32-2
zlib                 1.2.3-2

Any help with this problem would be greatly appreciated.

Thank you!

John LaRusic


--
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]