]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
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

17 years agoDynamically allocate the origin tracking cache as needed (only for
Julian Seward [Fri, 2 May 2008 13:35:29 +0000 (13:35 +0000)] 
Dynamically allocate the origin tracking cache as needed (only for
runs with --track-origins=yes), rather than having it statically
allocated.  This is important because the cache is large (100MB) and
soaking up 100MB of address space for a non-tracking run is not good.
Unfortunately this slows down the origin tracker by 1 to 2 %.

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

17 years agoRe-check complex and fragile bit-twiddling pertaining to indexing into
Julian Seward [Fri, 2 May 2008 12:35:48 +0000 (12:35 +0000)] 
Re-check complex and fragile bit-twiddling pertaining to indexing into
the primary map on 64-bit systems.  Add extensive comments and
startup-time assertions.

As a result of this, fix two off-by-one errors in
MC_(helperc_MAKE_STACK_UNINIT) (unlikely to be of much significance,
but still ..).  No other errors were found.

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

17 years agoMinor cleanups:
Julian Seward [Fri, 2 May 2008 11:25:17 +0000 (11:25 +0000)] 
Minor cleanups:

* remove 'extern' in all the headers, as that is irrelevant and wastes
  horizontal space

* fix some 64-bit uncleanness in client(-defined) block handling

* remove unneeded #includes

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

17 years agoMove the error management code for Memcheck into a new file,
Julian Seward [Fri, 2 May 2008 10:33:15 +0000 (10:33 +0000)] 
Move the error management code for Memcheck into a new file,
mc_errors.c, as it is relatively self contained.  This reduces the
size of mc_main.c by about 1350 lines.

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

17 years agoUpdate expected outputs following merge of branches/OTRACK_BY_INSTRUMENTATION.
Julian Seward [Thu, 1 May 2008 22:34:16 +0000 (22:34 +0000)] 
Update expected outputs following merge of branches/OTRACK_BY_INSTRUMENTATION.

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

17 years agoBump the core/tool iface version number, since the just-merged-in
Julian Seward [Thu, 1 May 2008 21:43:17 +0000 (21:43 +0000)] 
Bump the core/tool iface version number, since the just-merged-in
changes for Memcheck origin tracking change the interface (slightly).

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

17 years agoTemporarily work around compilation failures caused by non-definition
Julian Seward [Thu, 1 May 2008 21:22:38 +0000 (21:22 +0000)] 
Temporarily work around compilation failures caused by non-definition
of __NR_timerfd, pending proper resolution.  See
http://bugs.kde.org/show_bug.cgi?id=160907

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

17 years agoMerge branches/OTRACK_BY_INSTRUMENTATION into the trunk. This adds
Julian Seward [Thu, 1 May 2008 20:24:26 +0000 (20:24 +0000)] 
Merge branches/OTRACK_BY_INSTRUMENTATION into the trunk.  This adds
support to Memcheck for tracking the origin of uninitialised values,
if you use the --track-origins=yes flag.

This currently causes some Memcheck regression tests to fail, because
they now print an extra line of advisory text in their output.  This
will be fixed.

The core-tool interface is slightly changed.  The version number for
the interface needs to be incremented.

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

17 years agoUpdate (minor).
Julian Seward [Thu, 1 May 2008 20:18:39 +0000 (20:18 +0000)] 
Update (minor).

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

17 years agoFixed compiler warning.
Bart Van Assche [Thu, 1 May 2008 15:39:18 +0000 (15:39 +0000)] 
Fixed compiler warning.

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

17 years agoRemoved -Wextra since this option has another name in gcc 3.0 (-W).
Bart Van Assche [Thu, 1 May 2008 15:38:05 +0000 (15:38 +0000)] 
Removed -Wextra since this option has another name in gcc 3.0 (-W).

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

17 years agoAdded #include <stdio.h>.
Bart Van Assche [Thu, 1 May 2008 15:00:16 +0000 (15:00 +0000)] 
Added #include <stdio.h>.

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

17 years agoAdded prereq clause.
Bart Van Assche [Thu, 1 May 2008 14:59:41 +0000 (14:59 +0000)] 
Added prereq clause.

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

17 years agoAdded to repository.
Bart Van Assche [Thu, 1 May 2008 14:58:39 +0000 (14:58 +0000)] 
Added to repository.

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

17 years agoFixed a compiler warning.
Bart Van Assche [Thu, 1 May 2008 14:36:39 +0000 (14:36 +0000)] 
Fixed a compiler warning.

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

17 years agoAdded -I$(top_srcdir)/VEX/pub to AM_CPPFLAGS.
Bart Van Assche [Thu, 1 May 2008 14:11:45 +0000 (14:11 +0000)] 
Added -I$(top_srcdir)/VEX/pub to AM_CPPFLAGS.

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

17 years agoMoved bitmap test from drd_bitmap.c to tests/drd_bitmap_test.c
Bart Van Assche [Thu, 1 May 2008 13:50:20 +0000 (13:50 +0000)] 
Moved bitmap test from drd_bitmap.c to tests/drd_bitmap_test.c

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

17 years agoRestored original bitmap test patterns.
Bart Van Assche [Thu, 1 May 2008 13:06:04 +0000 (13:06 +0000)] 
Restored original bitmap test patterns.

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

17 years agoMake sure the test for kernel version 2.6.22 will work correctly for the future kerne...
Bart Van Assche [Thu, 1 May 2008 12:35:48 +0000 (12:35 +0000)] 
Make sure the test for kernel version 2.6.22 will work correctly for the future kernel versions 2.6.220 .. 2.6.229.

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

17 years agoUpdated expected output according to glibc 2.8 changes.
Bart Van Assche [Thu, 1 May 2008 12:28:01 +0000 (12:28 +0000)] 
Updated expected output according to glibc 2.8 changes.

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

17 years agoAdded documentation for PRINT() macro in syscall wrappers.
Bart Van Assche [Thu, 1 May 2008 12:23:48 +0000 (12:23 +0000)] 
Added documentation for PRINT() macro in syscall wrappers.

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

17 years agoUpdated Makefile.am after having renamed an output file.
Bart Van Assche [Mon, 28 Apr 2008 16:51:24 +0000 (16:51 +0000)] 
Updated Makefile.am after having renamed an output file.

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

17 years agoCompiles now on systems without definition of CLOCK_MONOTONIC.
Bart Van Assche [Mon, 28 Apr 2008 16:26:49 +0000 (16:26 +0000)] 
Compiles now on systems without definition of CLOCK_MONOTONIC.

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

17 years agoAdded configure test for CLOCK_MONOTONIC.
Bart Van Assche [Mon, 28 Apr 2008 16:22:53 +0000 (16:22 +0000)] 
Added configure test for CLOCK_MONOTONIC.

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

17 years agoupdate suppression for glibc 2.8: the backtrace
Dirk Mueller [Sun, 27 Apr 2008 22:34:16 +0000 (22:34 +0000)] 
update suppression for glibc 2.8: the backtrace
points to ld-2.8.so here.. so just match for any
lib in /lib

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

17 years agofix typo
Dirk Mueller [Sun, 27 Apr 2008 20:38:47 +0000 (20:38 +0000)] 
fix typo

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