]>
git.ipfire.org Git - thirdparty/valgrind.git/log
Julian Seward [Mon, 15 Aug 2011 09:42:34 +0000 (09:42 +0000)]
Remove the assumption, in m_debuginfo, that each address is associated
with only one symbol. Instead, allow an address to have arbitrarily
many names. This reflects reality better, particularly for systemy
libraries such as glibc and ld.so, and is background work needed for
fixing #275284. This is not in itself a fix for #275284. A followup
commit to un-break compilation on OSX will follow shortly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11981
Tom Hughes [Mon, 15 Aug 2011 08:47:29 +0000 (08:47 +0000)]
Add support for FBIOPUT_VSCREENINFO and FBIOPAN_DISPLAY ioctls.
Patch from Pauli Nieminen <ext-pauli.nieminen@nokia.com> on #263648.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11980
Tom Hughes [Mon, 15 Aug 2011 08:20:53 +0000 (08:20 +0000)]
Mention the --tool option in the manual page. Fixes #249970.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11979
Tom Hughes [Mon, 15 Aug 2011 08:20:23 +0000 (08:20 +0000)]
Include the standard Fedora location in the list of places where
we look for the docbook stylesheet for manual pages.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11978
Tom Hughes [Mon, 15 Aug 2011 07:52:26 +0000 (07:52 +0000)]
Correct the calculation of the size of the node mask given to
the mbind, set_mempolicy and get_mempolicy system calls.
Patch from Brice Goglin <brice.goglin@ens-lyon.org> on #280083.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11977
Bart Van Assche [Sun, 14 Aug 2011 06:41:15 +0000 (06:41 +0000)]
memcheck/tests/sbfragment: Make this test pass on Darwin
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11976
Bart Van Assche [Sun, 14 Aug 2011 06:16:17 +0000 (06:16 +0000)]
Follow-up for r11971
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11975
Florian Krohm [Sat, 13 Aug 2011 15:35:21 +0000 (15:35 +0000)]
Complain if invoked from the wrong directory or if mandatory
argument is missing.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11974
Tom Hughes [Sat, 13 Aug 2011 15:14:58 +0000 (15:14 +0000)]
Fix VKI_FIOQSIZE definition on ppc platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11973
Bart Van Assche [Sat, 13 Aug 2011 12:27:11 +0000 (12:27 +0000)]
vgdb: Unlink pipes and mapped file before (re)creating these.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11972
Bart Van Assche [Sat, 13 Aug 2011 05:57:51 +0000 (05:57 +0000)]
Update expected output
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11971
Bart Van Assche [Sat, 13 Aug 2011 05:32:53 +0000 (05:32 +0000)]
memcheck/tests/sbfragment.c: Only use mallinfo() if available.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11970
Tom Hughes [Fri, 12 Aug 2011 15:43:31 +0000 (15:43 +0000)]
Add test for address size override prefixes for REP prefixed string
instructions on amd64. Fixes remaining issues from #211371.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11969
Bart Van Assche [Fri, 12 Aug 2011 15:21:31 +0000 (15:21 +0000)]
drd/tests/pth_barrier: Reduce stack usage
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11968
Florian Krohm [Fri, 12 Aug 2011 15:07:10 +0000 (15:07 +0000)]
Check return code of pthread_create and bail out if
the function failed. This helps on systems which don't
have lots of memory.
Suggested by Christian Borntraeger.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11967
Florian Krohm [Thu, 11 Aug 2011 17:00:15 +0000 (17:00 +0000)]
Non-VEX changes to fix #275517.
Add testcase and announce fix in NEWS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11966
Tom Hughes [Thu, 11 Aug 2011 14:51:47 +0000 (14:51 +0000)]
Make do_mremap only check new_addr for wraparound if MREMAP_FIXED was
fixed, as new_addr may be meaningless otherwise. Fix to #204484.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11965
Florian Krohm [Thu, 11 Aug 2011 02:23:54 +0000 (02:23 +0000)]
Due to a kernel bug the siginfo struct was not filled in correctly.
The si_code was incorrect not matching any of the VKI_ILL_....
cases checked in m_signals.c function default_action.
So let's have two expected output files for buggy kernels and otherwise.
Also, add op00 to the list of files to be ignored.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11964
Tom Hughes [Wed, 10 Aug 2011 14:25:06 +0000 (14:25 +0000)]
Add support for the FIOQSIZE ioctl. Fixes #270320.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11963
Tom Hughes [Wed, 10 Aug 2011 12:58:23 +0000 (12:58 +0000)]
Add tests for XCHG AX, reg16 on amd64. Fixes #252695.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11962
Tom Hughes [Wed, 10 Aug 2011 12:39:37 +0000 (12:39 +0000)]
Wire up pselect6 on ppc32 and ppc64. Fixes #278078.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11961
Tom Hughes [Wed, 10 Aug 2011 10:11:14 +0000 (10:11 +0000)]
Support the F_GETPIPE_SZ and F_SETPIPE_SZ fcntl calls. Fixes #278349.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11960
Tom Hughes [Wed, 10 Aug 2011 09:57:27 +0000 (09:57 +0000)]
Make sure the post handler for mincore is called in amd64 and s390 as
it already was on other platforms. Fix to #279795.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11959
Florian Krohm [Mon, 8 Aug 2011 23:47:23 +0000 (23:47 +0000)]
Followup to VEX r2189 -- handling invalid opcode 00 specially.
Update golden log for testcase op_exception which no longer
complains about invalid opcode 00.
Add testcase op00.c
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11958
Nicholas Nethercote [Mon, 8 Aug 2011 02:27:20 +0000 (02:27 +0000)]
I am an idiot: remove the beginnings of an experimental tool that I
accidentally committed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11957
Nicholas Nethercote [Mon, 8 Aug 2011 01:58:50 +0000 (01:58 +0000)]
Fix a Massif bug: when realloc'ing a block, any values in the part of the
block beyond the original request weren't copied. They are now. This is
important because a program could use malloc_usable_size to gain legitimate
access to those extra bytes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11956
Florian Krohm [Mon, 1 Aug 2011 22:35:21 +0000 (22:35 +0000)]
Announce fix for #279062
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11955
Florian Krohm [Sun, 31 Jul 2011 03:22:45 +0000 (03:22 +0000)]
Fix prerequisite for memcheck/tests/linux/timerfd-syscall.
The testcase was executed despite uname -r being 2.6.9-42.EL
Extend tests/os_test.c to take an optional 2nd argument
which is a minimum version number. Use os_test in the
prerequisite expression.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11954
Bart Van Assche [Sat, 30 Jul 2011 16:50:33 +0000 (16:50 +0000)]
Yet another thread test scheduler sensitivity fix
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11953
Bart Van Assche [Sat, 30 Jul 2011 11:26:57 +0000 (11:26 +0000)]
Nightly build: Rename the attachment diffs into diffs.txt such that it can be viewed easily with an e-mail client.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11952
Bart Van Assche [Sat, 30 Jul 2011 09:35:56 +0000 (09:35 +0000)]
drd: Make racing pthread_barrier_wait() calls trigger an error message instead
of an assertion failure. Also, make barrier tracing output more detailed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11951
Bart Van Assche [Sat, 30 Jul 2011 09:29:20 +0000 (09:29 +0000)]
drd/tests/pth_barrier_thr_cr: Suppress pthread_barrier_wait() race reports since these are triggered intentionally.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11950
Bart Van Assche [Sat, 30 Jul 2011 09:28:13 +0000 (09:28 +0000)]
drd/tests/pth_barrier_thr_cr: Add more error checking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11949
Bart Van Assche [Fri, 29 Jul 2011 14:24:07 +0000 (14:24 +0000)]
Avoid that compiling memcheck on 32-bit systems triggers a compiler warning
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11948
Bart Van Assche [Fri, 29 Jul 2011 14:23:23 +0000 (14:23 +0000)]
drd/tests/tc21_pthonce: Eliminate output variation
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11947
Bart Van Assche [Fri, 29 Jul 2011 12:40:46 +0000 (12:40 +0000)]
Update Subversion ignore list
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11946
Bart Van Assche [Fri, 29 Jul 2011 12:39:44 +0000 (12:39 +0000)]
drd: Fix a race condition in the barrier implementation that could result in false positives.
What could occur before this fix is:
- The pthread_barrier() call in a first thread finishes.
- Another thread invokes pthread_join() on that thread, causing the information
associated with that thread to be removed from the barrier object.
- The pthread_barrier() call in another thread finishes. Because some
thread information has already been removed from the barrier object, the
per-thread vector clock "last" won't be computed correctly by
DRD_(barrier_post_wait)().
- Because of the above false positives could be reported.
This resulted in sporadic failure of the drd/tests/matinv regression test, and
should now be fixed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11945
Bart Van Assche [Fri, 29 Jul 2011 12:32:53 +0000 (12:32 +0000)]
drd: Add a stress test for the barrier implementation
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11944
Bart Van Assche [Fri, 29 Jul 2011 12:31:33 +0000 (12:31 +0000)]
drd: Remove an unused member variable from the barrier implementation
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11943
Bart Van Assche [Fri, 29 Jul 2011 12:30:43 +0000 (12:30 +0000)]
drd: drd_thread.c source code cleanup
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11942
Bart Van Assche [Fri, 29 Jul 2011 07:26:01 +0000 (07:26 +0000)]
drd, bitmap node allocator: recognize root node size properly
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11941
Bart Van Assche [Fri, 29 Jul 2011 07:22:29 +0000 (07:22 +0000)]
drd/tests/pth_barrier[23]: Filter output such that only the error count is kept
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11940
Bart Van Assche [Fri, 29 Jul 2011 06:58:16 +0000 (06:58 +0000)]
Yet another thread test scheduler sensitivity fix
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11939
Bart Van Assche [Fri, 29 Jul 2011 06:54:22 +0000 (06:54 +0000)]
drd/tests/pth_once: Restrict the number of callers to three.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11938
Bart Van Assche [Fri, 29 Jul 2011 06:30:23 +0000 (06:30 +0000)]
drd: Remove a too strict assert() statement
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11937
Bart Van Assche [Fri, 29 Jul 2011 06:12:51 +0000 (06:12 +0000)]
Yet another thread test scheduler sensitivity fix
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11936
Bart Van Assche [Fri, 29 Jul 2011 05:44:38 +0000 (05:44 +0000)]
drd/tests/pth_detached_sem: Send regression test output to stderr instead of stdout
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11935
Bart Van Assche [Thu, 28 Jul 2011 18:46:38 +0000 (18:46 +0000)]
Yet another threading tool regression test scheduler sensitivity fix
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11934
Bart Van Assche [Thu, 28 Jul 2011 18:06:44 +0000 (18:06 +0000)]
Verify drd/tests/pth_detached stderr output instead of the stdout output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11933
Bart Van Assche [Thu, 28 Jul 2011 17:48:48 +0000 (17:48 +0000)]
Yet another regression test scheduling sensitivity fix
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11932
Bart Van Assche [Thu, 28 Jul 2011 17:41:49 +0000 (17:41 +0000)]
Two more scheduler sensitivity fixes for thread tool regression tests
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11931
Bart Van Assche [Thu, 28 Jul 2011 17:40:49 +0000 (17:40 +0000)]
Micro-optimize the matinv regression test
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11930
Bart Van Assche [Thu, 28 Jul 2011 15:04:08 +0000 (15:04 +0000)]
drd: Make drd_pthread_intercepts.c compile again on systems where
FUTEX_PRIVATE_FLAG has not been defined in <linux/futex.h>, e.g. older System z
systems.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11929
Bart Van Assche [Thu, 28 Jul 2011 15:01:01 +0000 (15:01 +0000)]
Make test 1 output independent of scheduler variations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11928
Bart Van Assche [Thu, 28 Jul 2011 10:00:38 +0000 (10:00 +0000)]
Revert r11916, r11917, r11918 and r11923.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11927
Bart Van Assche [Thu, 28 Jul 2011 09:54:37 +0000 (09:54 +0000)]
drd: Delay deletion of memory access information of joined threads in order not
to miss any races caused by these threads.
To do: refine handling of pthread_once() again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11926
Bart Van Assche [Thu, 28 Jul 2011 09:33:55 +0000 (09:33 +0000)]
More thread test scheduler sensitivity fixes
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11925
Bart Van Assche [Wed, 27 Jul 2011 08:49:47 +0000 (08:49 +0000)]
Eliminate a superfluous sleep() call and check the pthread_cond_wait() return value
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11924
Bart Van Assche [Wed, 27 Jul 2011 08:49:12 +0000 (08:49 +0000)]
More thread tool regression test scheduler sensitivity fixes
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11923
Julian Seward [Tue, 26 Jul 2011 23:29:25 +0000 (23:29 +0000)]
Rename some local variables 'signal' to 'zignal' since gcc complains they
shadow global function signal() on OSX 10.6.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11922
Julian Seward [Tue, 26 Jul 2011 23:02:10 +0000 (23:02 +0000)]
Un-break the build on OSX following r11910.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11921
Bart Van Assche [Tue, 26 Jul 2011 19:30:28 +0000 (19:30 +0000)]
drd/Linux: eliminate busy waiting when starting a thread
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11920
Bart Van Assche [Tue, 26 Jul 2011 19:29:23 +0000 (19:29 +0000)]
drd: Add a suppression pattern
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11919
Bart Van Assche [Tue, 26 Jul 2011 19:28:52 +0000 (19:28 +0000)]
drd/tests/atomic_var: Reduce scheduler sensitivity
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11918
Bart Van Assche [Tue, 26 Jul 2011 19:28:31 +0000 (19:28 +0000)]
Disable drd/tests/tc19_shadowmem because too scheduler sensitive
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11917
Bart Van Assche [Tue, 26 Jul 2011 19:27:29 +0000 (19:27 +0000)]
helgrind/tests/tc08_hbl2: Reduce scheduler sensitivity
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11916
Josef Weidendorfer [Tue, 26 Jul 2011 18:10:35 +0000 (18:10 +0000)]
Unbreak lackey --detailed-counts=yes after r11604
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11915
Bart Van Assche [Mon, 25 Jul 2011 08:46:56 +0000 (08:46 +0000)]
Update Subversion ignore list
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11914
Bart Van Assche [Mon, 25 Jul 2011 08:45:45 +0000 (08:45 +0000)]
valgrind.h: Remove a superfluous cast. See also #278454.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11913
Julian Seward [Sun, 24 Jul 2011 21:41:41 +0000 (21:41 +0000)]
The cmpxchg16b tests in this need to have 16-aligned addresses;
make it so. Else they die with segfaults on F15.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11912
Julian Seward [Sun, 24 Jul 2011 17:39:10 +0000 (17:39 +0000)]
Avoid excessive fragmentation in m_mallocfree facility by munmapping
unused superblocks in some circumstances. Bug 250101 (==269884,
==275852)
(Philippe Waroquiers, philippe.waroquiers@skynet.be)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11911
Julian Seward [Sun, 24 Jul 2011 16:02:33 +0000 (16:02 +0000)]
Add a new client request and pair of macros,
VALGRIND_{DISABLE,ENABLE}_ERROR_REPORTING, which allow a thread to
temporarily disable reporting of errors it makes. This is useful for
making Memcheck behave sanely in the presence of some MPI
implementations. Also mark up libmpiwrap.c accordingly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11910
Julian Seward [Sun, 24 Jul 2011 14:35:58 +0000 (14:35 +0000)]
Change this file to be a symlink to the identical version
in the 32-bit equivalent directory
(none/tests/ppc32/test_isa_2_06_part1.c). Bug #277199.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11909
Julian Seward [Sun, 24 Jul 2011 14:20:11 +0000 (14:20 +0000)]
Add support for IBM Power ISA 2.06 -- stage 2 (testcases).
Bug 276784. (Maynard Johnson, maynardj@us.ibm.com)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11908
Julian Seward [Sun, 24 Jul 2011 14:15:54 +0000 (14:15 +0000)]
Add support for IBM Power ISA 2.06 -- stage 2 (handle new
primops in Memcheck). Bug 276784.
(Maynard Johnson, maynardj@us.ibm.com)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11907
Josef Weidendorfer [Thu, 21 Jul 2011 20:24:54 +0000 (20:24 +0000)]
Update ugly Callgrind hack for supporting instrumentation modes
To support different instrumentation modes, callgrind calls
VG_(discard_translations), which up to now does not belong to the
functions allowed to call from tools, as this is unsafe if
called from generated code.
Callgrind hacks around that by defining the prototype itself.
However, in r4789 (from Sep 27 2005!) a 3rd arg was added for
debugging output. Thus, callgrind could crash if called
with "-d -d".
As the "instrumentation off" feature seems to be used quite often,
it really would be nice to have VG_(discard_translations) callable
from tools...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11906
Josef Weidendorfer [Thu, 21 Jul 2011 18:58:37 +0000 (18:58 +0000)]
callgrind_control: fix parsing of vgdb -l
If valgrind is called with absolute path (as qtcreator does),
callgrind_control found nothing, as it looked for
"... for valgrind ...", thus breaking qtcreator.
This also fixes expected behavior with client commands called with
absolute path. For "/usr/bin/valgrind --tool callgrind /usr/bin/foo",
running "callgrind_control foo" should catch this callgrind command.
Instead, you previously had to include the absolute path.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11905
Tom Hughes [Thu, 21 Jul 2011 15:07:26 +0000 (15:07 +0000)]
DWARF comparisons should be signed. Patch from Jakub Jelinek.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11904
Julian Seward [Tue, 19 Jul 2011 15:49:55 +0000 (15:49 +0000)]
Add test cases for bug 277780. (fix for VMOV.F32).
Bug 277780. (Mans Rullgard, mans@mansr.com)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11903
Julian Seward [Tue, 19 Jul 2011 08:10:38 +0000 (08:10 +0000)]
Fix regtest: the delta value printed by the VSTn with register
post-index is bogus due to an accidental stringification in the macro.
Bug 277689. (Mans Rullgard, mans@mansr.com)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11902
Julian Seward [Tue, 19 Jul 2011 07:39:18 +0000 (07:39 +0000)]
Add test cases for NEON VMUL by float scalar.
Bug 277663. (Mans Rullgard, mans@mansr.com)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11901
Florian Krohm [Mon, 18 Jul 2011 20:32:20 +0000 (20:32 +0000)]
Update list of files to be ignored by svn.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11900
Florian Krohm [Sat, 16 Jul 2011 02:09:36 +0000 (02:09 +0000)]
Enable chasing of unconditional jumps/calls for s390x.
Tune function chase_into_ok to not chase into EX/EXRL
insn.
Observed speedups on performance tests were:
none -6% ... -12%
memcheck -3% ... -8%
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11899
Bart Van Assche [Wed, 13 Jul 2011 16:46:18 +0000 (16:46 +0000)]
drd/tests/annotate_smart_pointer2: Filter out offset
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11898
Bart Van Assche [Wed, 13 Jul 2011 10:45:02 +0000 (10:45 +0000)]
Add gdb.pic to the Subversion ignore list
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11897
Bart Van Assche [Wed, 13 Jul 2011 10:43:49 +0000 (10:43 +0000)]
drd: add a test that verifies that a race is reported for the annotate_smart_pointer test program with annotations disabled
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11896
Bart Van Assche [Wed, 13 Jul 2011 10:43:05 +0000 (10:43 +0000)]
drd/tests/annotate_smart_pointer: remove a superfluous initialization
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11895
Tom Hughes [Wed, 13 Jul 2011 10:05:24 +0000 (10:05 +0000)]
Cast llseek argument to avoid warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11894
Tom Hughes [Wed, 13 Jul 2011 09:02:14 +0000 (09:02 +0000)]
Allow core dumps on 32 bit architectures to go over 2Gb in size. BZ#277610.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11893
Florian Krohm [Tue, 12 Jul 2011 19:07:05 +0000 (19:07 +0000)]
Make the location for temporary files configurable at runtime.
To that effect observe the environment variable TMPDIR. If defined,
its value takes precedence over VG_TMPDIR.
Because the directory name is no longer a compile time constant,
VG_(err_config_error) was changed to take a variable argument list.
Fixes #267020.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11892
Julian Seward [Tue, 12 Jul 2011 17:41:50 +0000 (17:41 +0000)]
Reinstate inclusion of signal.h, removed in r11886.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11891
Julian Seward [Tue, 12 Jul 2011 17:28:39 +0000 (17:28 +0000)]
Reinstate inclusion of unistd.h, removed in r11886.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11890
Julian Seward [Tue, 12 Jul 2011 13:50:59 +0000 (13:50 +0000)]
Un-break the build on most platforms following r11888. Oops.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11889
Julian Seward [Tue, 12 Jul 2011 13:34:31 +0000 (13:34 +0000)]
Add a file containing information on how to cross-compile for Android.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11888
Julian Seward [Tue, 12 Jul 2011 13:33:00 +0000 (13:33 +0000)]
Fix up preload code so that on Android it doesn't try to call anything
else -- that seems to give a runtime link failure. In particular,
avoid calling _exit, getpagesize or __libc_freeres.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11887
Julian Seward [Tue, 12 Jul 2011 11:59:11 +0000 (11:59 +0000)]
Fix Linux build breakage caused by header rearrangement in r11885, sigh.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11886
Julian Seward [Tue, 12 Jul 2011 11:46:24 +0000 (11:46 +0000)]
Build system fixes so as to temporarily disable the GDBserver on
Android. Making that work will require a bit of extra effort due to
minor glibc-vs-bionic differences.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11885
Julian Seward [Tue, 12 Jul 2011 10:59:27 +0000 (10:59 +0000)]
Conditionalise code that uses some ELF constants that Android doesn't
know about, and remove three unnecessary #defines.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11884
Julian Seward [Tue, 12 Jul 2011 07:27:23 +0000 (07:27 +0000)]
Disable stabs reading on Android; it's uncompilable, and there's no
point.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11883
Julian Seward [Tue, 12 Jul 2011 07:14:47 +0000 (07:14 +0000)]
Make this compilable on Android.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11882