On Mar 17, 2007, at 1:38 PM, Paul Beard wrote:
Yes, I saw that. Does anyone know what valgrind does/how it works and if there is something similar in the Darwin/MacPorts toolchain? It doesn't build on Darwin as it requires a lot of integration with the kernel of the host system.

It's a debugging and profiling tool.

I think you do do some (but probably not all) of the memory checks with other tools on Mac OS X (it looks like they were asking you to run the program with valgrind's memory checks). Setting MallocPreScribble, MallocScribble, MallocBadFreeAbort, MallocStackLogging, running leaks, and maybe malloc_history (see the malloc(), leaks, and malloc_history man pages) should approximate what it seems like they are looking for.

--
Daniel J. Luke
+========================================================+
| *---------------- [EMAIL PROTECTED] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to