bart [Wed, 26 Aug 2009 17:27:10 +0000 (17:27 +0000)]
Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10870
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 26 Aug 2009 12:16:45 +0000 (12:16 +0000)]
Updated Subversion ignore lists.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10869
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Tue, 25 Aug 2009 20:15:41 +0000 (20:15 +0000)]
Switched back from dynamic detection of whether the proc filesystem
is mounted to compile-time logic in order to minimize the differences
in behavior with Valgrind version 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10868
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Tue, 25 Aug 2009 17:34:58 +0000 (17:34 +0000)]
Renamed the function VG_(have_proc_filesystem)() into
VG_(is_procfs_mounted)(). The old name was derived from the name
of the preprocessor macro HAVE_PROC while the new name is a more
accurate description of what this function does.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10867
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Sun, 23 Aug 2009 11:17:25 +0000 (11:17 +0000)]
Compiles again on Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10863
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Sun, 23 Aug 2009 11:14:12 +0000 (11:14 +0000)]
The format attribute may be repeated in the function definition but does not have to.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10862
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Sun, 23 Aug 2009 11:11:36 +0000 (11:11 +0000)]
Fixed a declaration: function attributes must be inserted after the return type instead of before, otherwise gcc 4.4 ignores the attribute declaration.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10861
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Sun, 23 Aug 2009 09:53:27 +0000 (09:53 +0000)]
The configure-time test whether the proc filesystem is mounted (introduced
in r10156) broke cross-compilation. This patch converts the configure-time
test into a runtime test. Should fix bug #204843.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10860
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Sun, 23 Aug 2009 09:48:56 +0000 (09:48 +0000)]
Fixed a compiler warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10859
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Thu, 20 Aug 2009 20:20:05 +0000 (20:20 +0000)]
Bump version number on trunk.
(is that the correct convention, "3.6.0.SVN" ?)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10856
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Thu, 20 Aug 2009 18:38:59 +0000 (18:38 +0000)]
Fixed bug #204317: regression tests none/tests/cmdline[12] fail if
the gdb path detected by configure differs from /usr/bin/gdb.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10855
a5019735-40e9-0310-863c-
91ae7b9d1cf9
tom [Thu, 20 Aug 2009 07:56:45 +0000 (07:56 +0000)]
Add some extra debugging to the launcher.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10854
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Thu, 20 Aug 2009 06:07:10 +0000 (06:07 +0000)]
Removed the most recently added DRD suppression pattern (was added
to make drd/tests/qt4_mutex pass on Fedora 11 x86_64). Further
analysis has shown that this is an issue in libQtCore that should be
fixed instead of suppressed. Will file a bug report in the Fedora
bugzilla instead.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10853
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Thu, 20 Aug 2009 00:22:10 +0000 (00:22 +0000)]
Add an entry for the missing 2.4.1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10852
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Wed, 19 Aug 2009 22:40:53 +0000 (22:40 +0000)]
Be consistent about the 3.5.0 release date.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10851
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Wed, 19 Aug 2009 22:18:35 +0000 (22:18 +0000)]
Fix a couple of buglets in the 3.5.0 release info.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10850
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Wed, 19 Aug 2009 11:38:54 +0000 (11:38 +0000)]
Finalise 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10846
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Wed, 19 Aug 2009 10:32:49 +0000 (10:32 +0000)]
Fix whitespace-skipping loop. (Konstantin Serebryany) (see #204377)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10845
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Tue, 18 Aug 2009 20:35:17 +0000 (20:35 +0000)]
Generalized the most recently added suppression pattern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10844
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Tue, 18 Aug 2009 20:29:26 +0000 (20:29 +0000)]
Added explicit constructor and destructor to class IncThread.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10843
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Tue, 18 Aug 2009 20:18:41 +0000 (20:18 +0000)]
Added a suppression pattern for libQtCore.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10842
a5019735-40e9-0310-863c-
91ae7b9d1cf9
tom [Tue, 18 Aug 2009 14:12:48 +0000 (14:12 +0000)]
The linker in Fedora Rawhide seems to be using ELFOSABI_LINUX as
the ABI in the ELF files it generates instead of ELFOSABI_SYSV as
has been used to date.
This was causing us to use the 64 bit backend to run 32 bit
programs as the launcher failed to identify them as 32 bit.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10841
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Tue, 18 Aug 2009 13:47:31 +0000 (13:47 +0000)]
Add a list of fixed bugs for 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10840
a5019735-40e9-0310-863c-
91ae7b9d1cf9
vince [Tue, 18 Aug 2009 01:56:11 +0000 (01:56 +0000)]
Make the ll test case use hex values for char constants instead
of ' delineated constants, due to gnu as bug 6878. This caused
warnings on Fedora 10.
This addresses bug 203937.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10839
a5019735-40e9-0310-863c-
91ae7b9d1cf9
vince [Tue, 18 Aug 2009 00:21:51 +0000 (00:21 +0000)]
Work around a binutils limitation on SuSE 9.1
by hand-coding the 32-bit fldcw instructions,
as the assembler gives an error when
trying to assemble them. The generated binary
is identical to one generated on a system
with working binutils.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10838
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Mon, 17 Aug 2009 16:36:11 +0000 (16:36 +0000)]
Back out r10385 (Change demangler to not use excessive space from
stack) pending further investigations, as per discussion at
http://bugs.kde.org/show_bug.cgi?id=197988.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10837
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Mon, 17 Aug 2009 16:02:16 +0000 (16:02 +0000)]
Include missing file, else tarball build breaks on Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10836
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Mon, 17 Aug 2009 11:27:45 +0000 (11:27 +0000)]
Remove an empty <itemizedlist> which was causing the PDF doc build to fail.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10835
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Sun, 16 Aug 2009 23:22:51 +0000 (23:22 +0000)]
First tarball-test point for 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10834
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Sun, 16 Aug 2009 23:01:41 +0000 (23:01 +0000)]
Bump version.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10833
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Sun, 16 Aug 2009 22:56:53 +0000 (22:56 +0000)]
Comment that we never actually expect to see the string ]]> in a
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
sewardj [Sun, 16 Aug 2009 22:52:29 +0000 (22:52 +0000)]
Increase the maximum size of the conflict cache even more, to 30
million.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10831
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Sun, 16 Aug 2009 22:49:53 +0000 (22:49 +0000)]
Minor changes w.r.t. --read-var-info=, threading support, and
supported glibc versions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10830
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Sun, 16 Aug 2009 22:47:02 +0000 (22:47 +0000)]
Update the Helgrind manual for 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10829
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Sun, 16 Aug 2009 01:48:35 +0000 (01:48 +0000)]
ppc32-linux: di_notify_mmap: accept data sections mapped rwx as well as ones
mapped rw-. Fixes #190820. Really, this logic is still pretty ropey; we
could do a lot better here.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10828
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Sun, 16 Aug 2009 00:20:58 +0000 (00:20 +0000)]
tweak 32/64-bit darwin stuff
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10827
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Sun, 16 Aug 2009 00:00:17 +0000 (00:00 +0000)]
Fix the access_extended wrapper, which was rather broken. That's what I get
for not testing properly. Added a regtest for it too. Fixes bug 200760
(again, properly this time).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10826
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Sat, 15 Aug 2009 23:33:04 +0000 (23:33 +0000)]
Followup to r10822: send the CDATA text to the XML channel, not the
text one. Duh.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10825
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Sat, 15 Aug 2009 23:26:12 +0000 (23:26 +0000)]
Fix "make check" on Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10824
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Sat, 15 Aug 2009 23:05:34 +0000 (23:05 +0000)]
Fix a couple of errors in the revised XML generation that were
spotted by Ashley Pittman:
* If I specify --xml-file=<file> but not --xml=yes I get partial
output in the xml file.
* Using log file qualifiers with XML results in the xml for the
qualifier being put to stdout.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10823
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Sat, 15 Aug 2009 22:41:51 +0000 (22:41 +0000)]
When generating XML output for suppressions, print the suppression
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
njn [Sat, 15 Aug 2009 21:50:44 +0000 (21:50 +0000)]
Minor update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10821
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Sat, 15 Aug 2009 13:31:41 +0000 (13:31 +0000)]
Minor manual update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10820
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Sat, 15 Aug 2009 10:50:35 +0000 (10:50 +0000)]
- Made the ANNOTATE_RWLOCK_*() macros binary compatible with Helgrind.
- Added two additional regression tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10819
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Fri, 14 Aug 2009 22:34:30 +0000 (22:34 +0000)]
Capitalise and punctuate some points.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10818
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Fri, 14 Aug 2009 21:33:34 +0000 (21:33 +0000)]
Double the maximum size of the conflict cache.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10817
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Fri, 14 Aug 2009 13:42:41 +0000 (13:42 +0000)]
Update. Sheesh -- did we really change that much stuff in just seven
months?
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10816
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Fri, 14 Aug 2009 13:40:47 +0000 (13:40 +0000)]
Made Valgrind compile again on 32-bit systems.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10815
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Fri, 14 Aug 2009 13:25:38 +0000 (13:25 +0000)]
Made ANNOTATE_HAPPENS_BEFORE()/_AFTER() binary compatible with Helgrind.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10814
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Fri, 14 Aug 2009 13:23:00 +0000 (13:23 +0000)]
Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10813
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Fri, 14 Aug 2009 13:22:48 +0000 (13:22 +0000)]
Added suppression pattern for nanosleep().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10812
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Fri, 14 Aug 2009 11:11:12 +0000 (11:11 +0000)]
Initial tests for "Skeletal support for TSan-compatible annotations"
(r10810). The rwlock test is kludged and needs de-kludging.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10811
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Fri, 14 Aug 2009 11:08:24 +0000 (11:08 +0000)]
Skeletal support for TSan-compatible annotations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10810
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Fri, 14 Aug 2009 10:19:26 +0000 (10:19 +0000)]
Should compile again on Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10809
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Fri, 14 Aug 2009 06:53:06 +0000 (06:53 +0000)]
Removed the tc20_verifywrap and tc20_verifywrap2 regression tests because their behavior depends too much on implementation details of libc.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10808
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Fri, 14 Aug 2009 06:45:16 +0000 (06:45 +0000)]
Reverted r10802.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10807
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Fri, 14 Aug 2009 06:32:20 +0000 (06:32 +0000)]
Added a note about the fact that --read-var-info=yes increases memory
consumption of Valgrind tools.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10806
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Fri, 14 Aug 2009 02:41:37 +0000 (02:41 +0000)]
Complete more of the NEWS. Remaining XXX marks are to be filled in by
Julian.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10805
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Fri, 14 Aug 2009 02:12:54 +0000 (02:12 +0000)]
Enable Helgrind tests on Darwin -- only 4 of them fail on my machine.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10804
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Thu, 13 Aug 2009 18:08:08 +0000 (18:08 +0000)]
More expected output updates because of r10783.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10803
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Thu, 13 Aug 2009 14:30:55 +0000 (14:30 +0000)]
Removed two regression tests because the output (number of errors) varied between runs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10802
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Thu, 13 Aug 2009 14:12:49 +0000 (14:12 +0000)]
Made behavior of tsan_unittest again identical to the original behavior.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10801
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Thu, 13 Aug 2009 09:30:57 +0000 (09:30 +0000)]
Added test program for the ANNOTATE_IGNORE_WRITES_*() annotation
macro's.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10800
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Thu, 13 Aug 2009 04:24:38 +0000 (04:24 +0000)]
Fix a .exp file. Avoid an assertion failure with -v.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10799
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Thu, 13 Aug 2009 00:02:30 +0000 (00:02 +0000)]
Don't count leaks as errors with --leak-check=summary, because the results
can be confusing. Document the behaviour.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10798
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 17:40:32 +0000 (17:40 +0000)]
Third and last type-punned pointer fix.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10797
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 14:56:01 +0000 (14:56 +0000)]
Fixed more gcc warnings about type-punned pointers breaking strict
aliasing / reworked changes applied through previous commit.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10796
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 13:30:55 +0000 (13:30 +0000)]
Fixed compiler warnings triggered by annotate_rwlock.c
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10795
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 12:55:56 +0000 (12:55 +0000)]
Suppressed compiler warnings reported by gcc 4.4.x on the source code
of regression tests about intentionally uninitialized variables and
about intentionally freed non-heap memory.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10794
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 12:52:23 +0000 (12:52 +0000)]
Fixed gcc warnings about type-punned pointers breaking strict aliasing.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10793
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 09:45:54 +0000 (09:45 +0000)]
Added suppression patterns for boost 1.37 (Fedora 11).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10792
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 09:45:18 +0000 (09:45 +0000)]
Added recently added regression test output files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10791
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 09:44:43 +0000 (09:44 +0000)]
Added expected output for glibc 2.10 (Fedora 11). The test tc20_verifywrap2 has to be reviewed -- the results of this test depend on glibc internals, which is not good.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10790
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 08:22:54 +0000 (08:22 +0000)]
Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10789
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 08:21:13 +0000 (08:21 +0000)]
More expected output updates because of r10783.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10788
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Wed, 12 Aug 2009 07:03:30 +0000 (07:03 +0000)]
Modified annotate_ignore_rw test such that it now verifies that
ANNOTATE_IGNORE_READS_AND_WRITES_END() really works.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10787
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Wed, 12 Aug 2009 02:30:20 +0000 (02:30 +0000)]
Add a crappy wrapper for access_extended(), one of the more ridiculous
syscalls I've had the displeasure of encountering. Due to its
ridiculousness, the wrapper misses a PRE_MEM_WRITE check and so can result
in false positives. The POST_MEM_WRITE update is present, though, so it
shouldn't cause subsequent problems. Fixes bug 200760.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10786
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Wed, 12 Aug 2009 00:32:44 +0000 (00:32 +0000)]
Darwin .exp fixes following r10783.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10785
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Wed, 12 Aug 2009 00:14:44 +0000 (00:14 +0000)]
Update .exp files for r10783.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10784
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Wed, 12 Aug 2009 00:14:16 +0000 (00:14 +0000)]
Output tweaks:
- Always print a blank line after significant messages (eg. errors). This
makes the handling of blank lines much simpler.
- Don't print full stops at the end of messages. We mostly don't do it, so
I got rid of all the remaining ones I could find for consistency.
- Use --leak-check=full rather than --leak-check=yes, for consistency with
docs and other messages.
- Update partiallydefinedeq.stderr.exp2 for older changes.
This commit only updates the code. Test updates will follow shortly. (I'm
separating them so the code changes aren't swamped by the test changes in
the SVN logs.)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10783
a5019735-40e9-0310-863c-
91ae7b9d1cf9
weidendo [Tue, 11 Aug 2009 20:53:59 +0000 (20:53 +0000)]
Callgrind: Fix printing of "Summary:" line in finish()
The global cost counters, which are used for printing the
summary line, where zeroed before in init_exec_state(), called
by unwind_thread().
Stack unwinding (i.e. unwind_thread) is also done at instrumentation
state changes, and there, we want the cost counters to be zeroed
(was fix for bug 150606). Do this explicitly now.
PS: The correct fix for bug 150606 is not to zero the cost counters
(we do not really want this at instrumentation state changes), but
to store the current counter values in a "last_instr_state_on_cost"
counter, and use this as the global cost counter on enter for functions
which are left but were not detected to be entered.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10782
a5019735-40e9-0310-863c-
91ae7b9d1cf9
weidendo [Tue, 11 Aug 2009 20:53:57 +0000 (20:53 +0000)]
Callgrind: On zeroing costs, also set call counters to zero.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10781
a5019735-40e9-0310-863c-
91ae7b9d1cf9
weidendo [Tue, 11 Aug 2009 19:21:25 +0000 (19:21 +0000)]
Fix dumping of call cost in tail recursion optimization
When tail recursion optimization is detected (i.e. a jump to the
beginning of the function without creating a new stack frame),
Callgrind collects this as real call (ie. calculates inclusive
call costs), but forgot to dump the call information (the call
type is still left as a jump).
Fixed by also dump call information if inclusive cost is >0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10780
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Tue, 11 Aug 2009 15:00:54 +0000 (15:00 +0000)]
Added regression test for ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN() and
ANNOTATE_IGNORE_READS_AND_WRITES_END().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10779
a5019735-40e9-0310-863c-
91ae7b9d1cf9
weidendo [Tue, 11 Aug 2009 14:45:03 +0000 (14:45 +0000)]
Fix bug 199338: callgrind_annotate sorting/thresholds are broken
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10778
a5019735-40e9-0310-863c-
91ae7b9d1cf9
weidendo [Tue, 11 Aug 2009 14:45:00 +0000 (14:45 +0000)]
Misc fixes for callgrind_annotate
* Patch from bug 198649 (callgrind_annotate doesn't cumulate counters)
When there were multiple call sites in one line, the aggregated
call count/cost numbers in the source annotation were wrong
* Callgrind often produces absolute file names.
Make it work with relative file names requested for annotation from
the command lines.
* More in sync with parser in KCachegrind: make summary line optional.
We can also use the "totals:" line for this.
* Count of numbers in summary can be smaller then number of events given
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10777
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Tue, 11 Aug 2009 10:39:25 +0000 (10:39 +0000)]
Move printing of EvM-gc and VTS-gc stats from -v to --stats=yes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10776
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Tue, 11 Aug 2009 10:35:58 +0000 (10:35 +0000)]
Add pthread spinlock support.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10775
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Tue, 11 Aug 2009 01:03:55 +0000 (01:03 +0000)]
add missing scripts
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10774
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Tue, 11 Aug 2009 00:52:40 +0000 (00:52 +0000)]
Count error contexts properly in VG_(unique_error). Avoids the problem seen
of "5 errors from 0 contexts" with leak errors.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10773
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Tue, 11 Aug 2009 00:18:31 +0000 (00:18 +0000)]
add a missing script
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10772
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Mon, 10 Aug 2009 19:39:02 +0000 (19:39 +0000)]
Fix some const stuff that gcc-4.4.0 complains about.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10771
a5019735-40e9-0310-863c-
91ae7b9d1cf9
sewardj [Mon, 10 Aug 2009 18:59:54 +0000 (18:59 +0000)]
parse_type_DIE: push incomplete structure tyents on the type stack,
since gcc-4.4 on Fedora 11 will create DW_TAG_member entries within
it, and we need to have a plausible parent type on the stack.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10770
a5019735-40e9-0310-863c-
91ae7b9d1cf9
bart [Mon, 10 Aug 2009 14:13:12 +0000 (14:13 +0000)]
Added suppression patterns for the most recent libglib and libQtCore versions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10769
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Mon, 10 Aug 2009 08:25:39 +0000 (08:25 +0000)]
Try to fix error_counts.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10768
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Mon, 10 Aug 2009 07:50:00 +0000 (07:50 +0000)]
Count leak as errors. Fixes bug 152393.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10767
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Mon, 10 Aug 2009 07:47:43 +0000 (07:47 +0000)]
Remove unnecessary #includes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10766
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Mon, 10 Aug 2009 07:36:54 +0000 (07:36 +0000)]
Allow custom blocks to overlap with malloc blocks. Fixes bug 100628.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10765
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Mon, 10 Aug 2009 06:47:00 +0000 (06:47 +0000)]
augment a comment
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10764
a5019735-40e9-0310-863c-
91ae7b9d1cf9
njn [Mon, 10 Aug 2009 05:11:43 +0000 (05:11 +0000)]
add an item
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10763
a5019735-40e9-0310-863c-
91ae7b9d1cf9