Commit Graph

7196 Commits

Author SHA1 Message Date
Bart Van Assche
462e24e5ff Skip the pth_create_chain test on ppc.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10318
2009-06-13 08:58:20 +00:00
Nicholas Nethercote
fb0ebe0dfe Tweak the README -- make its text match the website, get rid of some of the
more detailed explanation (if they're reading the README, we probably don't
need to convince them about Valgrind's wonderfulness).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10313
2009-06-12 23:40:04 +00:00
Nicholas Nethercote
c019d97d9d Get rid of ACKNOWLEDGEMENTS, because it overlaps hugely with AUTHORS.
Improve AUTHORS a bit at the same time.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10309
2009-06-12 07:38:24 +00:00
Nicholas Nethercote
7f3bdeb30e Add some cases to darwin/scalar.c, and tweak the macros used a little.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10298
2009-06-11 00:59:06 +00:00
Nicholas Nethercote
d48af010b9 Add wrappers for shmat() and shmdt() on Darwin. Fixes bug 191271.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10297
2009-06-10 23:26:13 +00:00
Nicholas Nethercote
a391386bc6 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
2009-06-10 23:09:40 +00:00
Nicholas Nethercote
7a095f31f3 Added a wrapper and test for exchangedata() on Darwin. Fixes bug 195860.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10295
2009-06-10 22:58:27 +00:00
Bart Van Assche
64ffae8a11 - 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
2009-06-10 19:24:20 +00:00
Bart Van Assche
39be00f029 Updated ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10293
2009-06-10 17:52:10 +00:00
Bart Van Assche
31fd94279e Added test code for realloc().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10292
2009-06-10 17:51:52 +00:00
Nicholas Nethercote
a048647a9a 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
2009-06-10 06:13:34 +00:00
Nicholas Nethercote
aa21ae3de1 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
2009-06-10 04:11:56 +00:00
Nicholas Nethercote
517e9ae831 Update scalar.stderr.exp; this should have gone in with r10288.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10289
2009-06-10 03:30:07 +00:00
Nicholas Nethercote
ae530719e6 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
2009-06-10 01:23:26 +00:00
Nicholas Nethercote
2a9e26c733 Handle shmctl on Darwin. From bug 191271.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10287
2009-06-09 23:44:42 +00:00
Nicholas Nethercote
4ddfee7723 Fix URB ioctl handling. Patch from Hector Martin (bug 191095).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10286
2009-06-09 23:03:02 +00:00
Nicholas Nethercote
17ae73a356 Avoid recursion in VG_(exit).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10285
2009-06-09 22:46:32 +00:00
Nicholas Nethercote
a01f086879 Handle another Linux ioctl. Patch from Jay Foad.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10284
2009-06-09 22:31:00 +00:00
Nicholas Nethercote
2913b0fa2d 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
2009-06-09 22:25:00 +00:00
Bart Van Assche
b4443ebc0a Fixed bug in DRD's realloc() wrapper.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10282
2009-06-09 11:12:07 +00:00
Nicholas Nethercote
a4a24f0c4f Abort if a --log-file filename begins with a '~'.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10281
2009-06-09 00:50:45 +00:00
Nicholas Nethercote
8d3c0137a2 Suppress some still-reachable warnings that come up for "Hello World" on
Darwin.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10280
2009-06-09 00:10:20 +00:00
Bart Van Assche
e34229bd49 svn merge -r9818:10278 svn://svn.valgrind.org/valgrind/branches/DRDDEV
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10279
2009-06-08 18:20:42 +00:00
Robert Walsh
fccc723135 More ignore updates.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10273
2009-06-06 22:29:38 +00:00
Robert Walsh
83d4125cc3 Update ignores.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10272
2009-06-06 22:13:25 +00:00
Nicholas Nethercote
99f13531ec Remove references to the now-defunct INSTALL file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10271
2009-06-06 21:54:59 +00:00
Bart Van Assche
db567690f9 Generalized a libgomp suppression pattern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10269
2009-06-06 18:09:09 +00:00
Bart Van Assche
a0820d3b95 Updated test plan.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10268
2009-06-06 16:58:58 +00:00
Bart Van Assche
ffba4efbe9 Updated list of bugs fixed in 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10267
2009-06-06 16:58:36 +00:00
Bart Van Assche
c61d88f7c0 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
2009-06-06 12:28:20 +00:00
Bart Van Assche
f6d9317997 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
2009-06-06 12:26:05 +00:00
Bart Van Assche
7933a6c4d5 - 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
2009-06-06 10:56:40 +00:00
Bart Van Assche
4f60b7c79e 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
2009-06-06 09:28:28 +00:00
Bart Van Assche
b1d8c9d5fa Updated test plan.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10259
2009-06-06 08:51:13 +00:00
Bart Van Assche
9ad73a71b2 Increased gcc version from 4.3.2 to 4.4.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10258
2009-06-06 08:50:14 +00:00
Julian Seward
4ece7c2449 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
2009-06-05 13:17:31 +00:00
Nicholas Nethercote
3829cffbcf Increase a hard limit that was reached in the wild.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10250
2009-06-05 05:28:17 +00:00
Nicholas Nethercote
2314fe1acc 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
2009-06-05 01:33:16 +00:00
Nicholas Nethercote
cd689f75c5 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
2009-06-04 23:17:12 +00:00
Nicholas Nethercote
b67eef4699 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
2009-06-04 23:11:50 +00:00
Nicholas Nethercote
71114c3b13 NEWS updates.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10246
2009-06-04 22:47:21 +00:00
Bart Van Assche
b5f44ed526 Updated list of bugs fixed in 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10245
2009-06-04 11:46:32 +00:00
Bart Van Assche
17d61fb86d Fixed argument types and names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10242
2009-06-04 09:57:54 +00:00
Bart Van Assche
130b0328d5 tsan_unittest.cpp does now compile cleanly even with -Wshadown enabled.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10241
2009-06-04 09:11:28 +00:00
Nicholas Nethercote
32e4f096ab 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
2009-06-04 02:25:39 +00:00
Nicholas Nethercote
fff69610e4 Add a couple of notes based on an email from Bart.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10239
2009-06-04 01:52:14 +00:00
Nicholas Nethercote
7caba62683 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
2009-06-04 01:43:49 +00:00
Nicholas Nethercote
6109470123 Greatly improve the instructions for the nightly tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10237
2009-06-04 01:30:14 +00:00
Nicholas Nethercote
f8c50a8c4e 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
2009-06-04 01:01:47 +00:00
Bart Van Assche
ee4c26e962 Removed configure test for -Wno-empty-body again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10235
2009-06-03 20:05:00 +00:00