summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2011-08-18Add a new simulation hint, --sim-hints=fuse-compatible, which causessewardj1-0/+9
a bunch of file-related syscalls to be handled on the might-block syscall path rather than the fast syscall path. This fixes deadlocks when running some FUSE-specific filesystem codes. Fixes #278057. (Mike Shal, marfey@gmail.com) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11993 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-08-15Mention the --tool option in the manual page. Fixes #249970.tom2-2/+15
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11979 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-08-15Include the standard Fedora location in the list of places wheretom1-0/+1
we look for the docbook stylesheet for manual pages. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11978 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-28valgrind and tool mon. cmds prefixes changes + doc fixes + new vgdb optionsewardj1-51/+70
--cmd-time-out * changed prefixes of Valgrind core monitor commands from vg. to v. * removed prefixes of Tool monitor commands * memcheck leak_check 'leakpossible' arg renamed to 'possibleleak' * memcheck make_memory 'ifaddressabledefined' arg renamed to 'Definedifaddressable' (with uppercase D to avoid confusion with 'defined' arg). * vgdb options - Some doc updates : more logical option order documentation, specify 'standalone' for options aimed at standalone usage. - added option --cmd-time-out for standalone vgdb (comment of Josef Weindendorfer, needed to interface with a callgrind GUI) * updated tests according to the above. * updated documentation according to the above. * some additional minor doc fixes/clarifications (Philippe Waroquiers, philippe.waroquiers@skynet.be). Bug 214909 comment 111. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11844 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-28Delete the AIX5 port. The last release this worked for is 3.4.1,sewardj1-2/+1
and then only on AIX 5.2 and 5.3. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11842 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-26Remove references to Ptrcheck in the documentation, and replacesewardj5-40/+24
them as relevant with references to SGcheck. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11839 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-26Memcheck:sewardj1-7/+7
* add delta leak checking functionality * some editing of related manual sections (Philippe Waroquiers, philippe.waroquiers@skynet.be). Bug 214909 comment 105. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11838 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-25Minor documentation fixes for the GDB server. (Philippe Waroquiers,sewardj2-40/+35
philippe.waroquiers@skynet.be). Bug 214909 comment 106. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11834 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-18Minor GDBserver source tidying. Also a small usability fix: ifsewardj1-0/+7
--vgdb-error=N is specified, print a bit of text telling the user the magic commands to give GDB in order to attach to the process. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11822 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-17Move the GDBserver documentation from the "Valgrind core" chaptersewardj2-919/+926
to the "Valgrind core: advanced topics" chapter. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11821 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-17Edits for the GDBserver documentation.sewardj1-392/+440
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11820 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-07Add a fourth --smc-check= variant, --smc-check=all-non-file. Thissewardj1-10/+27
adds self-modifying-code checks to all guest code taken from mappings which are not file backed, but omits checks in code from file backed mappings. This has the effect of giving complete smc-coverage of JIT generated code -- since that is invariably generated into anonymous mapped areas -- without burdening non-JIT generated code with such checks. Running Firefox 6, --smc-check=all-non-file reduces by a factor of between 3 and 10 the number of translations requiring a self check, compared to --smc-check=all. These changes depend on the vex interface changes in r2158. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11798 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-31Add file missing from r11791 due to insufficient coffee.sewardj2-0/+91
#214909 c 101. (Philippe Waroquiers, philippe.waroquiers@skynet.be) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11792 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-27Further fixes for GDB server on Thumb code:sewardj1-0/+3
* Disabled several tests on ARM when gdb version < 7.1 gdb 7.0 has problems with next/step/... in ARM thumb code. * Documented in manual-core.xml that ARM thumb code implies a gdb version >= 7.1 * m_gdbserver.h/.c : take into account the thumb bit at several places * use new IRStmt_IMark::delta field to distinguish ARM vs Thumb instructions as committed in vex r2153 Patch from bug 214909 comment 99 (valgrind part). (Philippe Waroquiers, philippe.waroquiers@skynet.be) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11779 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-17gdbserver: misc fixes (#214909 c 77)sewardj1-1/+8
Fix some tests on ppc-debian6,s390x + handled Nick Nethercote, Josef Weidendorfer comments * improved testing & related doc - added option --vex-iropt-precise-memory-exns=yes to mcsig(no)pass.vgtest + updated manual-core.xml - cleanup some comments in *.vgtest - modified filter_gdb and filter_memcheck_monitor to handle specific ppc/debian6.0 mcsig(no)pass output handle specific s390x 'missing debug info' - added more information in README_DEVELOPPERS on how to investigate failing gdbserver tests. * handled Nick Nethercote comment: Replaced kludgy ms.snapshot detailed by ms.detailed_snaphot Updated documentation and test. * handled Josef Weindendorfer comments: - do not report an error if ptrace_scope file can't be read. Instead, a debug trace is done if -d (debug) option given - added an option -l to give the list of active Valgrind gdbserver. Useful a.o. to support callgrind_control. Updated documentation - added ref. to vgdb help in the vgdb --help message (Philippe Waroquiers, philippe.waroquiers@skynet.be) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11770 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-11Rename 'exp-ptrcheck' to 'exp-sgcheck' and hope this does not causesewardj1-1/+1
too much build carnage. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11745 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-06Implement a GDB server in Valgrind. See #214909.sewardj1-0/+970
(Philippe Waroquiers, philippe.waroquiers@skynet.be) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11727 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-25Add VALGRIND_RESIZEINPLACE_BLOCK() and hence close #267819.bart1-0/+9
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11666 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-02-17Record the repo-mangling magic invokations needed for a minor release.sewardj1-1/+15
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11565 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-01-04Clarify some details about "possibly lost" heap blocks.njn1-2/+3
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11491 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-12-06New command line option: --trace-children-skip-by-arg, which allowssewardj1-1/+15
chase/nochase decisions for child processes to be made on the basis of their argv[] entries rather than on the name of their executables. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11483 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-10-20Finalise doc stuff for 3.6.0.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11462 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-10-13Documentation update for 3.6.0 (not including NEWS).sewardj5-71/+104
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11440 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-10-13Add documentation for exp-dhat.sewardj1-0/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11438 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-10-12Make the --prefix-to-strip=... command-line option added in r11312sewardj1-7/+44
behave more like the original proposal in #245535. This makes it more flexible and general. Also rename it. * new name is --fullpath-after= * allow multiple instances of --fullpath-after= * don't require the specified strings to be prefixes, only substrings But retain the elegant backwards-compatibility trick in Bart's r11312 commit: if --fullpath-after= is not specified at all, then behave exactly as before. Fixes #245535. A mixture of patches from Bart Van Assche (bart.vanassche@gmail.com), Alexander Potapenko (glider@google.com), and me (integration and documentation). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11430 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-09-10Un-break the docs build on Ubuntu 10.04 (Loïc Minier, lool@dooz.org).sewardj1-1/+1
Fixes #232509. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11351 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-08-31Added command-line option --prefix-to-strip=... Closes #245535.bart1-0/+14
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11312 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-08-27Spelling fix.bart1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11294 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-08-26Added new memcheck command-line option --show-possibly-lost. Closes #201170.bart1-1/+4
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11292 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-07-06Make -h -h be equivalent to --help-debug.njn1-1/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11211 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-05-09New flag --require-text-symbol=:sopatt:fnpatt, to be used to checksewardj1-0/+49
that specified shared objects contain specified symbols. Along with a couple of regtests that unfortunately will fail on MacOSX. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11125 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-04-19Rename preprocessor macro __VALGRIND__ to __VALGRIND_MAJOR__ and addsewardj1-0/+3
comments. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11105 a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-01-01Merge from branches/ARM, all parts of the ARM-Linux port except forsewardj1-0/+31
the changes to do with reading and using ELF and DWARF3 info. This breaks all targets except amd64-linux and x86-linux. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10982 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-11-05New flag: --trace-children-skip=patt1,patt2,etcsewardj1-0/+26
Specifies a comma-separated list of executable-names (with "*" and "?" wildcards allowed) that should not be traced into even when --trace-children=yes. Modified version of a patch from Bill Hoffman. Fixes #148932. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10927 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-09-13Update.sewardj1-0/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10888 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-09-03Add a file to keep track of stuff that we currently can't/don't insewardj2-0/+14
bugzilla. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10883 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-19Finalise 3.5.0.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10846 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-16Bump version.sewardj1-2/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10833 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-16Comment that we never actually expect to see the string ]]> in asewardj1-0/+8
generated suppression, and hence the problem of having to split it into multiple CDATA blocks is moot. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10832 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-16Minor changes w.r.t. --read-var-info=, threading support, and sewardj1-21/+28
supported glibc versions. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10830 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-15When generating XML output for suppressions, print the suppressionsewardj1-0/+12
both wrapped up in XML tags (as before) but also in plain text in a sequence of CDATA blocks. Normally only one, but in the worst case the raw data will have ]]> in it, in which case it needs to be split across two CDATA blocks. This apparently simple change involved a lot of refactoring of the suppression printing machinery: * in the core-tool iface, change "print_extra_suppression_info" (which prints any auxiliary info) to "get_extra_suppression_info", which parks the text in a caller-supplied buffer. Adjust tools to match. * VG_(apply_StackTrace): accept a void* argument, which is passed to each invokation of the functional parameter (a poor man's closure implementation). * move PRINTF_CHECK into put_tool_basics.h, where it should have been all along * move private printf-into-an-XArray-of-character functions from m_debuginfo into m_xarray, and make them public * gen_suppression itself: use all the above changes. Basically we always generate the plaintext version into an XArray. In text mode that's just printed. In XML mode, we print the XMLery as before, but the plaintext version is dumped into a CDATA block too. * update the Protocol 4 specification to match all this. This still isn't 100% right in the sense that the CDATA block data needs to be split across multiple blocks if it should ever contain the CDATA end mark "]]>". The Protocol 4 spec has this right even though the implementation currently doesn't. Fixes #191189. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10822 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-15Minor update.njn1-0/+3
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10821 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-10Remove bad explanations of mempool requests from the core manual, just pointnjn1-36/+14
to the Memcheck chapter. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10761 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-10Be consistent in the naming of sections describing command-line options.njn4-51/+51
Also, use "option" rather than "flag" where possible, for consistency. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10758 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-10Remove some cross-references that are broken in the man pages because theynjn1-5/+12
only include a subset of the User Manual. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10757 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-07Install all the new man pages. Include them in 'make dist' too (even ifnjn1-9/+12
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 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-07Add a manpage for cg_annotate. Now only valgrind-listener and cg_merge lacknjn3-4/+9
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 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-07- Documented callgrind_{annotate,control} in the Callgrind manual chapternjn3-3/+18
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 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-07Update. Fortunately it's gotten a little simpler.njn1-17/+6
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10741 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-08-07Manpage improvements:njn5-21/+46
- 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 a5019735-40e9-0310-863c-91ae7b9d1cf9