OLDER NEWS
Cachegrind, Callgrind and Massif.
They accept the same %p and %q
format specifiers that --log-file accepts.
--callgrind-out-file
replaces Callgrind’s old --base option.
* Cachegrind’s ’cg_annotate’ script no longer uses the --<pid>
option to specify the output file.
Instead, the first non-option
argument is taken to be the name of the output file, and any
subsequent non-option arguments are taken to be the names of
source files to be annotated.
* Cachegrind and Callgrind now use directory names where possible in
their output files.
This means that the -I option to
’cg_annotate’ and ’callgrind_annotate’ should not be needed in
most cases.
It also means they can correctly handle the case
where two source files in different directories have the same
name.
- Memcheck offers a new suppression kind: "Jump".
This is for
suppressing jump-to-invalid-address errors.
Previously you had to
use an "Addr1" suppression, which didn’t make much sense.
- Memcheck has new flags --malloc-fill=<hexnum> and
--free-fill=<hexnum> which free malloc’d / free’d areas with the
specified byte.
This can help shake out obscure memory corruption
problems.
The definedness and addressability of these areas is
unchanged -- only the contents are affected.
- The behaviour of Memcheck’s client requests VALGRIND_GET_VBITS and
VALGRIND_SET_VBITS have changed slightly.
They no longer issue
addressability errors -- if either array is partially unaddressable,
they just return 3 (as before).
Also, SET_VBITS doesn’t report
definedness errors if any of the V bits are undefined.
- The following Memcheck client requests have been removed:
VALGRIND_MAKE_NOACCESS
VALGRIND_MAKE_WRITABLE
VALGRIND_MAKE_READABLE
VALGRIND_CHECK_WRITABLE
VALGRIND_CHECK_READABLE
VALGRIND_CHECK_DEFINED
They were deprecated in 3.2.0, when equivalent but better-named client
requests were added.
See the 3.2.0 release notes for more details.
- The behaviour of the tool Lackey has changed slightly.
First, the output
from --trace-mem has been made more compact, to reduce the size of the
traces.
Second, a new option --trace-superblocks has been added, which
shows the addresses of superblocks (code blocks) as they are executed.
- The following bugs have been fixed.
Note that "n-i-bz" stands for
"not in bugzilla" -- that is, a bug that was reported to us but
never got a bugzilla entry.
We encourage you to file bugs in
bugzilla (http://bugs.kde.org/enter_valgrind_bug.cgi) rather than
mailing the developers (or mailing lists) directly.
39