]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
17 years agoConverted triple "Destroying locked mutex" messages into single messages.
Bart Van Assche [Thu, 28 Feb 2008 19:54:29 +0000 (19:54 +0000)] 
Converted triple "Destroying locked mutex" messages into single messages.

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

17 years agoConverted triple "Destroying locked mutex" messages into single messages.
Bart Van Assche [Thu, 28 Feb 2008 19:49:37 +0000 (19:49 +0000)] 
Converted triple "Destroying locked mutex" messages into single messages.

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

17 years agoEliminated the upper bound on the number of client-side mutexes.
Bart Van Assche [Thu, 28 Feb 2008 19:08:04 +0000 (19:08 +0000)] 
Eliminated the upper bound on the number of client-side mutexes.

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

17 years agoEliminated the upper bound on the number of client-side mutexes.
Bart Van Assche [Thu, 28 Feb 2008 19:06:34 +0000 (19:06 +0000)] 
Eliminated the upper bound on the number of client-side mutexes.

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

17 years agoAdded support for recognizing invalid mutexes.
Bart Van Assche [Thu, 28 Feb 2008 08:30:43 +0000 (08:30 +0000)] 
Added support for recognizing invalid mutexes.

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

17 years agoShould compile again with linuxthreads header files.
Bart Van Assche [Thu, 28 Feb 2008 07:36:04 +0000 (07:36 +0000)] 
Should compile again with linuxthreads header files.

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

17 years agoMake comments reflect the code.
Nicholas Nethercote [Wed, 27 Feb 2008 18:10:19 +0000 (18:10 +0000)] 
Make comments reflect the code.

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

17 years agoUpdated to do list.
Bart Van Assche [Wed, 27 Feb 2008 18:06:09 +0000 (18:06 +0000)] 
Updated to do list.

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

17 years agoConverted to new mutex error message format.
Bart Van Assche [Wed, 27 Feb 2008 17:42:04 +0000 (17:42 +0000)] 
Converted to new mutex error message format.

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

17 years agoFixed compiler warning.
Bart Van Assche [Wed, 27 Feb 2008 17:41:22 +0000 (17:41 +0000)] 
Fixed compiler warning.

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

17 years agoAn error message is now printed before attempting to lock a non-recursive mutex recur...
Bart Van Assche [Wed, 27 Feb 2008 16:13:05 +0000 (16:13 +0000)] 
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

17 years agoModified drd client requests such that the mutex type can be passed from the intercep...
Bart Van Assche [Wed, 27 Feb 2008 15:46:00 +0000 (15:46 +0000)] 
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

17 years agoMake sure tc20_verifywrap does not trigger an assertion failure in combination with...
Bart Van Assche [Wed, 27 Feb 2008 15:38:10 +0000 (15:38 +0000)] 
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

17 years agoCleaned up generation of "Not a mutex" error messages.
Bart Van Assche [Tue, 26 Feb 2008 19:13:04 +0000 (19:13 +0000)] 
Cleaned up generation of "Not a mutex" error messages.

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

17 years agoFirst step towards bus locking support.
Bart Van Assche [Tue, 26 Feb 2008 19:11:20 +0000 (19:11 +0000)] 
First step towards bus locking support.

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

17 years agoDisabled tc07_hbl1 and tc08_hbl2 again since running these tests makes only sense...
Bart Van Assche [Tue, 26 Feb 2008 19:09:59 +0000 (19:09 +0000)] 
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

17 years agoUpdated to do list.
Bart Van Assche [Tue, 26 Feb 2008 16:07:41 +0000 (16:07 +0000)] 
Updated to do list.

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

17 years agoAdded Helgrind regression tests tc05, tc06 and tc08.
Bart Van Assche [Tue, 26 Feb 2008 16:06:33 +0000 (16:06 +0000)] 
Added Helgrind regression tests tc05, tc06 and tc08.

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

17 years agoAdded more barrier tests.
Bart Van Assche [Tue, 26 Feb 2008 16:03:44 +0000 (16:03 +0000)] 
Added more barrier tests.

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

17 years agoLeft out number of suppressed error messages.
Bart Van Assche [Tue, 26 Feb 2008 16:03:25 +0000 (16:03 +0000)] 
Left out number of suppressed error messages.

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

17 years agoSummarized multiple pth_barrier.stderr.exp* output files into one.
Bart Van Assche [Tue, 26 Feb 2008 12:52:00 +0000 (12:52 +0000)] 
Summarized multiple pth_barrier.stderr.exp* output files into one.

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

17 years agoAdded to repository.
Bart Van Assche [Mon, 25 Feb 2008 20:41:07 +0000 (20:41 +0000)] 
Added to repository.

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

17 years agoFixed typo.
Bart Van Assche [Mon, 25 Feb 2008 20:40:52 +0000 (20:40 +0000)] 
Fixed typo.

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

17 years agoFixed more Fedora 8 regression test failures.
Bart Van Assche [Mon, 25 Feb 2008 20:34:15 +0000 (20:34 +0000)] 
Fixed more Fedora 8 regression test failures.

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

17 years agoFixed most Fedora 8 regression test failures.
Bart Van Assche [Mon, 25 Feb 2008 20:25:41 +0000 (20:25 +0000)] 
Fixed most Fedora 8 regression test failures.

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

17 years agoFilter out stack offset of stack variables.
Bart Van Assche [Mon, 25 Feb 2008 20:25:10 +0000 (20:25 +0000)] 
Filter out stack offset of stack variables.

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

17 years agoAdded more of Helgrind's regression tests.
Bart Van Assche [Mon, 25 Feb 2008 19:58:25 +0000 (19:58 +0000)] 
Added more of Helgrind's regression tests.

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

17 years agoConverted several assertions into error messages.
Bart Van Assche [Mon, 25 Feb 2008 19:46:14 +0000 (19:46 +0000)] 
Converted several assertions into error messages.

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

17 years agoThe mutex address may now be left zero when triggering a MutexErr.
Bart Van Assche [Mon, 25 Feb 2008 19:40:14 +0000 (19:40 +0000)] 
The mutex address may now be left zero when triggering a MutexErr.

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

17 years agoAdded output for the case where the data race is detected in thread 3.
Bart Van Assche [Mon, 25 Feb 2008 17:29:13 +0000 (17:29 +0000)] 
Added output for the case where the data race is detected in thread 3.

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

17 years agoRenamed pth_barrier.stderr.exp into pth_barrier.stderr.exp-thread2.
Bart Van Assche [Mon, 25 Feb 2008 17:26:23 +0000 (17:26 +0000)] 
Renamed pth_barrier.stderr.exp into pth_barrier.stderr.exp-thread2.

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

17 years agoIntercept pthread_rwlock_try{rd,wr}lock. Fixes #158212.
Julian Seward [Mon, 25 Feb 2008 12:10:07 +0000 (12:10 +0000)] 
Intercept pthread_rwlock_try{rd,wr}lock.  Fixes #158212.

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

17 years agoUpdated to do list.
Bart Van Assche [Sun, 24 Feb 2008 18:47:12 +0000 (18:47 +0000)] 
Updated to do list.

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

17 years agoAdded --trace-csw and --trace-danger-set. Removed commented out code.
Bart Van Assche [Sun, 24 Feb 2008 18:46:05 +0000 (18:46 +0000)] 
Added --trace-csw and --trace-danger-set. Removed commented out code.

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

17 years agoFixed race conditions in client pthread_barrier_wait() intercept code.
Bart Van Assche [Sun, 24 Feb 2008 18:42:53 +0000 (18:42 +0000)] 
Fixed race conditions in client pthread_barrier_wait() intercept code.

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

17 years agoCorrected various comments. Removed commented out code. Added code for tracing thread...
Bart Van Assche [Sun, 24 Feb 2008 18:37:08 +0000 (18:37 +0000)] 
Corrected various comments. Removed commented out code. Added code for tracing thread context switches and danger set updating. Fixed memory leak. Danger set is now updated every time a new segment is created instead of only at every context switch, which fixes the bug that no data races were reported for the pth_barrier test program.

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

17 years agoFixed a memory leak.
Bart Van Assche [Sun, 24 Feb 2008 18:29:43 +0000 (18:29 +0000)] 
Fixed a memory leak.

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

17 years agoCleanup: moved const keyword in front of datatype.
Bart Van Assche [Sun, 24 Feb 2008 18:29:10 +0000 (18:29 +0000)] 
Cleanup: moved const keyword in front of datatype.

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

17 years agoCleanup: removed commented out code.
Bart Van Assche [Sun, 24 Feb 2008 18:28:19 +0000 (18:28 +0000)] 
Cleanup: removed commented out code.

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

17 years agoMinor change: renamed one variable.
Bart Van Assche [Sun, 24 Feb 2008 18:27:11 +0000 (18:27 +0000)] 
Minor change: renamed one variable.

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

17 years agoAdded vc_assign() function.
Bart Van Assche [Sun, 24 Feb 2008 18:26:46 +0000 (18:26 +0000)] 
Added vc_assign() function.

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

17 years agoCleanup: removed old data race detection algorithm implementation.
Bart Van Assche [Sun, 24 Feb 2008 18:25:43 +0000 (18:25 +0000)] 
Cleanup: removed old data race detection algorithm implementation.

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

17 years agoFixed a memory leak and renamed one variable.
Bart Van Assche [Sun, 24 Feb 2008 18:22:37 +0000 (18:22 +0000)] 
Fixed a memory leak and renamed one variable.

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

17 years agoAdded more debugging output.
Bart Van Assche [Sun, 24 Feb 2008 18:21:12 +0000 (18:21 +0000)] 
Added more debugging output.

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

17 years agoFixed output.
Bart Van Assche [Sun, 24 Feb 2008 18:19:09 +0000 (18:19 +0000)] 
Fixed output.

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

17 years agoVarious minor changes.
Bart Van Assche [Sun, 24 Feb 2008 18:18:23 +0000 (18:18 +0000)] 
Various minor changes.

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

17 years agoWhitespace-only change.
Bart Van Assche [Sun, 24 Feb 2008 18:16:56 +0000 (18:16 +0000)] 
Whitespace-only change.

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

17 years agoAdded const keyword to second argument of VG_(OSetGen_Remove)().
Bart Van Assche [Sat, 23 Feb 2008 19:04:44 +0000 (19:04 +0000)] 
Added const keyword to second argument of VG_(OSetGen_Remove)().

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

17 years agoAdded a section about programming with threads, added an acknowledgements section...
Bart Van Assche [Thu, 21 Feb 2008 20:32:57 +0000 (20:32 +0000)] 
Added a section about programming with threads, added an acknowledgements section and added more references.

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

17 years agoRewrote the README.txt document.
Bart Van Assche [Sun, 17 Feb 2008 18:51:06 +0000 (18:51 +0000)] 
Rewrote the README.txt document.

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

17 years agoUpdated to do list.
Bart Van Assche [Sun, 17 Feb 2008 18:13:00 +0000 (18:13 +0000)] 
Updated to do list.

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

17 years agoComment-only changes.
Julian Seward [Sun, 17 Feb 2008 11:46:58 +0000 (11:46 +0000)] 
Comment-only changes.

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

17 years agoFix exp-drd Fedora 8 tc18_semabuse regression test failure. It is okay to leave out...
Bart Van Assche [Sun, 17 Feb 2008 09:21:05 +0000 (09:21 +0000)] 
Fix exp-drd Fedora 8 tc18_semabuse regression test failure. It is okay to leave out the tl_assert(waited) statement because this statement is only triggered in case sem_post() fails, and sem_post() currently only fails when called on something that is not a semaphore.

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

17 years agoIgnore executables.
Robert Walsh [Sat, 16 Feb 2008 02:37:03 +0000 (02:37 +0000)] 
Ignore executables.

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

17 years agoIgnore post.out files.
Robert Walsh [Sat, 16 Feb 2008 02:35:31 +0000 (02:35 +0000)] 
Ignore post.out files.

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

17 years agoOops - don't ignore stuff here.
Robert Walsh [Sat, 16 Feb 2008 02:33:54 +0000 (02:33 +0000)] 
Oops - don't ignore stuff here.

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

17 years agoIgnore output files.
Robert Walsh [Sat, 16 Feb 2008 02:33:30 +0000 (02:33 +0000)] 
Ignore output files.

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

17 years agoTry to sort out signedness problems in hg_wordfm.[ch], and do a bunch
Julian Seward [Fri, 15 Feb 2008 22:02:30 +0000 (22:02 +0000)] 
Try to sort out signedness problems in hg_wordfm.[ch], and do a bunch
of other tidying too.

* All these word-based abstractions (WordFM, WordSet, WordBag) now
  operate on unsigned words (UWord), whereas they previously operated
  on signed words (Word).  This became a problem, when using unboxed
  comparisons, with the introduction of HG_(initIterAtFM), which
  allows iteration over parts of mappings.  Iterating over a mapping in
  increasing order of signed Word keys is not what callers expect when
  iterating through maps whose keys representing addresses (Addr) since
  Addr is unsigned, and causes logical problems and assertion
  failures.

* Change various size-of-things types from signed to unsigned, and
  make them consistently word sized.  For example the return type
  of HG_(sizeFM) used to be an Int, which never made any sense
  (the size can't be negative, and, on a 64-bit platform, the
  map could have more than 2G elements, in which case an Int can't
  represent the result).  So make the return value a UWord instead.
  This should generally help avoid obscure overflow problems on 64-bit
  platforms.

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

17 years agoFix minor breakage in 7 tests.
Nicholas Nethercote [Wed, 13 Feb 2008 05:05:58 +0000 (05:05 +0000)] 
Fix minor breakage in 7 tests.

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

17 years agonotes about SPEC benchmarks
Nicholas Nethercote [Mon, 11 Feb 2008 21:22:15 +0000 (21:22 +0000)] 
notes about SPEC benchmarks

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

17 years agoUpdate bug status.
Tom Hughes [Mon, 11 Feb 2008 14:50:38 +0000 (14:50 +0000)] 
Update bug status.

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

17 years agoAlways call ML_(generic_POST_sys_shmat) when a shmat call succeeds, even
Tom Hughes [Mon, 11 Feb 2008 14:47:05 +0000 (14:47 +0000)] 
Always call ML_(generic_POST_sys_shmat) when a shmat call succeeds, even
if the memory was attached at address zero. Fixes bug #157665.

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

17 years agoUpdate copyright dates ("200X-2007" --> "200X-2008").
Julian Seward [Mon, 11 Feb 2008 11:34:59 +0000 (11:34 +0000)] 
Update copyright dates ("200X-2007" --> "200X-2008").

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

17 years agoUpdate.
Julian Seward [Mon, 11 Feb 2008 11:32:40 +0000 (11:32 +0000)] 
Update.

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

17 years agoInclude headers for VG_(register_stack) calls.
Julian Seward [Mon, 11 Feb 2008 11:23:12 +0000 (11:23 +0000)] 
Include headers for VG_(register_stack) calls.

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

17 years agoFix race condition in sem_post() wrapper (Bart Van Assche).
Julian Seward [Mon, 11 Feb 2008 11:00:51 +0000 (11:00 +0000)] 
Fix race condition in sem_post() wrapper (Bart Van Assche).

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

17 years agoTrack top level Makefile.am changes in r7390.
Julian Seward [Mon, 11 Feb 2008 10:56:12 +0000 (10:56 +0000)] 
Track top level Makefile.am changes in r7390.

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

17 years agoUpdate.
Julian Seward [Sun, 10 Feb 2008 22:41:39 +0000 (22:41 +0000)] 
Update.

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

17 years agoFrom Bart van Assche:
Nicholas Nethercote [Sun, 10 Feb 2008 22:36:55 +0000 (22:36 +0000)] 
From Bart van Assche:

A long time ago pthreads-functions were instrumented in the drd-patch
via modifications of coregrind/vg_preloaded.c. A.o. detached threads
were recognized by intercepting pthread_create(). This intercept was
active for all tools, so it made sense to add a unit test for it
(none/tests/pth_detached.c). This intercept has been moved from
coregrind/vg_preloaded.c to exp-drd/drd_preloaded.c, so this unit
test does no longer make sense for nulgrind. This test may be
removed.

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

17 years agoTest exp-tools by default as well.
Nicholas Nethercote [Sun, 10 Feb 2008 22:19:58 +0000 (22:19 +0000)] 
Test exp-tools by default as well.

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

17 years agoTry to fix build system breakage w.r.t. ssse3_misaligned. It isn't
Julian Seward [Sun, 10 Feb 2008 17:46:46 +0000 (17:46 +0000)] 
Try to fix build system breakage w.r.t. ssse3_misaligned.  It isn't
created from a .def file so should not be included in INSN_TESTS.

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

17 years agoMake exp-drd regression tests succeed when glibc-debuginfo is
Julian Seward [Sat, 9 Feb 2008 14:51:41 +0000 (14:51 +0000)] 
Make exp-drd regression tests succeed when glibc-debuginfo is
installed.  (Bart Van Assche)

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

17 years agoOnly build the SSSE3 tests on machines whose assemblers know about
Julian Seward [Sat, 9 Feb 2008 12:07:40 +0000 (12:07 +0000)] 
Only build the SSSE3 tests on machines whose assemblers know about
these instructions.

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

17 years agostart 3.4.0 release notes
Nicholas Nethercote [Sat, 9 Feb 2008 05:10:45 +0000 (05:10 +0000)] 
start 3.4.0 release notes

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

17 years agoAdd SSSE3 tests.
Julian Seward [Sat, 9 Feb 2008 01:55:52 +0000 (01:55 +0000)] 
Add SSSE3 tests.

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

17 years agoTool-side support for the new primops required by SSSE3 instructions.
Julian Seward [Sat, 9 Feb 2008 01:49:32 +0000 (01:49 +0000)] 
Tool-side support for the new primops required by SSSE3 instructions.
I think this is all that is required on the tools side.

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

17 years agoMake the clone system call wrappers call VG_(register_stack) to record
Tom Hughes [Fri, 8 Feb 2008 15:17:07 +0000 (15:17 +0000)] 
Make the clone system call wrappers call VG_(register_stack) to record
the new thread's stack, then make the stack unwinder use that information
to make a better guess at the stack bounds.

This helps avoid crashes trying to unwind the stack under wine when
the starting point is a routine without a proper stack frame.

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

17 years agoUpdate (mostly to check that the svn server still works after host change)
Julian Seward [Tue, 5 Feb 2008 20:07:23 +0000 (20:07 +0000)] 
Update (mostly to check that the svn server still works after host change)

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

17 years agominor tweak
Nicholas Nethercote [Sun, 3 Feb 2008 22:35:21 +0000 (22:35 +0000)] 
minor tweak

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

17 years agoFix 'make dist' -- don't list nonexistent files for inclusion in the
Julian Seward [Sun, 3 Feb 2008 12:46:45 +0000 (12:46 +0000)] 
Fix 'make dist' -- don't list nonexistent files for inclusion in the
tarball.

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

17 years agofix typo
Nicholas Nethercote [Thu, 31 Jan 2008 05:00:42 +0000 (05:00 +0000)] 
fix typo

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

17 years agoupdate
Nicholas Nethercote [Tue, 29 Jan 2008 21:36:47 +0000 (21:36 +0000)] 
update

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

17 years agoMassif: --time-unit=ms was broken in the ms_print script. People obviously
Nicholas Nethercote [Tue, 29 Jan 2008 21:33:25 +0000 (21:33 +0000)] 
Massif: --time-unit=ms was broken in the ms_print script.  People obviously
aren't using that option much!

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

17 years agocomment-only change
Nicholas Nethercote [Tue, 29 Jan 2008 04:12:48 +0000 (04:12 +0000)] 
comment-only change

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

17 years agoAdd an alternative .post.exp output for Massif's long-names test.
Nicholas Nethercote [Tue, 29 Jan 2008 04:11:00 +0000 (04:11 +0000)] 
Add an alternative .post.exp output for Massif's long-names test.

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

17 years agodrd changes (Bart Van Assche)
Julian Seward [Mon, 21 Jan 2008 14:19:07 +0000 (14:19 +0000)] 
drd changes (Bart Van Assche)

- The exp-drd regression tests now run without producing assertion
failures and without hanging on Red Hat 7.3. It doesn't make sense
however to run exp-drd on Red Hat 7.3 -- while exp-drd works fine with
the NPTL, more work would be required to make exp-drd work with
linuxthreads.
- Converted several tl_assert() calls into error messages.
- Added a regression test called pth_barrier, which tests whether data
races are detected in a program that uses barriers. The output exp-drd
produces for this test program is not yet correct however.
- Updated exp-drd/TODO.txt.

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

17 years agoupdate
Nicholas Nethercote [Sun, 20 Jan 2008 23:30:58 +0000 (23:30 +0000)] 
update

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

17 years agoWhen truncating long lines in the output file, make sure they end with a
Nicholas Nethercote [Sun, 20 Jan 2008 22:30:52 +0000 (22:30 +0000)] 
When truncating long lines in the output file, make sure they end with a
newline.  Fixes bug #155929.

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

17 years agoRegtest/stability changes for drd (Bart Van Assche)
Julian Seward [Fri, 18 Jan 2008 07:42:01 +0000 (07:42 +0000)] 
Regtest/stability changes for drd (Bart Van Assche)

- Fix helgrind/tests/tc18_semabuse.c on glibc 2.7 (RedHat 8).

- Fixed a glibc 2.7 specific assertion failure in exp-drd, namely one
  that was triggered when sem_post()'s return value is not zero.

- exp-drd/test/matinv.c compiles now also on RedHat 7.3.

Note: more work will be required to get exp-drd working correctly on
RedHat 7.3.

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

17 years agoAllow a WordFM iterator to be initialised so as to exclude all key
Julian Seward [Thu, 17 Jan 2008 23:19:54 +0000 (23:19 +0000)] 
Allow a WordFM iterator to be initialised so as to exclude all key
values below a given value.  This allows efficiently iterating over
small subsets of a mapping.  Use this in Helgrind to avoid a
performance bad case.  Patch from Konstantin Serebryany.

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

17 years agoFix inconsistent order of fields. I think this is purely aesthetic
Julian Seward [Thu, 17 Jan 2008 14:37:24 +0000 (14:37 +0000)] 
Fix inconsistent order of fields.  I think this is purely aesthetic
since nothing depends on the actual layout of this struct, but anyway.
Noticed by Vinay Nallamothu.

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

17 years agoIntercept memcpy on 64-bit ld.so's.
Julian Seward [Tue, 15 Jan 2008 08:42:56 +0000 (08:42 +0000)] 
Intercept memcpy on 64-bit ld.so's.

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

17 years agoHandle DW_OP_plus_uconst. Possibly fixes #155091 (not yet confirmed
Julian Seward [Mon, 14 Jan 2008 12:04:11 +0000 (12:04 +0000)] 
Handle DW_OP_plus_uconst.  Possibly fixes #155091 (not yet confirmed
by reporter).

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

17 years agoDRD updates (Bart Van Assche):
Julian Seward [Mon, 14 Jan 2008 11:54:56 +0000 (11:54 +0000)] 
DRD updates (Bart Van Assche):

- Updated copyright statement: replaced 2006-2007 by 2006-2008.
- Added copyright statement in the files where it was missing
(drd_track.h and drd_clientreq.c)
- Eliminated dependencies on core header files -- there are no more
#include "pub_core....h" directives in the exp-drd source code.
- Added semaphore support.
- Added barrier support.
- Added pthread_mutex_timedlock() support.
- Stack depth of stack traces printed by exp-drd can now be set via
--num-callers=...
- Added command-line option --trace-barrier=[yes|no].
- Added regression test for pthread_barrier() (matinv, a program that
performs matrix inversion).
- Added regression test sem_as_mutex, which tests whether race
detection works correctly when a semaphore is used to ensure mutual
exclusion of critical sections.
- Some of helgrind's regression tests are now used to test both
helgrind and exp-drd: tc17_sembar and tc18_semabuse.
- Cleaned up bitmap implementation code now that the const keyword has
been added to the declarations of the OSet functions.
- Cleaned up exp-drd/Makefile.am
- Updated exp-drd/TODO.txt

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

17 years agoEnable some syscalls needed to run firefox on 64-bit ppc on Fedora 8.
Julian Seward [Wed, 9 Jan 2008 22:01:40 +0000 (22:01 +0000)] 
Enable some syscalls needed to run firefox on 64-bit ppc on Fedora 8.

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

17 years agoStart a bug-tracking file for the 3.3 line.
Julian Seward [Wed, 9 Jan 2008 21:19:44 +0000 (21:19 +0000)] 
Start a bug-tracking file for the 3.3 line.

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

17 years agoMake a new regtest target, "all-regtest", being the union of "make
Julian Seward [Wed, 9 Jan 2008 21:03:43 +0000 (21:03 +0000)] 
Make a new regtest target, "all-regtest", being the union of "make
regtest" and "make exp-regtest".  Then change the nightly build system
to run all-regtest instead of exp-regtest.

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

17 years agoMove VG_(clo_backtrace_size) to a tool-visible header file.
Julian Seward [Wed, 9 Jan 2008 18:37:41 +0000 (18:37 +0000)] 
Move VG_(clo_backtrace_size) to a tool-visible header file.

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

17 years agoIf we don't find the address in the segInfo list that ask the address
Tom Hughes [Tue, 8 Jan 2008 17:44:04 +0000 (17:44 +0000)] 
If we don't find the address in the segInfo list that ask the address
space manager for the name of the file it was mapped from as a fallback
solution.

This allows us to print the names of exe/dll files in the stack trace
when running programs under wine.

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

17 years agoMade the argument to VG_(am_get_filename) const as it doesn't need
Tom Hughes [Tue, 8 Jan 2008 16:48:30 +0000 (16:48 +0000)] 
Made the argument to VG_(am_get_filename) const as it doesn't need
to be modified and the routine to find the segment for an address now
returns a const pointer.

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