]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
16 years agoReverted r10526.
Bart Van Assche [Thu, 23 Jul 2009 08:09:29 +0000 (08:09 +0000)] 
Reverted r10526.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10550

16 years agoUpdated platform support messages.
Bart Van Assche [Thu, 23 Jul 2009 07:38:17 +0000 (07:38 +0000)] 
Updated platform support messages.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10549

16 years agoAdded DRD-specific suppression patterns for Darwin.
Bart Van Assche [Thu, 23 Jul 2009 07:37:32 +0000 (07:37 +0000)] 
Added DRD-specific suppression patterns for Darwin.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10548

16 years agoAdded a suppression pattern for a leak triggered from inside Darwin's C library.
Bart Van Assche [Thu, 23 Jul 2009 07:13:35 +0000 (07:13 +0000)] 
Added a suppression pattern for a leak triggered from inside Darwin's C library.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10547

16 years agoUpdated Subversion ignore list.
Bart Van Assche [Thu, 23 Jul 2009 07:12:17 +0000 (07:12 +0000)] 
Updated Subversion ignore list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10546

16 years agoImproved source code portability.
Bart Van Assche [Thu, 23 Jul 2009 07:11:27 +0000 (07:11 +0000)] 
Improved source code portability.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10545

16 years agoMade expected output for tc23_bogus_condwait complete (Darwin).
Bart Van Assche [Thu, 23 Jul 2009 07:10:40 +0000 (07:10 +0000)] 
Made expected output for tc23_bogus_condwait complete (Darwin).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10544

16 years agoOnly run the tc20_verifywrap2 test if the tc20_verifywrap executable has been built.
Bart Van Assche [Thu, 23 Jul 2009 07:09:44 +0000 (07:09 +0000)] 
Only run the tc20_verifywrap2 test if the tc20_verifywrap executable has been built.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10543

16 years agoAdded a filter in order to make the Darwin output for the annotate_trace_memory test...
Bart Van Assche [Thu, 23 Jul 2009 07:08:20 +0000 (07:08 +0000)] 
Added a filter in order to make the Darwin output for the annotate_trace_memory test identical to the Linux output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10542

16 years agoCleanup: removed source code commented out via #if 0 / #endif.
Bart Van Assche [Thu, 23 Jul 2009 06:47:38 +0000 (06:47 +0000)] 
Cleanup: removed source code commented out via #if 0 / #endif.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10541

16 years agoUpdated expected output because of changes in the source code of the regression tests.
Bart Van Assche [Thu, 23 Jul 2009 05:19:56 +0000 (05:19 +0000)] 
Updated expected output because of changes in the source code of the regression tests.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10540

16 years agoHandle the memory written by aio_read() properly -- mark the memory buffer
Nicholas Nethercote [Thu, 23 Jul 2009 04:30:06 +0000 (04:30 +0000)] 
Handle the memory written by aio_read() properly -- mark the memory buffer
as written once aio_return() is successfully called.

Also check the addressability of the buffer for both aio_read() and
aio_write().

Also check the file descriptor for aio_read() and aio_write().

And add a test for this.  There's one corner case of the test that doesn't
work as expected and is currently commented out.  But aio_*() certainly
works better than it used to.

All this is for bug 197227.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10539

16 years agoThis should have gone in with r10537.
Nicholas Nethercote [Thu, 23 Jul 2009 00:55:46 +0000 (00:55 +0000)] 
This should have gone in with r10537.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10538

16 years agoAdd support for __pthread_kill(). This hopefully fixes bug 201016.
Nicholas Nethercote [Thu, 23 Jul 2009 00:06:16 +0000 (00:06 +0000)] 
Add support for __pthread_kill().  This hopefully fixes bug 201016.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10537

16 years agoInclude valgrind_libdir and VG_(libdir) in the debugLog output. This was
Nicholas Nethercote [Wed, 22 Jul 2009 22:41:38 +0000 (22:41 +0000)] 
Include valgrind_libdir and VG_(libdir) in the debugLog output.  This was
useful for me debugging a broken installation yesterday.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10536

16 years agoMake the regression tests pass again on Linux.
Bart Van Assche [Wed, 22 Jul 2009 19:33:26 +0000 (19:33 +0000)] 
Make the regression tests pass again on Linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10535

16 years agoMore tweaking for Darwin.
Bart Van Assche [Wed, 22 Jul 2009 19:17:05 +0000 (19:17 +0000)] 
More tweaking for Darwin.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10534

16 years agoBug fix: leave empty output files empty instead of transforming these into an empty...
Bart Van Assche [Wed, 22 Jul 2009 19:14:31 +0000 (19:14 +0000)] 
Bug fix: leave empty output files empty instead of transforming these into an empty line.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10533

16 years agoAdded another Darwin regression tests output variant.
Bart Van Assche [Wed, 22 Jul 2009 19:06:22 +0000 (19:06 +0000)] 
Added another Darwin regression tests output variant.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10532

16 years agoMade the annotate_rwlock test compile on Darwin.
Bart Van Assche [Wed, 22 Jul 2009 19:04:58 +0000 (19:04 +0000)] 
Made the annotate_rwlock test compile on Darwin.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10531

16 years agoAdded an output variant.
Bart Van Assche [Wed, 22 Jul 2009 19:04:23 +0000 (19:04 +0000)] 
Added an output variant.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10530

16 years agoReverted r10513: removed --auto-run-dsymutil=yes again.
Bart Van Assche [Wed, 22 Jul 2009 19:03:46 +0000 (19:03 +0000)] 
Reverted r10513: removed --auto-run-dsymutil=yes again.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10529

16 years agoMore filter tuning: remove the empty line above instead of below the ... 100 errors...
Bart Van Assche [Wed, 22 Jul 2009 18:53:46 +0000 (18:53 +0000)] 
More filter tuning: remove the empty line above instead of below the ... 100 errors ... message.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10528

16 years agoFiltered out the "More than 100 errors detected." message.
Bart Van Assche [Wed, 22 Jul 2009 18:40:00 +0000 (18:40 +0000)] 
Filtered out the "More than 100 errors detected." message.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10527

16 years agoRemoved from repository.
Bart Van Assche [Wed, 22 Jul 2009 18:16:37 +0000 (18:16 +0000)] 
Removed from repository.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10526

16 years agoMore documentation updates.
Bart Van Assche [Wed, 22 Jul 2009 18:13:21 +0000 (18:13 +0000)] 
More documentation updates.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10525

16 years agoUpdated line numbers in expected output -- these line numbers changed because of...
Bart Van Assche [Wed, 22 Jul 2009 18:12:56 +0000 (18:12 +0000)] 
Updated line numbers in expected output -- these line numbers changed because of r10523.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10524

16 years agoMade these tests run successfully on Darwin.
Bart Van Assche [Wed, 22 Jul 2009 18:02:03 +0000 (18:02 +0000)] 
Made these tests run successfully on Darwin.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10523

16 years agoUpdated expected output.
Bart Van Assche [Wed, 22 Jul 2009 17:38:36 +0000 (17:38 +0000)] 
Updated expected output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10522

16 years agoUpdated documentation related to the --read-var-info flag.
Bart Van Assche [Wed, 22 Jul 2009 10:34:55 +0000 (10:34 +0000)] 
Updated documentation related to the --read-var-info flag.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10521

16 years agoRemoved code for handling --read-var-info from DRD since the Valgrind core already...
Bart Van Assche [Wed, 22 Jul 2009 09:26:21 +0000 (09:26 +0000)] 
Removed code for handling --read-var-info from DRD since the Valgrind core already interprets this flag.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10520

16 years agoRenamed --var-info=yes to --read-var-info=yes.
Bart Van Assche [Wed, 22 Jul 2009 07:30:37 +0000 (07:30 +0000)] 
Renamed --var-info=yes to --read-var-info=yes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10519

16 years agoRenamed --var-info to --read-var-info.
Bart Van Assche [Wed, 22 Jul 2009 07:22:48 +0000 (07:22 +0000)] 
Renamed --var-info to --read-var-info.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10518

16 years agoUpdated *.exp files after r10515.
Bart Van Assche [Wed, 22 Jul 2009 05:27:31 +0000 (05:27 +0000)] 
Updated *.exp files after r10515.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10517

16 years agoFix VG_(read_millisecond_timer) on Darwin. Fixes bug 200990.
Nicholas Nethercote [Wed, 22 Jul 2009 02:52:14 +0000 (02:52 +0000)] 
Fix VG_(read_millisecond_timer) on Darwin.  Fixes bug 200990.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10516

16 years agoTweaks for Darwin.
Bart Van Assche [Tue, 21 Jul 2009 17:47:30 +0000 (17:47 +0000)] 
Tweaks for Darwin.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10515

16 years agoMade sure that VG_(read_millisecond_timer)() returns zero on Darwin instead of random...
Bart Van Assche [Tue, 21 Jul 2009 17:46:56 +0000 (17:46 +0000)] 
Made sure that VG_(read_millisecond_timer)() returns zero on Darwin instead of random data. See also bug #200990.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10514

16 years agoAdded the Valgrind option --auto-run-dsymutil=yes.
Bart Van Assche [Tue, 21 Jul 2009 17:32:40 +0000 (17:32 +0000)] 
Added the Valgrind option --auto-run-dsymutil=yes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10513

16 years agoAdded result check.
Bart Van Assche [Tue, 21 Jul 2009 16:51:02 +0000 (16:51 +0000)] 
Added result check.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10512

16 years agoAdded more error checking.
Bart Van Assche [Tue, 21 Jul 2009 16:35:48 +0000 (16:35 +0000)] 
Added more error checking.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10511

16 years agoAdded more error checking.
Bart Van Assche [Tue, 21 Jul 2009 16:19:34 +0000 (16:19 +0000)] 
Added more error checking.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10510

16 years agoMore regression test output tuning.
Bart Van Assche [Tue, 21 Jul 2009 16:06:43 +0000 (16:06 +0000)] 
More regression test output tuning.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10509

16 years agoLimited the number of callers printed in stackframes to two for the hg03_inherit...
Bart Van Assche [Tue, 21 Jul 2009 15:35:55 +0000 (15:35 +0000)] 
Limited the number of callers printed in stackframes to two for the hg03_inherit test.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10508

16 years agoDisabled a tl_assert() statement.
Bart Van Assche [Tue, 21 Jul 2009 15:20:21 +0000 (15:20 +0000)] 
Disabled a tl_assert() statement.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10507

16 years agoMade debugging output for the code that computes the highest used stack address more...
Bart Van Assche [Tue, 21 Jul 2009 15:13:03 +0000 (15:13 +0000)] 
Made debugging output for the code that computes the highest used stack address more detailed.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10506

16 years agoAdded filter statements for Darwin-specific messages.
Bart Van Assche [Tue, 21 Jul 2009 15:11:59 +0000 (15:11 +0000)] 
Added filter statements for Darwin-specific messages.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10505

16 years agoAdded --auto-run-dsymutil=yes to --var-info=yes.
Bart Van Assche [Tue, 21 Jul 2009 14:55:52 +0000 (14:55 +0000)] 
Added --auto-run-dsymutil=yes to --var-info=yes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10504

16 years agoMade sure that DRD does something meaningful when using another threading library...
Bart Van Assche [Tue, 21 Jul 2009 12:39:25 +0000 (12:39 +0000)] 
Made sure that DRD does something meaningful when using another threading library than LinuxThreads or the NPTL.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10503

16 years agoMore Subversion ignore list updates.
Bart Van Assche [Tue, 21 Jul 2009 11:44:42 +0000 (11:44 +0000)] 
More Subversion ignore list updates.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10502

16 years ago- Replaced pthread_cond_wait() by pthread_cond_timedwait() calls.
Bart Van Assche [Tue, 21 Jul 2009 11:36:46 +0000 (11:36 +0000)] 
- Replaced pthread_cond_wait() by pthread_cond_timedwait() calls.
- An error message is now printed in case pthread_cond_timedwait()
  fails.
- Refactoring: joined thread1() and thread2() into one function.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10501

16 years agoRuns now on Darwin too.
Bart Van Assche [Tue, 21 Jul 2009 11:19:54 +0000 (11:19 +0000)] 
Runs now on Darwin too.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10500

16 years agoEnabled compilation of tsan_unittest on Darwin.
Bart Van Assche [Tue, 21 Jul 2009 11:13:32 +0000 (11:13 +0000)] 
Enabled compilation of tsan_unittest on Darwin.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10499

16 years agoCompiles now on Darwin.
Bart Van Assche [Tue, 21 Jul 2009 11:12:59 +0000 (11:12 +0000)] 
Compiles now on Darwin.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10498

16 years agoFixed comments next to #include directives.
Bart Van Assche [Tue, 21 Jul 2009 11:12:14 +0000 (11:12 +0000)] 
Fixed comments next to #include directives.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10497

16 years agoSpelling fix.
Bart Van Assche [Tue, 21 Jul 2009 07:35:23 +0000 (07:35 +0000)] 
Spelling fix.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10496

16 years agoAdded more information about the changes in DRD for the upcoming 3.5.0 release.
Bart Van Assche [Tue, 21 Jul 2009 07:32:19 +0000 (07:32 +0000)] 
Added more information about the changes in DRD for the upcoming 3.5.0 release.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10495

16 years agoFix up xml1 on 32-bit machines; merged the 32 and 64-bit outputs by
Nicholas Nethercote [Tue, 21 Jul 2009 04:51:55 +0000 (04:51 +0000)] 
Fix up xml1 on 32-bit machines;  merged the 32 and 64-bit outputs by
extending the filter.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10494

16 years agoImprove handling of clone() on x86/Linux. Based on a patch from Jeroen
Nicholas Nethercote [Mon, 20 Jul 2009 05:48:44 +0000 (05:48 +0000)] 
Improve handling of clone() on x86/Linux.  Based on a patch from Jeroen
Witmond.  This fixes bug 117564.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10493

16 years agoPoint out that exp-ptrcheck doesn't work on Darwin.
Nicholas Nethercote [Mon, 20 Jul 2009 05:45:48 +0000 (05:45 +0000)] 
Point out that exp-ptrcheck doesn't work on Darwin.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10492

16 years agoAdd missing newlines in readmacho.c messages. Fixes Massif test failures on
Nicholas Nethercote [Mon, 20 Jul 2009 05:39:50 +0000 (05:39 +0000)] 
Add missing newlines in readmacho.c messages.  Fixes Massif test failures on
Darwin.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10491

16 years agoUpdated chapter about DRD in the Valgrind manual:
Bart Van Assche [Sun, 19 Jul 2009 19:50:54 +0000 (19:50 +0000)] 
Updated chapter about DRD in the Valgrind manual:
- Documented the two new command-line options.
- Documented that DRD now supports custom memory allocators a.k.a.
  memory pools.
- Documented the new client requests (ANNOTATE_*()).
- Updated manual after the usability improvement that DRD now uses one
  thread ID instead of two thread ID numbers in its error messages.
- Rewrote several paragraphs to make these more clear.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10490

16 years agoAnother Subversion ignore list update.
Bart Van Assche [Sun, 19 Jul 2009 18:08:23 +0000 (18:08 +0000)] 
Another Subversion ignore list update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10489

16 years agoDRD no longer prints the thread ID's assigned by the Valgrind core but only those...
Bart Van Assche [Sun, 19 Jul 2009 17:53:56 +0000 (17:53 +0000)] 
DRD no longer prints the thread ID's assigned by the Valgrind core but only those assigned by DRD itself.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10488

16 years agoFixed XML syntax.
Bart Van Assche [Sun, 19 Jul 2009 09:19:58 +0000 (09:19 +0000)] 
Fixed XML syntax.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10487

16 years agoFixed spelling.
Bart Van Assche [Sun, 19 Jul 2009 08:16:30 +0000 (08:16 +0000)] 
Fixed spelling.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10486

16 years agoFixed spelling.
Bart Van Assche [Sun, 19 Jul 2009 08:12:57 +0000 (08:12 +0000)] 
Fixed spelling.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10485

16 years agoFixed the inline assembly code such that it also works correctly with gcc 4.4.0....
Bart Van Assche [Sat, 18 Jul 2009 10:39:14 +0000 (10:39 +0000)] 
Fixed the inline assembly code such that it also works correctly with gcc 4.4.0. While accessing stack variables from inline assembly code that modifies the stack pointer works fine with gcc 3.0 - gcc 4.3 with optimization disabled, it gives incorrect results with gcc 4.4.0.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10484

16 years agoAnother Subversion ignore list update.
Bart Van Assche [Sat, 18 Jul 2009 08:26:49 +0000 (08:26 +0000)] 
Another Subversion ignore list update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10483

16 years agoMake this test closer to passing.
Nicholas Nethercote [Thu, 16 Jul 2009 23:02:47 +0000 (23:02 +0000)] 
Make this test closer to passing.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10482

16 years agoMore ptrcheck system calls. Fixes #187416
Tom Hughes [Thu, 16 Jul 2009 08:47:08 +0000 (08:47 +0000)] 
More ptrcheck system calls. Fixes #187416

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10481

16 years agoUpdate expected output for shorter preamble.
Nicholas Nethercote [Wed, 15 Jul 2009 22:12:24 +0000 (22:12 +0000)] 
Update expected output for shorter preamble.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10480

16 years agoAdd some more system calls to exp-ptrcheck. Closes #186507 and #197966.
Tom Hughes [Wed, 15 Jul 2009 16:05:05 +0000 (16:05 +0000)] 
Add some more system calls to exp-ptrcheck. Closes #186507 and #197966.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10479

16 years agoTrack vex r1909 (get rid of LibVEX_Version).
Julian Seward [Wed, 15 Jul 2009 15:25:21 +0000 (15:25 +0000)] 
Track vex r1909 (get rid of LibVEX_Version).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10478

16 years agoMerge docs/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:52:52 +0000 (14:52 +0000)] 
Merge docs/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10477

16 years agoMerge include/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:52:18 +0000 (14:52 +0000)] 
Merge include/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10476

16 years agoMerge none/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:52:02 +0000 (14:52 +0000)] 
Merge none/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10475

16 years agoMerge lackey/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:51:48 +0000 (14:51 +0000)] 
Merge lackey/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10474

16 years agoMerge massif/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:51:34 +0000 (14:51 +0000)] 
Merge massif/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10473

16 years agoMerge cachegrind/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:51:17 +0000 (14:51 +0000)] 
Merge cachegrind/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10472

16 years agoMerge callgrind/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:51:03 +0000 (14:51 +0000)] 
Merge callgrind/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10471

16 years agoMerge exp-bbv/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:50:37 +0000 (14:50 +0000)] 
Merge exp-bbv/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10470

16 years agoMerge exp-ptrcheck/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:50:22 +0000 (14:50 +0000)] 
Merge exp-ptrcheck/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10469

16 years agoMerge helgrind/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:50:02 +0000 (14:50 +0000)] 
Merge helgrind/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10468

16 years agoMerge memcheck/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:49:40 +0000 (14:49 +0000)] 
Merge memcheck/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10467

16 years agoMerge drd/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:49:17 +0000 (14:49 +0000)] 
Merge drd/ changes from branches/MESSAGING_TIDYUP r10464.
See trunk r10465 commit message for details.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10466

16 years agoMerge coregrind/ changes from branches/MESSAGING_TIDYUP r10464.
Julian Seward [Wed, 15 Jul 2009 14:48:32 +0000 (14:48 +0000)] 
Merge coregrind/ changes from branches/MESSAGING_TIDYUP r10464.

This commit tidies up and rationalises what could be called the
"messaging" system -- that part of V to do with presenting output to
the user.  In particular it brings significant improvements to XML
output.

Changes are:

* XML and normal text output now have separate file descriptors,
  which solves longstanding problems for XML consumers caused by
  the XML output getting polluted by unexpected non-XML output.

* This also means that we no longer have to hardwire all manner
  of output settings (verbosity, etc) when XML is requested.

* The XML output format has been revised, cleaned up, and made
  more suitable for use by error detecting tools in general
  (various Memcheck-specific features have been removed).  XML
  output is enabled for Ptrcheck and Helgrind, and Memcheck is
  updated to the new format.

* One side effect is that the behaviour of VG_(message) has been
  made to be consistent with printf: it no longer automatically
  adds a newline at the end of the output.  This means multiple
  calls to it can be used to build up a single line message; or a
  single call can write a multi-line message.  The ==pid==
  preamble is automatically inserted at each newline.

* VG_(message)(Vg_UserMsg, ..args..) now has the abbreviated form
  VG_(UMSG)(..args..); ditto VG_(DMSG) for Vg_DebugMsg and
  VG_(EMSG) for Vg_DebugExtraMsg.  A couple of other useful
  printf derivatives have been added to pub_tool_libcprint.h,
  most particularly VG_(vcbprintf).

* There's a small change in the core-tool interface to do with
  error handling: VG_(needs_tool_errors) has a new method
  void (*before_pp_Error)(Error* err)  which, if non-NULL, is
  called just before  void (*pp_Error)(Error* err).  This is to
  give tools the chance to look at errors before any part of them
  is printed, so they can print any XML preamble they like.

* coregrind/m_errormgr.c has been overhauled and cleaned up, and
  is a bit simpler and more commented.  In particular pp_Error
  and VG_(maybe_record_error) are significantly changed.

The diff is huge, but mostly very boring.  Most of the changes
are of the form

-   VG_(message)(Vg_UserMsg, "this is a message %d", n);
+   VG_(message)(Vg_UserMsg, "this is a message %d\n", n);

Unfortunately as a result of this, it touches a large number
of source files.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10465

16 years agoValidate the file descriptor argument to fallocate.
Tom Hughes [Wed, 15 Jul 2009 07:47:49 +0000 (07:47 +0000)] 
Validate the file descriptor argument to fallocate.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10463

16 years agoAdd details about an interior-pointer case that can occur with C++.
Nicholas Nethercote [Wed, 15 Jul 2009 07:18:16 +0000 (07:18 +0000)] 
Add details about an interior-pointer case that can occur with C++.
Addresses bug 136230.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10462

16 years agoAdd support on Darwin for mount(). Finishes off bug 198624.
Nicholas Nethercote [Wed, 15 Jul 2009 06:39:15 +0000 (06:39 +0000)] 
Add support on Darwin for mount().  Finishes off bug 198624.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10461

16 years agoAdded support for getfsstat64() on Darwin. This partly fixes bug 198624.
Nicholas Nethercote [Wed, 15 Jul 2009 06:24:57 +0000 (06:24 +0000)] 
Added support for getfsstat64() on Darwin.  This partly fixes bug 198624.
Fixed a couple of other minor things too.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10460

16 years agoUpdated Subversion ignore list.
Bart Van Assche [Wed, 15 Jul 2009 06:17:18 +0000 (06:17 +0000)] 
Updated Subversion ignore list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10459

16 years agoAdd support on Darwin for fstat_extended() and fstat64_extended(). Partly
Nicholas Nethercote [Wed, 15 Jul 2009 06:01:45 +0000 (06:01 +0000)] 
Add support on Darwin for fstat_extended() and fstat64_extended().  Partly
addresses bug 198624.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10458

16 years agoHandle setpgid(). Partly addresses bug 198624.
Nicholas Nethercote [Wed, 15 Jul 2009 05:46:43 +0000 (05:46 +0000)] 
Handle setpgid().  Partly addresses bug 198624.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10457

16 years agoHandle fallocate() on 64-bit platforms. Fixes bug 185794.
Nicholas Nethercote [Wed, 15 Jul 2009 03:08:35 +0000 (03:08 +0000)] 
Handle fallocate() on 64-bit platforms.  Fixes bug 185794.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10456

16 years agoIgnore MALLOCLIKE_BLOCK/FREELIKE_BLOCK if addr==0. Fixes bug 137073. DRD
Nicholas Nethercote [Wed, 15 Jul 2009 02:31:45 +0000 (02:31 +0000)] 
Ignore MALLOCLIKE_BLOCK/FREELIKE_BLOCK if addr==0.  Fixes bug 137073.  DRD
now has its own copy of custom_alloc.c which is a little different to
Memcheck's;  making them both work with the same version was too difficult.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10455

16 years agoMore Subversion ignore list updates.
Bart Van Assche [Tue, 14 Jul 2009 16:45:48 +0000 (16:45 +0000)] 
More Subversion ignore list updates.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10454

16 years agoFixed recently introduced compiler warnings.
Bart Van Assche [Tue, 14 Jul 2009 16:36:40 +0000 (16:36 +0000)] 
Fixed recently introduced compiler warnings.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10453

16 years agoUpdated Subversion ignore list.
Bart Van Assche [Tue, 14 Jul 2009 11:56:10 +0000 (11:56 +0000)] 
Updated Subversion ignore list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10452

16 years agoShorten the preamble by moving some of it into the --help output. This
Nicholas Nethercote [Tue, 14 Jul 2009 06:55:05 +0000 (06:55 +0000)] 
Shorten the preamble by moving some of it into the --help output.  This
partly fixes bug 197933.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10451

16 years agoUpdated subversion ignore list.
Bart Van Assche [Tue, 14 Jul 2009 06:39:10 +0000 (06:39 +0000)] 
Updated subversion ignore list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10450