Commit Graph

47 Commits

Author SHA1 Message Date
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
7852ab7f22 Make the BSD-style license notices slightly more accurate.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5803
2006-03-31 12:05:04 +00:00
Nicholas Nethercote
991367c922 Merge in the COMPVBITS branch to the trunk. This is a big change to
Memcheck, replacing the 9-bits-per-byte shadow memory representation to a
2-bits-per-byte representation (with possibly a little more on the side) by
taking advantage of the fact that extremely few memory bytes are partially
defined.

For the SPEC2k benchmarks with "test" inputs, this speeds up Memcheck by a
(geometric mean) factor of 1.20, and reduces the size of shadow memory by a
(geometric mean) factor of 4.26.

At the same time, Addrcheck is removed.  It hadn't worked for quite some
time, and with these improvements in Memcheck its raisons-d'etre have
shrivelled so much that it's not worth the effort to keep around.  Hooray!

Nb: this code hasn't been tested on PPC.  If things go wrong, look first in
the fast stack-handling functions (eg. mc_new_mem_stack_160,
MC_(helperc_MAKE_STACK_UNINIT)).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5791
2006-03-27 11:37:07 +00:00
Julian Seward
c287a8837d Add a comment about the library's license.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5779
2006-03-20 00:54:54 +00:00
Julian Seward
70bdd1b273 Yet another essay: document the MPI wrapper library.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5778
2006-03-19 18:19:11 +00:00
Julian Seward
e97332eaee Minor futzing (fontification, etc) of the function-wrappers documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5764
2006-03-14 00:56:29 +00:00
Julian Seward
315601a4b4 First pass at documenting how to use the function-wrapping facility.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5763
2006-03-13 13:40:57 +00:00
Julian Seward
76fa726781 Update Limitations section following recent ppc hackery.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5643
2006-02-13 05:15:27 +00:00
Julian Seward
e8d296348a Add configure flags --enable-only64bit and --enable-only32bit with
subvert the biarch build system, something that is sometimes
convenient to do.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5600
2006-01-28 18:39:09 +00:00
Donna Robinson
9888e86b06 Tidying up stuff re generating manpage from *.xml docs
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5277
2005-12-03 23:02:33 +00:00
Donna Robinson
e53a6fba14 The valgrind manpage is now auto-generated directly from the
*.xml docs.  No more groffly/nroffly editing.
How cool is docbook ?



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5276
2005-12-03 22:33:29 +00:00
Donna Robinson
c2aa0a5eea Post-release changes:
- removed a reference to cachegrind dot org from mc-tech-docs.xml
- in an effort to simplify future borked links, replaced all valgrind 
  website urls with entities so now we just have to change one string.
- new stylesheet to create the docs to 'fit' into the website
- added build rules 'make website-docs' + make download-docs
  to /docs/Makefile.am




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5239
2005-11-27 04:10:00 +00:00
Donna Robinson
2022dbf52c Due to package upgrades (docbook, passivetex), removed some
bug-patches and created some new ones in the stylesheets.
Also tweaked some files to structure the xml properly.
The FAQ and the Quick-Start are now 'articles' inside a book-wrapper,
which is as it should be.

FAQ.xml
- due to various passivetex bug fixes, the faq is now a properly 
  structured xml qandaset document

quick-start-guide.xml:
manual.xml
- Fixed some passivetex-workaround kludges:
  legalnotice -> author

manual-core.xml:
For readability, added '<command>' to varlistentry items 
since passivetex (sigh) will no longer indent the para text.

index.xml:
- loads of white-space readability tweaks here and there.

tech-docs.xml
dist-docs.xml
manual.xml
- additional entries to <bookinfo> for compatability with
  the rest of the docs.

/docs/Makefile.am
- added stuff to use the new vg-faq2txt.xsl stylesheet

/docs/lib/Makefile.am
- updated to reflect current contents of /docs/lib/
- removed refs to vg-html-single as is never ever used

/docs/lib/vg-fo.xsl
- massively updated to reflect losing old bugs and gaining new ones

/docs/lib/vg-common.xsl
- deleted as only contained two lines common to html and fo,
  so not worth the bother of hauling around

/docs/lib/vg-html-chunk.xsl
- added what was in vg-common.xsl

/docs/lib/line-wrap.xsl
/docs/lib/faq2text.xsl
- two new stylesheet files for transforming FAQ.xml to FAQ.txt



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5234
2005-11-25 05:36:48 +00:00
Julian Seward
c0bd9bb622 Document PPC32 FP limitations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5198
2005-11-18 21:19:46 +00:00
Nicholas Nethercote
aba486d880 Stuff about core-dump reinstate-ment in the manual and release notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5193
2005-11-18 17:36:01 +00:00
Nicholas Nethercote
7cd6f521cc Update documentation about --show-below-main.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5189
2005-11-18 14:59:00 +00:00
Julian Seward
86c998a8de Update manual for 3.1.0, sections <= manual-core.html.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5135
2005-11-15 19:51:04 +00:00
Nicholas Nethercote
0947378009 Don't imply that the --tool option is mandatory.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5100
2005-11-12 18:53:50 +00:00
Nicholas Nethercote
9d374f4530 Rename --simulation-hints as --sim-hints for brevity.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5099
2005-11-12 18:21:40 +00:00
Julian Seward
63bfdbc99f Reinstate timestamping, sort-of, having trashed VG_(ctime) as part of
the glibc-removal process.  Timestamps are now printed in terms of
elapsed wallclock time since startup, shown as days, hours, minutes,
seconds and milliseconds.  The arithmetic is done with 32-bit unsigned
ints, so people doing Valgrind runs that last longer than 49.71 days
are going to see some funny results :-)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5042
2005-11-08 19:01:44 +00:00
Julian Seward
31f1119c9d Document the --kernel-variant= option.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5040
2005-11-08 15:52:36 +00:00
Tom Hughes
42c89442ee Remove "pid" to make docs align with reality.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5006
2005-11-04 17:13:24 +00:00
Julian Seward
7ee131a3e3 Increase the threshold above which new errors are not shown from 300
unique / 30000 total to 1000 unique / 100000 total.  Programs are
generally bigger now than 3 years ago.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4957
2005-10-20 01:57:29 +00:00
Julian Seward
2aa34e2afe Remove all remaining references to pointercheck. It's sad to see it
go, but realistically we can't implement it portably, at least without
considerable performance overhead and some additional complexity.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4956
2005-10-20 01:37:15 +00:00
Julian Seward
4e2059f06a The Spin-Doctor arrives in Valgrind-Land: rename --weird-hacks= to
--simulation-hints=.  Bwaha.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4955
2005-10-20 01:09:57 +00:00
Julian Seward
38b71df161 Get rid of the "ioctl-mmap" weird-hack flag.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4800
2005-09-28 01:14:32 +00:00
Nicholas Nethercote
3499945a8b Fix broken links in the manual. Bug #113190.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4778
2005-09-26 01:11:40 +00:00
Nicholas Nethercote
89561b4eed Note that SSE3 isn't supported.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4646
2005-09-13 21:03:46 +00:00
Donna Robinson
24f3eebe04 Added some anchors for core flags
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4264
2005-07-26 01:16:59 +00:00
Nicholas Nethercote
a269d9cb78 Clean up command-line args info in the manual and man page for 3.0.0
release.  



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4259
2005-07-25 23:18:44 +00:00
Nicholas Nethercote
1f14543221 Update docs for 3.0.0 release. Still to do: update command line options.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4246
2005-07-25 00:12:19 +00:00
Donna Robinson
a9b1a6cc57 Added some targets for massif & core options
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4005
2005-06-23 15:30:31 +00:00
Nicholas Nethercote
f174930b23 Final commit for the initial modularisation pass:
- Broke part of m_scheduler off into a new module m_threadstate.  It
  contains ThreadState, VG_(threads)[] and some basic operations on the
  thread table.  All simple stuff, the complex stuff stays in m_scheduler.
  This avoids lots of circular dependencies between m_scheduler and other
  modules.

- Managed to finally remove core.h and tool.h, double hurrah!

- Introduced pub_tool_basics.h and pub_core_basics.h, one of which is
  include by every single C file.

- Lots of little cleanups and changes related to the above.

- I even did a small amount of documentation updating.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3944
2005-06-19 01:24:32 +00:00
Robert Walsh
5d35d711ba Implement stack registration client requests. See the documentation
in the user manual for usage information.  The stack_changes.c file in
corecheck/tests contains a short example.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3846
2005-06-04 20:42:33 +00:00
Julian Seward
d86f35b2dc New flag --trace-cfi=yes|no [no], which is for debugging the CFI reader.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3583
2005-05-01 08:55:38 +00:00
Julian Seward
394ef03a88 Get rid of the --sloppy-malloc= flag and the functionality it
controlled (rounding user malloc requests up to a multiple of 4).
Subsequent changes to memcheck made it more or less pointless, it is a
time waster in the malloc/free path, and nobody ever used it AFAIK.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3522
2005-04-05 20:59:55 +00:00
Julian Seward
0e735dde57 In vg_memory.c, allow the stack-change threshold to be specified by a
command-line flag (--max-stackframe=number), rather than hardwiring it
to 2000000.  This is helpful for dealing with unruly Fortran programs
which want to allocate large arrays on the stack.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3512
2005-04-02 23:40:59 +00:00
Nicholas Nethercote
6c7e08a8f5 Documentation update. This should bring the core of the documentation
up to date with reality.  Please give this a proofread.

I ran out of steam at memcheck/docs/mc_techdocs.html, which is even more
hopelessly out of date.  I will note that cacheprof.org is some kind of
dental insurance company now...

MERGED, PAINFULLY, FROM CVS HEAD



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3321
2005-03-12 22:14:42 +00:00
Nicholas Nethercote
e2c5384124 De-document now-defunct command line options.
MERGED FROM CVS HEAD


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3271
2005-03-11 04:35:00 +00:00
Nicholas Nethercote
0331bb5f9e Fix broken xml tags.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3267
2005-03-11 02:43:17 +00:00
Julian Seward
9b03779a20 Implement --log-file-exactly= for when the user wants to specify
*exactly* the log file name.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3220
2005-01-11 14:01:02 +00:00
Julian Seward
6c9a668a42 Add a new variant for --gen-suppressions: --gen-suppressions=all,
which just prints a suppression for all reported errors without asking
questions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3219
2005-01-10 17:24:47 +00:00
Nicholas Nethercote
71525a2d57 Updated docs with all the changes that I'm aware of that happened since
Donna converted them to XML.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3173
2004-12-01 00:02:36 +00:00
Nicholas Nethercote
7a75a9f583 Overhauled the docs. Removed all the HTML files, put in XML files as
converted by Donna.  Hooked it into the build system so they are only
built when specifically asked for, and when doing "make dist".

They're not perfect;  in particular, there are the following problems:
- The plain-text FAQ should be built from FAQ.xml, but this is not
  currently done.  (The text FAQ has been left in for now.)

- The PS/PDF building doesn't work -- it fails with an incomprehensible
  error message which I haven't yet deciphered.

Nonetheless, I'm putting it in so others can see it.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3153
2004-11-30 10:43:45 +00:00