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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years agoDARWIN sync: remove redundant check (it's done again in pre_mem_sock_addr()).
Nicholas Nethercote [Sun, 24 May 2009 22:45:33 +0000 (22:45 +0000)] 
DARWIN sync: remove redundant check (it's done again in pre_mem_sock_addr()).

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

16 years agoDARWIN sync: sys_open wrapper.
Nicholas Nethercote [Sun, 24 May 2009 22:32:33 +0000 (22:32 +0000)] 
DARWIN sync: sys_open wrapper.

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

16 years agoDARWIN sync: sys_readlink layout.
Nicholas Nethercote [Sat, 23 May 2009 01:51:54 +0000 (01:51 +0000)] 
DARWIN sync: sys_readlink layout.

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

16 years agoDARWIN sync: remove '.' from some field names for consistency, and factor
Nicholas Nethercote [Sat, 23 May 2009 01:18:44 +0000 (01:18 +0000)] 
DARWIN sync:  remove '.' from some field names for consistency, and factor
out some variables.

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

16 years agoDARWIN sync: all the timeval stuff
Nicholas Nethercote [Fri, 22 May 2009 08:12:46 +0000 (08:12 +0000)] 
DARWIN sync: all the timeval stuff

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

16 years agoDARWIN sync: comment and braces.
Nicholas Nethercote [Fri, 22 May 2009 07:09:03 +0000 (07:09 +0000)] 
DARWIN sync: comment and braces.

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

16 years agoDARWIN sync: change the 3rd arg of VG_(fcntl).
Nicholas Nethercote [Fri, 22 May 2009 07:08:12 +0000 (07:08 +0000)] 
DARWIN sync: change the 3rd arg of VG_(fcntl).

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

16 years agoDARWIN sync: export VG_(socket).
Nicholas Nethercote [Fri, 22 May 2009 02:00:27 +0000 (02:00 +0000)] 
DARWIN sync: export VG_(socket).

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

16 years agoPartly revert r10044 -- do use struct vki_sockaddr, and define it for AIX.
Nicholas Nethercote [Fri, 22 May 2009 00:52:14 +0000 (00:52 +0000)] 
Partly revert r10044 -- do use struct vki_sockaddr, and define it for AIX.

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

16 years agoAvoid struct vki_sockaddr_in in my_connect(), because it's not defined on
Nicholas Nethercote [Fri, 22 May 2009 00:47:08 +0000 (00:47 +0000)] 
Avoid struct vki_sockaddr_in in my_connect(), because it's not defined on
all platforms;  void* suffices.

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

16 years agoAbort on unknown fcntl, rather than doing no checking.
Nicholas Nethercote [Fri, 22 May 2009 00:38:15 +0000 (00:38 +0000)] 
Abort on unknown fcntl, rather than doing no checking.

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