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

16 years agoMake --trace-signals=yes output better.
Nicholas Nethercote [Thu, 30 Apr 2009 03:49:06 +0000 (03:49 +0000)] 
Make --trace-signals=yes output better.

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

16 years agoFactor out some repeated code.
Nicholas Nethercote [Thu, 30 Apr 2009 03:30:09 +0000 (03:30 +0000)] 
Factor out some repeated code.

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

16 years agoMerge parts of r9397 from the DARWIN branch, mostly layout cleanups, a
Nicholas Nethercote [Thu, 30 Apr 2009 03:05:05 +0000 (03:05 +0000)] 
Merge parts of r9397 from the DARWIN branch, mostly layout cleanups, a
couple of improved debugging messages, some extra comments, some renamings,
etc.  No significant functional change.

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

16 years agoUse -q on varinfo tests to avoid platform-specific differences in number of
Nicholas Nethercote [Wed, 29 Apr 2009 23:21:46 +0000 (23:21 +0000)] 
Use -q on varinfo tests to avoid platform-specific differences in number of
allocations.  This allowed two .stderr.exp files to be merged for varinfo6.

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

16 years agoMerged r9678 (removed a compile warning) from the DARWIN branch.
Nicholas Nethercote [Wed, 29 Apr 2009 05:39:00 +0000 (05:39 +0000)] 
Merged r9678 (removed a compile warning) from the DARWIN branch.

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

16 years agoAdd some extra symbol comparisons, based on those from the DARWIN branch.
Nicholas Nethercote [Wed, 29 Apr 2009 05:08:15 +0000 (05:08 +0000)] 
Add some extra symbol comparisons, based on those from the DARWIN branch.

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

16 years agoMerged r9673 (remove susphello) from the DARWIN branch.
Nicholas Nethercote [Wed, 29 Apr 2009 04:18:30 +0000 (04:18 +0000)] 
Merged r9673 (remove susphello) from the DARWIN branch.

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

16 years agoMerge r9667 (fdleak_ipv4 portability tweak) from the DARWIN branch.
Nicholas Nethercote [Wed, 29 Apr 2009 02:04:57 +0000 (02:04 +0000)] 
Merge r9667 (fdleak_ipv4 portability tweak) from the DARWIN branch.

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

16 years agoMerge r9666 (badseg portability tweak) from the DARWIN branch.
Nicholas Nethercote [Wed, 29 Apr 2009 02:02:19 +0000 (02:02 +0000)] 
Merge r9666 (badseg portability tweak) from the DARWIN branch.

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

16 years agoAdded more comments.
Bart Van Assche [Tue, 28 Apr 2009 11:19:43 +0000 (11:19 +0000)] 
Added more comments.

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

16 years agoMerge r9661 (remove m_signals.c magic numbers) from the DARWIN branch.
Nicholas Nethercote [Tue, 28 Apr 2009 08:00:23 +0000 (08:00 +0000)] 
Merge r9661 (remove m_signals.c magic numbers) from the DARWIN branch.

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

16 years agoMerged r9657 (fdleak fixes) from the DARWIN branch.
Nicholas Nethercote [Tue, 28 Apr 2009 05:35:53 +0000 (05:35 +0000)] 
Merged r9657 (fdleak fixes) from the DARWIN branch.

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

16 years agoMerged r9653..r9655 (fixed terminal signal handling in Darwin) from DARWIN
Nicholas Nethercote [Tue, 28 Apr 2009 01:55:01 +0000 (01:55 +0000)] 
Merged r9653..r9655 (fixed terminal signal handling in Darwin) from DARWIN
branch.

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

16 years agoMerge r9614 (make more_x86_fp compile on darwin) from the DARWIN branch.
Nicholas Nethercote [Mon, 27 Apr 2009 22:50:26 +0000 (22:50 +0000)] 
Merge r9614 (make more_x86_fp compile on darwin) from the DARWIN branch.

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

16 years agoAdd a list of bugs reported since 3.4.1 was released. 50 new bug
Julian Seward [Mon, 27 Apr 2009 21:07:30 +0000 (21:07 +0000)] 
Add a list of bugs reported since 3.4.1 was released.  50 new bug
reports in 60 days.

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

16 years agoComment-only change: add comments pertaining to revs 9329 and 9469,
Julian Seward [Mon, 27 Apr 2009 19:59:10 +0000 (19:59 +0000)] 
Comment-only change: add comments pertaining to revs 9329 and 9469,
which were a fix for #185816.  These commits added _debug_{svma,bias}
fields to struct _DebugInfo.

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

16 years agoOnly run the nightly build if there was a commit during the last 24 hours.
Bart Van Assche [Mon, 27 Apr 2009 08:04:57 +0000 (08:04 +0000)] 
Only run the nightly build if there was a commit during the last 24 hours.

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

16 years agoMake the graphs drawn by ms_print less confusing.
Nicholas Nethercote [Mon, 27 Apr 2009 01:27:58 +0000 (01:27 +0000)] 
Make the graphs drawn by ms_print less confusing.

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

16 years agobm_equal() now also supports comparing bitmaps where some or all of the second-level...
Bart Van Assche [Sun, 26 Apr 2009 14:42:33 +0000 (14:42 +0000)] 
bm_equal() now also supports comparing bitmaps where some or all of the second-level bitmaps are entirely zero.

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

16 years agoFixed typo spotted by Jeroen Witmond.
Bart Van Assche [Sun, 26 Apr 2009 11:29:02 +0000 (11:29 +0000)] 
Fixed typo spotted by Jeroen Witmond.

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

16 years agoOnly run the pth_create_glibc_2_0 regression test if glibc supports pthread_create...
Bart Van Assche [Sun, 26 Apr 2009 07:51:57 +0000 (07:51 +0000)] 
Only run the pth_create_glibc_2_0 regression test if glibc supports pthread_create@GLIBC2.0.

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

16 years agoUpdated an expected output file.
Bart Van Assche [Sun, 26 Apr 2009 07:47:00 +0000 (07:47 +0000)] 
Updated an expected output file.

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

16 years agoFixed pthread_create@GLIBC2.0 detection test.
Bart Van Assche [Sun, 26 Apr 2009 07:38:53 +0000 (07:38 +0000)] 
Fixed pthread_create@GLIBC2.0 detection test.

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

16 years agoFixed compiler warnings triggered by the test programs that include both <stdlib...
Bart Van Assche [Sun, 26 Apr 2009 07:15:58 +0000 (07:15 +0000)] 
Fixed compiler warnings triggered by the test programs that include both <stdlib.h> and "pub_tool_oset.h".

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

16 years agoAdded regression test pth_create_glibc_2_0.
Bart Van Assche [Sun, 26 Apr 2009 07:14:15 +0000 (07:14 +0000)] 
Added regression test pth_create_glibc_2_0.

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

16 years agoAdded configure test for pthread_create@GLIBC2.0().
Bart Van Assche [Sun, 26 Apr 2009 07:11:48 +0000 (07:11 +0000)] 
Added configure test for pthread_create@GLIBC2.0().

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

16 years agoUpdated list of bugs fixed in 3.5.0.
Bart Van Assche [Sat, 25 Apr 2009 16:25:45 +0000 (16:25 +0000)] 
Updated list of bugs fixed in 3.5.0.

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

16 years agoReran SPLASH-2 benchmark.
Bart Van Assche [Sat, 25 Apr 2009 15:10:44 +0000 (15:10 +0000)] 
Reran SPLASH-2 benchmark.

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

16 years agoAdded more error checking.
Bart Van Assche [Sat, 25 Apr 2009 11:40:09 +0000 (11:40 +0000)] 
Added more error checking.

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

16 years agoAdded more documentation and error checking.
Bart Van Assche [Sat, 25 Apr 2009 11:39:20 +0000 (11:39 +0000)] 
Added more documentation and error checking.

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

16 years agoglibc 2.8 expected output updates.
Bart Van Assche [Sat, 25 Apr 2009 08:26:24 +0000 (08:26 +0000)] 
glibc 2.8 expected output updates.

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

16 years agoYet another performance optimization.
Bart Van Assche [Sat, 25 Apr 2009 08:08:33 +0000 (08:08 +0000)] 
Yet another performance optimization.

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

16 years agoRearranged bm_access_range* functions.
Bart Van Assche [Sat, 25 Apr 2009 06:53:00 +0000 (06:53 +0000)] 
Rearranged bm_access_range* functions.

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

16 years agobm0_clear_range
Bart Van Assche [Sat, 25 Apr 2009 06:52:01 +0000 (06:52 +0000)] 
bm0_clear_range

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

16 years agoMerge r9621 (move int3-x86 into x86-linux/) from the DARWIN branch.
Nicholas Nethercote [Sat, 25 Apr 2009 03:17:22 +0000 (03:17 +0000)] 
Merge r9621 (move int3-x86 into x86-linux/) from the DARWIN branch.

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

16 years agoMerge r9619 (fix more_x86_fp on Darwin) from the DARWIN branch.
Nicholas Nethercote [Sat, 25 Apr 2009 00:07:37 +0000 (00:07 +0000)] 
Merge r9619 (fix more_x86_fp on Darwin) from the DARWIN branch.

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

16 years agoUnbreak pushfpopf on Linux.
Nicholas Nethercote [Fri, 24 Apr 2009 23:49:58 +0000 (23:49 +0000)] 
Unbreak pushfpopf on Linux.

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

16 years agoMerge r9612 (make pushfpopf work on Darwin) from the DARWIN branch.
Nicholas Nethercote [Fri, 24 Apr 2009 21:49:11 +0000 (21:49 +0000)] 
Merge r9612 (make pushfpopf work on Darwin) from the DARWIN branch.

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

16 years agoMerge r9610 (AM_CCASFLAGS tweaks for test Makefiles) from the DARWIN branch.
Nicholas Nethercote [Fri, 24 Apr 2009 20:17:07 +0000 (20:17 +0000)] 
Merge r9610 (AM_CCASFLAGS tweaks for test Makefiles) from the DARWIN branch.

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

16 years agoMinor optimization: eliminated one if statement from each bm_clear*() function.
Bart Van Assche [Fri, 24 Apr 2009 14:49:50 +0000 (14:49 +0000)] 
Minor optimization: eliminated one if statement from each bm_clear*() function.

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

16 years agoMerge r9605 (make tronical work on Darwin) from the DARWIN branch.
Nicholas Nethercote [Fri, 24 Apr 2009 07:24:05 +0000 (07:24 +0000)] 
Merge r9605 (make tronical work on Darwin) from the DARWIN branch.

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

16 years agoMerged r9602 and r9603 (make cpuid pass on Darwin, rename .s files to .S)
Nicholas Nethercote [Fri, 24 Apr 2009 07:12:39 +0000 (07:12 +0000)] 
Merged r9602 and r9603 (make cpuid pass on Darwin, rename .s files to .S)
from the DARWIN branch.

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

16 years agoMerge r9600 (separate VG_ and ML_ definitions for C and asm files) from the
Nicholas Nethercote [Fri, 24 Apr 2009 04:57:07 +0000 (04:57 +0000)] 
Merge r9600 (separate VG_ and ML_ definitions for C and asm files) from the
DARWIN branch.

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

16 years agoRemoved some Darwin-specific code that crept in from the DARWIN branch.
Nicholas Nethercote [Fri, 24 Apr 2009 04:28:15 +0000 (04:28 +0000)] 
Removed some Darwin-specific code that crept in from the DARWIN branch.

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

16 years agoMerged r9596 (build system tweaks, minus the Darwin bits) from the DARWIN
Nicholas Nethercote [Fri, 24 Apr 2009 04:12:28 +0000 (04:12 +0000)] 
Merged r9596 (build system tweaks, minus the Darwin bits) from the DARWIN
branch.

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

16 years agoAnother performance optimization.
Bart Van Assche [Thu, 23 Apr 2009 20:07:23 +0000 (20:07 +0000)] 
Another performance optimization.

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

16 years agoSimplified bm_clear* implementations.
Bart Van Assche [Thu, 23 Apr 2009 19:23:09 +0000 (19:23 +0000)] 
Simplified bm_clear* implementations.

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

16 years agoAdded --show-confl-seg=no to the tc19_shadowmem test, which speeds up the test by...
Bart Van Assche [Thu, 23 Apr 2009 19:21:10 +0000 (19:21 +0000)] 
Added --show-confl-seg=no to the tc19_shadowmem test, which speeds up the test by about 10%.

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

16 years agoMade DRD_(thread_set_pthreadid)() idempotent.
Bart Van Assche [Thu, 23 Apr 2009 17:12:39 +0000 (17:12 +0000)] 
Made DRD_(thread_set_pthreadid)() idempotent.

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

16 years agoOptimized the functions for clearing bits in bitmaps.
Bart Van Assche [Thu, 23 Apr 2009 15:42:27 +0000 (15:42 +0000)] 
Optimized the functions for clearing bits in bitmaps.

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

16 years agoFixed bug in bm0_clear_range() that caused this fucntion to clear more bits than...
Bart Van Assche [Thu, 23 Apr 2009 15:41:26 +0000 (15:41 +0000)] 
Fixed bug in bm0_clear_range() that caused this fucntion to clear more bits than it should clear.

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

16 years ago- Added more tests.
Bart Van Assche [Thu, 23 Apr 2009 15:39:46 +0000 (15:39 +0000)] 
- Added more tests.
- Extended error reporting.

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

16 years agoPut LINUX_SOURCES in alphabetical order.
Nicholas Nethercote [Thu, 23 Apr 2009 04:10:25 +0000 (04:10 +0000)] 
Put LINUX_SOURCES in alphabetical order.

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

16 years agoAdd support for reading Windows PDB debug info (symbols and line
Julian Seward [Wed, 22 Apr 2009 22:42:10 +0000 (22:42 +0000)] 
Add support for reading Windows PDB debug info (symbols and line
numbers) when Valgrind is running Wine.  Modified version of a
patch by John Reiser (vgsvn+wine-load-pdb-debuginfo.patch) with
extensions to read a second format of line number tables.

Wine uses a new client request, VG_USERREQ__LOAD_PDB_DEBUGINFO,
to tell Valgrind when to read PDB info.  Wine's implementation
of module loading is vastly different from that used by
ld-linux.so, and it is too difficult to recognize what is going
on just by observing the calls to mmap and mprotect.

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

16 years agoFixed #189763.
Bart Van Assche [Wed, 22 Apr 2009 18:59:50 +0000 (18:59 +0000)] 
Fixed #189763.

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

16 years agoAdded expected output for 32-bit systems. Added -64bit suffix for existing expected...
Bart Van Assche [Sat, 18 Apr 2009 16:09:01 +0000 (16:09 +0000)] 
Added expected output for 32-bit systems. Added -64bit suffix for existing expected output file.

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

16 years agoglibc-2.3 expected output updates.
Bart Van Assche [Sat, 18 Apr 2009 15:40:54 +0000 (15:40 +0000)] 
glibc-2.3 expected output updates.

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

16 years agoCompiles now on older Linux distributions too.
Bart Van Assche [Fri, 17 Apr 2009 17:51:31 +0000 (17:51 +0000)] 
Compiles now on older Linux distributions too.

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

16 years agoMerge r9571 (get faultstatus building again) from the DARWIN branch.
Nicholas Nethercote [Fri, 17 Apr 2009 07:14:29 +0000 (07:14 +0000)] 
Merge r9571 (get faultstatus building again) from the DARWIN branch.

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

16 years agoMove with-space to linux/, because it's hard to replicate on Darwin.
Nicholas Nethercote [Fri, 17 Apr 2009 06:52:10 +0000 (06:52 +0000)] 
Move with-space to linux/, because it's hard to replicate on Darwin.

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

16 years agoMerge r9103 and r9105 (add --ignore-fn to Massif) from the Darwin branch.
Nicholas Nethercote [Fri, 17 Apr 2009 04:26:41 +0000 (04:26 +0000)] 
Merge r9103 and r9105 (add --ignore-fn to Massif) from the Darwin branch.

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