[prev in list] [next in list] [prev in thread] [next in thread]
List: hpux-cxx-dev
Subject: RE: CXX-DEV: Detecting Memory Leaks
From: "Thirumurthy, Suganya (STSD)" <suganya.thirumurthy () hp ! com>
Date: 2005-12-13 7:21:11
Message-ID: 6EB4FC130DA18748A32CB65BCF911EEC048D25FB () BGEEXC02 ! asiapacific ! cpqcorp ! net
[Download RAW message or body]
Hi Anuj,
That's work fine with gcc 4.0.2 also. So you can use gcc/g++ compiled
executable to find memory leaks.
Thanks
Suganya T
-----Original Message-----
From: owner-cxx-dev@cxx.cup.hp.com [mailto:owner-cxx-dev@cxx.cup.hp.com]
On Behalf Of Anuj Goyal
Sent: Tuesday, December 13, 2005 12:21 PM
Cc: cxx-dev@cxx.cup.hp.com
Subject: Re: CXX-DEV: Detecting Memory Leaks
will this work even if i I have compiled the executable with a recent
version of gcc/g++ ??? e.g 4.0.2
On 12/11/05, Avinash Chinchalkar <Avinash.Chinchalkar@caritor.com>
wrote:
> Hi,
> wdb/gdb supports memory leak detection.
>
> start gdb/wdb,
>
> before executing your application, set a breakpoint some place (may be
> last statement before exit/returning from main)
>
> set heap-check on
>
> run the application, and when you hit break point- you can get memory
> leak details by 'info leaks' command.
>
> hope that helps,
>
> regards,
> avi.
>
> owner-cxx-dev@cxx.cup.hp.com wrote on 12/10/2005 01:39:11 PM:
>
> > Will wdb helps in detecting memory leaks.
> >
> > Prashun
> >
> > ----- Original Message -----
> > From: "Manoj Agarwal" <manoja@iin.com>
> > To: <cxx-dev@cxx.cup.hp.com>
> > Sent: Friday, December 09, 2005 1:10 PM
> > Subject: CXX-DEV: Detecting Memory Leaks
> >
> >
> > >
> > >
> > >
> > >
> > > > Hello,
> > > >
> > > > I have to detect memory leaks in a program written in C++. I
> > > > don't
> have
> > purify.
> > > >
> > > > Is there any utility or procedure by which I can reduce some
> > > > leaks,
> may
> > be not
> > > > removing all.
> > > >
> > > > I am using.
> > > >
> > > > HP aC++ B3910B A.03.15
> > > > HP aC++ B3910B X.03.14.06 Language Support Library
> > > >
> > > >
> > > > Regards
> > > > Manoj Agarwal
> > > _________________________________________________________________
> > > To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
> > > with the message UNSUBSCRIBE cxx-dev
> > > _________________________________________________________________
> > >
> > _________________________________________________________________
> > To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
> > with the message UNSUBSCRIBE cxx-dev
> > _________________________________________________________________
> _________________________________________________________________
> To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
> with the message UNSUBSCRIBE cxx-dev
> _________________________________________________________________
>
_________________________________________________________________
To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
with the message UNSUBSCRIBE cxx-dev
_________________________________________________________________
_________________________________________________________________
To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
with the message UNSUBSCRIBE cxx-dev
_________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic