]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
16 years agoMerge some minor regtest updates from the DARWIN branch:
Nicholas Nethercote [Fri, 23 Jan 2009 00:02:07 +0000 (00:02 +0000)] 
Merge some minor regtest updates from the DARWIN branch:
- avoid using <malloc.h> where it's not necessary, because on DARWIN it's
  called <malloc/malloc.h>
- filter the output of brk2 more, which allows the .stderr.exp2 file to be
  removed.

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

16 years agoMove the test for __sync_bool_compare_and_swap almost to the bottom,
Julian Seward [Thu, 22 Jan 2009 22:44:30 +0000 (22:44 +0000)] 
Move the test for __sync_bool_compare_and_swap almost to the bottom,
so it can use $mflag_primary.  This makes the word size for which the
test is done (-m32 or -m64) be the same as for which it is actually
needed, and in some situations unbreaks building of the regtests in
32-bit mode on a 64-bit machine.

For the same reason, apply $mflag_primary to the test for OpenMP.

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

16 years agoRename all the arch/OS/platform-related variables in configure.in to make it
Nicholas Nethercote [Thu, 22 Jan 2009 21:56:32 +0000 (21:56 +0000)] 
Rename all the arch/OS/platform-related variables in configure.in to make it
clearer what they mean:
- They all have VGCONF_ prefixes now, to indicate they come out of
  configure.in (and are clearly distinguished from the VGA_/VGO_/VGP_
  #defines passed in to C files).
- The ones that refer to the primary *or* secondary platform have _INCLUDES_
  in them.
- The ones that are in all-caps have a _CAPS suffix.

So, for example, what was VGP_X86_LINUX is now
VGCONF_PLATFORMS_INCLUDE_X86_LINUX, which is more verbose but also a lot
clearer.  The names of the #defines used in the C files (VGA_x86, VGO_linux,
etc) are unchanged.

cputest.c: changed to reflect the Valgrind installation's capabilities,
rather than the machine's capabilities.  In particular, if
--enable-only32bit is used on a 64-bit machine, then this program will claim
to only support 32-bits.  Also use the VGA/VGO/VGP macros which are clearer
than the __i386__ ones.  (This is partially merged from the DARWIN branch.)

configure.in: clean up the comments, distinguish different sections more
clearly, and generally make it more readable.

valgrind.pc.in: try to make this more accurate.  I doubt anyone's using it.
It doesn't appear to be set up to handle dual-architecture builds.

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

16 years agoMinor tidyings:
Julian Seward [Thu, 22 Jan 2009 21:18:15 +0000 (21:18 +0000)] 
Minor tidyings:

search_all_symtabs: look for data symbols also in .sbss and .rodata
sections.

VG_(seginfo_sect_kind): identify addresses in .sbss sections.

VG_(pp_SectKind): handle missing case Vg_SectGOTPLT

search_all_loctabs, VG_(get_objname), VG_(find_seginfo): augment tests
"di->text_present" with "&& di->text_size > 0" (probably not
necessary, but is clearer, and more consistent in that most places
that look at DebugInfo.text_{size,avma} first perform both of those
tests).

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

16 years agoSuppress any error at all that occurs in libpthread, without any
Julian Seward [Thu, 22 Jan 2009 20:46:51 +0000 (20:46 +0000)] 
Suppress any error at all that occurs in libpthread, without any
regard for any calling frames.  Needed to hide the fact that we can't
see stdio locking stuff and hence end up reporting a lot of errors in
multithreaded stdio working.
MERGE TO 3_4_BRANCH.

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

16 years agoMore aggressive suppression of error reports from ld.so.
Julian Seward [Thu, 22 Jan 2009 20:42:03 +0000 (20:42 +0000)] 
More aggressive suppression of error reports from ld.so.
MERGE TO 3_4_BRANCH.

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

16 years agoDon't worry about an unmapped, zero sized, bss segment. Bug #181594.
Tom Hughes [Thu, 22 Jan 2009 16:53:25 +0000 (16:53 +0000)] 
Don't worry about an unmapped, zero sized, bss segment. Bug #181594.

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

16 years agoAccept zero size text segments. Bug #181594.
Tom Hughes [Thu, 22 Jan 2009 15:08:53 +0000 (15:08 +0000)] 
Accept zero size text segments. Bug #181594.

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

16 years agoHandle the rodata and sbss sections and cope with variables that
Tom Hughes [Thu, 22 Jan 2009 14:14:13 +0000 (14:14 +0000)] 
Handle the rodata and sbss sections and cope with variables that
are in those sections.

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

16 years agoBias values should be PtrdiffT now.
Tom Hughes [Thu, 22 Jan 2009 14:02:26 +0000 (14:02 +0000)] 
Bias values should be PtrdiffT now.

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

16 years agoRemoved unused round_Addr_upwards function.
Tom Hughes [Thu, 22 Jan 2009 13:44:03 +0000 (13:44 +0000)] 
Removed unused round_Addr_upwards function.

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

16 years agoDon't assume that all global variables are in the data section - we
Tom Hughes [Thu, 22 Jan 2009 13:40:12 +0000 (13:40 +0000)] 
Don't assume that all global variables are in the data section - we
now cope with variables in the text, data, sdata and bss sections.

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

16 years agoImprove detection of where ELF sections have been mapped by taking
Tom Hughes [Thu, 22 Jan 2009 13:24:06 +0000 (13:24 +0000)] 
Improve detection of where ELF sections have been mapped by taking
the ELF segment table into account when deciding on the mapping
between SVMA and AVMA for a section.

This also allows the BSS kludge to be dropped, as the BSS address is
now correctly determined.

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

16 years agoSome minor format string fixes for gcc-3.3.3 (SuSE 9.1). Not sure why
Julian Seward [Thu, 22 Jan 2009 12:24:26 +0000 (12:24 +0000)] 
Some minor format string fixes for gcc-3.3.3 (SuSE 9.1).  Not sure why
later gccs don't complain about these.

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

16 years agoDon't hardwire @FLAG_M32@ in here, since this directory isn't arch
Julian Seward [Thu, 22 Jan 2009 01:36:51 +0000 (01:36 +0000)] 
Don't hardwire @FLAG_M32@ in here, since this directory isn't arch
specific (and so the build fails eg on a 64 bit machine that does
not have a 32-bit toolchain installed).  Use $(AM_FLAG_M3264_PRI)
instead.

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

16 years ago- No longer using VG_ARCH_ALL to determine the DIST_SUBDIRS used for
Nicholas Nethercote [Thu, 22 Jan 2009 01:13:16 +0000 (01:13 +0000)] 
- No longer using VG_ARCH_ALL to determine the DIST_SUBDIRS used for
  arch/OS/platform-specific tool test dirs, instead writing it by hand.
  This is important because up until now if we had any arch-specific test
  dirs, we needed such dirs for all archs.  Now that we also have
  OS-specific and platform-specific test dirs, we don't want to have
  (mostly) empty dirs for every arch/OS/platform.

- Correspondingly, removed several empty directories under memcheck/tests/
  and cachegrind/tests that are no longer needed.

- Also removed VG_ARCH_ALL from configure.in.

- Also used an arch-specific guard rather than a platform-specific one where
  appropriate in cachegrind/tests/Makefile.am.

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

16 years agoMerge part of r8943 from the Darwin branch -- use VGA_* instead of VGP_* for
Nicholas Nethercote [Wed, 21 Jan 2009 22:52:39 +0000 (22:52 +0000)] 
Merge part of r8943 from the Darwin branch -- use VGA_* instead of VGP_* for
selecting the arch-specific tests.

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

16 years agoIn AC_TRY_COMPILE, only include the function body, not the surrounding "int
Nicholas Nethercote [Wed, 21 Jan 2009 22:25:50 +0000 (22:25 +0000)] 
In AC_TRY_COMPILE, only include the function body, not the surrounding "int
main { ... }".

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

16 years agoReplace some 4-space indents with 3-space indents. Merged from DARWIN.
Nicholas Nethercote [Wed, 21 Jan 2009 22:19:26 +0000 (22:19 +0000)] 
Replace some 4-space indents with 3-space indents.  Merged from DARWIN.

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

16 years agoThis should have been part of r9004.
Nicholas Nethercote [Wed, 21 Jan 2009 04:11:13 +0000 (04:11 +0000)] 
This should have been part of r9004.

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

16 years ago- Split up m_ume.c into m_ume/{main,elf,script}.c. This will make merging
Nicholas Nethercote [Wed, 21 Jan 2009 02:26:56 +0000 (02:26 +0000)] 
- Split up m_ume.c into m_ume/{main,elf,script}.c.  This will make merging
  the DARWIN branch easier later.
- Remove the disabled vgtest_ume test, it's very unlikely it'll ever work
  again.
- Move VG_(find_auxv) to initimg-linux.c, the only place it's used, and make
  it static.

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

16 years agoA couple more changes to fix the conditional building of DRD tests.
Nicholas Nethercote [Tue, 20 Jan 2009 22:54:50 +0000 (22:54 +0000)] 
A couple more changes to fix the conditional building of DRD tests.

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

16 years agoAdded yet another output variant.
Bart Van Assche [Tue, 20 Jan 2009 14:29:52 +0000 (14:29 +0000)] 
Added yet another output variant.

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

16 years agoAdded yet another output variant.
Bart Van Assche [Tue, 20 Jan 2009 14:25:22 +0000 (14:25 +0000)] 
Added yet another output variant.

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

16 years agoElaborated prereq clauses.
Bart Van Assche [Tue, 20 Jan 2009 14:18:29 +0000 (14:18 +0000)] 
Elaborated prereq clauses.

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

16 years agoMade compilation of multiple tests conditional.
Bart Van Assche [Tue, 20 Jan 2009 14:02:22 +0000 (14:02 +0000)] 
Made compilation of multiple tests conditional.

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

16 years agoAdded automake conditional HAVE_PTHREAD_MUTEX_TIMEDLOCK.
Bart Van Assche [Tue, 20 Jan 2009 14:01:16 +0000 (14:01 +0000)] 
Added automake conditional HAVE_PTHREAD_MUTEX_TIMEDLOCK.

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

16 years agoOnly call pthread_rwlock_timedwrlock() or pthread_rwlock_timedrdlock() if supported.
Bart Van Assche [Tue, 20 Jan 2009 13:57:50 +0000 (13:57 +0000)] 
Only call pthread_rwlock_timedwrlock() or pthread_rwlock_timedrdlock() if supported.

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

16 years agoAdded configure tests for optional POSIX threads functionality.
Bart Van Assche [Tue, 20 Jan 2009 13:45:38 +0000 (13:45 +0000)] 
Added configure tests for optional POSIX threads functionality.

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

16 years agoGenerate default.supp at compile-time, not configure-time.
Nicholas Nethercote [Tue, 20 Jan 2009 06:56:26 +0000 (06:56 +0000)] 
Generate default.supp at compile-time, not configure-time.

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

16 years agoThe load addresses depend on the platform, not the architecture.
Nicholas Nethercote [Tue, 20 Jan 2009 06:06:52 +0000 (06:06 +0000)] 
The load addresses depend on the platform, not the architecture.

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

16 years agoVG_ARCH doesn't exist any more, use VG_ARCH_PRI in valgrind.pc.in.
Nicholas Nethercote [Tue, 20 Jan 2009 06:06:20 +0000 (06:06 +0000)] 
VG_ARCH doesn't exist any more, use VG_ARCH_PRI in valgrind.pc.in.

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

16 years agoMake this file compile without warnings when the PERF_FAST_* macros are
Nicholas Nethercote [Mon, 19 Jan 2009 23:42:45 +0000 (23:42 +0000)] 
Make this file compile without warnings when the PERF_FAST_* macros are
disabled.

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

16 years agoAdd a comment explaining this test.
Nicholas Nethercote [Mon, 19 Jan 2009 21:33:25 +0000 (21:33 +0000)] 
Add a comment explaining this test.

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

16 years agoRemoved superfluous dependency.
Bart Van Assche [Mon, 19 Jan 2009 19:58:32 +0000 (19:58 +0000)] 
Removed superfluous dependency.

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

16 years agoCreate memcheck/tests/linux/ and move some Linux-specific tests
Nicholas Nethercote [Mon, 19 Jan 2009 03:44:19 +0000 (03:44 +0000)] 
Create memcheck/tests/linux/ and move some Linux-specific tests
into it.  Partial merge from DARWIN branch, r8943.

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

16 years agoCreate memcheck/tests/x86-linux/ and move some platform-specific tests (the
Nicholas Nethercote [Mon, 19 Jan 2009 03:16:59 +0000 (03:16 +0000)] 
Create memcheck/tests/x86-linux/ and move some platform-specific tests (the
scalar* ones) into it.  Partial merge from DARWIN branch, r8943.

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

16 years agoMerged r8966 (show scanning output during leak checking with -v) from DARWIN
Nicholas Nethercote [Mon, 19 Jan 2009 00:43:34 +0000 (00:43 +0000)] 
Merged r8966 (show scanning output during leak checking with -v) from DARWIN
branch.

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

16 years agoMake sure that sigalrm.c compiles correctly on systems that do not have the header...
Bart Van Assche [Fri, 16 Jan 2009 12:07:52 +0000 (12:07 +0000)] 
Make sure that sigalrm.c compiles correctly on systems that do not have the header file <asm/unistd.h>.

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

16 years agoAdded configure test for the header file <asm/unistd.h>.
Bart Van Assche [Fri, 16 Jan 2009 12:06:54 +0000 (12:06 +0000)] 
Added configure test for the header file <asm/unistd.h>.

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

16 years agoObtain current time through time() instead of through clock_gettime(CLOCK_REALTIME...
Bart Van Assche [Fri, 16 Jan 2009 11:57:50 +0000 (11:57 +0000)] 
Obtain current time through time() instead of through clock_gettime(CLOCK_REALTIME), such that this test compiles on systems that do not support CLOCK_REALTIME.

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

16 years agoRemove an unnecessary #include that breaks the test on Darwin, and update
Nicholas Nethercote [Fri, 16 Jan 2009 07:04:26 +0000 (07:04 +0000)] 
Remove an unnecessary #include that breaks the test on Darwin, and update
the expected output line numbers accordingly.  MERGED FROM DARWIN BRANCH.

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

16 years agoIntroduce a new type, PtrdiffT. Replace lots of uses of OffT (all those
Nicholas Nethercote [Thu, 15 Jan 2009 21:29:24 +0000 (21:29 +0000)] 
Introduce a new type, PtrdiffT.  Replace lots of uses of OffT (all those
that are memory offsets) with PtrdiffT;  OffT should only be used for file
sizes and offsets.

Change Off64T from a ULong to a Long, as it should be.  Replace some uses
of ULong in the address space manager with Off64T to match.

Also add a comment explaining the meanings of the basic types like Addr,
OffT, SizeT, etc.

Also fix the prototype for VG_(pread) -- the last arg is an OffT, not an
Int.

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

16 years agoThe SG_GET_TIMEOUT ioctl doesn't write to memory - it returns the
Tom Hughes [Thu, 15 Jan 2009 08:49:09 +0000 (08:49 +0000)] 
The SG_GET_TIMEOUT ioctl doesn't write to memory - it returns the
timeout via it's return value.

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

16 years agoThe SG_GET_VERSION_NUM ioctl writes to memory rather than reading it.
Tom Hughes [Thu, 15 Jan 2009 08:48:14 +0000 (08:48 +0000)] 
The SG_GET_VERSION_NUM ioctl writes to memory rather than reading it.

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

16 years agoCompress the file passed as the third argument before attaching it to the outgoing...
Bart Van Assche [Tue, 13 Jan 2009 09:22:19 +0000 (09:22 +0000)] 
Compress the file passed as the third argument before attaching it to the outgoing e-mail.

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

16 years agoAdded an additional expected output file.
Bart Van Assche [Tue, 13 Jan 2009 08:22:05 +0000 (08:22 +0000)] 
Added an additional expected output file.

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

16 years agoRuns now fine on systems for which PTHREAD_STACK_MIN > 32768.
Bart Van Assche [Tue, 13 Jan 2009 08:18:59 +0000 (08:18 +0000)] 
Runs now fine on systems for which PTHREAD_STACK_MIN > 32768.

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

16 years agoDo not only intercept SIGILL during detection of the supported instruction set
Bart Van Assche [Tue, 13 Jan 2009 07:49:14 +0000 (07:49 +0000)] 
Do not only intercept SIGILL during detection of the supported instruction set
on ppc but also SIGFPE. This patch should make instruction set detection work
on the PowerPC 440EPx.
Fixes bug #176926.

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

16 years agoSSE3 and SSSE3 are two different things, so add a proper SSSE3 feature
Tom Hughes [Mon, 12 Jan 2009 15:26:59 +0000 (15:26 +0000)] 
SSE3 and SSSE3 are two different things, so add a proper SSSE3 feature
test and use that to guard the SSSE3 tests.

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

16 years agoChanged single recipient into a list of recipients and fixed mutt subject and attachm...
Bart Van Assche [Mon, 12 Jan 2009 13:06:47 +0000 (13:06 +0000)] 
Changed single recipient into a list of recipients and fixed mutt subject and attachment arguments.

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

16 years agoAdded to repository.
Bart Van Assche [Mon, 12 Jan 2009 12:52:36 +0000 (12:52 +0000)] 
Added to repository.

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

16 years agoMade sure that all diff files are processed.
Bart Van Assche [Mon, 12 Jan 2009 11:06:05 +0000 (11:06 +0000)] 
Made sure that all diff files are processed.

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

16 years agoUpdated machine details.
Bart Van Assche [Mon, 12 Jan 2009 11:04:42 +0000 (11:04 +0000)] 
Updated machine details.

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

16 years agoAdded new nightly build configuration variable: ABT_EVAL.
Bart Van Assche [Mon, 12 Jan 2009 08:23:15 +0000 (08:23 +0000)] 
Added new nightly build configuration variable: ABT_EVAL.

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

16 years agoRenamed georgia-tech-cellbuzz.* to georgia-tech-cellbuzz-cross.*.
Bart Van Assche [Sun, 11 Jan 2009 19:01:12 +0000 (19:01 +0000)] 
Renamed georgia-tech-cellbuzz.* to georgia-tech-cellbuzz-cross.*.

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

16 years agoFixed typo (a space was lost by copying text between shell sessions).
Bart Van Assche [Sun, 11 Jan 2009 16:16:14 +0000 (16:16 +0000)] 
Fixed typo (a space was lost by copying text between shell sessions).

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

16 years agoThe blockfault regression test now passes on 64 bit systems too.
Bart Van Assche [Sat, 10 Jan 2009 09:34:13 +0000 (09:34 +0000)] 
The blockfault regression test now passes on 64 bit systems too.

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

16 years agoAdd signalfd4 support.
Tom Hughes [Fri, 9 Jan 2009 16:42:51 +0000 (16:42 +0000)] 
Add signalfd4 support.

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

16 years agoSort file names alphabetically before processing the diff files.
Bart Van Assche [Thu, 8 Jan 2009 13:29:51 +0000 (13:29 +0000)] 
Sort file names alphabetically before processing the diff files.

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

16 years agoMade DRD regression pass when the glibc-debuginfo package is installed.
Bart Van Assche [Thu, 8 Jan 2009 12:50:57 +0000 (12:50 +0000)] 
Made DRD regression pass when the glibc-debuginfo package is installed.

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

16 years agotrunk/nightly/bin/nightly
Nicholas Nethercote [Thu, 8 Jan 2009 06:24:13 +0000 (06:24 +0000)] 
trunk/nightly/bin/nightly
    Use '.' instead of 'source', because that's how /bin/sh does it.  This
    should make the script more reliable on systems that don't have bash as
    the /bin/sh, eg. Ubuntu and Debian.

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

16 years agotrunk/memcheck/tests/Makefile.am
Nicholas Nethercote [Thu, 8 Jan 2009 06:07:05 +0000 (06:07 +0000)] 
trunk/memcheck/tests/Makefile.am
trunk/memcheck/tests/vcpu_bz2.c
trunk/memcheck/tests/vcpu_bz2.vgtest
    vcpu_bz2.c was (I think) an "svn copy" of perf/bz2.c.  Because it's a
    copy, the two can get out of sync, which was a problem with Greg
    Parker's Darwin patch.  So we remove vcpu_bz2.c, and make
    vcpu_bz2.vgtest invoke perf/bz2 directly.

trunk/cachegrind/tests/wrap5.c
trunk/cachegrind/tests/Makefile.am
trunk/cachegrind/tests/wrap5.vgtest
    wrap5.c was likewise an "svn copy" of memcheck/tests/wrap5.c, so we do
    the equivalent thing with it.

trunk/Makefile.am
    Fix a typo.

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

16 years agoHandle __NR_socketpair in Ptrcheck.
Julian Seward [Wed, 7 Jan 2009 09:35:10 +0000 (09:35 +0000)] 
Handle __NR_socketpair in Ptrcheck.

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

16 years agotrunk/nightly/bin/nightly
Nicholas Nethercote [Wed, 7 Jan 2009 08:08:41 +0000 (08:08 +0000)] 
trunk/nightly/bin/nightly
    Be POSIXy.

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

16 years agoIndex: nightly/bin/nightly
Nicholas Nethercote [Wed, 7 Jan 2009 06:19:03 +0000 (06:19 +0000)] 
Index: nightly/bin/nightly
    - Check that it is passed two arguments, abort if not (avoids some
      possibly confusing behaviour).
    - Remove various uses of $ABT_TOP in paths; it's not necessary because
      the first thing the script does is 'cd' to $ABT_TOP.  Furthemore, some
      paths lacked the $ABT_TOP which was confusing.
    - Gather up all the diffs from the tests, grab the first 100 lines (or
      less, if shorter) of each, and concatenate into a file, the name of
      which is passed to the <tag>.sendmail script so it can be attached.

Index: nightly/README.txt
    Explain the new 3rd argument.

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

16 years agotrunk/nightly/bin/nightly
Nicholas Nethercote [Wed, 7 Jan 2009 04:47:20 +0000 (04:47 +0000)] 
trunk/nightly/bin/nightly
    Use '=' instead of '==', which is a bash-ism that doesn't work on
    Debian/Ubuntu systems that have dash installed as /bin/sh.  It only
    mildly affected the script's running -- it made it say that certain
    stages failed when really they didn't.

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

16 years agoComment-only changes.
Nicholas Nethercote [Wed, 7 Jan 2009 04:14:42 +0000 (04:14 +0000)] 
Comment-only changes.

trunk/nightly/bin/nightly
trunk/nightly/README.txt
    Greatly improved the description of how to use this script;  a user now
    has a fighting chance of using the script without actually reading it.

trunk/nightly/conf/nemesis.sendmail
trunk/nightly/conf/georgia-tech-cellbuzz.sendmail
    Clarified the usage comments.

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

16 years agocallgrind/tests/filter_stderr
Nicholas Nethercote [Wed, 7 Jan 2009 02:34:06 +0000 (02:34 +0000)] 
callgrind/tests/filter_stderr
cachegrind/tests/filter_stderr
    Filter out an additional warning, so the tests pass on machines with a
    6MB L2 cache.

cachegrind/cg-x86.c
cachegrind/cg-amd64.c
    These two files were almost identical.  cg-amd64.c now just #includes
    cg-x86.c.

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

16 years agoAdd an FAQ about attaching Valgrind to already-running programs.
Nicholas Nethercote [Tue, 6 Jan 2009 05:54:45 +0000 (05:54 +0000)] 
Add an FAQ about attaching Valgrind to already-running programs.

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

16 years agoBump version number on the trunk.
Julian Seward [Mon, 5 Jan 2009 17:14:12 +0000 (17:14 +0000)] 
Bump version number on the trunk.

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

16 years agoAdd some more system calls to ptrcheck.
Tom Hughes [Mon, 5 Jan 2009 12:16:21 +0000 (12:16 +0000)] 
Add some more system calls to ptrcheck.

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

16 years agoLate entrant for 3.4.0 (sigh)
Julian Seward [Fri, 2 Jan 2009 23:21:54 +0000 (23:21 +0000)] 
Late entrant for 3.4.0 (sigh)

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

16 years ago--> 3.4.0 (first attempt)
Julian Seward [Fri, 2 Jan 2009 23:19:26 +0000 (23:19 +0000)] 
--> 3.4.0 (first attempt)

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

16 years agoSuppress all races whose top frame is in libc.so. This is a not very
Julian Seward [Fri, 2 Jan 2009 23:17:02 +0000 (23:17 +0000)] 
Suppress all races whose top frame is in libc.so.  This is a not very
clever interim solution to the problem of Helgrind reporting lots of
false races in glibc's stdio functions, due to it not seeing the
relevant (inlined, alas) locking that glibc uses.

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

16 years agoUpdated ignore list.
Bart Van Assche [Fri, 2 Jan 2009 17:49:17 +0000 (17:49 +0000)] 
Updated ignore list.

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

16 years agoPolished manual.
Bart Van Assche [Fri, 2 Jan 2009 13:29:32 +0000 (13:29 +0000)] 
Polished manual.

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

16 years agoAdd some more Intel cache configuration values needed for Atom
Tom Hughes [Fri, 2 Jan 2009 11:07:18 +0000 (11:07 +0000)] 
Add some more Intel cache configuration values needed for Atom
processors. These come from sandpile.org as the current version
of Intel's Application Note 485 doesn't have them yet.

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

16 years agoRemove spurious newlines from messages.
Tom Hughes [Fri, 2 Jan 2009 11:03:55 +0000 (11:03 +0000)] 
Remove spurious newlines from messages.

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

16 years agoAdd some more Intel L2 and L3 cache configuration values.
Tom Hughes [Fri, 2 Jan 2009 10:42:27 +0000 (10:42 +0000)] 
Add some more Intel L2 and L3 cache configuration values.

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

16 years agoUpdated to do list.
Bart Van Assche [Wed, 31 Dec 2008 09:55:44 +0000 (09:55 +0000)] 
Updated to do list.

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

16 years agoSuppress any race that occurs in ld.so (just a single frame will do).
Julian Seward [Mon, 29 Dec 2008 14:46:26 +0000 (14:46 +0000)] 
Suppress any race that occurs in ld.so (just a single frame will do).
his gets rid of a bunch of more specific suppressions.

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

16 years agoAdditional suppression patterns for glib.
Bart Van Assche [Sat, 27 Dec 2008 09:19:01 +0000 (09:19 +0000)] 
Additional suppression patterns for glib.

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

16 years agoMoved two define's, such that the ABIWARNING appears immediately before the enum...
Bart Van Assche [Thu, 25 Dec 2008 09:31:40 +0000 (09:31 +0000)] 
Moved two define's, such that the ABIWARNING appears immediately before the enum declaration it applies to.

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

16 years agoMade sure that the file bar_trivial.stdout.exp gets included in the distribution...
Bart Van Assche [Thu, 25 Dec 2008 09:09:59 +0000 (09:09 +0000)] 
Made sure that the file bar_trivial.stdout.exp gets included in the distribution tarball.

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

16 years agoSecond attempt at 3.4.0 RC1.
Julian Seward [Wed, 24 Dec 2008 18:40:57 +0000 (18:40 +0000)] 
Second attempt at 3.4.0 RC1.

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

16 years agoAdded a pthread suppression pattern and generalized a glib suppression pattern.
Bart Van Assche [Wed, 24 Dec 2008 10:13:33 +0000 (10:13 +0000)] 
Added a pthread suppression pattern and generalized a glib suppression pattern.

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

16 years agoRenamed a variable and removed two statements that were commented out.
Bart Van Assche [Wed, 24 Dec 2008 09:45:41 +0000 (09:45 +0000)] 
Renamed a variable and removed two statements that were commented out.

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

16 years agoFinalise 3.4.0 RC1.
Julian Seward [Tue, 23 Dec 2008 23:09:57 +0000 (23:09 +0000)] 
Finalise 3.4.0 RC1.

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

16 years agoUn-break 'make dist'.
Julian Seward [Tue, 23 Dec 2008 20:46:12 +0000 (20:46 +0000)] 
Un-break 'make dist'.

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

16 years agoML_(addDiCfSI)(): truncate DiCfSI's that fall partially but not
Julian Seward [Tue, 23 Dec 2008 20:00:23 +0000 (20:00 +0000)] 
ML_(addDiCfSI)(): truncate DiCfSI's that fall partially but not
entirely inside the r-x mapped area, so that they fall entirely
within the mapped area.  This is necessary in order to avoid
assertion failures later in check_CFSI_related_invariants().

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

16 years agoUpdate bug lists.
Julian Seward [Tue, 23 Dec 2008 17:04:52 +0000 (17:04 +0000)] 
Update bug lists.

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

16 years agoBump the version stuff.
Julian Seward [Tue, 23 Dec 2008 16:34:19 +0000 (16:34 +0000)] 
Bump the version stuff.

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

16 years agoUpdate.
Julian Seward [Tue, 23 Dec 2008 16:26:06 +0000 (16:26 +0000)] 
Update.

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

16 years agoDisable the building of exp-omega, but don't rm it from the repo,
Julian Seward [Tue, 23 Dec 2008 15:09:09 +0000 (15:09 +0000)] 
Disable the building of exp-omega, but don't rm it from the repo,
nor from the tarball.

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

16 years agoUpdate for 3.4.0 (imcomplete).
Julian Seward [Tue, 23 Dec 2008 13:14:06 +0000 (13:14 +0000)] 
Update for 3.4.0 (imcomplete).

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

16 years agoMinor futzing with the documentation.
Julian Seward [Tue, 23 Dec 2008 11:13:07 +0000 (11:13 +0000)] 
Minor futzing with the documentation.

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

16 years agoAdd a couple more suppressions.
Julian Seward [Tue, 23 Dec 2008 11:12:40 +0000 (11:12 +0000)] 
Add a couple more suppressions.

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

16 years agoAdd an expected-output set for Ubuntu 8.04 (and 8.10) on amd64.
Julian Seward [Tue, 23 Dec 2008 11:07:59 +0000 (11:07 +0000)] 
Add an expected-output set for Ubuntu 8.04 (and 8.10) on amd64.

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

16 years agoComment out unused code so as to get a warning free build.
Julian Seward [Tue, 23 Dec 2008 02:31:22 +0000 (02:31 +0000)] 
Comment out unused code so as to get a warning free build.

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