From owner-freebsd-stable Wed Feb 27 8:11:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from tomts24-srv.bellnexxia.net (tomts24.bellnexxia.net [209.226.175.187]) by hub.freebsd.org (Postfix) with ESMTP id D80D237B41A; Wed, 27 Feb 2002 08:11:45 -0800 (PST) Received: from xena.gsicomp.on.ca ([199.243.128.121]) by tomts24-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020227161137.KCLS13336.tomts24-srv.bellnexxia.net@xena.gsicomp.on.ca>; Wed, 27 Feb 2002 11:11:37 -0500 Received: from xena.gsicomp.on.ca (xena.gsicomp.on.ca [192.168.0.3]) by xena.gsicomp.on.ca (8.11.1/8.11.1) with ESMTP id g1RG0Ei45626; Wed, 27 Feb 2002 11:00:14 -0500 (EST) (envelope-from matt@xena.gsicomp.on.ca) Date: Wed, 27 Feb 2002 11:00:14 -0500 (EST) From: Matthew Emmerton To: Patrik Sundberg Cc: stable@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: valgrind In-Reply-To: <20020227151310.GA47084@raquel.radiac.mine.nu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm working on porting this right now. Be forewarned, though, that the FreeBSD hacks for this tool will *never* be allowed into the main distro. Why? Licence. Valgrind includes some code from the Linux kernel and libc. When we hack it for FreeBSD, we'll end up putting some BSD-licenced code into a GPL product. Obviously, this will cause problems. Afaik, the patches can remain part of the ports tree without problems. --=20 Matthew Emmerton || matt@gsicomp.on.ca GSI Computer Services || http://www.gsicomp.on.ca On Wed, 27 Feb 2002, Patrik Sundberg wrote: > hi, >=20 > I found this tool called valgrind (http://devel-home.kde.org/~sewardj/) a= few > days ago and find it really interesting. It is something similair to puri= fy > (memory use debugger one could call it I guess) but GPL'ed and developed = by > the KDE team from what I can tell. I have been looking for this kind of t= ool > for a long time and haven't found one I really like yet. >=20 > As it is right now valgrind is x86&linux 2.4 specific (probably gcc speci= fic > too..) but I would really love to see a FreeBSD port. It should be quite > possible to port the OS specific parts to handle FreeBSD systemcalls inst= ead > of Linux ones. Is anyone already looking in to this or interested? It wou= ld be > a great tool to debug the base system with as well as your own applicatio= ns. >=20 > --=20 > -------------------------------------------------------------------------= --. > Patrik Sundberg Address: Rydsv=E4gen 100C, 584 31 Link=F6ping, Sweden = | > Email: ps@raditex.se || ps@radiac.mine.nu = | > Phone: +46 13 178567 || +46 707 602240 = | > .---> Applied Physics and Electrical Engineering student = | > |-----> Master of Science in Business Administration and Economics studen= t | > |-------> UNIX/Programming consultant = | > `------------------------------------------------------------------------= --' >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message