site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com On Aug 1, 2005, at 8:53 AM, Jack Howarth wrote: That said, Guard Malloc is probably sufficient for your needs: gdb /path/to/your/app set env DYLD_INSERT_LIBRARIES /usr/lib/libgmalloc.dylib r ...wait till your app crashes... bt -Eric _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I asked because one of the gcc developers thought that there had been a project to create a BSD version of valgrind and that might have forked to create a Darwin one. However I can't find any information on that. I briefly looked into porting Valgrind to Mac OS X on Intel during a vacation a while back, hoping that the existence of a FreeBSD-hosted version of Valgrind would make it easier. Unfortunately, the FreeBSD version was very out of date, and even so, the differences between Mac OS X and the FreeBSD kernel meant that it'd be a large undertaking. I haven't looked into this since then, so I don't know if the FreeBSD version has moved forward or been dropped. Either way, it'd be great if someone managed to make Valgrind work once the first Intel-based Macs ship. This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric Albert