NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: debugging a memory leak



On 05/21/16 08:37, Rhialto wrote:
On Sat 21 May 2016 at 00:19:49 +0000, Valery Ushakov wrote:
Timo Buhrmester <fstd.lkml%gmail.com@localhost> wrote:

but it's limited to Linux, Darwin, and Solaris.
Last time I checked, FreeBSD also had valgrind working.  I wonder
how much effort it would be to port it to NetBSD.
As far as I understand (I had my brushes with valgrind internals) it's
mostly the drudgery of, effectively, writing code that annotates all
the system calls and all ioctls.  And that's not fun, obviously.
I did some research into ports of valgrind. While there seems to be a
FreeBSD version, I get the impression that it lives for years already as
a separate patch and that it for some reason never gets merged into the
mainline.

-uwe
-Olaf.


It's a port, not part of the base OS, if that's the distinction you are making. I am using it regularly under FreeBSD 9.3 Release & it seems to work AOK .... I'm not sure if it is the L&G version, but it does work fine for me ....


-- 

	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton Jr.


Home | Main Index | Thread Index | Old Index