]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
16 years agoAdd some clarifications to the exp-bbv manual.
Vince Weaver [Fri, 7 Aug 2009 21:00:05 +0000 (21:00 +0000)] 
Add some clarifications to the exp-bbv manual.

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

16 years agoResync after {wq,p}thread_hijack rather than merely doing a check.
Julian Seward [Fri, 7 Aug 2009 20:28:58 +0000 (20:28 +0000)] 
Resync after {wq,p}thread_hijack rather than merely doing a check.
Believed to help with, although not fix, the underlying problem in
#192634.

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

16 years agocallgrind_control: sync manual/man page and script help output.
Josef Weidendorfer [Fri, 7 Aug 2009 20:20:41 +0000 (20:20 +0000)] 
callgrind_control: sync manual/man page and script help output.

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

16 years agoUpdate Memcheck expected outputs following r10746 (Darwin variants only).
Julian Seward [Fri, 7 Aug 2009 19:47:29 +0000 (19:47 +0000)] 
Update Memcheck expected outputs following r10746 (Darwin variants only).

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

16 years agoUpdate Memcheck expected outputs following r10746 (32-bit variants only).
Julian Seward [Fri, 7 Aug 2009 19:26:41 +0000 (19:26 +0000)] 
Update Memcheck expected outputs following r10746 (32-bit variants only).

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

16 years agoUpdate Memcheck expected outputs following r10746 (64-bit variants only).
Julian Seward [Fri, 7 Aug 2009 17:47:42 +0000 (17:47 +0000)] 
Update Memcheck expected outputs following r10746 (64-bit variants only).

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

16 years agoTidy up of messaging:
Julian Seward [Fri, 7 Aug 2009 15:46:56 +0000 (15:46 +0000)] 
Tidy up of messaging:

* For all tools and the core, don't show statistics when -v is in
  effect.  Instead, try to restrict -v to mostly user-useful
  stuff.

* A new flag --stats=no|yes [no] produces statistics output instead.

* Fix longstanding problem in that Memcheck's leak checker ran after
  the core's error manager module shut down, thereby not showing use
  counts of leak suppressions.  This fixes #186790.

* As a consequence, the leak checker text output of Memcheck has
  changed a bit -- leak check is done before the final error
  summary is done (much more logical), and the output has been
  tidied up a bit.

* Helgrind, Drd and Ptrcheck now also print "For counts of
  detected and suppressed errors, rerun with: -v", which makes
  them consistent with Memcheck in this regard.  These are
  filtered out by the regtest filter scripts.

For all tools except Memcheck, the regtests are unchanged.  On
Memcheck regtests still fail due to rearrangements of the leak
checker output.  This will be fixed by a followup commit.

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

16 years agoInstall all the new man pages. Include them in 'make dist' too (even if
Nicholas Nethercote [Fri, 7 Aug 2009 08:31:58 +0000 (08:31 +0000)] 
Install all the new man pages.  Include them in 'make dist' too (even if
BUILD_ALL_DOCS is false;  we've built them anyway).  Delete them with 'make
distclean' too (and FAQ.txt).

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

16 years agoAdd a manpage for cg_annotate. Now only valgrind-listener and cg_merge lack
Nicholas Nethercote [Fri, 7 Aug 2009 07:56:20 +0000 (07:56 +0000)] 
Add a manpage for cg_annotate.  Now only valgrind-listener and cg_merge lack
a manpage, and they're so simple I can't be bothered doing ones for them
(they don't even have sections in the manual).

Also fixed a few minor things relating to manpages.

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

16 years agoUpdated DRD's to do list.
Bart Van Assche [Fri, 7 Aug 2009 07:49:36 +0000 (07:49 +0000)] 
Updated DRD's to do list.

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

16 years ago- Documented callgrind_{annotate,control} in the Callgrind manual chapter
Nicholas Nethercote [Fri, 7 Aug 2009 07:44:31 +0000 (07:44 +0000)] 
- Documented callgrind_{annotate,control} in the Callgrind manual chapter
  and created man pages for them.  Renamed the XML files in the process for
  consistency.

- Inlined cg-entities.xml into vg-entities.xml.

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

16 years agoUpdate. Fortunately it's gotten a little simpler.
Nicholas Nethercote [Fri, 7 Aug 2009 07:31:15 +0000 (07:31 +0000)] 
Update.  Fortunately it's gotten a little simpler.

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

16 years agoManpage improvements:
Nicholas Nethercote [Fri, 7 Aug 2009 06:54:44 +0000 (06:54 +0000)] 
Manpage improvements:

- Added a manpage for ms_print.

- Added docs/xml/manpages-index.xml, which is just used as a convenient
  single file to hang all the man pages off so they can be generated in a
  single command.

- Added facility whereby manpage generation will attempt to find the
  stylesheet in multiple places.  This means I don't have to constantly edit
  XSL_MAN_STYLE to build manpages on my machine.

- Changed vg-docs-path to start with $INSTALL instead of /usr/, because we
  can't assume that's the installation dir.

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

16 years agoUpdated after r10688.
Bart Van Assche [Fri, 7 Aug 2009 06:47:52 +0000 (06:47 +0000)] 
Updated after r10688.

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

16 years agoRemove a broken Cachegrind link, and include some extra DRD options.
Nicholas Nethercote [Fri, 7 Aug 2009 06:08:51 +0000 (06:08 +0000)] 
Remove a broken Cachegrind link, and include some extra DRD options.

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

16 years agoRemove some text that shouldn't be there.
Nicholas Nethercote [Fri, 7 Aug 2009 05:58:00 +0000 (05:58 +0000)] 
Remove some text that shouldn't be there.

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

16 years agoMinor changes to Callgrind file format docs.
Nicholas Nethercote [Fri, 7 Aug 2009 05:40:26 +0000 (05:40 +0000)] 
Minor changes to Callgrind file format docs.

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

16 years agoMinor formatting and grammar changes to the DRD manual chapter, to make it
Nicholas Nethercote [Fri, 7 Aug 2009 05:23:31 +0000 (05:23 +0000)] 
Minor formatting and grammar changes to the DRD manual chapter, to make it
consistent with the rest of the documentation.

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

16 years agoOverhauled the how-to-write-a-new-tool chapter.
Nicholas Nethercote [Fri, 7 Aug 2009 04:55:15 +0000 (04:55 +0000)] 
Overhauled the how-to-write-a-new-tool chapter.

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

16 years agoOverhaul design+implementation chapter.
Nicholas Nethercote [Fri, 7 Aug 2009 04:07:20 +0000 (04:07 +0000)] 
Overhaul design+implementation chapter.

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

16 years agoWent over the FAQ. Also tweaked vg-entities.xml a bit.
Nicholas Nethercote [Fri, 7 Aug 2009 02:58:11 +0000 (02:58 +0000)] 
Went over the FAQ.  Also tweaked vg-entities.xml a bit.

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

16 years agoOverhaul Helgrind's manual chapter.
Nicholas Nethercote [Fri, 7 Aug 2009 02:18:00 +0000 (02:18 +0000)] 
Overhaul Helgrind's manual chapter.

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

16 years agoThoroughly overhauled the Cachegrind manual chapter, mostly by putting
Nicholas Nethercote [Fri, 7 Aug 2009 00:18:25 +0000 (00:18 +0000)] 
Thoroughly overhauled the Cachegrind manual chapter, mostly by putting
things in a more sensible order.  Also tweaked the Massif chapter a bit
more.

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

16 years agoAdded some text for --simulate-wb/--cacheuse options of Callgrind.
Josef Weidendorfer [Thu, 6 Aug 2009 18:13:17 +0000 (18:13 +0000)] 
Added some text for --simulate-wb/--cacheuse options of Callgrind.

For cacheuse, it actually got quite large...

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

16 years agoClean up Callgrind docs. Josef, I added brief entries for --collect-systime,
Nicholas Nethercote [Thu, 6 Aug 2009 02:30:26 +0000 (02:30 +0000)] 
Clean up Callgrind docs.  Josef, I added brief entries for --collect-systime,
--cacheuse and --simulate-wb but you might like to expand them.

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

16 years agoMinor update.
Nicholas Nethercote [Thu, 6 Aug 2009 01:26:14 +0000 (01:26 +0000)] 
Minor update.

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

16 years ago- Remove unused Callgrind documentation entities.
Nicholas Nethercote [Thu, 6 Aug 2009 00:46:59 +0000 (00:46 +0000)] 
- Remove unused Callgrind documentation entities.
- Link to Cachegrind docs within the current set, not the version on the
  website.

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

16 years agoRemove man-callgrind.xml, because Callgrind no longer has a separate man
Nicholas Nethercote [Thu, 6 Aug 2009 00:31:28 +0000 (00:31 +0000)] 
Remove man-callgrind.xml, because Callgrind no longer has a separate man
page (it hasn't for a long time).

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

16 years agoOverhaul the BBV manual chapter, mostly. Also tweak BBV's usage message to
Nicholas Nethercote [Wed, 5 Aug 2009 23:59:05 +0000 (23:59 +0000)] 
Overhaul the BBV manual chapter, mostly.  Also tweak BBV's usage message to
match the docs better.

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

16 years agoDocument the 'cc' param of VG_(malloc) et al.
Nicholas Nethercote [Wed, 5 Aug 2009 22:51:17 +0000 (22:51 +0000)] 
Document the 'cc' param of VG_(malloc) et al.

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

16 years agoFix Lackey test breakage.
Nicholas Nethercote [Wed, 5 Aug 2009 22:13:23 +0000 (22:13 +0000)] 
Fix Lackey test breakage.

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

16 years agoMore docs build tweaks:
Nicholas Nethercote [Wed, 5 Aug 2009 08:08:18 +0000 (08:08 +0000)] 
More docs build tweaks:

- Actually remove the dead docs/images/massif*.png files (this was meant to
  happen in r10720).

- Inline $TOOL/docs/Makefile.am into $TOOL/Makefile.am for all 10 tools.  10
  fewer Makefile.am files FTW!

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

16 years agoVarious docs build tweaks:
Nicholas Nethercote [Wed, 5 Aug 2009 07:39:45 +0000 (07:39 +0000)] 
Various docs build tweaks:

- Remove roadmap.txt, as we haven't used it for a while and Bugzilla does it
  better.

- Inline docs/{internals,images,xml,lib}/Makefile.am into docs/Makefile.am,
  because they're very simple.  Fewer Makefile.am files is good.

- Remove the dead docs/images/massif*.png files and all references to them.

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

16 years agoUse actual URL links in the BBV docs.
Nicholas Nethercote [Wed, 5 Aug 2009 07:20:15 +0000 (07:20 +0000)] 
Use actual URL links in the BBV docs.

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

16 years agoTweaks to Ptrcheck's manual chapter.
Nicholas Nethercote [Wed, 5 Aug 2009 07:15:28 +0000 (07:15 +0000)] 
Tweaks to Ptrcheck's manual chapter.

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

16 years ago- Rejigged Lackey's manual
Nicholas Nethercote [Wed, 5 Aug 2009 06:57:45 +0000 (06:57 +0000)] 
- Rejigged Lackey's manual
- Made it count calls to main() by default, since _dl_runtime_resolve() no
  longer appears to exist.
- A couple of other minor Lackey things.

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

16 years agoVarious fix-ups for Memcheck's manual chapter.
Nicholas Nethercote [Wed, 5 Aug 2009 06:34:27 +0000 (06:34 +0000)] 
Various fix-ups for Memcheck's manual chapter.

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

16 years agoMove command-line option details after the description of Memcheck's error
Nicholas Nethercote [Wed, 5 Aug 2009 05:11:02 +0000 (05:11 +0000)] 
Move command-line option details after the description of Memcheck's error
messages, since that's an order that will make more sense for a newbie.

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

16 years agoAugment a comment.
Nicholas Nethercote [Wed, 5 Aug 2009 05:05:15 +0000 (05:05 +0000)] 
Augment a comment.

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

16 years agoAdded documentation for --ignore-ranges. It's not very good, though, if
Nicholas Nethercote [Wed, 5 Aug 2009 04:57:44 +0000 (04:57 +0000)] 
Added documentation for --ignore-ranges.  It's not very good, though, if
anyone can explain clearly why it's useful and wants to add that information
that would be helpful.

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

16 years agoPut Memcheck's command line options in the manual in the same order as its
Nicholas Nethercote [Wed, 5 Aug 2009 04:54:51 +0000 (04:54 +0000)] 
Put Memcheck's command line options in the manual in the same order as its
usage message.

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

16 years agoMore Massif manual tweaks.
Nicholas Nethercote [Wed, 5 Aug 2009 04:04:53 +0000 (04:04 +0000)] 
More Massif manual tweaks.

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

16 years agoComment and docs wibbles.
Nicholas Nethercote [Wed, 5 Aug 2009 02:02:31 +0000 (02:02 +0000)] 
Comment and docs wibbles.

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

16 years agoVarious minor tweaks to the distribution docs.
Nicholas Nethercote [Tue, 4 Aug 2009 07:02:54 +0000 (07:02 +0000)] 
Various minor tweaks to the distribution docs.

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

16 years agoAdd a bit more to Massif's manual chapter.
Nicholas Nethercote [Tue, 4 Aug 2009 06:48:09 +0000 (06:48 +0000)] 
Add a bit more to Massif's manual chapter.

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

16 years agoA couple of minor Massif manual improvements.
Nicholas Nethercote [Tue, 4 Aug 2009 06:10:30 +0000 (06:10 +0000)] 
A couple of minor Massif manual improvements.

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

16 years agoOverhaul Massif's manual, and a few minor related things.
Nicholas Nethercote [Tue, 4 Aug 2009 05:59:46 +0000 (05:59 +0000)] 
Overhaul Massif's manual, and a few minor related things.

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

16 years agoVarious clean-ups, mostly in chapter 3.
Nicholas Nethercote [Tue, 4 Aug 2009 05:24:46 +0000 (05:24 +0000)] 
Various clean-ups, mostly in chapter 3.

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

16 years agotweak
Nicholas Nethercote [Tue, 4 Aug 2009 02:35:09 +0000 (02:35 +0000)] 
tweak

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

16 years agoVarious option-related tweaks:
Nicholas Nethercote [Tue, 4 Aug 2009 02:32:55 +0000 (02:32 +0000)] 
Various option-related tweaks:

- Match the ordering of the non-tool-specific options in the usage message
  with the order in the user manual.  As a result, we now always print
  --alignment and --trace-malloc in the core's usage messages, which saves
  malloc-replacing tools from doing it themselves (and brings it in line
  with options that only apply to error-collecting tools).

- Improved the presentation of the Vex options with --help-debug.

- Removed documentation of -d in the manual because it's a debugging-only flag.

- Documented --read-var-info in the manual.  This fixes bug 201169.

- Renamed --auto-run-dsymutil as --dsymutil and documented it in the usage
  message.

- Fixed an XML error in manual-core-adv.xml.

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

16 years agoThis wasn't supposed to be part of r10701.
Nicholas Nethercote [Tue, 4 Aug 2009 01:16:57 +0000 (01:16 +0000)] 
This wasn't supposed to be part of r10701.

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

16 years agoVarious manual fix-ups:
Nicholas Nethercote [Tue, 4 Aug 2009 01:16:01 +0000 (01:16 +0000)] 
Various manual fix-ups:
- Use "heap blocks" rather than "malloc'd blocks" as heap blocks covers
  calloc, realloc, new, new[], memalign, etc.

- Used "GDB" and "GCC" throughout rather than "gcc" and "gdb".

- Made various tag uses more consistent.

- Greatly clarified the instructions on --xml=yes and its friends.

- Lots of other little improvements and fixes to out-of-date things and
  Linux-centric things, mostly in Section 2.

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

16 years agoThis should have been removed in r10699.
Nicholas Nethercote [Tue, 4 Aug 2009 01:08:56 +0000 (01:08 +0000)] 
This should have been removed in r10699.

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

16 years agoDon't wrap the "Command:" line, as doing so makes cutting-and-pasting the
Nicholas Nethercote [Tue, 4 Aug 2009 00:27:56 +0000 (00:27 +0000)] 
Don't wrap the "Command:" line, as doing so makes cutting-and-pasting the
command difficult.  Also, when wrapping I was failing to factor in the
escape chars needed for chars like ' ';  now I don't need to.  And this
means the 'long-command' test is no longer necessary.  In other words,
favour utility and simplicity over aesthetics.

Also, the "Command:" line wasn't being wrapped in <line></line> in XML
output.  It now is.

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

16 years agoIgnore structure members with no location - thiscan happen with static
Tom Hughes [Mon, 3 Aug 2009 14:39:54 +0000 (14:39 +0000)] 
Ignore structure members with no location - thiscan happen with static
const members in C++ code which are compile time constants that do no
exist in the class. They're not of any interest to us so we ignore them.

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

16 years agoPatch to remember/restore CFA state on DW_CFA_{remember,restore}_state.
Julian Seward [Mon, 3 Aug 2009 13:47:04 +0000 (13:47 +0000)] 
Patch to remember/restore CFA state on DW_CFA_{remember,restore}_state.
In addition to that it fixes a bug in restore_ctx handling, where it
was restoring the state from the same stack level in restore_ctx
context as is current in ctx, which is wrong, the CIE likely has no
DW_CFA_remember_state at all, while the FDE could have one.
(Jakub Jelinek).  This is #200029, patch in comment #2.

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

16 years agoUse Dwarf3 section version numbers as specified in Appendix F of the
Julian Seward [Mon, 3 Aug 2009 13:29:42 +0000 (13:29 +0000)] 
Use Dwarf3 section version numbers as specified in Appendix F of the
Dwarf3 standard.  (Jakub Jelinek).  This is #200029, patch in comment
#1.

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

16 years agoHandle some more DW_TAG_subrange_type cases which Fedora 11's
Tom Hughes [Mon, 3 Aug 2009 08:50:58 +0000 (08:50 +0000)] 
Handle some more DW_TAG_subrange_type cases which Fedora 11's
gcc 4.4.0 seems to generate.

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

16 years agoWith the recent VG_(message) change,
Nicholas Nethercote [Mon, 3 Aug 2009 01:38:56 +0000 (01:38 +0000)] 
With the recent VG_(message) change,
VALGRIND_{PRINTF,PRINTF_BACKTRACE,INTERNAL_PRINTF} were no longer appending
newlines.  This meant that --trace-malloc=yes spewed everything onto a
single line, among other things.

Rather than adding the newline back in, I chose to offically change their
behaviour to not add the newlines, as this is more flexible (and the reason
for the underlying VG_(message) change).  I updated all the relevant places
I could find.

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

16 years agoMinor improvements to printing w.r.t. sync checking / resyncing.
Julian Seward [Mon, 3 Aug 2009 01:05:18 +0000 (01:05 +0000)] 
Minor improvements to printing w.r.t. sync checking / resyncing.

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

16 years agoAdd /Applications to the list of directories in which not to try to auto-run dsymutil.
Julian Seward [Mon, 3 Aug 2009 01:04:18 +0000 (01:04 +0000)] 
Add /Applications to the list of directories in which not to try to auto-run dsymutil.

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

16 years agoForgot to add these in r10690.
Nicholas Nethercote [Mon, 3 Aug 2009 00:23:16 +0000 (00:23 +0000)] 
Forgot to add these in r10690.

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

16 years agoIn the "Command:" line in the preamble, escape special chars such as ' ' and
Nicholas Nethercote [Sun, 2 Aug 2009 23:03:06 +0000 (23:03 +0000)] 
In the "Command:" line in the preamble, escape special chars such as ' ' and
'\\'.

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

16 years agoReinstating a heavily modified version of r10402. This is to do
Julian Seward [Sun, 2 Aug 2009 12:21:31 +0000 (12:21 +0000)] 
Reinstating a heavily modified version of r10402.  This is to do
with #190429.

This patch (originally from Jakub Jelinek) makes the redir of strlen
in ld.so on amd64-linux ld.so mandatory, but only for glibc 2.10 and
above.  For glibc-2.2 (our earliest supported version) to glibc-2.9
it is still optional.

Also, makes more verbose, the message that is printed if a mandatory
ld.so redirection on Linux cannot be set up.

Is believed to fix #190429.

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

16 years agoChange name of H1 history flag from --history-level=partial (which I can
Julian Seward [Sun, 2 Aug 2009 10:16:03 +0000 (10:16 +0000)] 
Change name of H1 history flag from --history-level=partial (which I can
never remember) to --history-level=approx.

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

16 years agoAttend to space leaks, to the extent that I can.
Julian Seward [Sun, 2 Aug 2009 10:15:07 +0000 (10:15 +0000)] 
Attend to space leaks, to the extent that I can.

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

16 years agoSmall improvements, including some commenting, for the H1 history
Julian Seward [Sun, 2 Aug 2009 09:34:35 +0000 (09:34 +0000)] 
Small improvements, including some commenting, for the H1 history
mechanism.

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

16 years agoRestored two of the suppression patterns removed in the previous commit.
Bart Van Assche [Sun, 2 Aug 2009 08:35:05 +0000 (08:35 +0000)] 
Restored two of the suppression patterns removed in the previous commit.

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

16 years agoCleaned up DRD's Linux suppression patterns:
Bart Van Assche [Sun, 2 Aug 2009 07:46:43 +0000 (07:46 +0000)] 
Cleaned up DRD's Linux suppression patterns:
- Grouped the three suppression patterns for ld into a single suppression
  pattern.
- Assigned more descriptive names to the suppression patterns.
- Improved suppression pattern documentation.
- Removed suppression patterns that were added before VEX supported atomic
  instructions and that are no longer necessary with the current version
  of VEX.

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

16 years agoReverted to r10509.
Bart Van Assche [Fri, 31 Jul 2009 19:00:05 +0000 (19:00 +0000)] 
Reverted to r10509.

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

16 years agoAdded an output variant for the pth_cancel_locked regression test.
Bart Van Assche [Fri, 31 Jul 2009 18:49:29 +0000 (18:49 +0000)] 
Added an output variant for the pth_cancel_locked regression test.
Apparently when canceling a thread waiting inside pthread_cond_wait()
on Linux the specified mutex is left unlocked while on Darwin the
mutex specified in the pthread_cond_wait() call is reacquired before
the thread is terminated.

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

16 years agoReport mutex errors for each different mutex even if the call stacks are identical.
Bart Van Assche [Fri, 31 Jul 2009 18:45:49 +0000 (18:45 +0000)] 
Report mutex errors for each different mutex even if the call stacks are identical.

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

16 years agoBuilds again on Darwin.
Bart Van Assche [Fri, 31 Jul 2009 17:59:28 +0000 (17:59 +0000)] 
Builds again on Darwin.

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

16 years agoImplemented a more systematic approach for intercepting POSIX threads
Bart Van Assche [Fri, 31 Jul 2009 17:31:44 +0000 (17:31 +0000)] 
Implemented a more systematic approach for intercepting POSIX threads
functions: for each function name to intercept, intercept the function
name itself, the function name with @* appended (versioned symbols on
Linux) and the function name with $* appended (versioned symbols on
Darwin). Updated filter_stderr such that symbol versions are removed.
Updated the expected output files that contain names of intercepted
functions.

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

16 years ago(almost completely just function renaming):
Julian Seward [Fri, 31 Jul 2009 09:41:29 +0000 (09:41 +0000)] 
(almost completely just function renaming):

* VG_(find_seginfo): incrementally rearrange the DebugInfo list, like
  most of the other list-searching functions do.

* rename all VG_(*seginfo*) functions exported from m_debuginfo to
  VG_(*DebugInfo*).  "seginfo" was a historical name which was mostly
  but not completely, done away with some time back.

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

16 years agoDarwin-specific followup to r10676 (helgrind: Don't instrument any code in ld.so).
Julian Seward [Fri, 31 Jul 2009 08:52:39 +0000 (08:52 +0000)] 
Darwin-specific followup to r10676 (helgrind: Don't instrument any code in ld.so).

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

16 years agoDon't instrument any code in ld.so. Doing so merely generates a large
Julian Seward [Fri, 31 Jul 2009 08:46:35 +0000 (08:46 +0000)] 
Don't instrument any code in ld.so.  Doing so merely generates a large
number of races which have to be expensively suppressed, so it's
better not to do so.

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

16 years agoOnly consider two error contexts as equivalent if the contexts have another
Bart Van Assche [Fri, 31 Jul 2009 08:45:02 +0000 (08:45 +0000)] 
Only consider two error contexts as equivalent if the contexts have another
type than "data race error" or if both data race error contexts refer to the
same access type and the same access size.

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

16 years agoReport an error message instead of triggering an assertion failure when a non-existin...
Bart Van Assche [Fri, 31 Jul 2009 08:26:17 +0000 (08:26 +0000)] 
Report an error message instead of triggering an assertion failure when a non-existing thread ID is passed to pthread_join() or pthread_cancel().

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

16 years agoUpdated Subversion ignore list.
Bart Van Assche [Fri, 31 Jul 2009 07:50:17 +0000 (07:50 +0000)] 
Updated Subversion ignore list.

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

16 years agoFix compile error.
Nicholas Nethercote [Fri, 31 Jul 2009 05:19:29 +0000 (05:19 +0000)] 
Fix compile error.

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

16 years agoPrettify the messages printed when segment mismatches happen. Also get rid
Nicholas Nethercote [Fri, 31 Jul 2009 05:06:29 +0000 (05:06 +0000)] 
Prettify the messages printed when segment mismatches happen.  Also get rid
of two unnecessary gotos.

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

16 years agowibble
Nicholas Nethercote [Fri, 31 Jul 2009 00:07:55 +0000 (00:07 +0000)] 
wibble

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

16 years agoDon't bother printing "My PID" when logging to a file or socket, as that
Nicholas Nethercote [Thu, 30 Jul 2009 23:36:43 +0000 (23:36 +0000)] 
Don't bother printing "My PID" when logging to a file or socket, as that
value is shown at the start of every output line.

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

16 years agoNow that we always print the command, no need to reprint it when logging to
Nicholas Nethercote [Thu, 30 Jul 2009 23:35:11 +0000 (23:35 +0000)] 
Now that we always print the command, no need to reprint it when logging to
file or a socket.  And tweak how the PIDs are printed.

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

16 years agoDon't print the command in the preamble with --xml=yes.
Nicholas Nethercote [Thu, 30 Jul 2009 23:14:55 +0000 (23:14 +0000)] 
Don't print the command in the preamble with --xml=yes.

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

16 years agoAvoid ampersands that seem to be causing XML-to-PDF conversion troubles.
Nicholas Nethercote [Thu, 30 Jul 2009 22:21:24 +0000 (22:21 +0000)] 
Avoid ampersands that seem to be causing XML-to-PDF conversion troubles.

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

16 years agoUse <variablelist> for ms_print's and cg_annotate's options list.
Nicholas Nethercote [Thu, 30 Jul 2009 04:48:05 +0000 (04:48 +0000)] 
Use <variablelist> for ms_print's and cg_annotate's options list.

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

16 years agoMan page fix.
Nicholas Nethercote [Thu, 30 Jul 2009 04:27:26 +0000 (04:27 +0000)] 
Man page fix.

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

16 years agoRemove some not-very useful info that tends to get out of date.
Nicholas Nethercote [Thu, 30 Jul 2009 04:25:02 +0000 (04:25 +0000)] 
Remove some not-very useful info that tends to get out of date.

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

16 years agoRemove lots of boilerplate text (tool descriptions) that tends to get out of
Nicholas Nethercote [Thu, 30 Jul 2009 04:22:09 +0000 (04:22 +0000)] 
Remove lots of boilerplate text (tool descriptions) that tends to get out of
date from the man page.

Make the man page match the ordering in the user manual.

Put Nulgrind last in the user manual.

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

16 years agoUnbreak 'make dist'.
Nicholas Nethercote [Thu, 30 Jul 2009 04:07:10 +0000 (04:07 +0000)] 
Unbreak 'make dist'.

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

16 years agoImprove the "acting on Cachegrind's info" section.
Nicholas Nethercote [Thu, 30 Jul 2009 03:21:42 +0000 (03:21 +0000)] 
Improve the "acting on Cachegrind's info" section.

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

16 years agoWe currently use a mix of <option> and <computeroutput> tags for command
Nicholas Nethercote [Thu, 30 Jul 2009 02:57:52 +0000 (02:57 +0000)] 
We currently use a mix of <option> and <computeroutput> tags for command
line options.  This commit changes them to all <option>.

Also make consistent how options with multiple names (eg. -h --help) are
shown.

Also, remove section describing --help and --version in Callgrind's chapter;
these aren't necessary and are presumably a hangover from when Callgrind was
a separate tool.

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

16 years agoImprove formatting of a command.
Nicholas Nethercote [Thu, 30 Jul 2009 02:27:17 +0000 (02:27 +0000)] 
Improve formatting of a command.

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

16 years agoPrint the command being run at startup. It wraps to avoid going over 80
Nicholas Nethercote [Wed, 29 Jul 2009 23:34:49 +0000 (23:34 +0000)] 
Print the command being run at startup.  It wraps to avoid going over 80
chars wide whenever possible.  Finishes off bug 197933.

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

16 years agoImprove futex system call support. Patch from BZ#201757 which I have
Tom Hughes [Wed, 29 Jul 2009 11:09:01 +0000 (11:09 +0000)] 
Improve futex system call support. Patch from BZ#201757 which I have
attempted to cross check against current kernel code. Reading the
futex system call code mostly just made my head hurt however...

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

16 years agoNote results of investigation into segfaulting of tc22 on H on MacOS.
Julian Seward [Wed, 29 Jul 2009 10:57:09 +0000 (10:57 +0000)] 
Note results of investigation into segfaulting of tc22 on H on MacOS.

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

16 years agoAdd a suppression apparently required by Darwin 9.7.0, 32-bit.
Julian Seward [Wed, 29 Jul 2009 07:00:01 +0000 (07:00 +0000)] 
Add a suppression apparently required by Darwin 9.7.0, 32-bit.

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

16 years agoDon't include "how to write a tool" in the user manual -- it's in the tech
Nicholas Nethercote [Wed, 29 Jul 2009 03:34:56 +0000 (03:34 +0000)] 
Don't include "how to write a tool" in the user manual -- it's in the tech
docs, and the chapter/section numbering doesn't match the rest of the
numbering in the user manual.

Also change some of the names of the links in that file to match the
filename.

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