]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
16 years agoDARWIN sync: Makefile.am layout, mostly.
Nicholas Nethercote [Wed, 20 May 2009 04:02:50 +0000 (04:02 +0000)] 
DARWIN sync: Makefile.am layout, mostly.

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

16 years agoDARWIN sync: add a #include.
Nicholas Nethercote [Wed, 20 May 2009 03:54:09 +0000 (03:54 +0000)] 
DARWIN sync: add a #include.

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

16 years agoDARWIN sync: increase the limit before we complain about large regions being
Nicholas Nethercote [Wed, 20 May 2009 03:44:09 +0000 (03:44 +0000)] 
DARWIN sync: increase the limit before we complain about large regions being
changed.

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

16 years agoDARWIN sync: UInt -> Int.
Nicholas Nethercote [Wed, 20 May 2009 03:20:05 +0000 (03:20 +0000)] 
DARWIN sync: UInt -> Int.

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

16 years agoDARWIN sync: put conditional compilation alternatives in the usual order.
Nicholas Nethercote [Wed, 20 May 2009 02:27:00 +0000 (02:27 +0000)] 
DARWIN sync: put conditional compilation alternatives in the usual order.

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

16 years agoDARWIN sync: comment change.
Nicholas Nethercote [Wed, 20 May 2009 02:11:49 +0000 (02:11 +0000)] 
DARWIN sync: comment change.

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

16 years agoDARWIN sync: stabs wibble.
Nicholas Nethercote [Wed, 20 May 2009 02:07:56 +0000 (02:07 +0000)] 
DARWIN sync: stabs wibble.

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

16 years agoMerge r9993, r9995 (comment changes about vg_stat) from the DARWIN branch,
Nicholas Nethercote [Wed, 20 May 2009 02:02:30 +0000 (02:02 +0000)] 
Merge r9993, r9995 (comment changes about vg_stat) from the DARWIN branch,
and rename all the vg_stat fields to avoid problems that the old names cause
on Darwin.

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

16 years agoUpdated list of bugs fixed in 3.5.0.
Bart Van Assche [Tue, 19 May 2009 18:05:25 +0000 (18:05 +0000)] 
Updated list of bugs fixed in 3.5.0.

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

16 years agoSorted EXTRA_DIST alphabetically.
Bart Van Assche [Tue, 19 May 2009 17:26:20 +0000 (17:26 +0000)] 
Sorted EXTRA_DIST alphabetically.

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

16 years agoDARWIN sync: malloc_usable_size return value should be SizeT.
Nicholas Nethercote [Tue, 19 May 2009 08:00:06 +0000 (08:00 +0000)] 
DARWIN sync: malloc_usable_size return value should be SizeT.

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

16 years agoDARWIN sync: wibble.
Nicholas Nethercote [Tue, 19 May 2009 07:56:55 +0000 (07:56 +0000)] 
DARWIN sync: wibble.

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

16 years agoUse our CPU/OS variable when printing the results in configure.
Nicholas Nethercote [Tue, 19 May 2009 07:39:22 +0000 (07:39 +0000)] 
Use our CPU/OS variable when printing the results in configure.

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

16 years agoDARWIN sync: don't insist on GNU sed.
Nicholas Nethercote [Tue, 19 May 2009 07:25:42 +0000 (07:25 +0000)] 
DARWIN sync: don't insist on GNU sed.

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

16 years agoDARWIN sync: pread64 and pwrite64 wrappers.
Nicholas Nethercote [Tue, 19 May 2009 06:50:37 +0000 (06:50 +0000)] 
DARWIN sync: pread64 and pwrite64 wrappers.

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

16 years agoMerged missing part of r9900 from the MESSAGING_TIDYUP branch.
Bart Van Assche [Tue, 19 May 2009 06:24:51 +0000 (06:24 +0000)] 
Merged missing part of r9900 from the MESSAGING_TIDYUP branch.

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

16 years agoDARWIN sync: whitespace.
Nicholas Nethercote [Tue, 19 May 2009 06:07:21 +0000 (06:07 +0000)] 
DARWIN sync: whitespace.

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

16 years agoRemove unnecessary #include.
Nicholas Nethercote [Tue, 19 May 2009 06:06:14 +0000 (06:06 +0000)] 
Remove unnecessary #include.

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

16 years agoDARWIN sync: cachegrind filter change.
Nicholas Nethercote [Tue, 19 May 2009 06:00:04 +0000 (06:00 +0000)] 
DARWIN sync: cachegrind filter change.

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

16 years agoDARWIN sync comment wibble.
Nicholas Nethercote [Tue, 19 May 2009 05:52:29 +0000 (05:52 +0000)] 
DARWIN sync comment wibble.

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

16 years agoParam names sync wibble.
Nicholas Nethercote [Tue, 19 May 2009 05:50:34 +0000 (05:50 +0000)] 
Param names sync wibble.

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

16 years agotweak test
Nicholas Nethercote [Tue, 19 May 2009 05:36:23 +0000 (05:36 +0000)] 
tweak test

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

16 years agoTweak VG_(exit).
Nicholas Nethercote [Tue, 19 May 2009 05:28:43 +0000 (05:28 +0000)] 
Tweak VG_(exit).

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

16 years agocomment wibble
Nicholas Nethercote [Tue, 19 May 2009 05:06:43 +0000 (05:06 +0000)] 
comment wibble

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

16 years agoDARWIN sync comment.
Nicholas Nethercote [Tue, 19 May 2009 05:01:27 +0000 (05:01 +0000)] 
DARWIN sync comment.

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

16 years agoDARWIN sync: include m_ume/*.c in COMMON_SOURCES.
Nicholas Nethercote [Tue, 19 May 2009 04:55:00 +0000 (04:55 +0000)] 
DARWIN sync: include m_ume/*.c in COMMON_SOURCES.

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

16 years agoDARWIN sync: use AM_CFLAGS_PIC in more places.
Nicholas Nethercote [Tue, 19 May 2009 04:48:52 +0000 (04:48 +0000)] 
DARWIN sync: use AM_CFLAGS_PIC in more places.

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

16 years agoDARWIN sync wibble.
Nicholas Nethercote [Tue, 19 May 2009 04:37:03 +0000 (04:37 +0000)] 
DARWIN sync wibble.

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

16 years agoDARWIN sync wibble.
Nicholas Nethercote [Tue, 19 May 2009 04:31:53 +0000 (04:31 +0000)] 
DARWIN sync wibble.

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

16 years agoSync m_initimg with the DARWIN branch.
Nicholas Nethercote [Tue, 19 May 2009 04:23:49 +0000 (04:23 +0000)] 
Sync m_initimg with the DARWIN branch.

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

16 years agoDARWIN sync wibble.
Nicholas Nethercote [Tue, 19 May 2009 02:10:26 +0000 (02:10 +0000)] 
DARWIN sync wibble.

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

16 years agoDARWIN sync wibble.
Nicholas Nethercote [Tue, 19 May 2009 02:08:25 +0000 (02:08 +0000)] 
DARWIN sync wibble.

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

16 years agoDARWIN sync wibble.
Nicholas Nethercote [Tue, 19 May 2009 01:53:30 +0000 (01:53 +0000)] 
DARWIN sync wibble.

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

16 years agoAdd comment to sync with DARWIN branch.
Nicholas Nethercote [Tue, 19 May 2009 01:49:50 +0000 (01:49 +0000)] 
Add comment to sync with DARWIN branch.

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

16 years agoMinor sync with the DARWIN branch.
Nicholas Nethercote [Tue, 19 May 2009 01:32:52 +0000 (01:32 +0000)] 
Minor sync with the DARWIN branch.

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

16 years agoAdd some extra CALL_FN_V_* macros. Copied from the DARWIN branch.
Nicholas Nethercote [Tue, 19 May 2009 01:24:50 +0000 (01:24 +0000)] 
Add some extra CALL_FN_V_* macros.  Copied from the DARWIN branch.

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

16 years agoMerge r9324 (bug152022 portability fix) from the DARWIN branch.
Nicholas Nethercote [Tue, 19 May 2009 01:17:09 +0000 (01:17 +0000)] 
Merge r9324 (bug152022 portability fix) from the DARWIN branch.

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

16 years agoSync trunk with DARWIN branch.
Nicholas Nethercote [Tue, 19 May 2009 01:10:31 +0000 (01:10 +0000)] 
Sync trunk with DARWIN branch.

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

16 years agoMerge part of r9140 (filter_xml tweak) from the DARWIN branch.
Nicholas Nethercote [Tue, 19 May 2009 01:00:59 +0000 (01:00 +0000)] 
Merge part of r9140 (filter_xml tweak) from the DARWIN branch.

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

16 years agoMinor trunk/DARWIN sync.
Nicholas Nethercote [Tue, 19 May 2009 00:54:19 +0000 (00:54 +0000)] 
Minor trunk/DARWIN sync.

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

16 years agoFix a make dist problem with default.supp -- it was being included in the
Nicholas Nethercote [Tue, 19 May 2009 00:32:20 +0000 (00:32 +0000)] 
Fix a make dist problem with default.supp -- it was being included in the
tarball, and thus its contents depended on the machine 'make dist' was run
on, not the install machine.  This commit excludes it from the tarball,
so it will be built at compile-time.

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

16 years agoAdd some missing 'make dist' files.
Nicholas Nethercote [Tue, 19 May 2009 00:05:29 +0000 (00:05 +0000)] 
Add some missing 'make dist' files.

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

16 years agoMerge r9900 (make dist fixes) from the MESSAGING_TIDYUP branch.
Nicholas Nethercote [Mon, 18 May 2009 23:24:26 +0000 (23:24 +0000)] 
Merge r9900 (make dist fixes) from the MESSAGING_TIDYUP branch.

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

16 years agoAdd some info about building the docs on Ubuntu 9.04.
Nicholas Nethercote [Mon, 18 May 2009 23:11:49 +0000 (23:11 +0000)] 
Add some info about building the docs on Ubuntu 9.04.

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

16 years agoFix some broken XML tags.
Nicholas Nethercote [Mon, 18 May 2009 23:03:52 +0000 (23:03 +0000)] 
Fix some broken XML tags.

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

16 years agoMerge r9897 (x86_amd64_features.c simplifcation) from the DARWIN branch.
Nicholas Nethercote [Mon, 18 May 2009 06:23:25 +0000 (06:23 +0000)] 
Merge r9897 (x86_amd64_features.c simplifcation) from the DARWIN branch.

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

16 years agoRemove a dead declaration.
Nicholas Nethercote [Mon, 18 May 2009 05:33:21 +0000 (05:33 +0000)] 
Remove a dead declaration.

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

16 years agoMerge part (filter tweaks) of 8943 from the DARWIN branch.
Nicholas Nethercote [Mon, 18 May 2009 05:29:41 +0000 (05:29 +0000)] 
Merge part (filter tweaks) of 8943 from the DARWIN branch.

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

16 years agoMerged r8977 (callgrind filter_stderr portability tweak) from the DARWIN
Nicholas Nethercote [Mon, 18 May 2009 05:13:22 +0000 (05:13 +0000)] 
Merged r8977 (callgrind filter_stderr portability tweak) from the DARWIN
branch.

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

16 years agoWhitespace tweak.
Nicholas Nethercote [Mon, 18 May 2009 05:10:56 +0000 (05:10 +0000)] 
Whitespace tweak.

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

16 years agoMerge part of r9250 (add unused attribute to callgrind/fn.c:check_code()
Nicholas Nethercote [Mon, 18 May 2009 05:10:00 +0000 (05:10 +0000)] 
Merge part of r9250 (add unused attribute to callgrind/fn.c:check_code()
from the DARWIN branch.

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

16 years agoThis should have gone in with r9884.
Nicholas Nethercote [Mon, 18 May 2009 04:49:56 +0000 (04:49 +0000)] 
This should have gone in with r9884.

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

16 years agoMerge part of r9229 (Helgrind test build tweak) from the DARWIN branch to
Nicholas Nethercote [Mon, 18 May 2009 04:49:20 +0000 (04:49 +0000)] 
Merge part of r9229 (Helgrind test build tweak) from the DARWIN branch to
the trunk.

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

16 years agoMerge parts of r9775, r9777, r9789, r9794 from the DARWIN branch.
Nicholas Nethercote [Mon, 18 May 2009 04:41:48 +0000 (04:41 +0000)] 
Merge parts of r9775, r9777, r9789, r9794 from the DARWIN branch.

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

16 years agoMerged non-Darwin-specific parts of r9397,r9423,r9490, 9461, 9462 from the
Nicholas Nethercote [Mon, 18 May 2009 02:12:08 +0000 (02:12 +0000)] 
Merged non-Darwin-specific parts of r9397,r9423,r9490, 9461, 9462 from the
DARWIN branch.  A big ugly DARWIN/trunk sync commit, mostly to do with
changing the representation of SysRes and vki_sigset_t.  Functionality of
the trunk shouldn't be changed by it.

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

16 years agoAdded pth_mutex_reinit regression test.
Bart Van Assche [Sat, 16 May 2009 06:24:40 +0000 (06:24 +0000)] 
Added pth_mutex_reinit regression test.

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

16 years agoUpdate mutex type upon mutex reinitialization such that DRD does not trigger an asser...
Bart Van Assche [Sat, 16 May 2009 06:22:46 +0000 (06:22 +0000)] 
Update mutex type upon mutex reinitialization such that DRD does not trigger an assertion failure when a reinitialized mutex is used.

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

16 years agoFactor out the name of the libpthread library. Also fix a minor stack trace
Nicholas Nethercote [Mon, 11 May 2009 08:01:09 +0000 (08:01 +0000)] 
Factor out the name of the libpthread library.  Also fix a minor stack trace
bogon.

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

16 years agoMerge r9828 (fix aspacem layering violation) from the DARWIN branch.
Nicholas Nethercote [Sun, 10 May 2009 22:42:19 +0000 (22:42 +0000)] 
Merge r9828 (fix aspacem layering violation) from the DARWIN branch.

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

16 years agoLet the pthread_create@GLIBC_2.0() detection test fail on PowerPC.
Bart Van Assche [Sun, 10 May 2009 15:41:45 +0000 (15:41 +0000)] 
Let the pthread_create@GLIBC_2.0() detection test fail on PowerPC.

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

16 years agoUpdated ignore list.
Bart Van Assche [Sun, 10 May 2009 11:51:09 +0000 (11:51 +0000)] 
Updated ignore list.

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

16 years agoUpdated ignore lists.
Bart Van Assche [Sun, 10 May 2009 11:08:10 +0000 (11:08 +0000)] 
Updated ignore lists.

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

16 years agoMerged all revisions up to and including 9814 from the DRDDEV branch to the trunk...
Bart Van Assche [Sun, 10 May 2009 10:36:18 +0000 (10:36 +0000)] 
Merged all revisions up to and including 9814 from the DRDDEV branch to the trunk for the script run-splash2. Updated performance results.

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

16 years agoMerged all revisions up to and including 9814 from the DRDDEV branch to the trunk...
Bart Van Assche [Sun, 10 May 2009 06:55:39 +0000 (06:55 +0000)] 
Merged all revisions up to and including 9814 from the DRDDEV branch to the trunk for the files pub_drd_bitmap.h, drd_bitmap.h, drd_bitmap.c and tests/drd_bitmap_test.c.

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

16 years agoCleanup.
Bart Van Assche [Sun, 10 May 2009 06:39:37 +0000 (06:39 +0000)] 
Cleanup.

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

16 years agoRemoved commented-out tracing statements.
Bart Van Assche [Sun, 10 May 2009 06:37:05 +0000 (06:37 +0000)] 
Removed commented-out tracing statements.

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

16 years agoCreated a new module, m_aspacehl. Factored out three(!) copies of
Nicholas Nethercote [Fri, 8 May 2009 00:39:31 +0000 (00:39 +0000)] 
Created a new module, m_aspacehl.  Factored out three(!) copies of
get_seg_starts() into it.

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

16 years agoFix up some stack trace inconsistencies:
Nicholas Nethercote [Thu, 7 May 2009 23:08:10 +0000 (23:08 +0000)] 
Fix up some stack trace inconsistencies:

- When printing suppressions, never print more entries than there are in the
  stack.  This avoids bogus suppressions in some cases!  (I haven't seen
  them on Linux, but I have seen them on Darwin.)

- When getting a stack trace, stop if we get an IP of zero or one;  that
  means we've hit the end of the stack.  And don't include that entry in the
  stack trace, because it's a guaranteed "???" if it's ever printed which is
  useless.

- In VG_(apply_StackTrace), we can now rely entirely on the n_ip parameter
  rather than looking for 0 or -1, because that check is done when the stack
  trace is first obtained.  In other words, stack traces all use an n_ip
  parameter to record their size, whereas previously they used an odd
  mixture of n_ip and null-termination.

- Rename 'n_ips' variables as 'max_n_ips' where appropriate;  those left as
  'n_ips' truly describe how many IPs there are in the stack trace.

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

16 years agoAdd a missing rwlock initialisation.
Nicholas Nethercote [Wed, 6 May 2009 07:28:38 +0000 (07:28 +0000)] 
Add a missing rwlock initialisation.

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

16 years agoMake loss record ordering more deterministic, so that regtests are reliable.
Nicholas Nethercote [Wed, 6 May 2009 06:52:47 +0000 (06:52 +0000)] 
Make loss record ordering more deterministic, so that regtests are reliable.

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

16 years agoChange a #include to make the test more portable.
Nicholas Nethercote [Wed, 6 May 2009 06:27:19 +0000 (06:27 +0000)] 
Change a #include to make the test more portable.

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

16 years agoFix bug #191182, where printing the leak checker results was really slow if
Nicholas Nethercote [Wed, 6 May 2009 06:15:55 +0000 (06:15 +0000)] 
Fix bug #191182, where printing the leak checker results was really slow if
there were a lot of loss records.

The fix was:
- Avoid the O(m * n) looping over the chunks when creating the loss
  records, by putting loss records into an OSet instead of a list, which
  makes duplicate detection for each chunk an O(log n) operation instead of
  an O(n) operation.
- Avoid the looping over loss records which was used to do a poor
  man's sort, but was O(n^2).  Instead copy pointers to the loss records
  from the OSet into an array and sort it normally with VG_(ssort) (n log n,
  usually) before printing.

This approach was similar to that used in the patch Philippe attached to the
bug report.

Other changes:
- Added Philippe's test programs in the new memcheck/perf directory.  It
  used to take 57s on my machine, now it takes 1.6s.
- Cleaned up massif/perf/Makefile.am to be consistent with other Makefiles.
- Improved some comments relating to VgHashTable and OSet.
- Avoided a redundant traversal of the hash table in VG_(HT_to_array), also
  identified by Philippe..
- Made memcheck/tests/mempool's results independent of the pointer size, and
  thus was able to remove its .stderr.exp64 file.

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

16 years agoDon't store the frames hash in .frames[0] and the actual frames in
Nicholas Nethercote [Tue, 5 May 2009 23:46:24 +0000 (23:46 +0000)] 
Don't store the frames hash in .frames[0] and the actual frames in
.frames[1..N_FRAMES].  Instead store the hash in a separate .frames_hash
field, and the actual frames in .frames[0..N_FRAMES-1].

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

16 years agoAdd some comments about signals, from Julian.
Nicholas Nethercote [Mon, 4 May 2009 06:54:04 +0000 (06:54 +0000)] 
Add some comments about signals, from Julian.

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

16 years agoMerge r9761 (fix a comment) from the trunk.
Nicholas Nethercote [Mon, 4 May 2009 06:46:31 +0000 (06:46 +0000)] 
Merge r9761 (fix a comment) from the trunk.

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

16 years agoMerge r9754 (#includes tweak) from the DARWIN branch. Also remove a
Nicholas Nethercote [Mon, 4 May 2009 06:12:37 +0000 (06:12 +0000)] 
Merge r9754 (#includes tweak) from the DARWIN branch.  Also remove a
Darwin-specific code snippet that crept in from a previous commit.

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

16 years agoMerged r9750, r9751 (remove m_aspacemgr layering violation) from the DARWIN
Nicholas Nethercote [Mon, 4 May 2009 05:55:46 +0000 (05:55 +0000)] 
Merged r9750, r9751 (remove m_aspacemgr layering violation) from the DARWIN
branch.

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

16 years agoDon't compile Linux-only redirects on non-Linux platforms.
Nicholas Nethercote [Mon, 4 May 2009 04:20:02 +0000 (04:20 +0000)] 
Don't compile Linux-only redirects on non-Linux platforms.

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

16 years agoRemove unused .exp files for sigkill.
Nicholas Nethercote [Mon, 4 May 2009 01:30:39 +0000 (01:30 +0000)] 
Remove unused .exp files for sigkill.

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

16 years agoMerged r9741 (make post-syscall more portable) from the DARWIN branch.
Nicholas Nethercote [Mon, 4 May 2009 01:17:56 +0000 (01:17 +0000)] 
Merged r9741 (make post-syscall more portable) from the DARWIN branch.

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

16 years agoMerge part of r9709 (m_signals.c clean-ups) from the DARWIN branch.
Nicholas Nethercote [Sun, 3 May 2009 22:53:19 +0000 (22:53 +0000)] 
Merge part of r9709 (m_signals.c clean-ups) from the DARWIN branch.

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

16 years agoAdded more test code.
Bart Van Assche [Sun, 3 May 2009 18:07:07 +0000 (18:07 +0000)] 
Added more test code.

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

16 years agoUn-break 'make dist'.
Bart Van Assche [Sun, 3 May 2009 17:54:47 +0000 (17:54 +0000)] 
Un-break 'make dist'.

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

16 years agoAdded regression test for the new DRD command-line option --first-race-only.
Bart Van Assche [Sun, 3 May 2009 17:43:55 +0000 (17:43 +0000)] 
Added regression test for the new DRD command-line option --first-race-only.

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

16 years agoAdded command-line option --first-race-only.
Bart Van Assche [Sun, 3 May 2009 17:17:37 +0000 (17:17 +0000)] 
Added command-line option --first-race-only.

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

16 years agoAdded more statistics.
Bart Van Assche [Sun, 3 May 2009 17:07:34 +0000 (17:07 +0000)] 
Added more statistics.

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

16 years agoSimplified client request handling.
Bart Van Assche [Sat, 2 May 2009 08:06:53 +0000 (08:06 +0000)] 
Simplified client request handling.

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

16 years agoAdded support for the VG_USERREQ__MALLOCLIKE_BLOCK and VG_USERREQ__FREELIKE_BLOCK...
Bart Van Assche [Fri, 1 May 2009 12:23:47 +0000 (12:23 +0000)] 
Added support for the VG_USERREQ__MALLOCLIKE_BLOCK and VG_USERREQ__FREELIKE_BLOCK client requests.

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

16 years agoIntroduced the functions DRD_(malloclike_block)() and DRD_(freelike_block)().
Bart Van Assche [Fri, 1 May 2009 12:21:39 +0000 (12:21 +0000)] 
Introduced the functions DRD_(malloclike_block)() and DRD_(freelike_block)().

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

16 years agoCompiles now on RHEL 5.3 systems. In the RHEL 5.3 headers __NR_timerfd_create is...
Bart Van Assche [Fri, 1 May 2009 11:54:07 +0000 (11:54 +0000)] 
Compiles now on RHEL 5.3 systems. In the RHEL 5.3 headers __NR_timerfd_create is defined but neither __NR_timerfd_settime nor __NR_timerfd_gettime.

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

16 years agoUpdated cross-compilation nightly build config files (not in use at this time).
Bart Van Assche [Fri, 1 May 2009 06:54:43 +0000 (06:54 +0000)] 
Updated cross-compilation nightly build config files (not in use at this time).

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

16 years agoRefactor and recomment async-sigs so it's easier to understand. Send all
Nicholas Nethercote [Fri, 1 May 2009 05:00:34 +0000 (05:00 +0000)] 
Refactor and recomment async-sigs so it's easier to understand.  Send all
its output to stderr as well.

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

16 years agoRenamed various things for clarity. Added some comments. And fixed the
Nicholas Nethercote [Fri, 1 May 2009 00:30:43 +0000 (00:30 +0000)] 
Renamed various things for clarity.  Added some comments.  And fixed the
dubious find-minimum-loss-record loop in print_results(), which was using an
inconsistent mixture of szB and szB+indirect_szB.

Two test results changed, just different sort orders for same-sized loss
records.

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

16 years agoSplit up sync_sighandler into three functions, and refactor the code within
Nicholas Nethercote [Thu, 30 Apr 2009 07:41:24 +0000 (07:41 +0000)] 
Split up sync_sighandler into three functions, and refactor the code within
those functions a bit.  The net result is that the control flow is much more
obvious now.

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

16 years agoRemove VKI_SI_TKILL for platforms that don't have it.
Nicholas Nethercote [Thu, 30 Apr 2009 05:23:22 +0000 (05:23 +0000)] 
Remove VKI_SI_TKILL for platforms that don't have it.

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

16 years agoDon't use obviously Linux-specific things unless on Linux. (Nb: This change
Nicholas Nethercote [Thu, 30 Apr 2009 05:21:38 +0000 (05:21 +0000)] 
Don't use obviously Linux-specific things unless on Linux.  (Nb: This change
was committed to the DARWIN branch prematurely as part of 9698.)

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

16 years agoFix test breakage caused by r9694.
Nicholas Nethercote [Thu, 30 Apr 2009 05:09:09 +0000 (05:09 +0000)] 
Fix test breakage caused by r9694.

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

16 years agoConvert more VG_(message) calls to VG_*MSG.
Nicholas Nethercote [Thu, 30 Apr 2009 04:33:32 +0000 (04:33 +0000)] 
Convert more VG_(message) calls to VG_*MSG.

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

16 years agoConverted VG_(message) calls in m_signals.c to VG_*MSG macros, for brevity.
Nicholas Nethercote [Thu, 30 Apr 2009 04:17:45 +0000 (04:17 +0000)] 
Converted VG_(message) calls in m_signals.c to VG_*MSG macros, for brevity.
Converted lots of tabs on modified lines to spaces as well.

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

16 years agoBe safer in sanitize_si_code.
Nicholas Nethercote [Thu, 30 Apr 2009 04:00:13 +0000 (04:00 +0000)] 
Be safer in sanitize_si_code.

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