]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
16 years agoChange the memory allocation strategy used by the conflicting-access
Julian Seward [Wed, 3 Dec 2008 11:39:37 +0000 (11:39 +0000)] 
Change the memory allocation strategy used by the conflicting-access
machinery, so as to allocate fewer chunks of memory.  This increases
the speed of Helgrind by about 10% on some apps, which probably means
the conflicting-access machinery itself is about 20% faster.

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

16 years agoSimplified test program.
Bart Van Assche [Thu, 27 Nov 2008 17:48:36 +0000 (17:48 +0000)] 
Simplified test program.

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

16 years agoupdate bug status
Dirk Mueller [Sat, 22 Nov 2008 23:35:32 +0000 (23:35 +0000)] 
update bug status

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

16 years agoReran SPLASH2 benchmark and updated results.
Bart Van Assche [Sat, 22 Nov 2008 16:19:11 +0000 (16:19 +0000)] 
Reran SPLASH2 benchmark and updated results.

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

16 years agoignore .valgrindrc files that are world writeable
Dirk Mueller [Sat, 22 Nov 2008 12:03:19 +0000 (12:03 +0000)] 
ignore .valgrindrc files that are world writeable
or not owned by the current user (CVE-2008-4865)

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

16 years agoUpdated notes section.
Bart Van Assche [Fri, 21 Nov 2008 19:18:47 +0000 (19:18 +0000)] 
Updated notes section.

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

16 years agoHelgrind's event-map garbage collector hammers VG_(OSetGen_Next).
Julian Seward [Thu, 20 Nov 2008 23:33:05 +0000 (23:33 +0000)] 
Helgrind's event-map garbage collector hammers VG_(OSetGen_Next).
Import an optimisation from the analogous function in m_wordfm.c.

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

16 years agoevent_map_maybe_GC: use a flat array when computing the distribution
Julian Seward [Thu, 20 Nov 2008 23:17:01 +0000 (23:17 +0000)] 
event_map_maybe_GC: use a flat array when computing the distribution
(counts) of generation numbers in the oldrefTree, instead of using a
WordFM as an associative array.  This significantly accelerates the
event map garbage collector.

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

16 years agoRe-set constraints in 'consistent' style after a race is detected,
Julian Seward [Thu, 20 Nov 2008 11:20:50 +0000 (11:20 +0000)] 
Re-set constraints in 'consistent' style after a race is detected,
instead of the more aggressive setting, which appeared to cause a
large number of extra race reports.

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

16 years agoadd glibc 2.9 support to changelog
Dirk Mueller [Thu, 20 Nov 2008 00:01:21 +0000 (00:01 +0000)] 
add glibc 2.9 support to changelog

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

16 years agoglibc 2.9 support
Dirk Mueller [Wed, 19 Nov 2008 23:58:36 +0000 (23:58 +0000)] 
glibc 2.9 support

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

16 years agoAdded prereq clause.
Bart Van Assche [Wed, 19 Nov 2008 17:51:44 +0000 (17:51 +0000)] 
Added prereq clause.

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

16 years agoDon't put raced-on locations in an (E)rror state; instead leave them
Julian Seward [Wed, 19 Nov 2008 16:35:15 +0000 (16:35 +0000)] 
Don't put raced-on locations in an (E)rror state; instead leave them
in a (C)onstraint state.  The former approach can cause races to be
missed.  Also, update state machine slightly following re-analysis
thereof.

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

16 years agoFix comment typo.
Julian Seward [Wed, 19 Nov 2008 16:33:59 +0000 (16:33 +0000)] 
Fix comment typo.

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

16 years agoAdd informal correctness argument for the logic in
Julian Seward [Wed, 19 Nov 2008 11:52:14 +0000 (11:52 +0000)] 
Add informal correctness argument for the logic in
evh__HG_PTHREAD_BARRIER_WAIT_PRE, as it is somewhat subtle.

Also, free the SO after use, else there's a space leak.

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

16 years agoAdd some suppressions for Qt4-related code.
Julian Seward [Wed, 19 Nov 2008 10:41:55 +0000 (10:41 +0000)] 
Add some suppressions for Qt4-related code.

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

16 years ago* Update Qt4 interceptors and add, as comments, findings of analysis
Julian Seward [Wed, 19 Nov 2008 10:40:56 +0000 (10:40 +0000)] 
* Update Qt4 interceptors and add, as comments, findings of analysis
  of Qt4 threading functions.

* Add a bunch of replacements for strlen etc, to avoid races from
  optimised glibc versions that overread memory.  Copied directly from
  memcheck/mc_replace_strmem.c.

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

16 years agoevent_map_maybe_GC: handle corner case that was previously simply
Julian Seward [Tue, 18 Nov 2008 23:40:00 +0000 (23:40 +0000)] 
event_map_maybe_GC: handle corner case that was previously simply
asserted on: if all the entries in the event map are in the same
generation, then we have no LRU information at all with which to
decide which entries to discard.  So in this case throw away half of
them randomly -- there's nothing better we can do.

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

16 years agoA couple of 'make dist' fixes.
Julian Seward [Tue, 18 Nov 2008 02:10:33 +0000 (02:10 +0000)] 
A couple of 'make dist' fixes.

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

16 years agoMore DRD suppression pattern simplifications.
Bart Van Assche [Mon, 17 Nov 2008 18:22:10 +0000 (18:22 +0000)] 
More DRD suppression pattern simplifications.

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

16 years agoSimplified DRD suppression patterns.
Bart Van Assche [Mon, 17 Nov 2008 17:57:15 +0000 (17:57 +0000)] 
Simplified DRD suppression patterns.

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

16 years agoAdded bar_bad and bar_trivial to the regression tests.
Bart Van Assche [Mon, 17 Nov 2008 17:38:28 +0000 (17:38 +0000)] 
Added bar_bad and bar_trivial to the regression tests.

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

16 years agoUpdated expected output after spelling fix in drd_barrier.c.
Bart Van Assche [Mon, 17 Nov 2008 17:37:08 +0000 (17:37 +0000)] 
Updated expected output after spelling fix in drd_barrier.c.

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

16 years agoRenamed boost_threads* into boost_thread*.
Bart Van Assche [Mon, 17 Nov 2008 17:36:29 +0000 (17:36 +0000)] 
Renamed boost_threads* into boost_thread*.

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

16 years agoPrint an error message instead of asserting when the count argument of pthread_barrie...
Bart Van Assche [Mon, 17 Nov 2008 17:35:26 +0000 (17:35 +0000)] 
Print an error message instead of asserting when the count argument of pthread_barrier_init() is zero. Fixed a spelling error in an error message.

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

16 years agoAdded yet another DRD suppression pattern.
Bart Van Assche [Mon, 17 Nov 2008 17:33:39 +0000 (17:33 +0000)] 
Added yet another DRD suppression pattern.

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

16 years agoExpand filename for coredumps correctly. Fixes #174908. Also take
Julian Seward [Mon, 17 Nov 2008 12:45:58 +0000 (12:45 +0000)] 
Expand filename for coredumps correctly.  Fixes #174908.  Also take
the opportunity to remove some sprintf-ing into a fixed-sized buffer.

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

16 years agoAdd a comment re VG_(expand_file_name).
Julian Seward [Mon, 17 Nov 2008 12:45:01 +0000 (12:45 +0000)] 
Add a comment re VG_(expand_file_name).

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

16 years agoDon't let GDB_PATH be "" if no GDB is found at configure time, as this causes
Julian Seward [Mon, 17 Nov 2008 00:20:45 +0000 (00:20 +0000)] 
Don't let GDB_PATH be "" if no GDB is found at configure time, as this causes
any attempts to attach a gdb to the process to fail in a confusing way.

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

16 years agoMake these compile on older systems.
Julian Seward [Sun, 16 Nov 2008 23:25:43 +0000 (23:25 +0000)] 
Make these compile on older systems.

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

16 years agoMake test 'tc21_pthonce' less scheduling-sensitive.
Julian Seward [Sun, 16 Nov 2008 21:59:29 +0000 (21:59 +0000)] 
Make test 'tc21_pthonce' less scheduling-sensitive.

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

16 years agoHandle sys_lookup_dcookie on amd64-linux (Andrew Haley). Also take
Julian Seward [Sun, 16 Nov 2008 21:40:54 +0000 (21:40 +0000)] 
Handle sys_lookup_dcookie on amd64-linux (Andrew Haley).  Also take
the opportunity to move the handlers from syswrap-generic.c (which
they certainly aren't) to syswrap-linux.c.  Fixes #175044.

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

16 years agoAdd some regression tests for pthread_barrier handling.
Julian Seward [Fri, 14 Nov 2008 19:43:44 +0000 (19:43 +0000)] 
Add some regression tests for pthread_barrier handling.

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

16 years agoAdd a couple more tests for API errors in
Julian Seward [Fri, 14 Nov 2008 19:41:19 +0000 (19:41 +0000)] 
Add a couple more tests for API errors in
evh__HG_PTHREAD_BARRIER_DESTROY_PRE.

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

16 years agoAdd initial support for POSIX barriers (pthread_barrier_{init,wait,destroy}).
Julian Seward [Thu, 13 Nov 2008 13:33:09 +0000 (13:33 +0000)] 
Add initial support for POSIX barriers (pthread_barrier_{init,wait,destroy}).

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

16 years agoAdd performance comments to VG_(sizeFM), and add new method
Julian Seward [Thu, 13 Nov 2008 13:17:06 +0000 (13:17 +0000)] 
Add performance comments to VG_(sizeFM), and add new method
VG_(isEmptyFM), currently commented out.

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

16 years agoFix debug printing of fd in mmap system calls.
Julian Seward [Thu, 13 Nov 2008 13:14:00 +0000 (13:14 +0000)] 
Fix debug printing of fd in mmap system calls.

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

16 years agoAdded regression test for Boost.Threads.
Bart Van Assche [Mon, 10 Nov 2008 18:54:46 +0000 (18:54 +0000)] 
Added regression test for Boost.Threads.

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

16 years agoAdded configure test for Boost.Threads.
Bart Van Assche [Mon, 10 Nov 2008 18:53:42 +0000 (18:53 +0000)] 
Added configure test for Boost.Threads.

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

16 years agoUpdate this test a bit. It's basically flawed though.
Julian Seward [Mon, 10 Nov 2008 16:33:29 +0000 (16:33 +0000)] 
Update this test a bit.  It's basically flawed though.

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

16 years agoHandle EvM GC messaging properly.
Julian Seward [Mon, 10 Nov 2008 16:19:21 +0000 (16:19 +0000)] 
Handle EvM GC messaging properly.

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

16 years agoMake sure laog__handle_one_lock_deletion actually gets called as a
Julian Seward [Mon, 10 Nov 2008 16:16:46 +0000 (16:16 +0000)] 
Make sure laog__handle_one_lock_deletion actually gets called as a
result of the client doing pthread_mutex_destroy() or
pthread_rwlock_destroy().

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

16 years agoAdjust sed scripts used to generate the linker scripts on Linux, so as
Julian Seward [Mon, 10 Nov 2008 15:05:30 +0000 (15:05 +0000)] 
Adjust sed scripts used to generate the linker scripts on Linux, so as
to delete everything after the trailing ======.  This apparently makes
the system buildable with icc 9.1.  (patch from Philip Blakely).
Fixes #173099.

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

16 years agoUse a couple of reader-writer-lock tests from drd.
Julian Seward [Mon, 10 Nov 2008 02:01:17 +0000 (02:01 +0000)] 
Use a couple of reader-writer-lock tests from drd.

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

16 years agoUpdate expected outputs following a (trivial) change in the source of
Julian Seward [Mon, 10 Nov 2008 01:16:46 +0000 (01:16 +0000)] 
Update expected outputs following a (trivial) change in the source of
tc09 in r8753.

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

16 years agoAdd a new expected output that applies to glibc-2.7 and later.
Julian Seward [Mon, 10 Nov 2008 00:55:21 +0000 (00:55 +0000)] 
Add a new expected output that applies to glibc-2.7 and later.

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

16 years agoAdd a new expected output that applies to glibc-2.7 and later.
Julian Seward [Mon, 10 Nov 2008 00:46:52 +0000 (00:46 +0000)] 
Add a new expected output that applies to glibc-2.7 and later.

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

16 years agoMore updates to expected outputs. This currently gives Helgrind zero
Julian Seward [Mon, 10 Nov 2008 00:16:34 +0000 (00:16 +0000)] 
More updates to expected outputs.  This currently gives Helgrind zero
failures on opensuse 10.2 on amd64 (glibc 2.5, gcc-4.1.3).

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

16 years agoUpdate expected output.
Julian Seward [Sun, 9 Nov 2008 23:33:32 +0000 (23:33 +0000)] 
Update expected output.

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

16 years agoMove the conflicting accesses in each thread earlier, so that pure h-b
Julian Seward [Sun, 9 Nov 2008 23:31:19 +0000 (23:31 +0000)] 
Move the conflicting accesses in each thread earlier, so that pure h-b
is not fooled by the locking on non-conflicted parts of the arrays.
(Not really sure what's going on here, but DRD and Helgrind behave
identically, so I'm not too concerned.)

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

16 years agoUpdate baseline expected outputs, now that Helgrind uses a different
Julian Seward [Sun, 9 Nov 2008 20:47:57 +0000 (20:47 +0000)] 
Update baseline expected outputs, now that Helgrind uses a different
algorithm than in 3.3.x.

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

16 years agoA bit of tidying up:
Julian Seward [Sat, 8 Nov 2008 20:36:26 +0000 (20:36 +0000)] 
A bit of tidying up:

* get rid of 'struct _EC' (a.k.a 'struct EC_') and use ExeContext
  everywhere

* remove stacktrace_to_EC and call
  VG_(make_ExeContext_from_StackTrace) directly

* comment out some unused code

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

16 years agoUpdate.
Julian Seward [Sat, 8 Nov 2008 15:26:53 +0000 (15:26 +0000)] 
Update.

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

16 years agoWhen trying to establish whether or not debuginfo should be read from
Julian Seward [Sat, 8 Nov 2008 15:22:19 +0000 (15:22 +0000)] 
When trying to establish whether or not debuginfo should be read from
a file, first the mapping permissions _before_ peering at the file's
header, rather than afterwards.  This changes the logic to behave more
like it does in 3.3.x.  Fixes #164669, although really it is all still
rather fragile.  The bug report,
http://bugs.kde.org/show_bug.cgi?id=164669, contains a detailed
explanation.

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

16 years agoUpdate expected output, with a line number that's actually correct.
Julian Seward [Sat, 8 Nov 2008 15:18:53 +0000 (15:18 +0000)] 
Update expected output, with a line number that's actually correct.

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

16 years agoAdd a second expected output. It appears that a recent glibcs print
Julian Seward [Sat, 8 Nov 2008 15:17:50 +0000 (15:17 +0000)] 
Add a second expected output.  It appears that a recent glibcs print
one (or a value near it) as "+1.0000e+00" instead of "+1.0000e-00".
Or it could be a rounding issue .. I dunno.

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

16 years agoAttempt to reduce output variance by ensuring mainSort() is never inlined.
Julian Seward [Sat, 8 Nov 2008 15:15:06 +0000 (15:15 +0000)] 
Attempt to reduce output variance by ensuring mainSort() is never inlined.

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

16 years agoUse a "sided" comparison rather than a "point" comparison, so as to
Julian Seward [Sat, 8 Nov 2008 15:14:01 +0000 (15:14 +0000)] 
Use a "sided" comparison rather than a "point" comparison, so as to
ensure that gcc generates only one conditional jump per conditional
expression, not two.

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

16 years agoUpdate expected output now that Memcheck's realloc implementation always
Julian Seward [Sat, 8 Nov 2008 15:12:48 +0000 (15:12 +0000)] 
Update expected output now that Memcheck's realloc implementation always
moves the block, even when the new block is smaller or the same size.

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

16 years agoSigh: /bin/sh on Ubuntu is not bash, it is dash (what a nuisance) and
Julian Seward [Sat, 8 Nov 2008 15:11:03 +0000 (15:11 +0000)] 
Sigh: /bin/sh on Ubuntu is not bash, it is dash (what a nuisance) and
it doesn't do the "[ ]" thing itself; instead it hands it off to
/usr/bin/[.  And that doesn't understand "==" on strings; it wants "="
instead.

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

16 years agoAdd a new expected output for this test. Really it's a bad test,
Julian Seward [Sat, 8 Nov 2008 15:06:57 +0000 (15:06 +0000)] 
Add a new expected output for this test.  Really it's a bad test,
in the sense that there are a huge number of valid outcomes, but
I'm not sure how to test it better.

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

16 years agoUpdate expected output.
Julian Seward [Sat, 8 Nov 2008 15:05:49 +0000 (15:05 +0000)] 
Update expected output.

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

16 years agoRun this test -q, so as to remove the variance in outputs exhibited as
Julian Seward [Sat, 8 Nov 2008 15:04:58 +0000 (15:04 +0000)] 
Run this test -q, so as to remove the variance in outputs exhibited as
different numbers of blank lines than expected.  I assume this
signifies that different numbers of forked-but-not-exec'd processes
are exiting, but I'm not sure.

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

16 years agoMark allocation operators as no-inline so as to make the test more
Julian Seward [Sat, 8 Nov 2008 15:01:22 +0000 (15:01 +0000)] 
Mark allocation operators as no-inline so as to make the test more
repeatable across different gccs.

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

16 years agoSupport sys_stime on x86-linux. Fixes #159285.
Julian Seward [Thu, 6 Nov 2008 23:11:42 +0000 (23:11 +0000)] 
Support sys_stime on x86-linux.  Fixes #159285.

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

16 years agoFix integer-pointer comparisons in new spu_ wrappers.
Julian Seward [Thu, 6 Nov 2008 09:22:50 +0000 (09:22 +0000)] 
Fix integer-pointer comparisons in new spu_ wrappers.

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

16 years agoAdd ioctl wrappers for Linux wireless extensions version 22.
Julian Seward [Wed, 5 Nov 2008 16:59:55 +0000 (16:59 +0000)] 
Add ioctl wrappers for Linux wireless extensions version 22.
Patch from Gwenael Lambrouin.  Fixes #159452.

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

16 years agoUpdate.
Julian Seward [Wed, 5 Nov 2008 12:46:43 +0000 (12:46 +0000)] 
Update.

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

16 years agoTry to compute a correct VG base directory, regardless of how/where
Julian Seward [Wed, 5 Nov 2008 12:05:14 +0000 (12:05 +0000)] 
Try to compute a correct VG base directory, regardless of how/where
the script is invoked.  See #162092.

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

16 years agoSupport sys_spu_run and sys_spu_create on ppc32-linux. Patch by
Julian Seward [Wed, 5 Nov 2008 11:36:59 +0000 (11:36 +0000)] 
Support sys_spu_run and sys_spu_create on ppc32-linux.  Patch by
Kenneth Skovhede.  Fixes #167288.

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

16 years agoSupport sys_pipe2 on {amd64,x86}-linux. Also, update syscall numbers
Julian Seward [Wed, 5 Nov 2008 11:20:59 +0000 (11:20 +0000)] 
Support sys_pipe2 on {amd64,x86}-linux.  Also, update syscall numbers
for all supported Linuxes to those in linux-2.6.28-rc3.

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

16 years agoMake sure that $d is always an absolute path, even if vg-in-place has been started...
Bart Van Assche [Tue, 4 Nov 2008 17:49:58 +0000 (17:49 +0000)] 
Make sure that $d is always an absolute path, even if vg-in-place has been started without specifying a path. Furthermore, vg-in-place now also works when started from a path containing spaces.

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

16 years agoUpdated ignore lists.
Bart Van Assche [Tue, 4 Nov 2008 17:42:00 +0000 (17:42 +0000)] 
Updated ignore lists.

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

16 years ago* add some assertions to frame-level wildcarding mechanism
Julian Seward [Tue, 4 Nov 2008 11:29:19 +0000 (11:29 +0000)] 
* add some assertions to frame-level wildcarding mechanism

* remove a couple of tabs

* clarify related documentation a bit

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

16 years agoUpdate documentation on suppressions following addition of frame-level
Julian Seward [Tue, 4 Nov 2008 01:38:02 +0000 (01:38 +0000)] 
Update documentation on suppressions following addition of frame-level
wildcarding in suppressions (r8725).  Also clarify a couple of bits of
wording.

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

16 years agoImprovements to the suppression mechanism:
Julian Seward [Mon, 3 Nov 2008 23:10:25 +0000 (23:10 +0000)] 
Improvements to the suppression mechanism:

* Allow frame-level wildcarding in suppressions.  Based on a patch by
  Akos PASZTORY.  Fixes #151612.  With this change, a line "..." in a
  suppression stacktrace matches any number of frames, including zero.

* Show line numbers in syntax errors when parsing supp files.

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

16 years agoAdd summaries for more than 60 bugs logged in bugzilla since 3.3.1 was
Julian Seward [Sun, 2 Nov 2008 23:46:32 +0000 (23:46 +0000)] 
Add summaries for more than 60 bugs logged in bugzilla since 3.3.1 was
released.  Looking at this lot, you'd get the impression the system is
so bug-riddled it's amazing it works at all.

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

16 years agoFixes for compilation warnings from the apparently very strict
Julian Seward [Sat, 1 Nov 2008 23:55:32 +0000 (23:55 +0000)] 
Fixes for compilation warnings from the apparently very strict
gcc-4.3.2 shipped with Ubuntu 8.10.

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

16 years agoGet rid of longstanding and now pointless restriction that disallowed
Julian Seward [Thu, 30 Oct 2008 13:26:29 +0000 (13:26 +0000)] 
Get rid of longstanding and now pointless restriction that disallowed
using --db-attach=yes and --trace-children=yes together.

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

16 years agoAdd notes on how to build/run KDE 4.2.
Julian Seward [Thu, 30 Oct 2008 13:17:35 +0000 (13:17 +0000)] 
Add notes on how to build/run KDE 4.2.

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

16 years agoEnable sys_quotactl on amd64-linux. Possible fixes #173177.
Julian Seward [Thu, 30 Oct 2008 13:12:50 +0000 (13:12 +0000)] 
Enable sys_quotactl on amd64-linux.  Possible fixes #173177.

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

16 years agoOrigin tracking: handle 16-bit excess in guest state reads/writes.
Julian Seward [Thu, 30 Oct 2008 13:08:31 +0000 (13:08 +0000)] 
Origin tracking: handle 16-bit excess in guest state reads/writes.
This gets rid of the messages "Approx: do_origins_Dirty(R): missed %d
bytes\n" and "Approx: do_origins_Dirty(W): missed %d bytes\n".

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

16 years agoAdd a test case for #156404 (main thread stack not getting extended
Julian Seward [Thu, 30 Oct 2008 11:11:40 +0000 (11:11 +0000)] 
Add a test case for #156404 (main thread stack not getting extended
downwards properly at syscalls).

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

16 years agoA clarification.
Nicholas Nethercote [Thu, 30 Oct 2008 02:41:13 +0000 (02:41 +0000)] 
A clarification.

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

16 years agoHandle a couple of syscalls needed to make Ptrcheck run bash.
Julian Seward [Thu, 30 Oct 2008 01:44:03 +0000 (01:44 +0000)] 
Handle a couple of syscalls needed to make Ptrcheck run bash.

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

16 years agoRename some local variables called 'index' to something else, to stop
Julian Seward [Mon, 27 Oct 2008 21:42:36 +0000 (21:42 +0000)] 
Rename some local variables called 'index' to something else, to stop
gcc-3.2.2 complaining they shadow some built-in global declaration of
'index'.

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

16 years agoFix #includes in some more libiberty files that seem to have been
Julian Seward [Mon, 27 Oct 2008 09:54:14 +0000 (09:54 +0000)] 
Fix #includes in some more libiberty files that seem to have been
forgotten about in r8710.  This should _really_ make the revised
demangler independent of any system installed libiberty.

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

16 years agoSpeed up VG_(am_find_nsegment). This is kind-of required by r8712,
Julian Seward [Mon, 27 Oct 2008 01:25:14 +0000 (01:25 +0000)] 
Speed up VG_(am_find_nsegment).  This is kind-of required by r8712,
which in turn is a fix for #156404.

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

16 years agoEnsure the root thread's stack is suitably mapped before doing a
Julian Seward [Mon, 27 Oct 2008 01:23:04 +0000 (01:23 +0000)] 
Ensure the root thread's stack is suitably mapped before doing a
client syscall.  Believed to fix #156404.

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

16 years agoRe-copy r3515 into new demangler: "Deal with apparently non-cfront
Julian Seward [Sun, 26 Oct 2008 11:59:03 +0000 (11:59 +0000)] 
Re-copy r3515 into new demangler: "Deal with apparently non-cfront
compliant new[]/delete[] manglings generated by the Portland Group's
C++ compiler."

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

16 years agoUpdate the C++ demangler to that from libiberty in the gcc svn trunk,
Julian Seward [Sun, 26 Oct 2008 11:53:30 +0000 (11:53 +0000)] 
Update the C++ demangler to that from libiberty in the gcc svn trunk,
rev 141363.

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

16 years agoFix references to undefined labels. Why was ld even prepared to link
Julian Seward [Sun, 26 Oct 2008 11:06:44 +0000 (11:06 +0000)] 
Fix references to undefined labels.  Why was ld even prepared to link
this before?

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

16 years agoMerge howto_profile.txt from branches/YARD and BIG_APP_NOTES.txt from
Julian Seward [Sat, 25 Oct 2008 16:30:38 +0000 (16:30 +0000)] 
Merge howto_profile.txt from branches/YARD and BIG_APP_NOTES.txt from
branches/HGDEV.

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

16 years agoMerge Helgrind from branches/YARD into the trunk. Also includes some
Julian Seward [Sat, 25 Oct 2008 16:22:41 +0000 (16:22 +0000)] 
Merge Helgrind from branches/YARD into the trunk.  Also includes some
minor changes to make stack unwinding on amd64-linux approximately
twice as fast as it was before.

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

16 years agoUpdate
Josef Weidendorfer [Fri, 24 Oct 2008 19:17:52 +0000 (19:17 +0000)] 
Update

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

16 years agoCallgrind manual: add section on client requests and note about fork().
Josef Weidendorfer [Fri, 24 Oct 2008 18:50:04 +0000 (18:50 +0000)] 
Callgrind manual: add section on client requests and note about fork().

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

16 years agoFix for bug 166581: use correct output file name after PID change
Josef Weidendorfer [Fri, 24 Oct 2008 18:50:00 +0000 (18:50 +0000)] 
Fix for bug 166581: use correct output file name after PID change

This is a little tricky because
* we want to check directly at startup whether the output file
  can be written, thus the file name is set at beginning.
* a fork changes the PID in the child, and thus (potentially) the
  output file name has to be updated. This best is directly before
  generating the profile dump.
* the child after fork needs to be controllable via callgrind_control.
  The setup of the control interface needs the new file name, too.
The fix is to allow multiple calls of CLG(init_dumps), everytime the
output file name is needed.

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

16 years agoRemove old text-mode only version of the documentation.
Julian Seward [Thu, 23 Oct 2008 22:16:41 +0000 (22:16 +0000)] 
Remove old text-mode only version of the documentation.

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

16 years agoXML-ise exp-ptrcheck's documentation.
Julian Seward [Thu, 23 Oct 2008 13:15:23 +0000 (13:15 +0000)] 
XML-ise exp-ptrcheck's documentation.

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

16 years agoget_Form_contents: handle DW_FORM_block2.
Julian Seward [Thu, 23 Oct 2008 11:13:05 +0000 (11:13 +0000)] 
get_Form_contents: handle DW_FORM_block2.

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