Tweak VG_(machine_get_cache_info). 
Better messages. Always write cache info when in debug mode.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13099 a5019735-40e9-0310-863c-91ae7b9d1cf9
s390: Autodetect cache info. These are the final bits to fix BZ 275800.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13100 a5019735-40e9-0310-863c-91ae7b9d1cf9
Char/HChar and constness fixes in m_ume


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13101 a5019735-40e9-0310-863c-91ae7b9d1cf9
Fix Char/HChar mixups and constness in m_initimg.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13102 a5019735-40e9-0310-863c-91ae7b9d1cf9
Fix Char/HChar mixups and constness in m_scheduler.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13103 a5019735-40e9-0310-863c-91ae7b9d1cf9
factorise sys_socketcall
sys_socketcall was duplicated in syswrap-{ppc64|ppc32|arm|mips32|s390x}-linux.c
=>
* Similarly for what was done for sys_ipc, factorise the code in syswrap-linux.c
* re-enabled PRE_MEM_READ for VKI_SYS_SENDMSG and VKI_SYS_RECVMSG 
  (PRE_MEM_READ calls were commented out around 2003, for what
   was supposed a glibc bug.
   The PRE_MEM_READ calls were already re-enabled in s390x)
* s390x also had some more checking to verify the addressibility of
  the args and fail the syscall with EFAULT if not addressable
  => same checks are now done for all platforms.

(tested on x86/amd64/mips32/s390x/ppc32/ppc64, 
 compiled for arm-android-emulator)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13104 a5019735-40e9-0310-863c-91ae7b9d1cf9
fix n-i-bz same as 303624 (fixed in 3.8.0), but for x86 android

(note: this might be a candidate if a 3.8.2 is done).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13105 a5019735-40e9-0310-863c-91ae7b9d1cf9
s390x machines z196 and zec12 have 4 levels of caches. Adopt the test suite


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13106 a5019735-40e9-0310-863c-91ae7b9d1cf9
Same idea as for mips. sem_post does not fail on s390


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13107 a5019735-40e9-0310-863c-91ae7b9d1cf9
Improve accuracy of definedness tracking through the x86 PMOVMSKB and
BSF instructions, as the lack of it causes false positives (Valgrind
side).  Fixes #308627.  (Patrick J. LoPresti <lopresti@gmail.com>)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13108 a5019735-40e9-0310-863c-91ae7b9d1cf9
Ignore ELF sections that have zero size.  Fixes #309600. 
(Dragos Tatulea, dragos.tatulea@gmail.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13109 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add ptrace getreset testcase from Andreas Arnez 
arnez AT  linux DOT vnet DOT ibm DOT com



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13110 a5019735-40e9-0310-863c-91ae7b9d1cf9
wire up testcase


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13111 a5019735-40e9-0310-863c-91ae7b9d1cf9
add s390 specific fix for getregset


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13112 a5019735-40e9-0310-863c-91ae7b9d1cf9
also wire up arm, x86 and amd64 regarding ptrace regsets
original patch from 
Andreas Arnez <arnez AT  linux DOT vnet DOT ibm DOT com>

Seems that ppc and mips dont have ptrace support....



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13113 a5019735-40e9-0310-863c-91ae7b9d1cf9
Announce fix for BZ 308886.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13114 a5019735-40e9-0310-863c-91ae7b9d1cf9
GETREGSET was introduced with 2.6.33.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13115 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add missing EXTRA DIST statement


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13116 a5019735-40e9-0310-863c-91ae7b9d1cf9
add BLKPBSZGET ioctl


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13117 a5019735-40e9-0310-863c-91ae7b9d1cf9
Update list of ignored files.


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