138 Commits

Author SHA1 Message Date
Nicholas Nethercote
a8c9970a34 Cleaned up the mess that was the treatment of "below main" functions such as
'__libc_start_main', in Massif, m_debuginfo and m_stacktrace.  As part of
this, --show-below-main is now visible to tools, and Massif pays attention
to it.

Improved the description of --show-below-main=yes in the manual.

Replaced some instances of "__libc_start_main" in the test *.exp files with
"(below main)", which is what will actually be seen.  Also updated
scalar.stderr.exp*, which should make it get closer to actually passing.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9131
2009-02-10 06:48:00 +00:00
Nicholas Nethercote
fa7ee0dc5b Add an FAQ about attaching Valgrind to already-running programs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8911
2009-01-06 05:54:45 +00:00
Julian Seward
5edaee8191 Bump the version stuff.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8875
2008-12-23 16:34:19 +00:00
Julian Seward
c7d583fcbd Minor updates for 3.4.0. Also fix a large number of missing <para>
and </para> tags.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8861
2008-12-22 01:00:15 +00:00
Nicholas Nethercote
18216143d9 Update an FAQ to account for --track-origins=yes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8824
2008-12-13 22:27:05 +00:00
Dirk Mueller
706dd9fa67 ignore .valgrindrc files that are world writeable
or not owned by the current user (CVE-2008-4865)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8798
2008-11-22 12:03:19 +00:00
Julian Seward
217f01f3e2 * add some assertions to frame-level wildcarding mechanism
* remove a couple of tabs

* clarify related documentation a bit



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8727
2008-11-04 11:29:19 +00:00
Julian Seward
279a7e01cf Update documentation on suppressions following addition of frame-level
wildcarding in suppressions (r8725).  Also clarify a couple of bits of
wording.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8726
2008-11-04 01:38:02 +00:00
Julian Seward
07ac95b348 Get rid of longstanding and now pointless restriction that disallowed
using --db-attach=yes and --trace-children=yes together.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8722
2008-10-30 13:26:29 +00:00
Julian Seward
a11c045d49 XML-ise exp-ptrcheck's documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8702
2008-10-23 13:15:23 +00:00
Bart Van Assche
6e368a9f37 Renamed exp-drd directory into drd. Moved drd from the experimental tool class to the class of regular tools.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8361
2008-07-04 15:14:35 +00:00
Bart Van Assche
19747fa682 Added entry for DRD manual.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8238
2008-06-16 20:31:16 +00:00
Nicholas Nethercote
bb0819a3bb Fix a bug in Massif and Cachegrind, whereby if program's forked, the child
wrote into the parent's output file even if %p was specified.

Josef, I think Callgrind does not have this bug, but you might want to say
something about forking in the manual, as I have done for Massif and
Cachegrind.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8154
2008-05-29 23:09:52 +00:00
Julian Seward
112fc680c0 Update manual re number of suppression files allowed. See #161487.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8068
2008-05-14 06:43:10 +00:00
Nicholas Nethercote
8a2a6b99ce minor tweak
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7368
2008-02-03 22:35:21 +00:00
Julian Seward
4f282e99ce Improve handling of programs which require very large main thread
stacks.  Instead of hardwiring the main thread stack to a max of 16MB
and segfaulting the app beyond that point, allow the user to specify
the main stack size using the new flag --main-stacksize=<number>.

If said flag is not present, the current default, which is "MIN(16GB,
current ulimit -s value)", is used.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7302
2007-12-18 01:49:23 +00:00
Nicholas Nethercote
d17c45b9d1 Document flakiness of NON_SIMD_CALL* in comments and the manual.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7279
2007-12-05 21:51:50 +00:00
Julian Seward
2fc4ae0c18 - Remove extraneous 'o' (will be stored in svn server for possible
future use)

- Fix tag

- Fix long line which wraps around in html output



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7247
2007-11-28 01:55:29 +00:00
Nicholas Nethercote
5293c35183 Tweaked the tool-writing docs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7237
2007-11-27 01:59:02 +00:00
Josef Weidendorfer
1752567fb4 callgrind: support for --callgrind-out-file
This removes the --base option, which is replaced by
--callgrind-out-file.
Plus manual update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7235
2007-11-27 01:27:12 +00:00
Julian Seward
0993154060 Fix broken link.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7214
2007-11-25 14:09:26 +00:00
Julian Seward
8e8a7e5754 Very minor changes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7209
2007-11-25 00:56:51 +00:00
Julian Seward
5738a8c1ac Create a new chapter in the Valgrind Manual: a chapter containing info
on some advanced aspects of the core (client requests, function
wrapping) and move stuff from the main core manual into it.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7208
2007-11-25 00:55:11 +00:00
Nicholas Nethercote
d6b40a390d Fixed up the log file mess throughout, including the docs. This killed
--log-file-qualifier and --log-file-exactly.

Updated NEWS some in preparation for 3.3.0.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7202
2007-11-23 01:41:32 +00:00
Julian Seward
9101880b1f Update documents in preparation for 3.3.0, and restructure them
somewhat to move less relevant material out of the way to some extent.
The main changes are:

* Update date and version info

* Mention other tools in the quick-start guide

* Document --child-silent-after-fork

* Rearrange order of sections in the Valgrind Core chapter, to move
  advanced stuff (client requests) to the end, and compact stuff
  relevant to the majority of users towards the front

* Move MPI debugging stuff from the Core manual (a nonsensical place
  for it) to the Memcheck chapter

* Update the manual's introductory chapter a bit

* Connect up new tech docs summary page, and disconnect old and
  very out of date valgrind/memcheck tech docs

* Add section tags to the Cachegrind manual, to stop xsltproc
  complaining about their absence



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7199
2007-11-22 01:21:56 +00:00
Julian Seward
595181679a Add a page listing papers etc about Valgrind. Cut-down version of
http://valgrind.org/docs/pubs.html.  Could do with improved
formatting, but is at least a start.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7198
2007-11-22 01:07:57 +00:00
Julian Seward
5e2a8da202 Spelling fixes and misc tidying for the manual. (Brian Gough)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7173
2007-11-17 09:43:25 +00:00
Julian Seward
af406f51e9 Merge (from branches/THRCHECK) misc build-system changes. Nothing
significant.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7128
2007-11-09 23:30:51 +00:00
Nicholas Nethercote
c7bef26e28 Suggest compiling with --Wall.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7025
2007-10-18 23:14:48 +00:00
Nicholas Nethercote
1fe5f40db4 clarify a paragraph
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7015
2007-10-17 22:29:08 +00:00
Nicholas Nethercote
c970063ea0 Add an FAQ.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6910
2007-09-25 22:05:04 +00:00
Nicholas Nethercote
d5ecca671e Add a warning about --log-file-exactly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6857
2007-09-17 23:15:35 +00:00
Julian Seward
b91b51b42b Merge (from 3.2 branch) r6743 (Edit the manual to bring it up to date
and make some of the wording a bit more professional sounding.)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6745
2007-05-23 21:58:33 +00:00
Nicholas Nethercote
dea2377dd9 Clarify --trace-children a little.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6741
2007-05-15 03:59:23 +00:00
Julian Seward
37243a218c Update slightly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6659
2007-03-26 02:11:17 +00:00
Nicholas Nethercote
6dc697c0e6 update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6624
2007-02-27 22:31:45 +00:00
Nicholas Nethercote
27321d94ab correctify
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6592
2007-02-16 11:57:18 +00:00
Julian Seward
62d6f5c373 Fix 'make html-docs' and 'make print-docs'.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6389
2006-12-10 02:59:16 +00:00
Nicholas Nethercote
0a12dbcaf4 Updated docs on tool-writing. Moved them into the user manual.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6339
2006-10-23 21:21:48 +00:00
Nicholas Nethercote
df0cb32d94 Link to dissertation with a proper link.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6334
2006-10-21 23:00:59 +00:00
Nicholas Nethercote
525ca8b1ee Removed the file format description from cg_annotate.in, because it's in the
Cachegrind docs.

Removed the Cachegrind tech docs, because they're so out of date to be
useless.  My PhD dissertation gives a much better description of how
Cachegrind works.  (I mentioned this in the Cachegrind user manual.)  The
only still-useful part of Cachegrind's tech docs, the output file format
description, I moved into the Cachegrind user manual.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6332
2006-10-21 22:22:59 +00:00
Nicholas Nethercote
3234c4c688 Add a FAQ.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6326
2006-10-20 22:16:57 +00:00
Julian Seward
a51a59e9dc Finalise 3.2.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5957
2006-06-06 21:41:22 +00:00
Julian Seward
5e16c2543f Finalise.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5930
2006-05-25 18:37:49 +00:00
Julian Seward
a2568f1f08 Update for 3.2.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5915
2006-05-21 15:20:19 +00:00
Julian Seward
874d81903e A new flag, --error-exitcode=, has been added, to allow changing the
exit code in runs where Valgrind reported errors.  Fixes #121814 and
#126517.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5897
2006-05-12 23:50:15 +00:00
Julian Seward
6c0bb3620a Oops, this should have been in r5895.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5896
2006-05-12 23:35:10 +00:00
Julian Seward
0eb39e5af3 Increase number of unsuppressed errors shown before cutoff by a factor
of 100.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5895
2006-05-12 23:12:30 +00:00
Nicholas Nethercote
1a7237d77b Remove tool-specific code (which says which tools allow XML) from the core
by introducing a new "need":  VG_(needs_xml_output)().


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5854
2006-04-16 10:25:43 +00:00
Nicholas Nethercote
994ecb6cac Add a FAQ.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5831
2006-04-06 14:04:48 +00:00