Commit Graph

5595 Commits

Author SHA1 Message Date
Bart Van Assche
da207928dd Made exp-drd/tests/trylock.c compile with older glibc versions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7544
2008-03-03 07:40:54 +00:00
Nicholas Nethercote
fcb6ba0407 update comments
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7543
2008-03-03 02:15:03 +00:00
Nicholas Nethercote
754e7ca6ba Update for the new VG_(ssort) algorithm.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7542
2008-03-03 02:13:16 +00:00
Julian Seward
14af4957fc Merge in the DATASYMS branch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7540
2008-03-03 01:35:41 +00:00
Nicholas Nethercote
79f12818bd This wasn't supposed to go in the last commit; undo.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7539
2008-03-02 22:48:48 +00:00
Nicholas Nethercote
2e4c67743e Ignore Emacs temporary files. Also, produce the correct .diff filename when
the .exp filename has a non-numeric suffix.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7538
2008-03-02 22:48:14 +00:00
Bart Van Assche
54f96f1d13 Updated to do list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7537
2008-03-02 19:15:15 +00:00
Bart Van Assche
1ca0dde3dd Added regression test for pthread_*timedlock() and pthread_*trylock() calls.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7536
2008-03-02 19:03:19 +00:00
Bart Van Assche
e5cb2edd18 More error message uniformization.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7535
2008-03-02 18:12:59 +00:00
Bart Van Assche
46a761e40c More error message uniformization.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7534
2008-03-02 18:06:35 +00:00
Bart Van Assche
ebfa7fdded More error message uniformization.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7533
2008-03-02 18:03:24 +00:00
Bart Van Assche
c9606c6b8d Made error messages more uniform.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7532
2008-03-02 17:47:50 +00:00
Bart Van Assche
1c0e43670f Added support for POSIX reader-writer locks. Modified exp-drd/tests/filter-stderr such that i386 and AMD64 now generate the same output. Removed *.stderr.exp2 files. Added section that explains differences between LinuxThreads and NPTL to exp-drd/docs/README.txt. Made error message about LinuxThreads more clear. Made error messages more uniform.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7531
2008-03-02 17:43:18 +00:00
Bart Van Assche
2649370c73 Updated alternative expected output files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7525
2008-03-01 15:34:25 +00:00
Bart Van Assche
928bb0b897 Converted double mutex error messages into single error messages.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7524
2008-03-01 15:27:41 +00:00
Bart Van Assche
dba1f8f3da Added a glibc 2.7 suppression.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7523
2008-03-01 13:55:33 +00:00
Bart Van Assche
f9bbc5bf9a Added command-line option --trace-clientobj. Renamed drd_clientobj* functions into clientobj*. Moved some code from drd_main.c into the drd_mutex.c/drd_cond.c/drd_semaphore.c.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7522
2008-03-01 13:44:24 +00:00
Bart Van Assche
f240abdb71 Minor simplification of DRD suppression file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7521
2008-03-01 11:39:00 +00:00
Bart Van Assche
5cf4c31ae4 Replaced per-thread start/stop recording mechanism by extra suppression patterns.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7520
2008-03-01 10:50:45 +00:00
Bart Van Assche
1a03c31785 Eliminated per-thread start/stop recording mechanism, which should make DRD a little bit faster. malloc()/free() is now intercepted on all platforms instead of just on i386.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7519
2008-03-01 10:49:37 +00:00
Bart Van Assche
dedae4123e Fixed compiler warning (duplicate const).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7518
2008-03-01 07:41:17 +00:00
Bart Van Assche
074b6ed137 Added -Wsign-compare.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7517
2008-03-01 07:35:52 +00:00
Bart Van Assche
43dbaec920 When started with linuxthreads, the DRD tool now stops as soon as the first thread is created.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7516
2008-03-01 07:25:13 +00:00
Bart Van Assche
d9064f1f29 Updated tc20_verifywrap to current output, and documented that an error message is missing at the end of the output for this test.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7515
2008-02-29 19:49:06 +00:00
Bart Van Assche
b172f9a1f2 Updated output variants.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7512
2008-02-29 19:37:03 +00:00
Bart Van Assche
2aee92911e Added detection of more types of runtime errors. Cleaned up tracing output. Added test for tracing output (tc20_verifywrap2).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7511
2008-02-29 19:28:15 +00:00
Bart Van Assche
0a0fe9a277 Removed debugging code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7510
2008-02-29 19:19:39 +00:00
Bart Van Assche
4351f63f4a Converted type of trace messages from Vg_DebugMsg to Vg_UserMsg.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7509
2008-02-29 19:17:28 +00:00
Bart Van Assche
ec91ad81ff Eliminated upper bounds on the number of condition variables, semaphores and barriers. Added command-line option --trace-semaphore.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7508
2008-02-29 17:27:03 +00:00
Bart Van Assche
8cbe7dc26a Updated after renaming / removing regression test output files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7507
2008-02-29 13:15:57 +00:00
Bart Van Assche
035f1574d5 Bug fix: "mutex reinitialization" error message is no longer printed for the tc09_bad_unlock test.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7506
2008-02-29 11:00:17 +00:00
Bart Van Assche
e7b7dc2d08 Updated to do list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7505
2008-02-28 20:36:25 +00:00
Bart Van Assche
d41c76e877 Simplified stack tracking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7504
2008-02-28 20:28:00 +00:00
Bart Van Assche
4a4130c96f Removed calls to set_thread_name() because the calls to snprintf() caused data races.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7503
2008-02-28 20:27:34 +00:00
Bart Van Assche
1e17c02d1a Converted triple "Destroying locked mutex" messages into single messages.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7502
2008-02-28 19:54:29 +00:00
Bart Van Assche
d8c287376a Converted triple "Destroying locked mutex" messages into single messages.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7501
2008-02-28 19:49:37 +00:00
Bart Van Assche
10e97581bb Eliminated the upper bound on the number of client-side mutexes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7500
2008-02-28 19:08:04 +00:00
Bart Van Assche
579a706db4 Eliminated the upper bound on the number of client-side mutexes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7499
2008-02-28 19:06:34 +00:00
Bart Van Assche
beb0f80401 Added support for recognizing invalid mutexes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7497
2008-02-28 08:30:43 +00:00
Bart Van Assche
9fcc16a541 Should compile again with linuxthreads header files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7496
2008-02-28 07:36:04 +00:00
Nicholas Nethercote
745f47f01c Make comments reflect the code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7494
2008-02-27 18:10:19 +00:00
Bart Van Assche
7ef7d7cae9 Updated to do list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7493
2008-02-27 18:06:09 +00:00
Bart Van Assche
29df003138 Converted to new mutex error message format.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7492
2008-02-27 17:42:04 +00:00
Bart Van Assche
583749920b Fixed compiler warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7491
2008-02-27 17:41:22 +00:00
Bart Van Assche
7d068d3fa8 An error message is now printed before attempting to lock a non-recursive mutex recursively.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7490
2008-02-27 16:13:05 +00:00
Bart Van Assche
0336cdffbb Modified drd client requests such that the mutex type can be passed from the intercepts to the tool. An error message is now printed in case a locked mutex is destroyed and in case a thread exits while it holds a lock on a mutex. Changed format of mutex error messages. Added recursive_mutex regression test. Fixed autogen warnings in exp-drd/tests/Makefile.am.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7489
2008-02-27 15:46:00 +00:00
Bart Van Assche
eae26ca31c Make sure tc20_verifywrap does not trigger an assertion failure in combination with glibc 2.7.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7488
2008-02-27 15:38:10 +00:00
Bart Van Assche
cd8ef39ca8 Cleaned up generation of "Not a mutex" error messages.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7483
2008-02-26 19:13:04 +00:00
Bart Van Assche
f3439bbf39 First step towards bus locking support.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7482
2008-02-26 19:11:20 +00:00
Bart Van Assche
c794ff1623 Disabled tc07_hbl1 and tc08_hbl2 again since running these tests makes only sense with proper support for bus locks in exp-drd.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7481
2008-02-26 19:09:59 +00:00