Build system changes to enable building on MacOS X 10.10 (Yosemite).
See bug 339045.  Part of a patch from fxcoudert@gcc.gnu.org.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14695 a5019735-40e9-0310-863c-91ae7b9d1cf9
On MacOS X 10.10, provide a dummy definition for voucher_mach_msg_set.
Not sure why this is necessary, but without it, the tool executables
don't link.  Part of bug 339045.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14696 a5019735-40e9-0310-863c-91ae7b9d1cf9
On MacOS X 10.10, when postprocessing tool executables, set the SVMA
of __PAGEZERO to zero.  Without this, the 10.10 kernel refuses to
start these executables.  Based on investigations and a
proof-of-concept implementation by Rhys Kidd (rhyskidd@gmail.com).
Part of bug 339045.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14697 a5019735-40e9-0310-863c-91ae7b9d1cf9
Adds initial support for new syscalls on MacOS X 10.10, including new
syscall numbers, and dummy wrappers for bsdthread_ctl and
sysctlbyname.  Mash up of patches from fxcoudert@gcc.gnu.org and Rhys
Kidd (rhyskidd@gmail.com).  Part of bug 339045.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14698 a5019735-40e9-0310-863c-91ae7b9d1cf9
Merge revisions 14344 and 14345 from the BUF_REMOVAL branch to trunk.
Basically:
CLG_(sprint_eventmapping)  --> CLG_(eventmapping_as_string)
CLG_(sprint_mappingcost)   --> CLG_(mappingcost_as_string)
The new functions return the string in a dynamically allocated buffer
that caller ought to free.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14699 a5019735-40e9-0310-863c-91ae7b9d1cf9
Merge revisions 14366 and 14367 from the BUF_REMOVAL branch to trunk.
In function dump_state_togdb use VG_(gdb_printf) directly. No need to write
to a buffer first.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14700 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add a no-op wrapper for a new-in-10.10 syscall: getattrlistbulk



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14701 a5019735-40e9-0310-863c-91ae7b9d1cf9
Enable suppressions for zlib false positives on OSX 10.10.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14702 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add some Mac OSX 10.10 specific wrappers.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14703 a5019735-40e9-0310-863c-91ae7b9d1cf9