]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
17 years agoInclude headers for VG_(register_stack) calls.
Julian Seward [Mon, 11 Feb 2008 11:23:12 +0000 (11:23 +0000)] 
Include headers for VG_(register_stack) calls.

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

17 years agoFix race condition in sem_post() wrapper (Bart Van Assche).
Julian Seward [Mon, 11 Feb 2008 11:00:51 +0000 (11:00 +0000)] 
Fix race condition in sem_post() wrapper (Bart Van Assche).

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

17 years agoTrack top level Makefile.am changes in r7390.
Julian Seward [Mon, 11 Feb 2008 10:56:12 +0000 (10:56 +0000)] 
Track top level Makefile.am changes in r7390.

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

17 years agoUpdate.
Julian Seward [Sun, 10 Feb 2008 22:41:39 +0000 (22:41 +0000)] 
Update.

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

17 years agoFrom Bart van Assche:
Nicholas Nethercote [Sun, 10 Feb 2008 22:36:55 +0000 (22:36 +0000)] 
From Bart van Assche:

A long time ago pthreads-functions were instrumented in the drd-patch
via modifications of coregrind/vg_preloaded.c. A.o. detached threads
were recognized by intercepting pthread_create(). This intercept was
active for all tools, so it made sense to add a unit test for it
(none/tests/pth_detached.c). This intercept has been moved from
coregrind/vg_preloaded.c to exp-drd/drd_preloaded.c, so this unit
test does no longer make sense for nulgrind. This test may be
removed.

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

17 years agoTest exp-tools by default as well.
Nicholas Nethercote [Sun, 10 Feb 2008 22:19:58 +0000 (22:19 +0000)] 
Test exp-tools by default as well.

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

17 years agoTry to fix build system breakage w.r.t. ssse3_misaligned. It isn't
Julian Seward [Sun, 10 Feb 2008 17:46:46 +0000 (17:46 +0000)] 
Try to fix build system breakage w.r.t. ssse3_misaligned.  It isn't
created from a .def file so should not be included in INSN_TESTS.

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

17 years agoMake exp-drd regression tests succeed when glibc-debuginfo is
Julian Seward [Sat, 9 Feb 2008 14:51:41 +0000 (14:51 +0000)] 
Make exp-drd regression tests succeed when glibc-debuginfo is
installed.  (Bart Van Assche)

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

17 years agoOnly build the SSSE3 tests on machines whose assemblers know about
Julian Seward [Sat, 9 Feb 2008 12:07:40 +0000 (12:07 +0000)] 
Only build the SSSE3 tests on machines whose assemblers know about
these instructions.

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

17 years agostart 3.4.0 release notes
Nicholas Nethercote [Sat, 9 Feb 2008 05:10:45 +0000 (05:10 +0000)] 
start 3.4.0 release notes

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

17 years agoAdd SSSE3 tests.
Julian Seward [Sat, 9 Feb 2008 01:55:52 +0000 (01:55 +0000)] 
Add SSSE3 tests.

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

17 years agoTool-side support for the new primops required by SSSE3 instructions.
Julian Seward [Sat, 9 Feb 2008 01:49:32 +0000 (01:49 +0000)] 
Tool-side support for the new primops required by SSSE3 instructions.
I think this is all that is required on the tools side.

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

17 years agoMake the clone system call wrappers call VG_(register_stack) to record
Tom Hughes [Fri, 8 Feb 2008 15:17:07 +0000 (15:17 +0000)] 
Make the clone system call wrappers call VG_(register_stack) to record
the new thread's stack, then make the stack unwinder use that information
to make a better guess at the stack bounds.

This helps avoid crashes trying to unwind the stack under wine when
the starting point is a routine without a proper stack frame.

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

17 years agoUpdate (mostly to check that the svn server still works after host change)
Julian Seward [Tue, 5 Feb 2008 20:07:23 +0000 (20:07 +0000)] 
Update (mostly to check that the svn server still works after host change)

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

17 years agominor tweak
Nicholas Nethercote [Sun, 3 Feb 2008 22:35:21 +0000 (22:35 +0000)] 
minor tweak

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

17 years agoFix 'make dist' -- don't list nonexistent files for inclusion in the
Julian Seward [Sun, 3 Feb 2008 12:46:45 +0000 (12:46 +0000)] 
Fix 'make dist' -- don't list nonexistent files for inclusion in the
tarball.

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

17 years agofix typo
Nicholas Nethercote [Thu, 31 Jan 2008 05:00:42 +0000 (05:00 +0000)] 
fix typo

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

17 years agoupdate
Nicholas Nethercote [Tue, 29 Jan 2008 21:36:47 +0000 (21:36 +0000)] 
update

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

17 years agoMassif: --time-unit=ms was broken in the ms_print script. People obviously
Nicholas Nethercote [Tue, 29 Jan 2008 21:33:25 +0000 (21:33 +0000)] 
Massif: --time-unit=ms was broken in the ms_print script.  People obviously
aren't using that option much!

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

17 years agocomment-only change
Nicholas Nethercote [Tue, 29 Jan 2008 04:12:48 +0000 (04:12 +0000)] 
comment-only change

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

17 years agoAdd an alternative .post.exp output for Massif's long-names test.
Nicholas Nethercote [Tue, 29 Jan 2008 04:11:00 +0000 (04:11 +0000)] 
Add an alternative .post.exp output for Massif's long-names test.

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

17 years agodrd changes (Bart Van Assche)
Julian Seward [Mon, 21 Jan 2008 14:19:07 +0000 (14:19 +0000)] 
drd changes (Bart Van Assche)

- The exp-drd regression tests now run without producing assertion
failures and without hanging on Red Hat 7.3. It doesn't make sense
however to run exp-drd on Red Hat 7.3 -- while exp-drd works fine with
the NPTL, more work would be required to make exp-drd work with
linuxthreads.
- Converted several tl_assert() calls into error messages.
- Added a regression test called pth_barrier, which tests whether data
races are detected in a program that uses barriers. The output exp-drd
produces for this test program is not yet correct however.
- Updated exp-drd/TODO.txt.

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

17 years agoupdate
Nicholas Nethercote [Sun, 20 Jan 2008 23:30:58 +0000 (23:30 +0000)] 
update

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

17 years agoWhen truncating long lines in the output file, make sure they end with a
Nicholas Nethercote [Sun, 20 Jan 2008 22:30:52 +0000 (22:30 +0000)] 
When truncating long lines in the output file, make sure they end with a
newline.  Fixes bug #155929.

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

17 years agoRegtest/stability changes for drd (Bart Van Assche)
Julian Seward [Fri, 18 Jan 2008 07:42:01 +0000 (07:42 +0000)] 
Regtest/stability changes for drd (Bart Van Assche)

- Fix helgrind/tests/tc18_semabuse.c on glibc 2.7 (RedHat 8).

- Fixed a glibc 2.7 specific assertion failure in exp-drd, namely one
  that was triggered when sem_post()'s return value is not zero.

- exp-drd/test/matinv.c compiles now also on RedHat 7.3.

Note: more work will be required to get exp-drd working correctly on
RedHat 7.3.

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

17 years agoAllow a WordFM iterator to be initialised so as to exclude all key
Julian Seward [Thu, 17 Jan 2008 23:19:54 +0000 (23:19 +0000)] 
Allow a WordFM iterator to be initialised so as to exclude all key
values below a given value.  This allows efficiently iterating over
small subsets of a mapping.  Use this in Helgrind to avoid a
performance bad case.  Patch from Konstantin Serebryany.

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

17 years agoFix inconsistent order of fields. I think this is purely aesthetic
Julian Seward [Thu, 17 Jan 2008 14:37:24 +0000 (14:37 +0000)] 
Fix inconsistent order of fields.  I think this is purely aesthetic
since nothing depends on the actual layout of this struct, but anyway.
Noticed by Vinay Nallamothu.

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

17 years agoIntercept memcpy on 64-bit ld.so's.
Julian Seward [Tue, 15 Jan 2008 08:42:56 +0000 (08:42 +0000)] 
Intercept memcpy on 64-bit ld.so's.

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

17 years agoHandle DW_OP_plus_uconst. Possibly fixes #155091 (not yet confirmed
Julian Seward [Mon, 14 Jan 2008 12:04:11 +0000 (12:04 +0000)] 
Handle DW_OP_plus_uconst.  Possibly fixes #155091 (not yet confirmed
by reporter).

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

17 years agoDRD updates (Bart Van Assche):
Julian Seward [Mon, 14 Jan 2008 11:54:56 +0000 (11:54 +0000)] 
DRD updates (Bart Van Assche):

- Updated copyright statement: replaced 2006-2007 by 2006-2008.
- Added copyright statement in the files where it was missing
(drd_track.h and drd_clientreq.c)
- Eliminated dependencies on core header files -- there are no more
#include "pub_core....h" directives in the exp-drd source code.
- Added semaphore support.
- Added barrier support.
- Added pthread_mutex_timedlock() support.
- Stack depth of stack traces printed by exp-drd can now be set via
--num-callers=...
- Added command-line option --trace-barrier=[yes|no].
- Added regression test for pthread_barrier() (matinv, a program that
performs matrix inversion).
- Added regression test sem_as_mutex, which tests whether race
detection works correctly when a semaphore is used to ensure mutual
exclusion of critical sections.
- Some of helgrind's regression tests are now used to test both
helgrind and exp-drd: tc17_sembar and tc18_semabuse.
- Cleaned up bitmap implementation code now that the const keyword has
been added to the declarations of the OSet functions.
- Cleaned up exp-drd/Makefile.am
- Updated exp-drd/TODO.txt

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

17 years agoEnable some syscalls needed to run firefox on 64-bit ppc on Fedora 8.
Julian Seward [Wed, 9 Jan 2008 22:01:40 +0000 (22:01 +0000)] 
Enable some syscalls needed to run firefox on 64-bit ppc on Fedora 8.

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

17 years agoStart a bug-tracking file for the 3.3 line.
Julian Seward [Wed, 9 Jan 2008 21:19:44 +0000 (21:19 +0000)] 
Start a bug-tracking file for the 3.3 line.

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

17 years agoMake a new regtest target, "all-regtest", being the union of "make
Julian Seward [Wed, 9 Jan 2008 21:03:43 +0000 (21:03 +0000)] 
Make a new regtest target, "all-regtest", being the union of "make
regtest" and "make exp-regtest".  Then change the nightly build system
to run all-regtest instead of exp-regtest.

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

17 years agoMove VG_(clo_backtrace_size) to a tool-visible header file.
Julian Seward [Wed, 9 Jan 2008 18:37:41 +0000 (18:37 +0000)] 
Move VG_(clo_backtrace_size) to a tool-visible header file.

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

17 years agoIf we don't find the address in the segInfo list that ask the address
Tom Hughes [Tue, 8 Jan 2008 17:44:04 +0000 (17:44 +0000)] 
If we don't find the address in the segInfo list that ask the address
space manager for the name of the file it was mapped from as a fallback
solution.

This allows us to print the names of exe/dll files in the stack trace
when running programs under wine.

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

17 years agoMade the argument to VG_(am_get_filename) const as it doesn't need
Tom Hughes [Tue, 8 Jan 2008 16:48:30 +0000 (16:48 +0000)] 
Made the argument to VG_(am_get_filename) const as it doesn't need
to be modified and the routine to find the segment for an address now
returns a const pointer.

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

17 years agoAdd support for the sync_file_range system call.
Tom Hughes [Tue, 8 Jan 2008 16:31:25 +0000 (16:31 +0000)] 
Add support for the sync_file_range system call.

Based on patch from Russell Sears <sears@cs.berkeley.edu>.

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

17 years agoUpdate linux system call lists based on 2.6.23.1 kernel source.
Tom Hughes [Tue, 8 Jan 2008 16:10:47 +0000 (16:10 +0000)] 
Update linux system call lists based on 2.6.23.1 kernel source.

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

17 years agoValid file descriptor argument to llseek system call.
Tom Hughes [Tue, 8 Jan 2008 13:54:43 +0000 (13:54 +0000)] 
Valid file descriptor argument to llseek system call.

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

17 years agoAdd drd suppression file to the default suppressions and avoid
Tom Hughes [Sat, 5 Jan 2008 00:12:45 +0000 (00:12 +0000)] 
Add drd suppression file to the default suppressions and avoid
including core headers in the drd tool.

Patch from Bart Van Assche <bart.vanassche@gmail.com>.

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

17 years agoFix compiler warnings by using a variable to hide the null pointer
Tom Hughes [Sat, 5 Jan 2008 00:01:20 +0000 (00:01 +0000)] 
Fix compiler warnings by using a variable to hide the null pointer
from the compiler.

Patch from Bart Van Assche <bart.vanassche@gmail.com>.

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

17 years agoAdd const qualifiers to fix compiler warnings.
Tom Hughes [Fri, 4 Jan 2008 23:58:32 +0000 (23:58 +0000)] 
Add const qualifiers to fix compiler warnings.

Patch from Bart Van Assche <bart.vanassche@gmail.com>.

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

17 years agoAdd missing include to fix compiler warning.
Tom Hughes [Fri, 4 Jan 2008 23:57:15 +0000 (23:57 +0000)] 
Add missing include to fix compiler warning.

Patch from Bart Van Assche <bart.vanassche@gmail.com>.

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

17 years agoFix compiler warning.
Tom Hughes [Fri, 4 Jan 2008 23:55:27 +0000 (23:55 +0000)] 
Fix compiler warning.

Patch from Bart Van Assche <bart.vanassche@gmail.com>.

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

17 years agoRename drd_preloaded.c to drd_intercepts.c (Bart Van Assche)
Julian Seward [Fri, 4 Jan 2008 11:36:41 +0000 (11:36 +0000)] 
Rename drd_preloaded.c to drd_intercepts.c (Bart Van Assche)

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

17 years agoMark the main thread as running while the initial memory declarations
Tom Hughes [Wed, 2 Jan 2008 10:13:04 +0000 (10:13 +0000)] 
Mark the main thread as running while the initial memory declarations
are made to the tool so that the tool can associate that memory with
the main thread if it wishes.

Also cleanup existing hacks in the drd tool which worked around the
fact that the core did not set the current thread while declaring the
initial memory.

Path from Bart Van Assche <bart.vanassche@gmail.com>.

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

17 years agoStop drd trying to get a backtrace when there is no stack pointer.
Tom Hughes [Wed, 2 Jan 2008 10:07:44 +0000 (10:07 +0000)] 
Stop drd trying to get a backtrace when there is no stack pointer.

Patch from Bart Van Assche <bart.vanassche@gmail.com>.

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

17 years agoAdd const qualifiers to appropriate arguments of OSet routines.
Tom Hughes [Sun, 30 Dec 2007 12:28:26 +0000 (12:28 +0000)] 
Add const qualifiers to appropriate arguments of OSet routines.

Patch from Bart Van Assche <bart.vanassche@gmail.com>.

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

18 years agoComment-only change.
Julian Seward [Sat, 22 Dec 2007 14:14:04 +0000 (14:14 +0000)] 
Comment-only change.

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

18 years agoAIX5 counterpart to r7302: Improve handling of programs which require
Julian Seward [Sat, 22 Dec 2007 14:12:42 +0000 (14:12 +0000)] 
AIX5 counterpart to r7302: Improve handling of programs which require
very large main thread stacks.

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

18 years agoPropagate the ucontext information with a received signal to the
Tom Hughes [Fri, 21 Dec 2007 10:24:24 +0000 (10:24 +0000)] 
Propagate the ucontext information with a received signal to the
signal frame constructors and use it (on x86 and amd64) to fill in
the trap number in the signal context information.

Needed for wine which likes to look at the trap number...

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

18 years agoAdd a new method VG_(record_depth_1_ExeContext), a trivial derivative
Julian Seward [Fri, 21 Dec 2007 01:24:59 +0000 (01:24 +0000)] 
Add a new method VG_(record_depth_1_ExeContext), a trivial derivative
of VG_(record_ExeContext), which just records the first stack frame
but does not attempt to unwind the (guest) stack.  This is useful in
situations where we suspect unwinding the stack might cause a
segfault.

Use this in m_signals, when getting a backtrace following a guest
segfault.

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

18 years agoAdd a couple of regtests for large stack frame management.
Julian Seward [Wed, 19 Dec 2007 11:01:13 +0000 (11:01 +0000)] 
Add a couple of regtests for large stack frame management.

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

18 years agoImprove handling of programs which require very large main thread
Julian Seward [Tue, 18 Dec 2007 01:49:23 +0000 (01:49 +0000)] 
Improve handling of programs which require very large main thread
stacks.  Instead of hardwiring the main thread stack to a max of 16MB
and segfaulting the app beyond that point, allow the user to specify
the main stack size using the new flag --main-stacksize=<number>.

If said flag is not present, the current default, which is "MIN(16GB,
current ulimit -s value)", is used.

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

18 years agoPrint a nice message if allocation of the stack fails, rather than just
Julian Seward [Sat, 15 Dec 2007 23:08:35 +0000 (23:08 +0000)] 
Print a nice message if allocation of the stack fails, rather than just
asserting.

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

18 years agoWhen allocating space for the client stack on Linux, take notice of
Julian Seward [Sat, 15 Dec 2007 22:13:05 +0000 (22:13 +0000)] 
When allocating space for the client stack on Linux, take notice of
the --max-stackframe value.  This makes it possible to run programs
with very large (primary) stack requirements simply by specifying
--max-stackframe.

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

18 years agoFix stupid error spotted by by Konstantin Serebryany.
Julian Seward [Wed, 12 Dec 2007 11:42:33 +0000 (11:42 +0000)] 
Fix stupid error spotted by by Konstantin Serebryany.

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

18 years agoUpdate ignores.
Robert Walsh [Wed, 12 Dec 2007 03:16:52 +0000 (03:16 +0000)] 
Update ignores.

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

18 years agoBop version.
Julian Seward [Tue, 11 Dec 2007 00:50:54 +0000 (00:50 +0000)] 
Bop version.

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

18 years agoUpdate notes on repo-mangling.
Julian Seward [Tue, 11 Dec 2007 00:49:33 +0000 (00:49 +0000)] 
Update notes on repo-mangling.

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

18 years agoDuh. Sigh. etc.
Julian Seward [Mon, 10 Dec 2007 22:21:14 +0000 (22:21 +0000)] 
Duh.  Sigh.  etc.

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

18 years agoFinalise 3.3.0.
Julian Seward [Mon, 10 Dec 2007 22:17:42 +0000 (22:17 +0000)] 
Finalise 3.3.0.

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

18 years agoThird time lucky, perhaps.
Julian Seward [Sun, 9 Dec 2007 02:25:44 +0000 (02:25 +0000)] 
Third time lucky, perhaps.

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

18 years agoFinalise distro docs for 3.3.0.
Julian Seward [Sun, 9 Dec 2007 02:24:02 +0000 (02:24 +0000)] 
Finalise distro docs for 3.3.0.

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

18 years agoAnother supp.
Julian Seward [Sun, 9 Dec 2007 02:22:55 +0000 (02:22 +0000)] 
Another supp.

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

18 years agoAdd missing file to tarball.
Julian Seward [Sun, 9 Dec 2007 02:21:22 +0000 (02:21 +0000)] 
Add missing file to tarball.

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

18 years agoDon't do comparisons of (signed) Words by merely subtracting them, as
Julian Seward [Sun, 9 Dec 2007 02:14:35 +0000 (02:14 +0000)] 
Don't do comparisons of (signed) Words by merely subtracting them, as
this does not always produce correct results.  Instead use a slower
but correct method.  Analogous fix to that applied to m_oset.c by
r7283.

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

18 years agoDon't do comparisons of (signed) Words by merely subtracting them, as
Julian Seward [Sun, 9 Dec 2007 02:08:42 +0000 (02:08 +0000)] 
Don't do comparisons of (signed) Words by merely subtracting them, as
this does not always produce correct results.  Instead use a slower
but correct method.  Fixes #147545.  (Nick Nethercote, Tom Hughes et
al)

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

18 years ago--> 3.3.0.RC2.
Julian Seward [Thu, 6 Dec 2007 02:15:16 +0000 (02:15 +0000)] 
--> 3.3.0.RC2.

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

18 years agoUpdate.
Julian Seward [Thu, 6 Dec 2007 02:13:37 +0000 (02:13 +0000)] 
Update.

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

18 years agoAnother supp.
Julian Seward [Thu, 6 Dec 2007 01:58:05 +0000 (01:58 +0000)] 
Another supp.

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

18 years agoDocument flakiness of NON_SIMD_CALL* in comments and the manual.
Nicholas Nethercote [Wed, 5 Dec 2007 21:51:50 +0000 (21:51 +0000)] 
Document flakiness of NON_SIMD_CALL* in comments and the manual.

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

18 years agoRename a header file.
Julian Seward [Wed, 5 Dec 2007 01:31:42 +0000 (01:31 +0000)] 
Rename a header file.

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

18 years agoUpdate expected outputs. Use new naming scheme now permitted by
Julian Seward [Wed, 5 Dec 2007 01:19:20 +0000 (01:19 +0000)] 
Update expected outputs.  Use new naming scheme now permitted by
tests/vg_regtest.

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

18 years agoMinor Massif docs clarifications.
Nicholas Nethercote [Tue, 4 Dec 2007 21:35:55 +0000 (21:35 +0000)] 
Minor Massif docs clarifications.

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

18 years agoDRD changes (Bart Van Assche)
Julian Seward [Tue, 4 Dec 2007 21:27:18 +0000 (21:27 +0000)] 
DRD changes (Bart Van Assche)

* Add docs: exp-drd/docs/README.txt
* Added one drd suppression pattern, and cleaned up the suppression file.
* All regression tests now pass on x86_64 and i386, including sigalrm.
* Updated TODO.txt file.
* pth_create_chain test is now started with 100 threads instead of 10
  -- 10 was not enough.
* DRD no longer exits on PPC32 and PPC64 but just prints a warning
  message before it starts.

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

18 years agoRemove client requests that were deprecated in 3.2.0.
Nicholas Nethercote [Tue, 4 Dec 2007 21:18:06 +0000 (21:18 +0000)] 
Remove client requests that were deprecated in 3.2.0.

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

18 years agoHandle semaphore-related syscalls.
Julian Seward [Tue, 4 Dec 2007 16:12:54 +0000 (16:12 +0000)] 
Handle semaphore-related syscalls.

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

18 years agoUpdate old (and wrong) parts of callgrind documentation.
Josef Weidendorfer [Tue, 4 Dec 2007 10:09:24 +0000 (10:09 +0000)] 
Update old (and wrong) parts of callgrind documentation.
This obviously was already wrong in 3.2.x :-(

* Old --fn-recursion=... / --fn-caller=... options are called
  --separate-recs=... / --separate-callers=... since quite some
  time for consistency with e.g. --separate-threads=yes.
  Error noted from bug 153335.
* Function specifications support wildcards since quite some time;
  specification of a prefix only does not work, but the full
  function has to match. This was needed to allow to specify 'foo'
  without also specifying 'foo1'.
* The script 'callgrind' does not exist since merging into
  valgrind.
* Rename callgrind from being a 'heavyweight' to a 'call graph'
  profiler, similar to the description in the quick start overview.

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

18 years agotweak message
Nicholas Nethercote [Tue, 4 Dec 2007 03:27:40 +0000 (03:27 +0000)] 
tweak message

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

18 years agoTwo changes:
Nicholas Nethercote [Tue, 4 Dec 2007 03:15:23 +0000 (03:15 +0000)] 
Two changes:
- Be more robust in the face of malformed stack traces.  This avoids some
  potential assertion errors (which have affected prior versions of Massif),
  but unfortunately reduces the amount of sanity-checking that can be done
  on XTrees.

- Get white-space printing right in output file.  Non-functional change,
  just makes output files easier to read.

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

18 years agoComment-only change.
Nicholas Nethercote [Mon, 3 Dec 2007 21:29:22 +0000 (21:29 +0000)] 
Comment-only change.

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

18 years agoFinalise 3.3.0.RC1.
Julian Seward [Sun, 2 Dec 2007 22:15:31 +0000 (22:15 +0000)] 
Finalise 3.3.0.RC1.

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

18 years agoBack out r7210 ("Fix completely bogus implementation of
Julian Seward [Sun, 2 Dec 2007 22:03:43 +0000 (22:03 +0000)] 
Back out r7210 ("Fix completely bogus implementation of
VG_(seginfo_sect_kind).") as it breaks DRD and possible Callgrind.

The segment kind identification code is basically broken for non-text
segments, but requires fixing at a higher level than this.  See
discussion on valgrind-developers, 20 March 07, "Bug in
VG_(seginfo_sect_kind) ?"

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

18 years agoSet version to 3.3.0-RC1.
Julian Seward [Sun, 2 Dec 2007 13:37:18 +0000 (13:37 +0000)] 
Set version to 3.3.0-RC1.

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

18 years agoUpdate release docs.
Julian Seward [Sun, 2 Dec 2007 02:08:17 +0000 (02:08 +0000)] 
Update release docs.

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

18 years agoFutz with headers.
Julian Seward [Sun, 2 Dec 2007 02:06:46 +0000 (02:06 +0000)] 
Futz with headers.

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

18 years agoWibble.
Julian Seward [Sun, 2 Dec 2007 02:05:23 +0000 (02:05 +0000)] 
Wibble.

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

18 years ago* document gcc code generation shenanigans on ppc32-linux
Julian Seward [Sun, 2 Dec 2007 02:01:09 +0000 (02:01 +0000)] 
* document gcc code generation shenanigans on ppc32-linux
* add docs for --malloc-fill and --free-fill

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

18 years agoOnly pass valid ThreadIDs to VG_(record_ExeContext). (Bart Van Assche)
Julian Seward [Sat, 1 Dec 2007 02:09:50 +0000 (02:09 +0000)] 
Only pass valid ThreadIDs to VG_(record_ExeContext).  (Bart Van Assche)

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

18 years agoUpdate contact details.
Julian Seward [Fri, 30 Nov 2007 21:52:27 +0000 (21:52 +0000)] 
Update contact details.

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

18 years agoNew options for Memcheck, --malloc-fill=<hexnumber> and
Julian Seward [Fri, 30 Nov 2007 21:41:40 +0000 (21:41 +0000)] 
New options for Memcheck, --malloc-fill=<hexnumber> and
--fill-free=<hexnumber>, which cause malloc'd(etc) and free'd(etc)
blocks to be filled with the specified value.  This can apparently be
useful for shaking out hard-to-track-down memory corruption.  The
definedness/addressability of said areas is not affected -- only the
contents.  Documentation to follow.

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

18 years agoMarginally enhance help message.
Julian Seward [Fri, 30 Nov 2007 21:24:05 +0000 (21:24 +0000)] 
Marginally enhance help message.

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

18 years agoGet rid of VG_NUMW_CLO, as it is pretty much identical to VG_NUM_CLO,
Julian Seward [Fri, 30 Nov 2007 17:50:44 +0000 (17:50 +0000)] 
Get rid of VG_NUMW_CLO, as it is pretty much identical to VG_NUM_CLO,
and only used in one place.

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

18 years agoMake the freed-block-queue volume metrics 64-bit throughout, to avoid
Julian Seward [Fri, 30 Nov 2007 17:19:36 +0000 (17:19 +0000)] 
Make the freed-block-queue volume metrics 64-bit throughout, to avoid
any wierdness on very large machines in the future.  Also, double the
default size from 5MB to 10MB, on the basis that programs are now on
average twice as lardy as they were when it was set to 5MB, whenever
that was.

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

18 years agoInclude headers in tarball.
Julian Seward [Fri, 30 Nov 2007 15:28:13 +0000 (15:28 +0000)] 
Include headers in tarball.

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

18 years agoAdd a test case for semaphores with nonzero initial values.
Julian Seward [Fri, 30 Nov 2007 11:22:35 +0000 (11:22 +0000)] 
Add a test case for semaphores with nonzero initial values.

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

18 years agoCorrectly handle semaphores with nonzero initial values. Fixes bug
Julian Seward [Fri, 30 Nov 2007 11:11:02 +0000 (11:11 +0000)] 
Correctly handle semaphores with nonzero initial values.  Fixes bug
observed by Matthieu Castet.  Also, add another sanity-check flag.

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

18 years agoRemove pthread_object_size.h and associated hardwired constants.
Julian Seward [Fri, 30 Nov 2007 08:30:29 +0000 (08:30 +0000)] 
Remove pthread_object_size.h and associated hardwired constants.
(Bart Van Assche)

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

18 years agoSo much for C's "type system" (ha ha). Correct version of r7250.
Julian Seward [Thu, 29 Nov 2007 13:04:03 +0000 (13:04 +0000)] 
So much for C's "type system" (ha ha).  Correct version of r7250.

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