Commit Graph

7718 Commits

Author SHA1 Message Date
Tom Hughes
100741663f Support AT_EXECFN in the ELF auxv, filling it in with the path of
the client executable valgrind is starting.

Based on a patch from John Reiser.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10885
2009-09-04 13:03:41 +00:00
Tom Hughes
48bf971cca Add support for AT_BASE_PLATFORM in the ELF auxv.
Based on patch from John Reiser.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10884
2009-09-04 12:52:16 +00:00
Julian Seward
c3ce1ffa17 Add a file to keep track of stuff that we currently can't/don't in
bugzilla.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10883
2009-09-03 10:45:03 +00:00
Julian Seward
ffaaef1cbc Remove ampersand from tool description string so as not to screw up
XML output.  (Ashley Pittman).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10882
2009-09-03 10:41:44 +00:00
Julian Seward
7f29627378 Fix inconsistent closing of an <hthreadid> tag (Ashley Pittman).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10881
2009-09-03 10:29:57 +00:00
Julian Seward
68afc2a2a1 Fix another enum type error spotted by gcc-4.5.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10880
2009-08-31 08:48:23 +00:00
Bart Van Assche
ff27022ed0 Added a script to the repository for generating a PowerPC cross compiler.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10879
2009-08-29 11:59:27 +00:00
Julian Seward
aa614775dd Add support for the L2 cache on Intel T4200.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10878
2009-08-28 22:34:09 +00:00
Julian Seward
f8acdbc2e0 Fix a couple of nits picked up by gcc-4.5, which is more warningful than 4.4.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10876
2009-08-27 23:22:39 +00:00
Bart Van Assche
1bdac0e905 Updated expected output after r10874.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10875
2009-08-27 18:09:16 +00:00
Bart Van Assche
f291b29d30 Fixed a typo.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10874
2009-08-27 06:16:24 +00:00
Robert Walsh
1a3ad1987f Remove a trailing whitespace.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10873
2009-08-27 05:15:53 +00:00
Bart Van Assche
3a8937832e Added output variant for Linux systems without readlinkat().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10872
2009-08-26 18:45:46 +00:00
Bart Van Assche
908594dfe1 Added regression tests that verify the following behavior:
- On Linux, whether Valgrind properly intercepts the system calls that access
  /proc/self/cmdline, /proc/<pid>/cmdline, /proc/self/exe and /proc/<pid>/exe.
- On Darwin, whether Valgrind does not modify the behavior of the system calls
  that access the aforementioned files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10871
2009-08-26 18:11:18 +00:00
Bart Van Assche
7bb771f714 Updated Subversion ignore list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10870
2009-08-26 17:27:10 +00:00
Bart Van Assche
cb50dd23d3 Updated Subversion ignore lists.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10869
2009-08-26 12:16:45 +00:00
Bart Van Assche
82e0033fdd 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
2009-08-25 20:15:41 +00:00
Bart Van Assche
772166c146 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
2009-08-25 17:34:58 +00:00
Bart Van Assche
d6bedf985d Compiles again on Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10863
2009-08-23 11:17:25 +00:00
Bart Van Assche
dbdfae4ced 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
2009-08-23 11:14:12 +00:00
Bart Van Assche
f71ff79980 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
2009-08-23 11:11:36 +00:00
Bart Van Assche
6b9dcdcd97 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
2009-08-23 09:53:27 +00:00
Bart Van Assche
81e7391bef Fixed a compiler warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10859
2009-08-23 09:48:56 +00:00
Julian Seward
8dd783a109 Bump version number on trunk.
(is that the correct convention, "3.6.0.SVN" ?)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10856
2009-08-20 20:20:05 +00:00
Bart Van Assche
ba7848aca3 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
2009-08-20 18:38:59 +00:00
Tom Hughes
08ce12e17d Add some extra debugging to the launcher.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10854
2009-08-20 07:56:45 +00:00
Bart Van Assche
dcb804cbc5 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
2009-08-20 06:07:10 +00:00
Nicholas Nethercote
0e585ffd86 Add an entry for the missing 2.4.1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10852
2009-08-20 00:22:10 +00:00
Julian Seward
bce1c51ad9 Be consistent about the 3.5.0 release date.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10851
2009-08-19 22:40:53 +00:00
Julian Seward
39ef050fde Fix a couple of buglets in the 3.5.0 release info.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10850
2009-08-19 22:18:35 +00:00
Julian Seward
950461c895 Finalise 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10846
2009-08-19 11:38:54 +00:00
Julian Seward
5632245432 Fix whitespace-skipping loop. (Konstantin Serebryany) (see #204377)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10845
2009-08-19 10:32:49 +00:00
Bart Van Assche
cdee0981b5 Generalized the most recently added suppression pattern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10844
2009-08-18 20:35:17 +00:00
Bart Van Assche
b3c9d22708 Added explicit constructor and destructor to class IncThread.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10843
2009-08-18 20:29:26 +00:00
Bart Van Assche
0b19a31652 Added a suppression pattern for libQtCore.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10842
2009-08-18 20:18:41 +00:00
Tom Hughes
6098f10fee 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
2009-08-18 14:12:48 +00:00
Julian Seward
e2f2c8a07d Add a list of fixed bugs for 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10840
2009-08-18 13:47:31 +00:00
Vince Weaver
2e7d912078 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
2009-08-18 01:56:11 +00:00
Vince Weaver
54d176e15e 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
2009-08-18 00:21:51 +00:00
Julian Seward
90346d8aad 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
2009-08-17 16:36:11 +00:00
Julian Seward
73c516ce43 Include missing file, else tarball build breaks on Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10836
2009-08-17 16:02:16 +00:00
Julian Seward
ece823c75b Remove an empty <itemizedlist> which was causing the PDF doc build to fail.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10835
2009-08-17 11:27:45 +00:00
Julian Seward
3635254947 First tarball-test point for 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10834
2009-08-16 23:22:51 +00:00
Julian Seward
f511ab0234 Bump version.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10833
2009-08-16 23:01:41 +00:00
Julian Seward
1d4a525a8c 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
2009-08-16 22:56:53 +00:00
Julian Seward
45b8f5e4bf Increase the maximum size of the conflict cache even more, to 30
million.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10831
2009-08-16 22:52:29 +00:00
Julian Seward
d5b1173d7b Minor changes w.r.t. --read-var-info=, threading support, and
supported glibc versions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10830
2009-08-16 22:49:53 +00:00
Julian Seward
29a513828a Update the Helgrind manual for 3.5.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10829
2009-08-16 22:47:02 +00:00
Julian Seward
1d1c348f85 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
2009-08-16 01:48:35 +00:00
Nicholas Nethercote
f9d42655d8 tweak 32/64-bit darwin stuff
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10827
2009-08-16 00:20:58 +00:00