Disable drd/tests/annotate_trace_memory[_xml].vgtest on arm and ppc.

Workaround for bug #318643. Disable the tests for now so they don't
go into an infinite loop and fill up the disks on arm, ppc32 or ppc64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13402 a5019735-40e9-0310-863c-91ae7b9d1cf9
Support PTRACE_GET/SET_THREAD_AREA on x86.
BZ#320063.  (Josh Stone, jistone@redhat.com)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13403 a5019735-40e9-0310-863c-91ae7b9d1cf9
Support Linux kernel AF_BLUETOOTH for bind().

Bug #320116. sockaddr_rc might contain some padding which might not be
initialized. Explicitly check the sockaddr_rc fields are set. That also
produces better diagnostics about which field is unitialized.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13404 a5019735-40e9-0310-863c-91ae7b9d1cf9
Don't break platforms without AF_BLUETOOTH.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13405 a5019735-40e9-0310-863c-91ae7b9d1cf9
drd/tests/annotate_trace_memory: Make this test more ARM/PPC friendly (#318643)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13406 a5019735-40e9-0310-863c-91ae7b9d1cf9
drd/tests/annotate_trace_memory no longer depends on 64-bit atomics

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13407 a5019735-40e9-0310-863c-91ae7b9d1cf9
Revert "Disable drd/tests/annotate_trace_memory[_xml].vgtest on arm and ppc."

The tests have been changed to not depend on atomic 64bit add_and_fetch.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13408 a5019735-40e9-0310-863c-91ae7b9d1cf9
fix 320211 Stack buffer overflow in ./coregrind/m_main.c with huge TMPDIR
* Addition of a function to compute size of buffer needed for VG_(mkstemp)
* Use it to dimension buffers for all VG_(mkstemp) calls.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13409 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips64: set of mips64 specific tests

This is a set of mips64 programs that test mips64 instruction set.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13410 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips64: expected output for mips64 specific tests

Follow up to the previous change in which mips64 specific tests were added.
It covers both MIPS64-LE and MIPS64-BE.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13411 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips64: rename exp files for load_store_multiple

Rename none/tests/mips64/load_store_multiple exp files to match the name
of the source file.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13412 a5019735-40e9-0310-863c-91ae7b9d1cf9
s390x: The CC_DEP1 field is accessed as a whole or bits [0:31]
in case the field holds a 32-bit floating point value.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13413 a5019735-40e9-0310-863c-91ae7b9d1cf9
add and update exp files for drd/tests/annotate_trace_memory

exp-32bit files needed minor update for the last store, and some mips32
platforms also need additional exp-mips32 due to different way of loading
and storing double values.

This fixes drd/tests/annotate_trace_memory on different 32-bit platforms.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13414 a5019735-40e9-0310-863c-91ae7b9d1cf9
update cond_ld_st test and expected outputs

Line numbers are off by one in some outputs since it differs on GCC version
how it will map source code to line number for the ternary operator written
in multiple lines.
This is small fix that replaces one occurrence of ternary operator with
if-then-else. The excepted outputs have been changed accordingly.

This fixes the test memcheck/tests/cond_ld_st for different platforms with
different GCC versions.

Tested on x86, i386, ARM, MIPS32, and MIPS64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13415 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips64: add missing line-continuation character

make distclean failed for the missing character.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13416 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips64: disable intercepting the spinlock function

This change disables intercepting pthread_spin_lock() for MIPS64, similar to
r13190 for MIPS32. Used in DRD and Helgrind as a workaround for the issue
#311690.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13417 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips64: add cases in wrappers for ptrace calls with GETREGSET

Add cases for PTRACE_GETREGSET in PRE(sys_ptrace) and POST(sys_ptrace).

This fixes memcheck/tests/linux/getregset on MIPS64 platforms with kernel
that supports ptrace call with PTRACE_GETREGSET.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13418 a5019735-40e9-0310-863c-91ae7b9d1cf9
Comment only changes: IRRoundingModeDFP -> IRRoundingMode.


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


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13420 a5019735-40e9-0310-863c-91ae7b9d1cf9
More comment only changes as the "DFP rounding mode" has been removed.


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