]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
17 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

17 years agoUse more POSIX-standard flags for 'ar'. See #195287.
Julian Seward [Tue, 9 Jun 2009 23:00:49 +0000 (23:00 +0000)] 
Use more POSIX-standard flags for 'ar'.  See #195287.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1900

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years agoUse --gen-suppressions=all rather than =yes, since the latter causes
Julian Seward [Thu, 28 May 2009 17:39:56 +0000 (17:39 +0000)] 
Use --gen-suppressions=all rather than =yes, since the latter causes
the entire regtest system to hang if in fact a suppression does need
to be generated (since V stops to ask).  Not sure why this flag is
really in here, tho.

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

17 years agoReinstate an include needed on ppc{32,64}-linux.
Julian Seward [Thu, 28 May 2009 17:15:41 +0000 (17:15 +0000)] 
Reinstate an include needed on ppc{32,64}-linux.

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

17 years agoAdd support for AT_RANDOM to keep glibc happy when it is built
Tom Hughes [Thu, 28 May 2009 12:51:24 +0000 (12:51 +0000)] 
Add support for AT_RANDOM to keep glibc happy when it is built
to assume kernel 2.6.29 or later. Closes #194429.

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

17 years agoMake this file executable too.
Nicholas Nethercote [Thu, 28 May 2009 02:24:28 +0000 (02:24 +0000)] 
Make this file executable too.

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

17 years agoMake this file executable.
Nicholas Nethercote [Thu, 28 May 2009 02:20:59 +0000 (02:20 +0000)] 
Make this file executable.

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

17 years agoMerge the DARWIN branch onto the trunk.
Nicholas Nethercote [Thu, 28 May 2009 01:53:07 +0000 (01:53 +0000)] 
Merge the DARWIN branch onto the trunk.

I tried using 'svn merge' to do the merge but it did a terrible job and
there were bazillions of conflicts.  So instead I just took the diff between
the branch and trunk  at r10155, applied the diff to the trunk, 'svn add'ed
the added files (no files needed to be 'svn remove'd) and committed.

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

17 years agoDARWIN sync: timeval.
Nicholas Nethercote [Mon, 25 May 2009 01:48:59 +0000 (01:48 +0000)] 
DARWIN sync: timeval.

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

17 years agoDARWIN sync: add a comment.
Nicholas Nethercote [Mon, 25 May 2009 01:48:32 +0000 (01:48 +0000)] 
DARWIN sync: add a comment.

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

17 years agoDARWIN sync: whitespace.
Nicholas Nethercote [Mon, 25 May 2009 01:47:56 +0000 (01:47 +0000)] 
DARWIN sync: whitespace.

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

17 years agoChanging VG_MALLOC_MIN_SZB to 16 on some platforms broke heap profiling.
Nicholas Nethercote [Sun, 24 May 2009 23:36:50 +0000 (23:36 +0000)] 
Changing VG_MALLOC_MIN_SZB to 16 on some platforms broke heap profiling.
This fixes it by changing the size of a cost centre from ULong to
VG_MALLOC_MIN_SZB.

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

17 years agoDARWIN sync: sys_truncate64 and sys_ftruncate64 wrappers.
Nicholas Nethercote [Sun, 24 May 2009 23:02:55 +0000 (23:02 +0000)] 
DARWIN sync: sys_truncate64 and sys_ftruncate64 wrappers.

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