Commit Graph

5619 Commits

Author SHA1 Message Date
Julian Seward
3f577414fe Handle DW_FORM_data8.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7589
2008-03-07 20:07:58 +00:00
Bart Van Assche
c04c063261 Updated to do list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7588
2008-03-07 19:32:02 +00:00
Bart Van Assche
3d66bb26af Added LinuxThreads output files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7587
2008-03-07 19:29:03 +00:00
Bart Van Assche
371d6a8cd4 Removed frame numbers and debuginfo reader warnings from output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7586
2008-03-07 19:11:54 +00:00
Bart Van Assche
fb679210b0 Switched to VG_(get_data_description)() for descriptions of addresses in error reports.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7585
2008-03-07 18:52:38 +00:00
Bart Van Assche
ee167d8186 Added more suppression patterns to DRD's suppression file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7584
2008-03-07 18:50:06 +00:00
Bart Van Assche
7e749e311a Modified pth_detached test program such that each dot printed by the detached threads is now printed on a line by itself.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7583
2008-03-07 18:44:26 +00:00
Bart Van Assche
02850f340c Added more atomic read/modify/write tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7582
2008-03-07 17:34:22 +00:00
Bart Van Assche
74855c42e6 Added support for atomic modifications (VEX' Imbe_BusLock/Imbe_BusUnlock).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7581
2008-03-07 17:22:26 +00:00
Julian Seward
8c1638a9ed Don't tell m_redir (and the user) that debuginfo is about to be
discarded if in fact we never got as far as reading anything into
DebugInfo.  This unbreaks self-hosting.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7579
2008-03-06 18:31:42 +00:00
Bart Van Assche
a10a37c2b1 Cleaned up vc_min() and vc_combine() implementations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7578
2008-03-06 18:02:37 +00:00
Bart Van Assche
bbede71189 Updated DRD's readme.txt.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7576
2008-03-06 07:00:47 +00:00
Bart Van Assche
723143c7a0 More suppression pattern generalization.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7562
2008-03-04 19:11:38 +00:00
Bart Van Assche
43cccc8e40 Generalized a suppression pattern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7561
2008-03-04 19:03:29 +00:00
Bart Van Assche
3a28acb2a5 Reverted -- no races should be reported on tc21_pthonce.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7560
2008-03-04 19:03:06 +00:00
Bart Van Assche
4e733981cb Added stdout.exp and stderr.exp files for LinuxThreads.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7559
2008-03-04 18:37:20 +00:00
Bart Van Assche
ee55193683 Replaced non-deterministic LinuxThreads test by a deterministic one (the time at which getpid() was called in the created thread did depend on how the Valgrind core scheduled threads).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7558
2008-03-04 18:36:23 +00:00
Julian Seward
efefa3830e VG_(get_strace_wrk): don't segfault in the degenerate case fp_min =
fp_max_orig = 0.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7551
2008-03-03 22:20:51 +00:00
Bart Van Assche
99e2db5631 Compiles now with gcc 2.96 too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7550
2008-03-03 20:40:51 +00:00
Bart Van Assche
8eb391f87d Added new command-line option --trace-rwlock. Added regression test exp-drd/tests/rwlock_race. Updated to do list. Fixed bug in vc_min(), the function that computes the elementwise minimum of two vector clocks. Fixed bug in thread_update_danger_set(). Fixed recently introduced bug in mutex code with regard to vector clock combining.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7549
2008-03-03 20:31:58 +00:00
Bart Van Assche
e7316e1c05 Added test for recursive writer locking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7548
2008-03-03 17:40:31 +00:00
Bart Van Assche
0c76b65230 The pth_broadcast test program now prints a message when finished such that the difference between successful completion and termination because of SIGALRM can be detected.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7547
2008-03-03 17:37:24 +00:00
Julian Seward
50a23bf861 Don't be quite so paranoid about rejecting symbols that fall outside
the .text segment.  Instead only reject ones that fall outside the r-x
area.  This is in line with r7427, which instituted such a change in
other places in the system.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7546
2008-03-03 15:51:58 +00:00
Bart Van Assche
8b77e62d9e Made sure that the pth_broadcast test is aborted if it does not complete within 100s.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7545
2008-03-03 11:16:33 +00:00
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