-Wmissing-enum seems to have arrived at the MacOS builds for some
reason, and complains about missing cases in sr_isError, sr_Res,
sr_ResHI, sr_Err.  Add cases to keep it happy.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14634 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add intercepts on MacOS 10.9 for
libsystem_c.dylib:strrchr
libsystem_platform.dylib:_platform_memmove$VARIANT$Ivybridge


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14635 a5019735-40e9-0310-863c-91ae7b9d1cf9
_thread_suspend: hold on to the lock when suspending some other
thread, so as to not deadlock the process.

_thread_resume: add wrapper



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14636 a5019735-40e9-0310-863c-91ae7b9d1cf9
Remove some dead code.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14637 a5019735-40e9-0310-863c-91ae7b9d1cf9
Rewrite print_file_vars such that it does not modify its
argument string. Remove an unneeded strdup.


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