Rename "--kernel-variant=android-emulator-no-hw-tls" to
"=android-no-hw-tls" per suggestion from Philippe.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14479 a5019735-40e9-0310-863c-91ae7b9d1cf9
Avoid a compiler warning about int-to-ptr casting.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14480 a5019735-40e9-0310-863c-91ae7b9d1cf9
nightly: Try even more locations for finding glibc.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14481 a5019735-40e9-0310-863c-91ae7b9d1cf9
nightly: Try harder to get vendor stuff.

/etc/issue.net might just contain control chars (like \S) a generic welcome
message or omit the precise version. The newest standard is /etc/os-release
http://www.freedesktop.org/software/systemd/man/os-release.html
Otherwise there is often lsb_release
http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/lsbrelease.html
Try those first, fall back to /etc/issue.net if neither is there.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14482 a5019735-40e9-0310-863c-91ae7b9d1cf9
nightly: source is a bashism, use '.' instead

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14483 a5019735-40e9-0310-863c-91ae7b9d1cf9
readstabs.c: Don't include a.out.h, just define the stabs symbol nlist entry.

readstabs.c tries to include a.out.h to get the stabs symbol list entry
definition. STABS isn't specifically tied to the a.out format though.
The symbol entry structure just happens to be defined in the a.out.h
header. The header isn't really standard though. It might be provided
by glibc or the kernel in different locations. And not all arches support
the a.out format so the header might not even exist. Just define the
needed nlist struct entry directly in readstabs.c for VGO_linux. All
arches in glibc and the kernel use the same one anyway.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14484 a5019735-40e9-0310-863c-91ae7b9d1cf9
Do not modify a character string that could be a readonly 
string literal.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14485 a5019735-40e9-0310-863c-91ae7b9d1cf9
update callgrind and cachegrind filtering logic following rev 14469
rev 14469 gives better description of the tweak done to the
simulated cache. Update filtering logic to filter this (variable) tweaking
msg.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14486 a5019735-40e9-0310-863c-91ae7b9d1cf9
Go back to $test_dirs after each test run or tests dir run
Otherwise, we get an error for the 2nd dir if specifying 2 directories e.g.

  perl tests/vg_regtest cachegrind/tests callgrind/tests
  -- Running  tests in cachegrind/tests ----------------------------------
  chdir:           valgrind   ./chdir 
  clreq:           valgrind   -q ./clreq 
  dlclose:         valgrind   ./dlclose 
  notpower2:       valgrind   --I1=32768,8,64 --D1=24576,6,64 --LL=3145728,12,64 ./../../tests/true 
  wrap5:           valgrind   ./../../memcheck/tests/wrap5 
  -- Running  tests in cachegrind/tests/x86 ------------------------------
  fpu-28-108:      valgrind   ./fpu-28-108 
  -- Finished tests in cachegrind/tests/x86 ------------------------------
  -- Finished tests in cachegrind/tests ----------------------------------
  `callgrind/tests' neither a directory nor a readable test file/name



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14487 a5019735-40e9-0310-863c-91ae7b9d1cf9
More stack-end-semantics fixups for MacOS following r14422 and r14392.
May fix #338878.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14488 a5019735-40e9-0310-863c-91ae7b9d1cf9
Disable default-yes setting of read-inline-info for MacOS, and enable
it for drd on Linux.



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