This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: mcheck/mtrace for c++
- From: Ulrich Drepper <drepper at redhat dot com>
- To: ahoward <ahoward at fsl dot noaa dot gov>
- Cc: <libstdc++ at gcc dot gnu dot org>
- Date: 06 Feb 2002 12:51:59 -0800
- Subject: Re: mcheck/mtrace for c++
- References: <Pine.LNX.4.33.0202061821240.30961-200000@eli.fsl.noaa.gov>
- Reply-to: drepper at redhat dot com (Ulrich Drepper)
ahoward <ahoward@fsl.noaa.gov> writes:
> however, the second line shows this does not work with c++, since only the
> call to malloc from within new is shown. i'm trying to implement
> something similar for c++ and have attempted to use the following code to
> register a new_handler, it comipiles fine and runs as well - but the
> handler does not get registered (output does not show up).
mtrace so far only reports the direct caller. This will hopefully
change for glibc 2.3. If you volunteer to work on this it'll happen
for such.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------