6182 Commits

Author SHA1 Message Date
Bart Van Assche
445629ad3c Added a three more paragraphs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8336
2008-07-03 07:08:04 +00:00
Bart Van Assche
3801eaa1aa Added a few extra notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8335
2008-07-02 11:50:37 +00:00
Bart Van Assche
97dc9c5042 Make sure DRD does not complain on executables with empty .plt and/or .got.plt sections.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8334
2008-07-02 11:47:46 +00:00
Bart Van Assche
8cef8ca249 Renamed a drd suppression pattern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8333
2008-07-02 11:39:52 +00:00
Bart Van Assche
32470f21fb Added an additional suppression pattern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8332
2008-07-01 14:13:25 +00:00
Bart Van Assche
ab3c1ef5a5 Updated to do list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8331
2008-07-01 13:46:33 +00:00
Bart Van Assche
924d2f81bc Added missing DRD command-line options for the OpenMP test programs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8330
2008-07-01 13:45:03 +00:00
Bart Van Assche
f46a4538ed Continued working on the DRD documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8329
2008-07-01 13:43:44 +00:00
Bart Van Assche
df1c49c18c Exit if the required argument is missing.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8328
2008-07-01 13:16:23 +00:00
Bart Van Assche
0d4145f502 Do not accept statically linked executables.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8327
2008-07-01 13:16:07 +00:00
Bart Van Assche
12713b6183 Converted VG_(message)() / tl_assert() calls into VG_(maybe_record_error)() calls.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8326
2008-07-01 13:15:31 +00:00
Josef Weidendorfer
6d6cf7acee Fix typo found by Bart
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8325
2008-07-01 09:35:21 +00:00
Bart Van Assche
bad05e6223 - Renamed the client request VG_USERREQ__GET_THREAD_SELF into
VG_USERREQ__DRD_GET_VALGRIND_THREAD_ID.
- Added a new client request, namely VG_USERREQ__DRD_GET_DRD_THREAD_ID.
- Merged the header file priv_drd_clientreq.h into drd_clientreq.h.
- Removed #include "../drd.h" from the regression tests that do not
  perform client requests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8324
2008-07-01 08:48:56 +00:00
Bart Van Assche
56913b806c Split client requests into public and tool-internal.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8322
2008-06-30 17:10:29 +00:00
Bart Van Assche
7054da3844 Fixes for CentOS 3.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8321
2008-06-30 13:15:33 +00:00
Bart Van Assche
a0a419683e Updated expected output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8320
2008-06-30 12:45:45 +00:00
Bart Van Assche
974f38358d Fixed race condition which could make the test program hang (signal could be sent before pthread_cond_wait() started).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8319
2008-06-30 11:13:35 +00:00
Bart Van Assche
dea294ffc3 Since information about PowerPC-specific atomic instructions is now passed to tools, remove the warning about these instructions not being supported.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8318
2008-06-30 10:56:18 +00:00
Bart Van Assche
c3219e5bf5 Apparently converting a stack address into a symbolic name doesn't work for the hg05_race2 test program on PowerPC systems. Added additional expected output file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8317
2008-06-30 10:50:33 +00:00
Julian Seward
c75bc57408 Track vex r1857 (addition of Imbe_SnoopedStoreBegin and
Imbe_SnoopedStoreEnd).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8316
2008-06-30 10:32:54 +00:00
Bart Van Assche
22a7a01c8b Added to repository.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8306
2008-06-29 07:45:03 +00:00
Bart Van Assche
77782ec334 Added #define _GNU_SOURCE to make sure that this test compiles with older POSIX threads implementations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8305
2008-06-29 07:20:00 +00:00
Bart Van Assche
9c14dd11cb Modified code such that concurrent pthread_cond_wait() and pthread_destroy() calls do no longer trigger an assertion failure in DRD.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8304
2008-06-28 16:55:35 +00:00
Bart Van Assche
a28836bab7 Continued working on the DRD documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8303
2008-06-28 16:47:22 +00:00
Bart Van Assche
22407294e2 Bug fix: only complain about recursive locking before pthread_cond_wait() is called if the calling thread holds the lock.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8302
2008-06-28 16:42:16 +00:00
Bart Van Assche
6e0f1a6ff0 An error message is now printed if the mutex pointer passed to
pthread_cond_wait() does not point to a mutex object, and also if the
mutex pointer passed to pthread_cond_wait() points to a recursive mutex
that has been locked recursively.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8301
2008-06-28 16:28:49 +00:00
Bart Van Assche
a8971abd42 Changed function not_a_mutex() from static to extern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8300
2008-06-28 16:22:24 +00:00
Bart Van Assche
bfc32949b4 Added comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8299
2008-06-28 16:06:01 +00:00
Bart Van Assche
8db83fb46a An error message is now printed if two different threads call
pthread_cond_*wait() on the same condition variable but with a different
mutex argument. Added regression test pth_inconsistent_cond_wait.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8298
2008-06-28 16:01:43 +00:00
Bart Van Assche
cceb5509e5 Semaphore and barrier reinitialization are now reported.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8297
2008-06-28 15:03:26 +00:00
Bart Van Assche
d6bb5c34d0 DRD now prints where a mutex appeared for the first time in addition to
the mutex address when an error message is printed for condition
variables.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8296
2008-06-28 13:40:41 +00:00
Bart Van Assche
806d5abe6d Some time ago reporting sending POSIX signals where the mutex associated
with the signal via pthread_cond_wait()/pthread_cond_timedwait() was
disabled. Reenabled this report, made it configurable, and added a
regression test for the new command line option.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8295
2008-06-28 13:01:30 +00:00
Bart Van Assche
58985b01c3 Delayed thread termination such that the "other segment" information is included in the data race reports.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8294
2008-06-28 11:53:01 +00:00
Bart Van Assche
0ea6042a1d Moved shell statements for building Firefox to a separate file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8293
2008-06-28 10:00:37 +00:00
Bart Van Assche
28af04a202 Swapped two mkdir statements.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8292
2008-06-28 09:59:35 +00:00
Bart Van Assche
ce8fccbac1 Renamed "danger set" into "conflict set".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8291
2008-06-28 07:19:56 +00:00
Bart Van Assche
a82e55b5c2 Fixed typo.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8290
2008-06-27 19:25:35 +00:00
Bart Van Assche
3211ffbf8f Moved --trace-segment from regular to debugging options.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8289
2008-06-27 15:00:07 +00:00
Bart Van Assche
9d908446bc Added a reference to a paper about data race detection.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8288
2008-06-27 14:56:48 +00:00
Bart Van Assche
af97950f23 Continued working on the DRD documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8287
2008-06-27 14:56:06 +00:00
Bart Van Assche
57e17d3ef7 Fixed filter.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8286
2008-06-27 07:50:11 +00:00
Bart Van Assche
9c5e7c6670 Added extra filtering for the stderr output of malloc_free_fill such that the output of this test becomes independent of the Linux distribution the test is run on. Should fix #162819.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8285
2008-06-27 07:33:18 +00:00
Bart Van Assche
8a111b33ff Let the compiler print a comprehensible error message if it does not provide built-in functions for atomic memory access.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8284
2008-06-26 08:58:25 +00:00
Bart Van Assche
15b27d8ff0 Added configure test for the gcc/icc built-in functions for atomic memory access (__sync_bool_compare_and_swap() a.o.).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8283
2008-06-26 08:43:12 +00:00
Bart Van Assche
1af3a135df Added ppc implementation of atomic compare and swap.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8282
2008-06-26 08:34:53 +00:00
Bart Van Assche
6c54624109 Use same flags for OpenMP regression tests as for the other regression tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8281
2008-06-26 07:31:15 +00:00
Bart Van Assche
c2cfeda8fe Minor change of the help text.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8280
2008-06-26 07:30:32 +00:00
Bart Van Assche
b3013e9de9 Reworked test such that file locking is now triggered from two different processes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8277
2008-06-24 09:54:05 +00:00
Julian Seward
9263da368a Handle apparently-bogus DW_TAG_compilation_unit DIE that shows up in
gcc-4.3 output.  My reading of the DWARF3 standard is that a
DW_TAG_compilation_unit should have either DW_AT_ranges or a
(DW_AT_low_pc, DW_AT_high_pc) pair, but not both.  So I think this is
a gcc bug.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8276
2008-06-24 09:51:55 +00:00
Julian Seward
5187274475 Suppress false positives in Memcheck caused by very clever coding in zlib.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8275
2008-06-24 09:48:39 +00:00