]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
16 years agoMake sure that DRD does not complain about mutexes being held too long on systems...
Bart Van Assche [Mon, 13 Apr 2009 08:05:18 +0000 (08:05 +0000)] 
Make sure that DRD does not complain about mutexes being held too long on systems where the clock can go backward. Apparently this happens frequently when Linux is running inside a virtual machine.

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

16 years agoHandle DW_CFA_same_value opcodes in DWARF CFI data.
Tom Hughes [Wed, 8 Apr 2009 15:06:34 +0000 (15:06 +0000)] 
Handle DW_CFA_same_value opcodes in DWARF CFI data.

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

16 years agoFixed typo in usage instructions: replaced bin/night by bin/nightly.
Bart Van Assche [Sun, 5 Apr 2009 11:02:29 +0000 (11:02 +0000)] 
Fixed typo in usage instructions: replaced bin/night by bin/nightly.

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

16 years agoUpdated list of bugs fixed in 3.5.0.
Bart Van Assche [Sun, 5 Apr 2009 11:01:19 +0000 (11:01 +0000)] 
Updated list of bugs fixed in 3.5.0.

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

16 years agoGeneralized a suppression pattern.
Bart Van Assche [Sat, 4 Apr 2009 15:14:55 +0000 (15:14 +0000)] 
Generalized a suppression pattern.

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

16 years agoFixed bug #188046: replaced a bashism by a POSIX compliant shell statement.
Bart Van Assche [Sat, 4 Apr 2009 14:36:51 +0000 (14:36 +0000)] 
Fixed bug #188046: replaced a bashism by a POSIX compliant shell statement.

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

16 years agoMade pth_detached2 regression test more reliable.
Bart Van Assche [Thu, 2 Apr 2009 07:19:25 +0000 (07:19 +0000)] 
Made pth_detached2 regression test more reliable.

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

16 years agoAnother test plan update.
Bart Van Assche [Tue, 31 Mar 2009 10:46:37 +0000 (10:46 +0000)] 
Another test plan update.

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

16 years agoUpdated ignore list.
Bart Van Assche [Tue, 31 Mar 2009 10:46:00 +0000 (10:46 +0000)] 
Updated ignore list.

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

16 years agoAdd SIOCGSTAMPNS support. Fixes #188530.
Tom Hughes [Tue, 31 Mar 2009 10:36:58 +0000 (10:36 +0000)] 
Add SIOCGSTAMPNS support. Fixes #188530.

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

16 years agoUpdated test plan.
Bart Van Assche [Mon, 30 Mar 2009 18:16:30 +0000 (18:16 +0000)] 
Updated test plan.

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

16 years agoHandle accesses to new pseudo-register IP_AT_SYSCALL. Related to, but
Julian Seward [Mon, 30 Mar 2009 02:34:29 +0000 (02:34 +0000)] 
Handle accesses to new pseudo-register IP_AT_SYSCALL.  Related to, but
not actually the cause or fix for, #188161.

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

16 years agoHandle new pseudo-register IP_AT_SYSCALL when origin-tracking is
Julian Seward [Mon, 30 Mar 2009 02:27:29 +0000 (02:27 +0000)] 
Handle new pseudo-register IP_AT_SYSCALL when origin-tracking is
enabled.  Fixes #188161.

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

16 years ago- Reindented code such that it uses three spaces for indentation instead
Bart Van Assche [Thu, 26 Mar 2009 19:07:15 +0000 (19:07 +0000)] 
- Reindented code such that it uses three spaces for indentation instead
  of two. The indentation of the DRD source code is now consistent with
  the other Valgrind source files.
- Added emacs mode line with indentation settings.

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

16 years agoUpdated to do list.
Bart Van Assche [Tue, 24 Mar 2009 20:14:53 +0000 (20:14 +0000)] 
Updated to do list.

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

16 years agoUpdated 3.5.0 bug list.
Bart Van Assche [Sun, 22 Mar 2009 10:14:39 +0000 (10:14 +0000)] 
Updated 3.5.0 bug list.

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

16 years agoCheck whether the symbol table is in the main object file or the debug
Tom Hughes [Fri, 20 Mar 2009 10:32:37 +0000 (10:32 +0000)] 
Check whether the symbol table is in the main object file or the debug
object file and use that information to decide which svma and bias
values to use when working out what section a symbol refers to.

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

16 years agoTrack renaming of guest_CIA_AT_SC to guest_IP_AT_SYSCALL (vex r1886).
Julian Seward [Fri, 20 Mar 2009 00:28:50 +0000 (00:28 +0000)] 
Track renaming of guest_CIA_AT_SC to guest_IP_AT_SYSCALL (vex r1886).

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

16 years agoMerge r9456 (pending change) from the DARWIN branch.
Nicholas Nethercote [Tue, 17 Mar 2009 06:22:58 +0000 (06:22 +0000)] 
Merge r9456 (pending change) from the DARWIN branch.

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

16 years agowhitespace-only change
Nicholas Nethercote [Tue, 17 Mar 2009 04:51:19 +0000 (04:51 +0000)] 
whitespace-only change

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

16 years agoFix some incorrect end comments.
Nicholas Nethercote [Tue, 17 Mar 2009 04:28:51 +0000 (04:28 +0000)] 
Fix some incorrect end comments.

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

16 years agoTweak the format of stack traces, so they're more consistent.
Nicholas Nethercote [Mon, 16 Mar 2009 22:11:31 +0000 (22:11 +0000)] 
Tweak the format of stack traces, so they're more consistent.

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

16 years agoMerge r9431 (remove old Darwin docs) from the DARWIN branch.
Nicholas Nethercote [Mon, 16 Mar 2009 04:34:41 +0000 (04:34 +0000)] 
Merge r9431 (remove old Darwin docs) from the DARWIN branch.

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

16 years agoMerge r9429 (map_unaligned porting) from the DARWIN branch.
Nicholas Nethercote [Mon, 16 Mar 2009 04:29:12 +0000 (04:29 +0000)] 
Merge r9429 (map_unaligned porting) from the DARWIN branch.

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

16 years agoMerge r9426, r9427 ('pending' portability tweaks) from the DARWIN branch.
Nicholas Nethercote [Mon, 16 Mar 2009 03:46:48 +0000 (03:46 +0000)] 
Merge r9426, r9427 ('pending' portability tweaks) from the DARWIN branch.

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

16 years agoThis should have gone in with the last commit.
Nicholas Nethercote [Mon, 16 Mar 2009 01:00:35 +0000 (01:00 +0000)] 
This should have gone in with the last commit.

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

16 years ago- Turn exit_group() into exit() in the Memcheck filter, for greater
Nicholas Nethercote [Mon, 16 Mar 2009 00:59:17 +0000 (00:59 +0000)] 
- Turn exit_group() into exit() in the Memcheck filter, for greater
  determinism and portability.
- Update the xml1 .exp files accordingly (getting rid of one which is no
  longer necessary).
- Update origin4-many.stderr.exp accordingly.
- Update the handling of scalar_exit_group accordingly.

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

16 years agoMerge r9419 (make describe-block portable) from the DARWIN branch.
Nicholas Nethercote [Sun, 15 Mar 2009 23:59:13 +0000 (23:59 +0000)] 
Merge r9419 (make describe-block portable) from the DARWIN branch.

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

16 years agoFix all the non-VEX problems identified with the Clang Static Analyzer.
Nicholas Nethercote [Sun, 15 Mar 2009 23:25:38 +0000 (23:25 +0000)] 
Fix all the non-VEX problems identified with the Clang Static Analyzer.

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

16 years agoUpdated expected output.
Bart Van Assche [Sat, 14 Mar 2009 08:28:56 +0000 (08:28 +0000)] 
Updated expected output.

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

16 years agoRemove an unused, empty .exp file that was somehow still hanging around.
Nicholas Nethercote [Fri, 13 Mar 2009 20:08:03 +0000 (20:08 +0000)] 
Remove an unused, empty .exp file that was somehow still hanging around.

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

16 years agoMerge 3.4.1 release notes from the VALGRIND_3_4_BRANCH.
Nicholas Nethercote [Fri, 13 Mar 2009 19:55:36 +0000 (19:55 +0000)] 
Merge 3.4.1 release notes from the VALGRIND_3_4_BRANCH.

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

16 years agoUpdated tc20_verifywrap expected output files.
Bart Van Assche [Fri, 13 Mar 2009 18:19:05 +0000 (18:19 +0000)] 
Updated tc20_verifywrap expected output files.

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

16 years agoMade DRD_(mutex_type) ignore mutex attribute flags.
Bart Van Assche [Fri, 13 Mar 2009 17:32:52 +0000 (17:32 +0000)] 
Made DRD_(mutex_type) ignore mutex attribute flags.

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

16 years agoAdded pth_process_shared_mutex regression test.
Bart Van Assche [Fri, 13 Mar 2009 17:32:07 +0000 (17:32 +0000)] 
Added pth_process_shared_mutex regression test.

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

16 years agoAdd a Fedora suppression that hopefully will make failing tests work on
Nicholas Nethercote [Fri, 13 Mar 2009 05:47:33 +0000 (05:47 +0000)] 
Add a Fedora suppression that hopefully will make failing tests work on
Tom's nightly test machines.

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

16 years agoMerge r9380, r9381 (test portability tweaks) from the DARWIN branch.
Nicholas Nethercote [Fri, 13 Mar 2009 05:38:01 +0000 (05:38 +0000)] 
Merge r9380, r9381 (test portability tweaks) from the DARWIN branch.

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

16 years agoTweak exp-ptrcheck .exp files.
Nicholas Nethercote [Fri, 13 Mar 2009 03:27:40 +0000 (03:27 +0000)] 
Tweak exp-ptrcheck .exp files.

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

16 years agoAdded better filtering for Helgrind tests, removing all unreliable stack
Nicholas Nethercote [Fri, 13 Mar 2009 01:41:03 +0000 (01:41 +0000)] 
Added better filtering for Helgrind tests, removing all unreliable stack
traces, and a few other unreliable pieces.  This allowed most of the tests
to be reduced to a single .stderr.exp file.  It also means that all Helgrind
tests succeed on my AMD64/Linux box when configured with --enable-only32bit,
whereas previously 20 of them failed.

Also tweaked a couple non-Helgrind filters a tiny bit.

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

16 years agoAdded comment block that explains why the creator thread waits until the creator...
Bart Van Assche [Thu, 12 Mar 2009 18:39:31 +0000 (18:39 +0000)] 
Added comment block that explains why the creator thread waits until the creator thread has copied the vector clock of the creator thread.

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

16 years agoCorrected a few comments.
Bart Van Assche [Thu, 12 Mar 2009 18:38:26 +0000 (18:38 +0000)] 
Corrected a few comments.

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

16 years agoRemoved DRD_() wrapper from static variables. Corrected datatypes of DRD_(sg_new)().
Bart Van Assche [Thu, 12 Mar 2009 18:38:00 +0000 (18:38 +0000)] 
Removed DRD_() wrapper from static variables. Corrected datatypes of DRD_(sg_new)().

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

16 years agoCleanup.
Bart Van Assche [Thu, 12 Mar 2009 18:35:44 +0000 (18:35 +0000)] 
Cleanup.

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

16 years agoRemoved obsolete function declaration.
Bart Van Assche [Thu, 12 Mar 2009 17:47:23 +0000 (17:47 +0000)] 
Removed obsolete function declaration.

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

16 years agoForce thread scheduling order.
Bart Van Assche [Thu, 12 Mar 2009 17:28:44 +0000 (17:28 +0000)] 
Force thread scheduling order.

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

16 years agoRemove Helgrind .exp files which are out-of-date, because Helgrind's output
Nicholas Nethercote [Thu, 12 Mar 2009 05:58:05 +0000 (05:58 +0000)] 
Remove Helgrind .exp files which are out-of-date, because Helgrind's output
has changed since they were generated.  Also remove one
(tc23_bogus_condwait.stderr.exp-glibc25-x86) that was a duplicate.

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

16 years agoAnother filter_xml update.
Nicholas Nethercote [Thu, 12 Mar 2009 05:50:51 +0000 (05:50 +0000)] 
Another filter_xml update.

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

16 years agoFix a .exp file.
Nicholas Nethercote [Thu, 12 Mar 2009 05:20:46 +0000 (05:20 +0000)] 
Fix a .exp file.

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

16 years ago- Removed leakotron. It was not a very useful test, and hard to make
Nicholas Nethercote [Thu, 12 Mar 2009 03:00:05 +0000 (03:00 +0000)] 
- Removed leakotron.  It was not a very useful test, and hard to make
  portable.
- Rewrote leak-tree to be deterministic and clearer.

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

16 years agoA couple more VG_DMSG conversions.
Nicholas Nethercote [Thu, 12 Mar 2009 00:07:35 +0000 (00:07 +0000)] 
A couple more VG_DMSG conversions.

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

16 years agoAdded some shortcuts for VG_(message)(), and used them in a few places (but
Nicholas Nethercote [Thu, 12 Mar 2009 00:06:45 +0000 (00:06 +0000)] 
Added some shortcuts for VG_(message)(), and used them in a few places (but
certainly not all).

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

16 years agoForce the order in which threads run.
Bart Van Assche [Wed, 11 Mar 2009 19:13:34 +0000 (19:13 +0000)] 
Force the order in which threads run.

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

16 years agoAdded a comment that explains the purpose of the test program.
Bart Van Assche [Wed, 11 Mar 2009 19:12:06 +0000 (19:12 +0000)] 
Added a comment that explains the purpose of the test program.

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

16 years agoRemoved cross-tool dependency on helgrind/helgrind.h.
Bart Van Assche [Wed, 11 Mar 2009 18:51:22 +0000 (18:51 +0000)] 
Removed cross-tool dependency on helgrind/helgrind.h.

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

16 years agoUn-break 'make dist'.
Bart Van Assche [Wed, 11 Mar 2009 18:30:59 +0000 (18:30 +0000)] 
Un-break 'make dist'.

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

16 years agoReduced two expected output files to one for the test called atomic_var.
Bart Van Assche [Wed, 11 Mar 2009 18:29:00 +0000 (18:29 +0000)] 
Reduced two expected output files to one for the test called atomic_var.

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

16 years agoReverted to r8771. Please ignore the commit message of r9325.
Bart Van Assche [Wed, 11 Mar 2009 11:09:35 +0000 (11:09 +0000)] 
Reverted to r8771. Please ignore the commit message of r9325.

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

16 years agoAnother regtest fix for machines with debug info installed for libc.
Nicholas Nethercote [Wed, 11 Mar 2009 06:12:59 +0000 (06:12 +0000)] 
Another regtest fix for machines with debug info installed for libc.

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

16 years agoTest fixes for systems that have debug info installed for libc and
Nicholas Nethercote [Tue, 10 Mar 2009 23:39:12 +0000 (23:39 +0000)] 
Test fixes for systems that have debug info installed for libc and
libpthread.

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

16 years agoMake the leak-cases tests more robust.
Nicholas Nethercote [Tue, 10 Mar 2009 23:08:02 +0000 (23:08 +0000)] 
Make the leak-cases tests more robust.

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

16 years agoTweaks to the 'nightly' script and docs.
Nicholas Nethercote [Tue, 10 Mar 2009 22:33:29 +0000 (22:33 +0000)] 
Tweaks to the 'nightly' script and docs.

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

16 years agoFix an expected output for the recent large leak-checker rewrite.
Nicholas Nethercote [Tue, 10 Mar 2009 22:30:44 +0000 (22:30 +0000)] 
Fix an expected output for the recent large leak-checker rewrite.

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

16 years agoUpdated copyright years.
Nicholas Nethercote [Tue, 10 Mar 2009 22:02:09 +0000 (22:02 +0000)] 
Updated copyright years.

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

16 years agoTweak the Memcheck manual, fixing bug #157154 in the process.
Nicholas Nethercote [Tue, 10 Mar 2009 21:40:46 +0000 (21:40 +0000)] 
Tweak the Memcheck manual, fixing bug #157154 in the process.

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

16 years agoAdded support for the VG_USERREQ__HG_CLEAN_MEMORY client request.
Bart Van Assche [Tue, 10 Mar 2009 09:26:07 +0000 (09:26 +0000)] 
Added support for the VG_USERREQ__HG_CLEAN_MEMORY client request.

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

16 years agoAdded DRD_(clean_memory)().
Bart Van Assche [Tue, 10 Mar 2009 09:25:32 +0000 (09:25 +0000)] 
Added DRD_(clean_memory)().

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

16 years agoAdded DRD_(thread_address_on_any_stack)().
Bart Van Assche [Tue, 10 Mar 2009 09:22:13 +0000 (09:22 +0000)] 
Added DRD_(thread_address_on_any_stack)().

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

16 years agoMade sure that the tc19_shadowmem and tc24_nonzero_sem tests do something meaningful...
Bart Van Assche [Tue, 10 Mar 2009 09:21:32 +0000 (09:21 +0000)] 
Made sure that the tc19_shadowmem and tc24_nonzero_sem tests do something meaningful. Thanks to Nicholas for reporting this.

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

16 years agoAdded script filter_stderr_and_thread_no.
Bart Van Assche [Tue, 10 Mar 2009 09:19:26 +0000 (09:19 +0000)] 
Added script filter_stderr_and_thread_no.

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

16 years agoChange 'nightly' to print "(unchanged)" at the start of the email subject
Nicholas Nethercote [Tue, 10 Mar 2009 03:38:05 +0000 (03:38 +0000)] 
Change 'nightly' to print "(unchanged)" at the start of the email subject
line if the results are unchanged from 24 hours ago.  Makes it easier to see
(or filter) if results are unchanged.

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

16 years agoSome tweaks to make more tests pass, or get closer to passing, on
Nicholas Nethercote [Tue, 10 Mar 2009 03:34:00 +0000 (03:34 +0000)] 
Some tweaks to make more tests pass, or get closer to passing, on
--enable-only32bit builds on my Ubuntu box:

- For all tests, replace all operator new/new[]/delete/delete[] variants
  with a common form, eg. "...operator new...".  This makes
  exp-ptrcheck/tests/ccc and memcheck/tests/mismatches pass.

- For Helgrind tests, replace all libpthread paths with "/...libpthread...",
  as is done for libc paths.  This avoids problems when /lib32/libpthread.so
  is the path.  No extra tests pass, but many of them get a lot closer to
  passing.

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

16 years agoThis commit completely overhauls the leak checker. In particular:
Nicholas Nethercote [Mon, 9 Mar 2009 22:52:24 +0000 (22:52 +0000)] 
This commit completely overhauls the leak checker.  In particular:

- It heavily refactors the code:  uses better names for things, splits up
  complex functions that behaved very differently depending on how they were
  called, removes some redundancies, and generally makes it much simpler and
  easier to follow.

- It adds lots of comments, both inline, and also a big explanatory one at
  the top which makes it clear exactly how the leak checker works and also
  exactly what is meant by definite, possible, and indirect leaks.  It also
  has some ideas for future improvements.

- All tabs have been converted to spaces.

It also improves the functionality:

- Previously if you did --leak-check=summary, indirect and suppressed
  blocks were counted as definite leaks.  Now they are done properly, and so
  the summary results from --leak-check=summary match those from
  --leak-check=yes.

- Previously, some possibly reachable blocks were miscategorised as
  definitely reachable, because only the pointer to the block itself was
  considered, not any preceding pointers in the chain.  This is now fixed.

- Added memcheck/tests/leak-cases, which fully tests all the possible
  combinations of directly/indirectly reachable and possibly/definitely
  reachable.

And it improves the manual quite a bit, and the FAQ a little bit.

This doesn't fix the leak checker to handle MALLOCLIKE_BLOCK works that have
been taken from within malloc'd blocks, but I think I know how to do it and
hope to do so in a subsequent commit.

It also changes all instances of "<constant>memcheck</constant>" in the
Memcheck manual to "Memcheck", for consistency and because "Memcheck" is
easier to write.  There's one similar case for DRD but I didn't change that.

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

16 years agoKeep track of the svma and bias values for the debug data separately
Tom Hughes [Mon, 9 Mar 2009 09:19:03 +0000 (09:19 +0000)] 
Keep track of the svma and bias values for the debug data separately
as they may be different to those for other sections of the ELF file
if we have separated debug information and the main file has been
prelinked since they were split. Fixes bug #185816.

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

16 years agoReverted last commit (r9326) -- its commit message did not make sense.
Bart Van Assche [Sun, 8 Mar 2009 19:18:21 +0000 (19:18 +0000)] 
Reverted last commit (r9326) -- its commit message did not make sense.

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

16 years agoAdded vgopts: --var-info=yes.
Bart Van Assche [Sun, 8 Mar 2009 19:03:24 +0000 (19:03 +0000)] 
Added vgopts: --var-info=yes.

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

16 years agoFixed another unintended data race.
Bart Van Assche [Sun, 8 Mar 2009 19:02:59 +0000 (19:02 +0000)] 
Fixed another unintended data race.

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

16 years agoFixed an unintended data race in the bar_trivial test program.
Bart Van Assche [Sun, 8 Mar 2009 18:58:06 +0000 (18:58 +0000)] 
Fixed an unintended data race in the bar_trivial test program.

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

16 years agoRemove .exp64 files that are identical to their corresponding .exp files and
Nicholas Nethercote [Fri, 6 Mar 2009 02:58:12 +0000 (02:58 +0000)] 
Remove .exp64 files that are identical to their corresponding .exp files and
thus unnecessary.

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

16 years ago- Added more comments.
Bart Van Assche [Wed, 4 Mar 2009 19:26:47 +0000 (19:26 +0000)] 
- Added more comments.
- Removed DRD_() wrapper from around local functions and variables.
- Removed some obsolete code.

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

16 years agoRoll back accidental change that shouldn't have been in r9316.
Nicholas Nethercote [Wed, 4 Mar 2009 04:28:34 +0000 (04:28 +0000)] 
Roll back accidental change that shouldn't have been in r9316.

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

16 years agoThis should have been added to the last commit.
Nicholas Nethercote [Wed, 4 Mar 2009 04:18:33 +0000 (04:18 +0000)] 
This should have been added to the last commit.

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

16 years agotests/arch_test is currently being used for two purposes:
Nicholas Nethercote [Wed, 4 Mar 2009 04:15:16 +0000 (04:15 +0000)] 
tests/arch_test is currently being used for two purposes:
- by vg_regtest for determining if a directory name matches an architecture;
- by various .vgtest files for detecting x86/AMD64 features.

This commit splits it in two for the two different purposes, which makes
things clearer.

Specific changes

- Moved the x86/AMD64 feature detection stuff out of arch_test.c, and
  into the new x86_amd64_feature.c.  Updated the relevant .vgtest files for
  the change.

- In vg_regtest, now a prereq command must return 0 (prereq satisfied) or 1
  (prereq not satisfied).  Anything else makes vg_regtest abort.  This
  makes obvious any problems with prereq tests rather than just making the
  tests skip innocuously.  (We previously had exactly such a problem on the
  DARWIN branch;  the x86 feature detection tests caused segfaults so the
  tests were incorrectly skipped.  This change will catch any similar future
  problem.)

- Changed os_test from a script to a C program, matching cpu_test.

- Removed some unintentional darwin stuff from platform_test.

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

16 years agoRemove darwin code that crept into the trunk.
Nicholas Nethercote [Wed, 4 Mar 2009 01:23:04 +0000 (01:23 +0000)] 
Remove darwin code that crept into the trunk.

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

16 years agoUse "status" as the argname for 'exit' and 'exit_group'.
Nicholas Nethercote [Tue, 3 Mar 2009 05:39:23 +0000 (05:39 +0000)] 
Use "status" as the argname for 'exit' and 'exit_group'.

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

16 years agoMerge r9299..r9303 (various leak-check test fixes) from the DARWIN branch.
Nicholas Nethercote [Mon, 2 Mar 2009 05:11:06 +0000 (05:11 +0000)] 
Merge r9299..r9303 (various leak-check test fixes) from the DARWIN branch.

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

16 years agoGet rid of the second argument ("PtrdiffT debug_offset") to
Julian Seward [Sat, 28 Feb 2009 21:23:11 +0000 (21:23 +0000)] 
Get rid of the second argument ("PtrdiffT debug_offset") to
ML_(read_debuginfo_stabs) since it's always equal to di->text_bias.

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

16 years agoRemove dead code relating to interface versions.
Nicholas Nethercote [Fri, 27 Feb 2009 03:38:28 +0000 (03:38 +0000)] 
Remove dead code relating to interface versions.

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

16 years agoMerged r9287 (vgprintf fix) from the DARWIN branch.
Nicholas Nethercote [Fri, 27 Feb 2009 03:23:42 +0000 (03:23 +0000)] 
Merged r9287 (vgprintf fix) from the DARWIN branch.

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

16 years agoMerge r9285 (match-overrun fixes) from the DARWIN branch.
Nicholas Nethercote [Thu, 26 Feb 2009 22:38:42 +0000 (22:38 +0000)] 
Merge r9285 (match-overrun fixes) from the DARWIN branch.

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

16 years agoMerge r9283 (lackey testing fixes) from the DARWIN branch.
Nicholas Nethercote [Thu, 26 Feb 2009 22:26:45 +0000 (22:26 +0000)] 
Merge r9283 (lackey testing fixes) from the DARWIN branch.

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

16 years agoMake this pass on AIX (untested).
Nicholas Nethercote [Thu, 26 Feb 2009 22:09:53 +0000 (22:09 +0000)] 
Make this pass on AIX (untested).

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

16 years agoClean up the diff -u test a little.
Nicholas Nethercote [Thu, 26 Feb 2009 21:25:50 +0000 (21:25 +0000)] 
Clean up the diff -u test a little.

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

16 years agoMake the VKI_PAGE_SIZE conditional match that in m_vki.c.
Nicholas Nethercote [Thu, 26 Feb 2009 21:17:39 +0000 (21:17 +0000)] 
Make the VKI_PAGE_SIZE conditional match that in m_vki.c.

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

16 years agoPorted this test to ppc.
Bart Van Assche [Thu, 26 Feb 2009 17:50:14 +0000 (17:50 +0000)] 
Ported this test to ppc.

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

16 years agoBuilds again on powerpc.
Bart Van Assche [Thu, 26 Feb 2009 13:21:50 +0000 (13:21 +0000)] 
Builds again on powerpc.

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

16 years agorename a function
Nicholas Nethercote [Thu, 26 Feb 2009 04:02:03 +0000 (04:02 +0000)] 
rename a function

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

16 years agoAvoid a warning.
Nicholas Nethercote [Thu, 26 Feb 2009 03:56:48 +0000 (03:56 +0000)] 
Avoid a warning.

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

16 years agoAdd more testing to memcheck/tests/unit_libcbase.c.
Nicholas Nethercote [Thu, 26 Feb 2009 03:52:35 +0000 (03:52 +0000)] 
Add more testing to memcheck/tests/unit_libcbase.c.

Remove VG_(strcmp_ws) and VG_(strncmp_ws);  they're no longer needed by CLO
handling, and they're not much use elsewhere.

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

16 years agoRemove WERROR. It's not much use because getting Valgrind to build without
Nicholas Nethercote [Wed, 25 Feb 2009 23:19:46 +0000 (23:19 +0000)] 
Remove WERROR.  It's not much use because getting Valgrind to build without
errors on all platforms is very difficult.

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

16 years agoGeneralise a couple of Qt4 suppressions (David Faure).
Julian Seward [Wed, 25 Feb 2009 21:28:38 +0000 (21:28 +0000)] 
Generalise a couple of Qt4 suppressions (David Faure).

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