]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
17 years agoRemoved the superfluous casts that were introduced in r8132.
Bart Van Assche [Wed, 28 May 2008 07:09:54 +0000 (07:09 +0000)] 
Removed the superfluous casts that were introduced in r8132.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8136

17 years agoAdd a missing case and remove the bogus associated comment.
Julian Seward [Tue, 27 May 2008 16:08:24 +0000 (16:08 +0000)] 
Add a missing case and remove the bogus associated comment.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8135

17 years agoMake the rlimit_nofile regression tests less system dependent.
Bart Van Assche [Tue, 27 May 2008 13:40:36 +0000 (13:40 +0000)] 
Make the rlimit_nofile regression tests less system dependent.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8134

17 years agoMake the fdleak regression tests less system dependent.
Bart Van Assche [Tue, 27 May 2008 12:33:29 +0000 (12:33 +0000)] 
Make the fdleak regression tests less system dependent.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8133

17 years agosys_timerfd() and sys_signalfd() wrappers now interpret their first argument consiste...
Bart Van Assche [Mon, 26 May 2008 17:16:08 +0000 (17:16 +0000)] 
sys_timerfd() and sys_signalfd() wrappers now interpret their first argument consistently as signed instead of unsigned. Fixes #162663.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8132

17 years agoUpdated to do list.
Bart Van Assche [Sun, 25 May 2008 18:11:32 +0000 (18:11 +0000)] 
Updated to do list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8131

17 years agoAdded support for the fadvise64() system call on ppc64.
Bart Van Assche [Sun, 25 May 2008 18:09:11 +0000 (18:09 +0000)] 
Added support for the fadvise64() system call on ppc64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8130

17 years agoUpdated to do list.
Bart Van Assche [Sun, 25 May 2008 18:02:11 +0000 (18:02 +0000)] 
Updated to do list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8129

17 years ago#define HAS_ALTIVEC is now fetched from config.h instead of from Makefile.am.
Bart Van Assche [Sun, 25 May 2008 16:43:15 +0000 (16:43 +0000)] 
#define HAS_ALTIVEC is now fetched from config.h instead of from Makefile.am.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8128

17 years ago- Added support for querying information about .plt sections.
Bart Van Assche [Sun, 25 May 2008 16:37:22 +0000 (16:37 +0000)] 
- Added support for querying information about .plt sections.
- Added support for .got.plt sections.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8127

17 years agoBug fixes (not in bugzilla):
Bart Van Assche [Sun, 25 May 2008 16:25:51 +0000 (16:25 +0000)] 
Bug fixes (not in bugzilla):
- Make sure that Valgrind does not complain when it tries to read the
  debug information of a file of size zero when such a file is mmap()'ed
  into memory.
- Make sure the filename is included in the error message that is
  printed when reading the debug information fails for a file that is mmap()'ed
  into memory.
- Fixed assertion failure that was triggered by supplying an output
  buffer to VG_(seginfo_sect_kind)() that is smaller than the filename
  to be copied into that buffer.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8126

17 years agoRemoved ppc debug print statements.
Bart Van Assche [Sun, 25 May 2008 16:01:52 +0000 (16:01 +0000)] 
Removed ppc debug print statements.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8125

17 years agoRemoved superfluous #include directive.
Bart Van Assche [Sun, 25 May 2008 16:01:03 +0000 (16:01 +0000)] 
Removed superfluous #include directive.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8124

17 years agoLet the configure script recognize the AR variable, such that the name of the archive...
Bart Van Assche [Sun, 25 May 2008 15:58:11 +0000 (15:58 +0000)] 
Let the configure script recognize the AR variable, such that the name of the archiver can be specified at configure time. Changed test for TLS-support from AC_RUN_IFELSE to AC_LINK_IFELSE. Both changes are necessary to make cross-compilation possible.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8123

17 years agoAdded to repository.
Bart Van Assche [Sun, 25 May 2008 11:07:41 +0000 (11:07 +0000)] 
Added to repository.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8122

17 years agoUpdate.
Julian Seward [Thu, 15 May 2008 18:18:36 +0000 (18:18 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8098

17 years agoUpdated documentation.
Bart Van Assche [Thu, 15 May 2008 11:45:08 +0000 (11:45 +0000)] 
Updated documentation.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8093

17 years agoAdd a wrapper for MPI_Waitany.
Julian Seward [Thu, 15 May 2008 05:48:16 +0000 (05:48 +0000)] 
Add a wrapper for MPI_Waitany.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8092

17 years agoRemoved an entry referring to a bug that was introduced after 3.3.0. Updated status...
Bart Van Assche [Wed, 14 May 2008 18:01:47 +0000 (18:01 +0000)] 
Removed an entry referring to a bug that was introduced after 3.3.0. Updated status of #161036.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8089

17 years agoAdded support for detecting locks that have been held too long.
Bart Van Assche [Wed, 14 May 2008 12:25:00 +0000 (12:25 +0000)] 
Added support for detecting locks that have been held too long.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8079

17 years agoAdded hold_lock regression test.
Bart Van Assche [Wed, 14 May 2008 12:22:15 +0000 (12:22 +0000)] 
Added hold_lock regression test.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8077

17 years agoRemove comments that became obsolete because of a previous commit.
Bart Van Assche [Wed, 14 May 2008 12:20:47 +0000 (12:20 +0000)] 
Remove comments that became obsolete because of a previous commit.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8075

17 years agoFilter out the time during which a lock has been held.
Bart Van Assche [Wed, 14 May 2008 12:19:58 +0000 (12:19 +0000)] 
Filter out the time during which a lock has been held.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8074

17 years agoVG_(read_millisecond_timer)() is now monotonic, even if set_timeofday() is called...
Bart Van Assche [Wed, 14 May 2008 09:50:08 +0000 (09:50 +0000)] 
VG_(read_millisecond_timer)() is now monotonic, even if set_timeofday() is called or if ntpd adjusts the clock backwards. On Linux kernels where the clock_gettime() syscall is not supported, VG_(read_millisecond_timer)() falls back to the old behavior.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8072

17 years agoAdded CLOCK_* definitions.
Bart Van Assche [Wed, 14 May 2008 09:44:06 +0000 (09:44 +0000)] 
Added CLOCK_* definitions.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8071

17 years agoUpdate.
Julian Seward [Wed, 14 May 2008 07:02:53 +0000 (07:02 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8070

17 years agoUpdate manual re number of suppression files allowed. See #161487.
Julian Seward [Wed, 14 May 2008 06:43:10 +0000 (06:43 +0000)] 
Update manual re number of suppression files allowed.  See #161487.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8068

17 years agoUpdate ignores.
Robert Walsh [Wed, 14 May 2008 04:02:36 +0000 (04:02 +0000)] 
Update ignores.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8067

17 years agoUpdate.
Julian Seward [Tue, 13 May 2008 19:21:52 +0000 (19:21 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8066

17 years agoIncreased maximum number of suppression files from 10 to 100. Fixes #161487.
Bart Van Assche [Tue, 13 May 2008 17:45:28 +0000 (17:45 +0000)] 
Increased maximum number of suppression files from 10 to 100. Fixes #161487.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8065

17 years agoRemoved a bug entry that was introduced after the 3.3.0 release and before the 3...
Bart Van Assche [Tue, 13 May 2008 16:38:08 +0000 (16:38 +0000)] 
Removed a bug entry that was introduced after the 3.3.0 release and before the 3.3.1 release.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8064

17 years agoModified test such that fewer iterations are run when the test is run as part of...
Bart Van Assche [Tue, 13 May 2008 16:17:34 +0000 (16:17 +0000)] 
Modified test such that fewer iterations are run when the test is run as part of the automated regression tests.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8062

17 years agoAdded command-line options -s and -t such that the loop step and hence the run time...
Bart Van Assche [Tue, 13 May 2008 16:17:05 +0000 (16:17 +0000)] 
Added command-line options -s and -t such that the loop step and hence the run time of the test can be influenced.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8061

17 years agoAdded allocation and deallocation of zero-sized array.
Bart Van Assche [Tue, 13 May 2008 16:16:14 +0000 (16:16 +0000)] 
Added allocation and deallocation of zero-sized array.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8060

17 years agoStop massif segfaulting due to stack overflow, when printing snapshots
Julian Seward [Tue, 13 May 2008 10:57:29 +0000 (10:57 +0000)] 
Stop massif segfaulting due to stack overflow, when printing snapshots
arising from large C++ applications on amd64-linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8058

17 years agoMake sure that the same name is used in ld stack frames on 32- and 64-bit systems.
Bart Van Assche [Tue, 13 May 2008 09:32:29 +0000 (09:32 +0000)] 
Make sure that the same name is used in ld stack frames on 32- and 64-bit systems.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8057

17 years agoUpdate.
Julian Seward [Mon, 12 May 2008 22:15:15 +0000 (22:15 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8055

17 years agoRun this test on 'none' rather than exp-drd. It really wants to
Julian Seward [Mon, 12 May 2008 22:06:42 +0000 (22:06 +0000)] 
Run this test on 'none' rather than exp-drd.  It really wants to
run natively, but there's no obvious way to do that.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8054

17 years agoUpdated to do list.
Bart Van Assche [Mon, 12 May 2008 19:23:11 +0000 (19:23 +0000)] 
Updated to do list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8053

17 years agoAdded configure test for Altivec.
Bart Van Assche [Mon, 12 May 2008 18:50:51 +0000 (18:50 +0000)] 
Added configure test for Altivec.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8052

17 years agoEnabled timerfd() and timerfd_create() support for ppc32 and ppc64.
Bart Van Assche [Mon, 12 May 2008 18:16:14 +0000 (18:16 +0000)] 
Enabled timerfd() and timerfd_create() support for ppc32 and ppc64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8051

17 years agoFixed compiler warnings.
Bart Van Assche [Mon, 12 May 2008 16:48:25 +0000 (16:48 +0000)] 
Fixed compiler warnings.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8050

17 years agoPOST(sys_poll): mark the revents field even when RES==0. Fixes #158425.
Julian Seward [Mon, 12 May 2008 15:46:34 +0000 (15:46 +0000)] 
POST(sys_poll): mark the revents field even when RES==0.  Fixes #158425.
(Dave Goodell)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8049

17 years agoMake return types for some of the requests 64-bit clean. (following bug
Julian Seward [Mon, 12 May 2008 15:25:04 +0000 (15:25 +0000)] 
Make return types for some of the requests 64-bit clean.  (following bug
report/investigation by Bernard Solomon).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8048

17 years agoFix wrappers for sys_futimesat and sys_utimensat. (Dan Kegel)
Julian Seward [Mon, 12 May 2008 14:29:23 +0000 (14:29 +0000)] 
Fix wrappers for sys_futimesat and sys_utimensat.  (Dan Kegel)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8047

17 years ago-Wall implies -Winline. Added -Wno-inline.
Bart Van Assche [Sun, 11 May 2008 18:39:18 +0000 (18:39 +0000)] 
-Wall implies -Winline. Added -Wno-inline.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8046

17 years agoRemoved -Winline since this option lets gcc 4.3.1 print some uninteresting and unsupp...
Bart Van Assche [Sun, 11 May 2008 18:30:29 +0000 (18:30 +0000)] 
Removed -Winline since this option lets gcc 4.3.1 print some uninteresting and unsuppressable warning messages.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8045

17 years agoAdded fixed exp-drd bugs.
Bart Van Assche [Sun, 11 May 2008 12:24:01 +0000 (12:24 +0000)] 
Added fixed exp-drd bugs.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8044

17 years agoAdd a test case for #152818 (from Sergei Trofimovich)
Julian Seward [Sun, 11 May 2008 10:45:29 +0000 (10:45 +0000)] 
Add a test case for #152818 (from Sergei Trofimovich)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8043

17 years agoUpdate.
Julian Seward [Sun, 11 May 2008 08:57:01 +0000 (08:57 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8042

17 years agoAdded @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ to the exp-drd compiler flags.
Bart Van Assche [Sun, 11 May 2008 07:03:22 +0000 (07:03 +0000)] 
Added @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ to the exp-drd compiler flags.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8041

17 years agoAdded compilation flag -Wextra.
Bart Van Assche [Sun, 11 May 2008 06:45:17 +0000 (06:45 +0000)] 
Added compilation flag -Wextra.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8040

17 years agoAdded compiler flag -Wextra for all regression tests. Replaced -finline-limit=100000...
Bart Van Assche [Sun, 11 May 2008 06:44:30 +0000 (06:44 +0000)] 
Added compiler flag -Wextra for all regression tests. Replaced -finline-limit=100000 by --param inline-unit-growth=900 for drd_bitmap_test.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8039

17 years agoFixed compiler warnings in assert statements.
Bart Van Assche [Sun, 11 May 2008 06:43:07 +0000 (06:43 +0000)] 
Fixed compiler warnings in assert statements.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8038

17 years agoAdded tests for -Wextra/-W and --param inline-unit-growth. Converted AC_COMPILE_IFELS...
Bart Van Assche [Sun, 11 May 2008 06:41:46 +0000 (06:41 +0000)] 
Added tests for -Wextra/-W and --param inline-unit-growth. Converted AC_COMPILE_IFELSE() into AC_TRY_COMPILE(). Removed trailing spaces.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8037

17 years agoChanged compiler options for inlining to something that is supported by both gcc...
Bart Van Assche [Sat, 10 May 2008 13:24:30 +0000 (13:24 +0000)] 
Changed compiler options for inlining to something that is supported by both gcc 3 and gcc 4.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8035

17 years agoCompiles now with older glibc versions too.
Bart Van Assche [Sat, 10 May 2008 13:17:34 +0000 (13:17 +0000)] 
Compiles now with older glibc versions too.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8034

17 years agoUpdated to do list.
Bart Van Assche [Sat, 10 May 2008 13:00:27 +0000 (13:00 +0000)] 
Updated to do list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8033

17 years agoAdded more comments. Fixed a bug: false positives were reported when using reader...
Bart Van Assche [Sat, 10 May 2008 12:54:27 +0000 (12:54 +0000)] 
Added more comments. Fixed a bug: false positives were reported when using reader-writer locks. This is now fixed.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8032

17 years agoAdded another POSIX reader/writer lock test.
Bart Van Assche [Sat, 10 May 2008 12:52:02 +0000 (12:52 +0000)] 
Added another POSIX reader/writer lock test.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8031

17 years agoChanged return type of some of the bitmap functions from UWord to Bool.
Bart Van Assche [Sat, 10 May 2008 11:19:10 +0000 (11:19 +0000)] 
Changed return type of some of the bitmap functions from UWord to Bool.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8030

17 years agoAdded -Winline to the compiler flags. Made sure that all functions in drd_bitmap_test...
Bart Van Assche [Sat, 10 May 2008 11:07:14 +0000 (11:07 +0000)] 
Added -Winline to the compiler flags. Made sure that all functions in drd_bitmap_test.c that can be inlined are actually inlined.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8029

17 years agoAdded -Winline to the compiler flags.
Bart Van Assche [Sat, 10 May 2008 11:06:35 +0000 (11:06 +0000)] 
Added -Winline to the compiler flags.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8028

17 years agoAdded regression test for the C++ operators new, new[], delete and delete[].
Bart Van Assche [Sat, 10 May 2008 08:48:14 +0000 (08:48 +0000)] 
Added regression test for the C++ operators new, new[], delete and delete[].

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8027

17 years agoReordered declarations.
Bart Van Assche [Sat, 10 May 2008 08:22:45 +0000 (08:22 +0000)] 
Reordered declarations.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8026

17 years agoBug fix: bm_equal() now also works if the first argument contains one or more bitmap...
Bart Van Assche [Sat, 10 May 2008 08:22:20 +0000 (08:22 +0000)] 
Bug fix: bm_equal() now also works if the first argument contains one or more bitmap structures that are entirely zero.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8025

17 years agoAdded more tests.
Bart Van Assche [Sat, 10 May 2008 08:21:07 +0000 (08:21 +0000)] 
Added more tests.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8024

17 years agoAdded -O2 to the compilation flags of drd_bitmap_test.
Bart Van Assche [Sat, 10 May 2008 08:20:22 +0000 (08:20 +0000)] 
Added -O2 to the compilation flags of drd_bitmap_test.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8023

17 years agoConverted VG_(assert_fail)() to ANSI C.
Bart Van Assche [Sat, 10 May 2008 05:49:58 +0000 (05:49 +0000)] 
Converted VG_(assert_fail)() to ANSI C.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8022

17 years agoOops. Don't die on {x86,amd64}-linux when doing --track-origins=yes
Julian Seward [Fri, 9 May 2008 23:26:19 +0000 (23:26 +0000)] 
Oops.  Don't die on {x86,amd64}-linux when doing --track-origins=yes
and --smc-check=all.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8021

17 years agoAdd a regression test for fxsave.
Julian Seward [Fri, 9 May 2008 21:38:12 +0000 (21:38 +0000)] 
Add a regression test for fxsave.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8019

17 years agoAdd a test case for #157748.
Julian Seward [Fri, 9 May 2008 19:46:55 +0000 (19:46 +0000)] 
Add a test case for #157748.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8018

17 years agoUpdate the list of bugs to be fixed.
Julian Seward [Thu, 8 May 2008 14:02:56 +0000 (14:02 +0000)] 
Update the list of bugs to be fixed.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8017

17 years agoUse $(AM_FLAG_M3264_PRI) everywhere CFLAGS is explicitly set.
Julian Seward [Wed, 7 May 2008 22:16:50 +0000 (22:16 +0000)] 
Use $(AM_FLAG_M3264_PRI) everywhere CFLAGS is explicitly set.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8016

17 years agoAdd missing words to comment.
Julian Seward [Wed, 7 May 2008 00:23:28 +0000 (00:23 +0000)] 
Add missing words to comment.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8015

17 years agoMake sure compilation of pth_cancel1.c gets $(AM_FLAG_M3264_PRI).
Julian Seward [Wed, 7 May 2008 00:22:47 +0000 (00:22 +0000)] 
Make sure compilation of pth_cancel1.c gets $(AM_FLAG_M3264_PRI).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8014

17 years agoBuild fixes for AIX5.3.
Julian Seward [Tue, 6 May 2008 23:01:05 +0000 (23:01 +0000)] 
Build fixes for AIX5.3.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8013

17 years agoSuppress stack-switching message in XML mode.
Julian Seward [Tue, 6 May 2008 21:01:19 +0000 (21:01 +0000)] 
Suppress stack-switching message in XML mode.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8012

17 years agoUn-break signal frame delivery on ppc64 following recent Memcheck
Julian Seward [Tue, 6 May 2008 18:14:27 +0000 (18:14 +0000)] 
Un-break signal frame delivery on ppc64 following recent Memcheck
origin tracking changes.  This is believed to fix #161628.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8011

17 years agoAdd an expected output for ppc64-linux; probably required due to dodgyness in
Julian Seward [Tue, 6 May 2008 16:54:53 +0000 (16:54 +0000)] 
Add an expected output for ppc64-linux; probably required due to dodgyness in
line number info, either in writing on gcc's part or reading on Valgrind's part.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8010

17 years agoWhy doesn't this sodding language have a half-decent type system?
Julian Seward [Tue, 6 May 2008 15:40:32 +0000 (15:40 +0000)] 
Why doesn't this sodding language have a half-decent type system?
This took me all day to track down.  Gimme Haskell any day.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8009

17 years agoAdd a test for origin tracking through large floating point arrays.
Julian Seward [Tue, 6 May 2008 08:14:57 +0000 (08:14 +0000)] 
Add a test for origin tracking through large floating point arrays.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8008

17 years agoAdd comments giving an overview of the origin tracking implementation.
Julian Seward [Mon, 5 May 2008 09:48:56 +0000 (09:48 +0000)] 
Add comments giving an overview of the origin tracking implementation.
Also, rename "ocache" to "ocacheL1" to be more consistent with the
comments and the rest of the otag cache code.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8007

17 years agoAdd documentation on the new --track-origins=no|yes [no] flag.
Julian Seward [Sun, 4 May 2008 23:06:28 +0000 (23:06 +0000)] 
Add documentation on the new --track-origins=no|yes [no] flag.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8006

17 years agoMake sure that the return value of highest_used_stack_address() is a valid stack...
Bart Van Assche [Sun, 4 May 2008 11:59:01 +0000 (11:59 +0000)] 
Make sure that the return value of highest_used_stack_address() is a valid stack pointer.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8005

17 years agoFixed compiler warnings.
Bart Van Assche [Sun, 4 May 2008 08:10:24 +0000 (08:10 +0000)] 
Fixed compiler warnings.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8004

17 years agoDisable gcc warnings about shadowed variables when compiling varinfo2.c.
Bart Van Assche [Sun, 4 May 2008 08:09:44 +0000 (08:09 +0000)] 
Disable gcc warnings about shadowed variables when compiling varinfo2.c.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8003

17 years agoSuppressed most output while the regression test is run.
Bart Van Assche [Sun, 4 May 2008 07:47:21 +0000 (07:47 +0000)] 
Suppressed most output while the regression test is run.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8002

17 years agoRenamed bm_compare() into bm_equal(). Fixed a bug in bm_equal().
Bart Van Assche [Sun, 4 May 2008 07:46:20 +0000 (07:46 +0000)] 
Renamed bm_compare() into bm_equal(). Fixed a bug in bm_equal().

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8001

17 years agoPrint name of Fedora package that contains /usr/bin/getconf in case /usr/bin/getconf...
Bart Van Assche [Sat, 3 May 2008 09:35:01 +0000 (09:35 +0000)] 
Print name of Fedora package that contains /usr/bin/getconf in case /usr/bin/getconf is not found.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8000

17 years agoChanged #if defined(platform) tests into #if defined(HAVE_...) tests.
Bart Van Assche [Sat, 3 May 2008 09:15:25 +0000 (09:15 +0000)] 
Changed #if defined(platform) tests into #if defined(HAVE_...) tests.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7999

17 years agoAdded configure tests for PTHREAD_MUTEX_ADAPTIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP...
Bart Van Assche [Sat, 3 May 2008 09:12:15 +0000 (09:12 +0000)] 
Added configure tests for PTHREAD_MUTEX_ADAPTIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_RECURSIVE_NP and PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7998

17 years agoReverted last commit since it does not fix anything (unfortunately).
Bart Van Assche [Sat, 3 May 2008 09:00:40 +0000 (09:00 +0000)] 
Reverted last commit since it does not fix anything (unfortunately).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7997

17 years agoPrint an error message if /usr/bin/getconf is not found.
Bart Van Assche [Sat, 3 May 2008 08:34:52 +0000 (08:34 +0000)] 
Print an error message if /usr/bin/getconf is not found.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7996

17 years agoRemove a bit of unused code.
Julian Seward [Sat, 3 May 2008 05:24:57 +0000 (05:24 +0000)] 
Remove a bit of unused code.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7995

17 years agoMake sure sp[0] and fp[0] are set in a rarely-taken path. Thanks to
Julian Seward [Fri, 2 May 2008 22:27:07 +0000 (22:27 +0000)] 
Make sure sp[0] and fp[0] are set in a rarely-taken path.  Thanks to
Bart for spotting this.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7994

17 years agoRefined assert statements.
Bart Van Assche [Fri, 2 May 2008 19:21:02 +0000 (19:21 +0000)] 
Refined assert statements.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7993

17 years agoAdded yet another assertion statement.
Bart Van Assche [Fri, 2 May 2008 19:12:43 +0000 (19:12 +0000)] 
Added yet another assertion statement.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7992

17 years agoPostponed call of vg_set_main_thread_state() from /lib/ld-*.so:_start() to the call...
Bart Van Assche [Fri, 2 May 2008 18:53:33 +0000 (18:53 +0000)] 
Postponed call of vg_set_main_thread_state() from /lib/ld-*.so:_start() to the call of main(), the program entry point.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7991

17 years agoAdded an assert statement to check the validity of the computed highest used stack...
Bart Van Assche [Fri, 2 May 2008 17:27:08 +0000 (17:27 +0000)] 
Added an assert statement to check the validity of the computed highest used stack address.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7990