]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
16 years agoAdd some cases to darwin/scalar.c, and tweak the macros used a little.
Nicholas Nethercote [Thu, 11 Jun 2009 00:59:06 +0000 (00:59 +0000)] 
Add some cases to darwin/scalar.c, and tweak the macros used a little.

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

16 years agoAdd wrappers for shmat() and shmdt() on Darwin. Fixes bug 191271.
Nicholas Nethercote [Wed, 10 Jun 2009 23:26:13 +0000 (23:26 +0000)] 
Add wrappers for shmat() and shmdt() on Darwin.  Fixes bug 191271.

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

16 years agoMove the Darwin _nocancel tests to a different file so they can be tested
Nicholas Nethercote [Wed, 10 Jun 2009 23:09:40 +0000 (23:09 +0000)] 
Move the Darwin _nocancel tests to a different file so they can be tested
properly.

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

16 years agoAdded a wrapper and test for exchangedata() on Darwin. Fixes bug 195860.
Nicholas Nethercote [Wed, 10 Jun 2009 22:58:27 +0000 (22:58 +0000)] 
Added a wrapper and test for exchangedata() on Darwin.  Fixes bug 195860.

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

16 years ago- Added more comments in DRD's malloc wrappers.
Bart Van Assche [Wed, 10 Jun 2009 19:24:20 +0000 (19:24 +0000)] 
- Added more comments in DRD's malloc wrappers.
- Fixed memory allocation counters.
- Client memory is now freed in the realloc() wrapper in all cases where
  it should be freed.

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

16 years agoUpdated ignore list.
Bart Van Assche [Wed, 10 Jun 2009 17:52:10 +0000 (17:52 +0000)] 
Updated ignore list.

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

16 years agoAdded test code for realloc().
Bart Van Assche [Wed, 10 Jun 2009 17:51:52 +0000 (17:51 +0000)] 
Added test code for realloc().

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

16 years agoImplement and test wrappers for lstat_extended, stat64_extended,
Nicholas Nethercote [Wed, 10 Jun 2009 06:13:34 +0000 (06:13 +0000)] 
Implement and test wrappers for lstat_extended, stat64_extended,
lstat64_extended, and improve the existing wrapper for stat_extended.

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

16 years agoDarwin syscall wrapper cleanups:
Nicholas Nethercote [Wed, 10 Jun 2009 04:11:56 +0000 (04:11 +0000)] 
Darwin syscall wrapper cleanups:
- Put Darwin syscall DECL_TEMPLATEs in syscall order.
- Removed the "sys_" prefix from Darwin-specific wrappers, it's not
  necessary.  Renamed a couple of other wrappers similarly.
- Removed the sys_fcntl64 Darwin wrapper, it was unused.
- Improved some code layout.
Overall this removes 6 "DDD"/"GrP" fixme comments.

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

16 years agoUpdate scalar.stderr.exp; this should have gone in with r10288.
Nicholas Nethercote [Wed, 10 Jun 2009 03:30:07 +0000 (03:30 +0000)] 
Update scalar.stderr.exp;  this should have gone in with r10288.

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

16 years agoAdd wrappers for sem_wait and sem_trywait on Darwin. Also change the layout
Nicholas Nethercote [Wed, 10 Jun 2009 01:23:26 +0000 (01:23 +0000)] 
Add wrappers for sem_wait and sem_trywait on Darwin.  Also change the layout
of some Darwin syscall stuff.

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

16 years agoHandle shmctl on Darwin. From bug 191271.
Nicholas Nethercote [Tue, 9 Jun 2009 23:44:42 +0000 (23:44 +0000)] 
Handle shmctl on Darwin.  From bug 191271.

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

16 years agoFix URB ioctl handling. Patch from Hector Martin (bug 191095).
Nicholas Nethercote [Tue, 9 Jun 2009 23:03:02 +0000 (23:03 +0000)] 
Fix URB ioctl handling.  Patch from Hector Martin (bug 191095).

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

16 years agoAvoid recursion in VG_(exit).
Nicholas Nethercote [Tue, 9 Jun 2009 22:46:32 +0000 (22:46 +0000)] 
Avoid recursion in VG_(exit).

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

16 years agoHandle another Linux ioctl. Patch from Jay Foad.
Nicholas Nethercote [Tue, 9 Jun 2009 22:31:00 +0000 (22:31 +0000)] 
Handle another Linux ioctl.  Patch from Jay Foad.

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

16 years agoRemove callgrind/docs/index.xml, which is a relic from when Callgrind was
Nicholas Nethercote [Tue, 9 Jun 2009 22:25:00 +0000 (22:25 +0000)] 
Remove callgrind/docs/index.xml, which is a relic from when Callgrind was
distributed by itself.

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

16 years agoFixed bug in DRD's realloc() wrapper.
Bart Van Assche [Tue, 9 Jun 2009 11:12:07 +0000 (11:12 +0000)] 
Fixed bug in DRD's realloc() wrapper.

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

16 years agoAbort if a --log-file filename begins with a '~'.
Nicholas Nethercote [Tue, 9 Jun 2009 00:50:45 +0000 (00:50 +0000)] 
Abort if a --log-file filename begins with a '~'.

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

16 years agoSuppress some still-reachable warnings that come up for "Hello World" on
Nicholas Nethercote [Tue, 9 Jun 2009 00:10:20 +0000 (00:10 +0000)] 
Suppress some still-reachable warnings that come up for "Hello World" on
Darwin.

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

16 years agosvn merge -r9818:10278 svn://svn.valgrind.org/valgrind/branches/DRDDEV
Bart Van Assche [Mon, 8 Jun 2009 18:20:42 +0000 (18:20 +0000)] 
svn merge -r9818:10278 svn://svn.valgrind.org/valgrind/branches/DRDDEV

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

16 years agoMore ignore updates.
Robert Walsh [Sat, 6 Jun 2009 22:29:38 +0000 (22:29 +0000)] 
More ignore updates.

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

16 years agoUpdate ignores.
Robert Walsh [Sat, 6 Jun 2009 22:13:25 +0000 (22:13 +0000)] 
Update ignores.

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

16 years agoRemove references to the now-defunct INSTALL file.
Nicholas Nethercote [Sat, 6 Jun 2009 21:54:59 +0000 (21:54 +0000)] 
Remove references to the now-defunct INSTALL file.

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

16 years agoGeneralized a libgomp suppression pattern.
Bart Van Assche [Sat, 6 Jun 2009 18:09:09 +0000 (18:09 +0000)] 
Generalized a libgomp suppression pattern.

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

16 years agoUpdated test plan.
Bart Van Assche [Sat, 6 Jun 2009 16:58:58 +0000 (16:58 +0000)] 
Updated test plan.

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

16 years agoUpdated list of bugs fixed in 3.5.0.
Bart Van Assche [Sat, 6 Jun 2009 16:58:36 +0000 (16:58 +0000)] 
Updated list of bugs fixed in 3.5.0.

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

16 years agoRobustness improvement: print an error message instead of triggering an assertion...
Bart Van Assche [Sat, 6 Jun 2009 12:28:20 +0000 (12:28 +0000)] 
Robustness improvement: print an error message instead of triggering an assertion failure upon semaphore reinitialization during sem_wait().

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

16 years agoConsistency improvement: made sure that for all synchronization operations vector...
Bart Van Assche [Sat, 6 Jun 2009 12:26:05 +0000 (12:26 +0000)] 
Consistency improvement: made sure that for all synchronization operations vector clocks are combined after having created a new segment instead of before.

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

16 years ago- Robustness improvement: do not trigger an assertion failure if one
Bart Van Assche [Sat, 6 Jun 2009 10:56:40 +0000 (10:56 +0000)] 
- Robustness improvement: do not trigger an assertion failure if one
  thread destroys and reinitializes a semaphore another thread is
  waiting on but print an error message instead.
- Behavior change: always decrement 'value', even if this makes value
  negative.
- Updated expected output files.

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

16 years agoDisabled libgomp intercepts. Since libgomp support was added to DRD, the
Bart Van Assche [Sat, 6 Jun 2009 09:28:28 +0000 (09:28 +0000)] 
Disabled libgomp intercepts. Since libgomp support was added to DRD, the
libgomp ABI has changed. Two new functions have been added, namely
gomp_team_barrier_wait() and gomp_team_barrier_wake(). The simplest way
to support all libgomp functions is by disabling the libgomp intercepts.
This fixes bug #195169.

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

16 years agoUpdated test plan.
Bart Van Assche [Sat, 6 Jun 2009 08:51:13 +0000 (08:51 +0000)] 
Updated test plan.

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

16 years agoIncreased gcc version from 4.3.2 to 4.4.0.
Bart Van Assche [Sat, 6 Jun 2009 08:50:14 +0000 (08:50 +0000)] 
Increased gcc version from 4.3.2 to 4.4.0.

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

16 years agox86-linux: sys_set_thread_area: don't allocate GDT entry number zero,
Julian Seward [Fri, 5 Jun 2009 13:17:31 +0000 (13:17 +0000)] 
x86-linux: sys_set_thread_area: don't allocate GDT entry number zero,
and reject attempts to use it.  This is because the hardware does not
allow entry zero to be used, and apparently doing so confuses some
code (perhaps Windows apps running on Wine).  Derived from a patch by
John Reiser.

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

16 years agoIncrease a hard limit that was reached in the wild.
Nicholas Nethercote [Fri, 5 Jun 2009 05:28:17 +0000 (05:28 +0000)] 
Increase a hard limit that was reached in the wild.

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

16 years agoFor no apparent reason, the machine-dependent syscall
Nicholas Nethercote [Fri, 5 Jun 2009 01:33:16 +0000 (01:33 +0000)] 
For no apparent reason, the machine-dependent syscall
thread_fast_set_cthread_self was being called pthread_set_self.  This commit
fixes this.

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

16 years agoNightly test changes:
Nicholas Nethercote [Thu, 4 Jun 2009 23:17:12 +0000 (23:17 +0000)] 
Nightly test changes:

- Put the old tree in valgrind-old/ and the new one in valgrind-new/,
  instead of using valgrind/ for both.  That way, the old tree is still
  present after running the tests, so it can be inspected for problems.

  This required changing how ABT_RUN_REGTEST worked -- it no longer should
  change directories itself -- but I think Bart's machine is the only one
  using that and I updated the .conf file accordingly.

- Change some variable names -- only use the "ABT_" prefix for variables
  defined in the .conf files, and use $DIR and $TAG to match the README.txt.

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

16 years agoRemove exp-omega's code. It was disabled in 3.4.0 to few complaints.
Nicholas Nethercote [Thu, 4 Jun 2009 23:11:50 +0000 (23:11 +0000)] 
Remove exp-omega's code.  It was disabled in 3.4.0 to few complaints.

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

16 years agoNEWS updates.
Nicholas Nethercote [Thu, 4 Jun 2009 22:47:21 +0000 (22:47 +0000)] 
NEWS updates.

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

16 years agoUpdated list of bugs fixed in 3.5.0.
Bart Van Assche [Thu, 4 Jun 2009 11:46:32 +0000 (11:46 +0000)] 
Updated list of bugs fixed in 3.5.0.

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

16 years agoFixed argument types and names.
Bart Van Assche [Thu, 4 Jun 2009 09:57:54 +0000 (09:57 +0000)] 
Fixed argument types and names.

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

16 years agotsan_unittest.cpp does now compile cleanly even with -Wshadown enabled.
Bart Van Assche [Thu, 4 Jun 2009 09:11:28 +0000 (09:11 +0000)] 
tsan_unittest.cpp does now compile cleanly even with -Wshadown enabled.

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

16 years agoPrint the end time as well as the start time so it's easy to see how long it
Nicholas Nethercote [Thu, 4 Jun 2009 02:25:39 +0000 (02:25 +0000)] 
Print the end time as well as the start time so it's easy to see how long it
took.

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

16 years agoAdd a couple of notes based on an email from Bart.
Nicholas Nethercote [Thu, 4 Jun 2009 01:52:14 +0000 (01:52 +0000)] 
Add a couple of notes based on an email from Bart.

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

16 years agoFixes for Darwin: it uses a different method for getting the time-and-date
Nicholas Nethercote [Thu, 4 Jun 2009 01:43:49 +0000 (01:43 +0000)] 
Fixes for Darwin: it uses a different method for getting the time-and-date
for 24 hours ago.  Also, the default 'sh' doesn't support "echo -n" so use
"printf" instead.

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

16 years agoGreatly improve the instructions for the nightly tests.
Nicholas Nethercote [Thu, 4 Jun 2009 01:30:14 +0000 (01:30 +0000)] 
Greatly improve the instructions for the nightly tests.

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

16 years agoTwo tweaks:
Nicholas Nethercote [Thu, 4 Jun 2009 01:01:47 +0000 (01:01 +0000)] 
Two tweaks:
- Install in $DIR/valgrind/Inst/ rather than $DIR/Inst.  Just a bit neater.
- Run "make regtest" instead of "perl tests/vg_regtest --all", because we
  might not want to run all tests (eg. we don't on Darwin at the moment).

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

16 years agoRemoved configure test for -Wno-empty-body again.
Bart Van Assche [Wed, 3 Jun 2009 20:05:00 +0000 (20:05 +0000)] 
Removed configure test for -Wno-empty-body again.

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

16 years agoCompiles now cleanly without -Wno-empty-body.
Bart Van Assche [Wed, 3 Jun 2009 20:02:29 +0000 (20:02 +0000)] 
Compiles now cleanly without -Wno-empty-body.

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

16 years agoUpdated documentation of PCQ annotations.
Bart Van Assche [Wed, 3 Jun 2009 20:01:44 +0000 (20:01 +0000)] 
Updated documentation of PCQ annotations.

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

16 years agoFixed a memory leak.
Bart Van Assche [Wed, 3 Jun 2009 12:44:50 +0000 (12:44 +0000)] 
Fixed a memory leak.

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

16 years agoUnified two expected output files.
Bart Van Assche [Wed, 3 Jun 2009 09:47:16 +0000 (09:47 +0000)] 
Unified two expected output files.

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

16 years agoUpdated EXTRA_DIST.
Bart Van Assche [Wed, 3 Jun 2009 09:30:19 +0000 (09:30 +0000)] 
Updated EXTRA_DIST.

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

16 years agoFixed a few typo's in comments.
Bart Van Assche [Wed, 3 Jun 2009 08:54:37 +0000 (08:54 +0000)] 
Fixed a few typo's in comments.

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

16 years agoUpdated ignore list.
Bart Van Assche [Wed, 3 Jun 2009 08:45:40 +0000 (08:45 +0000)] 
Updated ignore list.

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

16 years agoDRD's regression tests pass again on PowerPC.
Bart Van Assche [Wed, 3 Jun 2009 08:26:12 +0000 (08:26 +0000)] 
DRD's regression tests pass again on PowerPC.

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

16 years agoUpdated ANNOTATE_*() macro's as discussed on the valgrind-developers mailing list...
Bart Van Assche [Wed, 3 Jun 2009 08:11:02 +0000 (08:11 +0000)] 
Updated ANNOTATE_*() macro's as discussed on the valgrind-developers mailing list. Merged drt/unittest r1007:1014. Updated to do list.

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

16 years agoDon't print stack traces by default for unhandled syscalls -- it's not that
Nicholas Nethercote [Wed, 3 Jun 2009 07:17:07 +0000 (07:17 +0000)] 
Don't print stack traces by default for unhandled syscalls -- it's not that
useful but screws up the 'scalar' tests.

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

16 years agoA number of changes relating to syscall numbering:
Nicholas Nethercote [Wed, 3 Jun 2009 06:50:06 +0000 (06:50 +0000)] 
A number of changes relating to syscall numbering:

- Introduced VG_SYSNUM_STRING and VG_SYSNUM_STRING_EXTRA which factor out
  differences in the way syscall numbers are printed on different platforms.
  This gets rid of seven "DDD" fixme-style comments.

- This also meant that Darwin syscall numbers are now printed in a
  non-ambiguous way -- previously Unix, machine-dependent and diagnostic
  syscalls were all printed the same way, even though their numbers overlap.
  Now each number is prefixed with "unix", "mdep", etc.  And Mach trap
  numbers aren't printed as negative numbers now that they have a "mach"
  prefix.

- Split each of pub_core_vkiscnums.h and pub_tool_vkiscnums.h into two
  parts, one suitable for inclusion in asm files, one suitable for inclusion
  in C files;  in both cases the latter includes the former.  This makes
  this module more like other modules that have asm-only components (eg.
  m_transtab);  it also allows the hacky VG_IN_ASSEMBLY_SOURCE macros and
  tests to be removed.

- Removed some of the VG_DARWIN_SYSNO_* macros that were no longer needed,
  and renamed some of the existing ones to make their meanings clearer.

- Added comments on the encoding of Darwin syscall numbers so it's
  possible for mortals to understand without reading the kernel code..

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

16 years agoTemporarily disabled building tsan_unittest on Darwin.
Bart Van Assche [Wed, 3 Jun 2009 06:25:04 +0000 (06:25 +0000)] 
Temporarily disabled building tsan_unittest on Darwin.

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

16 years agoAdd descriptions of DRD and Ptrcheck in the manual intro. Bart, Julian,
Nicholas Nethercote [Tue, 2 Jun 2009 23:20:40 +0000 (23:20 +0000)] 
Add descriptions of DRD and Ptrcheck in the manual intro.  Bart, Julian,
please change these if you don't like what I've written, and merge the
changes to the 3.4.X branch.

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

16 years agoSome source code modifications that should help getting tsan_unittest.cpp compiled...
Bart Van Assche [Tue, 2 Jun 2009 15:11:42 +0000 (15:11 +0000)] 
Some source code modifications that should help getting tsan_unittest.cpp compiled on Darwin.

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

16 years ago- Portability improvement: switched from __gnu_cxx::hash_map<> (a gcc
Bart Van Assche [Tue, 2 Jun 2009 15:03:44 +0000 (15:03 +0000)] 
- Portability improvement: switched from __gnu_cxx::hash_map<> (a gcc
  extension) to std::map<> (standard C++).
- Replaced tempnam() by mkdtemp() / mkstemp() because gcc emits a warning
  about the former.

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

16 years agoFixes for systems without built-in functions for atomic memory access.
Bart Van Assche [Tue, 2 Jun 2009 11:12:29 +0000 (11:12 +0000)] 
Fixes for systems without built-in functions for atomic memory access.

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

16 years agoBack out r10197--r10200 and r10202--r10203. I'm going to put them, and
Nicholas Nethercote [Tue, 2 Jun 2009 06:54:57 +0000 (06:54 +0000)] 
Back out r10197--r10200 and r10202--r10203.  I'm going to put them, and
further, related changes, on a branch instead.

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

16 years agoMove some stuff around; no functional change.
Nicholas Nethercote [Tue, 2 Jun 2009 05:27:07 +0000 (05:27 +0000)] 
Move some stuff around;  no functional change.

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

16 years agoAvoid repetitive cut+paste code for libreplacemalloc_toolpreload.
Nicholas Nethercote [Tue, 2 Jun 2009 05:19:54 +0000 (05:19 +0000)] 
Avoid repetitive cut+paste code for libreplacemalloc_toolpreload.

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

16 years agodrd/tests/tsan_unittest is broken on Darwin. For one, OS_MACOSX isn't the
Nicholas Nethercote [Tue, 2 Jun 2009 05:19:21 +0000 (05:19 +0000)] 
drd/tests/tsan_unittest is broken on Darwin.   For one, OS_MACOSX isn't the
right #define to test for, _APPLE_ is, but defined(VGO_darwin) is better
again.  But even if that is fixed, there are still other problems.

So this commit just disables building of that test for Darwin.

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

16 years agoAvoid repetitive cut+paste code relating to vgpreload_core.so.
Nicholas Nethercote [Tue, 2 Jun 2009 05:04:08 +0000 (05:04 +0000)] 
Avoid repetitive cut+paste code relating to vgpreload_core.so.

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

16 years agoAdd some header comments to break up the file.
Nicholas Nethercote [Tue, 2 Jun 2009 04:58:03 +0000 (04:58 +0000)] 
Add some header comments to break up the file.

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

16 years agoAvoid repetitive cut+paste code for LIBVEX.
Nicholas Nethercote [Tue, 2 Jun 2009 04:52:45 +0000 (04:52 +0000)] 
Avoid repetitive cut+paste code for LIBVEX.

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

16 years agoAvoid repetitive cut+paste code for AM_CPPFLAGS.
Nicholas Nethercote [Tue, 2 Jun 2009 04:46:46 +0000 (04:46 +0000)] 
Avoid repetitive cut+paste code for AM_CPPFLAGS.

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

16 years agoRemove this file, which contains generic autoconf instructions that are of
Nicholas Nethercote [Tue, 2 Jun 2009 00:36:53 +0000 (00:36 +0000)] 
Remove this file, which contains generic autoconf instructions that are of
little use and partly contradict our own README.  Fixes bug 194474.

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

16 years agoAdded VGCONF_ARCH_SEC. This fixes problems with building libmpiwrap-*-*.so on
Nicholas Nethercote [Tue, 2 Jun 2009 00:20:47 +0000 (00:20 +0000)] 
Added VGCONF_ARCH_SEC.  This fixes problems with building libmpiwrap-*-*.so on
dual-build systems, and will also allow some cut+paste code in Makefile.am
files to be factored out.

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

16 years agoRename a conf variable.
Nicholas Nethercote [Mon, 1 Jun 2009 23:59:20 +0000 (23:59 +0000)] 
Rename a conf variable.

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

16 years agoMade the call stack printed by DRD for reading the variable GLOB independent of the...
Bart Van Assche [Mon, 1 Jun 2009 18:50:27 +0000 (18:50 +0000)] 
Made the call stack printed by DRD for reading the variable GLOB independent of the Linux distribution the test is run on.

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

16 years agoFixed a bug in DRD's malloc wrappers.
Bart Van Assche [Mon, 1 Jun 2009 18:36:59 +0000 (18:36 +0000)] 
Fixed a bug in DRD's malloc wrappers.

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

16 years agoAdded API warning for the recently added ANNOTATE_*() macro's.
Bart Van Assche [Mon, 1 Jun 2009 10:49:38 +0000 (10:49 +0000)] 
Added API warning for the recently added ANNOTATE_*() macro's.

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

16 years agoFilter out vector clock information from DRD's regression test output.
Bart Van Assche [Mon, 1 Jun 2009 10:48:53 +0000 (10:48 +0000)] 
Filter out vector clock information from DRD's regression test output.

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

16 years agoFix compile breakage in is_systemish_library_name introduced in r10173.
Julian Seward [Sun, 31 May 2009 19:59:29 +0000 (19:59 +0000)] 
Fix compile breakage in is_systemish_library_name introduced in r10173.

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

16 years agoFilter out absolute paths.
Bart Van Assche [Sun, 31 May 2009 19:11:16 +0000 (19:11 +0000)] 
Filter out absolute paths.

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

16 years ago- Added support for most of the ANNOTATE_...() macro's supported by
Bart Van Assche [Sun, 31 May 2009 18:53:54 +0000 (18:53 +0000)] 
- Added support for most of the ANNOTATE_...() macro's supported by
  ThreadSanitizer.
- Modified DRD's error reporting code such that it does no longer let
  the Valgrind core print the Valgrind thread ID but that it now prints
  the DRD thread ID and name. Updated expected output files where
  necessary.
- Modified drd/test/Makefile.am such that the tests using gcc's built-in
  functions for atomic memory access such that these are only compiled when
  the gcc version in use supports these built-in functions.

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

16 years agoReverted some of the DRD customizations.
Bart Van Assche [Sun, 31 May 2009 18:00:39 +0000 (18:00 +0000)] 
Reverted some of the DRD customizations.

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

16 years agoAdded more DRD customizations.
Bart Van Assche [Sun, 31 May 2009 18:00:12 +0000 (18:00 +0000)] 
Added more DRD customizations.

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

16 years agoThe conditional HAVE_BUILTIN_ATOMIC is now available in the various Makefile.am files.
Bart Van Assche [Sun, 31 May 2009 16:21:23 +0000 (16:21 +0000)] 
The conditional HAVE_BUILTIN_ATOMIC is now available in the various Makefile.am files.

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

16 years agoUpdated ignore list.
Bart Van Assche [Sun, 31 May 2009 16:17:22 +0000 (16:17 +0000)] 
Updated ignore list.

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

16 years agoUpdated ignore list.
Bart Van Assche [Sun, 31 May 2009 16:16:34 +0000 (16:16 +0000)] 
Updated ignore list.

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

16 years agoUpdated ignore list.
Bart Van Assche [Sun, 31 May 2009 16:15:23 +0000 (16:15 +0000)] 
Updated ignore list.

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

16 years agoUpdated ignore list.
Bart Van Assche [Sun, 31 May 2009 16:14:52 +0000 (16:14 +0000)] 
Updated ignore list.

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

16 years agoFixed a compiler warning.
Bart Van Assche [Sun, 31 May 2009 11:54:14 +0000 (11:54 +0000)] 
Fixed a compiler warning.

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

16 years agoCustomized for DRD.
Bart Van Assche [Sun, 31 May 2009 11:53:39 +0000 (11:53 +0000)] 
Customized for DRD.

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

16 years agoAdded test that checks whether the compiler supports -Wno-empty-body.
Bart Van Assche [Sun, 31 May 2009 11:22:58 +0000 (11:22 +0000)] 
Added test that checks whether the compiler supports -Wno-empty-body.

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

16 years agoFilter line numbers for functions defined in header files too.
Bart Van Assche [Sun, 31 May 2009 11:21:54 +0000 (11:21 +0000)] 
Filter line numbers for functions defined in header files too.

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

16 years agoDocument --auto-run-dsymutil flag.
Julian Seward [Sun, 31 May 2009 09:34:05 +0000 (09:34 +0000)] 
Document --auto-run-dsymutil flag.

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

16 years agois_systemish_library_name: add "/opt" and "/sw" to the list of places
Julian Seward [Sun, 31 May 2009 08:31:06 +0000 (08:31 +0000)] 
is_systemish_library_name: add "/opt" and "/sw" to the list of places
where we shouldn't auto-run dsymutil.  (Luc Bourhis).

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

16 years agoUpdate a comment.
Nicholas Nethercote [Sun, 31 May 2009 07:03:05 +0000 (07:03 +0000)] 
Update a comment.

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

16 years agoAdded a copy of r1007 of the files racecheck_unittest.cc and thread_wrappers_pthread...
Bart Van Assche [Sat, 30 May 2009 16:33:10 +0000 (16:33 +0000)] 
Added a copy of r1007 of the files racecheck_unittest.cc and thread_wrappers_pthread.h. These files have been obtained from the SVN repository http://data-race-test.googlecode.com/svn/trunk/unittest.

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

16 years agoCallgrind: fix (part of?) bug 191992.
Josef Weidendorfer [Fri, 29 May 2009 15:30:08 +0000 (15:30 +0000)] 
Callgrind: fix (part of?) bug 191992.

Matching of function names was wrong.
Thanks to  Timo Lindfors

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

16 years agoPartly de-hackify auxprogs/Makefile.am. libmpiwrap.*.*.dSYM is now
Nicholas Nethercote [Fri, 29 May 2009 05:40:33 +0000 (05:40 +0000)] 
Partly de-hackify auxprogs/Makefile.am.  libmpiwrap.*.*.dSYM is now
installed on Darwin.  Installation and cleaning are more in line with the
other Makefile.am files.

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

16 years agoAdd a comment.
Nicholas Nethercote [Fri, 29 May 2009 00:52:17 +0000 (00:52 +0000)] 
Add a comment.

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

16 years agoUnbreak nestedfns on --enable-only32bit installations.
Nicholas Nethercote [Fri, 29 May 2009 00:31:31 +0000 (00:31 +0000)] 
Unbreak nestedfns on --enable-only32bit installations.

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