drd/Makefile.am: Add -Wswitch-enum

Hopefully one day this compiler flag can be enabled for the entire Valgrind
code base.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14548 a5019735-40e9-0310-863c-91ae7b9d1cf9
DRD: Handle Imbe_CancelReservation properly (clrex on ARM)

This was reported by Florian and was detected by analyzing the
compiler output with -Wswitch-enum enabled.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14549 a5019735-40e9-0310-863c-91ae7b9d1cf9
Old STABS code is still being compiled, but never used. Remove it.

Since valgrind 3.9.0 the STABS support was already disabled completely.
But the code was still there being compiled and we were still searching
for stabs sections in binaries. Completely remove all sources, tests and
references. Add a note to coregrind/m_debuginfo/README.txt to mention
the old code can be found in the subversion repository.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14550 a5019735-40e9-0310-863c-91ae7b9d1cf9
Enable -Wcast-align globally.
Tested on x86-64, s390, and ppc64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14551 a5019735-40e9-0310-863c-91ae7b9d1cf9
Remove a few pointless asserts because the allocation functions
do not return NULL.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14552 a5019735-40e9-0310-863c-91ae7b9d1cf9
Remove a few useless asserts after memory allocation.
The called allocators don't return NULL.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14553 a5019735-40e9-0310-863c-91ae7b9d1cf9
Fix a few casts that dropped type qualifiers. As pointed out by
-Wcast-qual.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14554 a5019735-40e9-0310-863c-91ae7b9d1cf9
r14319 dropped adding -Wwrite-strings to the compile flags.
Add it back in.


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