]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
18 years agoIntercept mempcpy also in ld.so.1.
Julian Seward [Thu, 18 Jan 2007 18:01:45 +0000 (18:01 +0000)] 
Intercept mempcpy also in ld.so.1.

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

18 years agoSync with AUTHORS.
Julian Seward [Thu, 18 Jan 2007 02:19:05 +0000 (02:19 +0000)] 
Sync with AUTHORS.

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

18 years agoUpdate.
Julian Seward [Thu, 18 Jan 2007 02:18:48 +0000 (02:18 +0000)] 
Update.

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

18 years agoEnable the pselect6 wrapper on amd64-linux.
Julian Seward [Thu, 18 Jan 2007 00:13:24 +0000 (00:13 +0000)] 
Enable the pselect6 wrapper on amd64-linux.

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

18 years agoIntercept _intel_fast_memcpy in the main executable. Partial fix for
Julian Seward [Tue, 16 Jan 2007 21:42:28 +0000 (21:42 +0000)] 
Intercept _intel_fast_memcpy in the main executable.  Partial fix for
#139667.

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

18 years agoMake sse1-friendly.
Julian Seward [Tue, 16 Jan 2007 20:01:15 +0000 (20:01 +0000)] 
Make sse1-friendly.

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

18 years agoAdd tests to check that memcheck does not give a false error for 'xor
Julian Seward [Tue, 16 Jan 2007 19:15:19 +0000 (19:15 +0000)] 
Add tests to check that memcheck does not give a false error for 'xor
%reg,%reg' (in various forms) when %reg contains undefined data.

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

18 years agoInline a bunch of helper functions, in an attempt to minimise
Julian Seward [Tue, 16 Jan 2007 05:35:46 +0000 (05:35 +0000)] 
Inline a bunch of helper functions, in an attempt to minimise
extraneous frames in backtraces created by the library.

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

18 years agoWhen '-d' (one or more) is specified, disallow the client from closing
Julian Seward [Sat, 13 Jan 2007 22:27:51 +0000 (22:27 +0000)] 
When '-d' (one or more) is specified, disallow the client from closing
fd 2 (stderr) since that's what m_debuglog writes to, and the
resulting disappearance of the debug log can be confusing.

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

18 years agoUpdate.
Julian Seward [Sat, 13 Jan 2007 00:25:23 +0000 (00:25 +0000)] 
Update.

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

18 years agoupdate
Nicholas Nethercote [Sat, 13 Jan 2007 00:03:06 +0000 (00:03 +0000)] 
update

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

18 years agoFix a bug reported by Bruce Lowekamp involving the interaction of
Nicholas Nethercote [Fri, 12 Jan 2007 23:59:50 +0000 (23:59 +0000)] 
Fix a bug reported by Bruce Lowekamp involving the interaction of
--gen-suppressions with leak checking.  Added a regtest for it.

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

18 years agoHandle DW_CFA_undefined (produced by PathScale 2.4 on amd64-linux)
Julian Seward [Fri, 12 Jan 2007 19:21:22 +0000 (19:21 +0000)] 
Handle DW_CFA_undefined (produced by PathScale 2.4 on amd64-linux)

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

18 years agoML_(read_callframe_info_dwarf2): deal better with CIEs with no
Julian Seward [Fri, 12 Jan 2007 19:03:19 +0000 (19:03 +0000)] 
ML_(read_callframe_info_dwarf2): deal better with CIEs with no
augmentation (has to do with read_encoded_Addr).  This "fix" is a
kludge and may be replaced in future by something cleaner.  See
extensive comment addition for the whole sorry tale.

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

18 years agoIn struct _SegInfo, rename field 'size' to 'text_size' so as to be
Julian Seward [Thu, 11 Jan 2007 21:56:20 +0000 (21:56 +0000)] 
In struct _SegInfo, rename field 'size' to 'text_size' so as to be
consistent with all the other 'foo_start_avma'/'foo_size' pairings.

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

18 years agoIn struct _SegInfo, rename field 'offset' to 'text_bias'.
Julian Seward [Thu, 11 Jan 2007 20:11:51 +0000 (20:11 +0000)] 
In struct _SegInfo, rename field 'offset' to 'text_bias'.

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

18 years agoNon-functional change: rename a bunch of variables and field names
Julian Seward [Thu, 11 Jan 2007 19:42:11 +0000 (19:42 +0000)] 
Non-functional change: rename a bunch of variables and field names
that hold various kinds of addresses during debuginfo reading, so as
to make it easier to understand.  See comment at top of debuginfo.c.

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

18 years agoMerge r6504 (ifort 9.1 on amd64 suppression)
Julian Seward [Wed, 10 Jan 2007 19:30:19 +0000 (19:30 +0000)] 
Merge r6504 (ifort 9.1 on amd64 suppression)

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

18 years agoGenerate valid XML even for very long fn names - always ensure tags
Julian Seward [Wed, 10 Jan 2007 15:42:15 +0000 (15:42 +0000)] 
Generate valid XML even for very long fn names - always ensure tags
have matching closing tags.

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

18 years agoRegtest for FXSAVE on amd64.
Julian Seward [Wed, 10 Jan 2007 04:57:27 +0000 (04:57 +0000)] 
Regtest for FXSAVE on amd64.

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

18 years agoUpdate
Julian Seward [Tue, 9 Jan 2007 17:09:59 +0000 (17:09 +0000)] 
Update

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

18 years agoML_(generic_PRE_sys_mmap): In the case of a hinted mapping (for the
Julian Seward [Tue, 9 Jan 2007 16:47:20 +0000 (16:47 +0000)] 
ML_(generic_PRE_sys_mmap): In the case of a hinted mapping (for the
client) which aspacemgr accepts at the hint address but the kernel
declines, try again as a non-hinted mapping.  Fixes ld.so mapping
failures observed on ppc32-linux, although the problem potentially
applies to all Linux targets.

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

18 years agoUpdate copyright dates.
Julian Seward [Mon, 8 Jan 2007 06:01:59 +0000 (06:01 +0000)] 
Update copyright dates.

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

18 years agoUpdate.
Julian Seward [Mon, 8 Jan 2007 05:55:22 +0000 (05:55 +0000)] 
Update.

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

18 years agoUpdate for 2007.
Julian Seward [Mon, 8 Jan 2007 05:53:25 +0000 (05:53 +0000)] 
Update for 2007.

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

18 years agoMerge r6480 (parse_procselfmaps: don't hand zero-length mappings to
Julian Seward [Sun, 7 Jan 2007 02:03:01 +0000 (02:03 +0000)] 
Merge r6480 (parse_procselfmaps: don't hand zero-length mappings to
*record_mapping)

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

18 years agoReplace bcmp in ld.so.1.
Julian Seward [Sat, 6 Jan 2007 06:30:48 +0000 (06:30 +0000)] 
Replace bcmp in ld.so.1.

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

18 years agoFixes for MPICH on amd64-linux.
Julian Seward [Sat, 6 Jan 2007 05:28:27 +0000 (05:28 +0000)] 
Fixes for MPICH on amd64-linux.

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

18 years agoPass CC and AR to vex's Makefile here too.
Julian Seward [Fri, 5 Jan 2007 23:50:45 +0000 (23:50 +0000)] 
Pass CC and AR to vex's Makefile here too.

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

18 years agoSupps for MVL 4.0.1 on ppc32 (Bart Van Assche)
Julian Seward [Fri, 5 Jan 2007 15:09:53 +0000 (15:09 +0000)] 
Supps for MVL 4.0.1 on ppc32 (Bart Van Assche)

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

18 years agoAvoid printf in the recursive routines, so that the intercept of
Julian Seward [Mon, 1 Jan 2007 22:07:58 +0000 (22:07 +0000)] 
Avoid printf in the recursive routines, so that the intercept of
mempcpy which is called from printf does not mess up the
carefully-balanced call-stack overflow checks that this test does on
ppc64-linux.

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

18 years agoProvide a replacement for mempcpy.
Julian Seward [Sun, 31 Dec 2006 18:55:56 +0000 (18:55 +0000)] 
Provide a replacement for mempcpy.

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

18 years agoApparently needed on Red Hat 7.3.
Julian Seward [Sun, 31 Dec 2006 15:26:48 +0000 (15:26 +0000)] 
Apparently needed on Red Hat 7.3.

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

18 years agoUpdate
Julian Seward [Sun, 31 Dec 2006 02:32:00 +0000 (02:32 +0000)] 
Update

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

18 years agoRedo a suppression in X.org style.
Julian Seward [Sun, 31 Dec 2006 01:05:19 +0000 (01:05 +0000)] 
Redo a suppression in X.org style.

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

18 years agoIntercept/replace glibc-2.5's __strcpy_chk function for the usual
Julian Seward [Sun, 31 Dec 2006 00:22:30 +0000 (00:22 +0000)] 
Intercept/replace glibc-2.5's __strcpy_chk function for the usual
reasons: it reads word-sized chunks from memory and so produces lots
of errors in SuSE 10.2 (amd64).

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

18 years agoRemove redundant \n
Julian Seward [Sat, 30 Dec 2006 17:56:32 +0000 (17:56 +0000)] 
Remove redundant \n

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

18 years agoMerge (from 3_2_BRANCH) r6457/8 (Support 64k pages on ppc32/64-linux
Julian Seward [Sat, 30 Dec 2006 17:45:08 +0000 (17:45 +0000)] 
Merge (from 3_2_BRANCH) r6457/8 (Support 64k pages on ppc32/64-linux
(Jakub Jelink, Dave Nomura) )

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

18 years agoGet rid of the core-tool events pre_mutex_lock, post_mutex_lock and
Julian Seward [Thu, 28 Dec 2006 20:26:08 +0000 (20:26 +0000)] 
Get rid of the core-tool events pre_mutex_lock, post_mutex_lock and
post_mutex_unlock.  The core can't detect them anyway any more, so
there's no point in having them.

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

18 years agoUpdate expected output following r6447 (Test lvxl and stvxl.)
Julian Seward [Thu, 28 Dec 2006 06:52:27 +0000 (06:52 +0000)] 
Update expected output following r6447 (Test lvxl and stvxl.)

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

18 years agoAvoid name clash on ppc64-linux.
Julian Seward [Thu, 28 Dec 2006 06:50:50 +0000 (06:50 +0000)] 
Avoid name clash on ppc64-linux.

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

18 years agoUpdate
Julian Seward [Thu, 28 Dec 2006 02:07:52 +0000 (02:07 +0000)] 
Update

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

18 years agoAdd regtest for bug129390 (altivec cache hint insns)
Julian Seward [Thu, 28 Dec 2006 00:16:51 +0000 (00:16 +0000)] 
Add regtest for bug129390 (altivec cache hint insns)

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

18 years agoRemove dead code.
Nicholas Nethercote [Wed, 27 Dec 2006 23:19:10 +0000 (23:19 +0000)] 
Remove dead code.

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

18 years agoTest lvxl and stvxl.
Julian Seward [Wed, 27 Dec 2006 21:22:18 +0000 (21:22 +0000)] 
Test lvxl and stvxl.

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

18 years agoAdd regtest for #139050.
Julian Seward [Wed, 27 Dec 2006 18:40:47 +0000 (18:40 +0000)] 
Add regtest for #139050.

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

18 years agoPrint a marginally more helpful error message if UME (ELF loading) fails.
Julian Seward [Wed, 27 Dec 2006 05:18:33 +0000 (05:18 +0000)] 
Print a marginally more helpful error message if UME (ELF loading) fails.

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

18 years agoRegtest for bug 137714 (x86 MASKMOVQ/MASKMOVDQU insns)
Julian Seward [Wed, 27 Dec 2006 04:35:52 +0000 (04:35 +0000)] 
Regtest for bug 137714 (x86 MASKMOVQ/MASKMOVDQU insns)

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

18 years agoHandle new primop Iop_SarN8x8 introduced in vex r1702.
Julian Seward [Wed, 27 Dec 2006 01:16:58 +0000 (01:16 +0000)] 
Handle new primop Iop_SarN8x8 introduced in vex r1702.

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

18 years agoFix #134207 (pkg-config output contains @VG_PLATFORM@).
Julian Seward [Tue, 26 Dec 2006 04:50:12 +0000 (04:50 +0000)] 
Fix #134207 (pkg-config output contains @VG_PLATFORM@).

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

18 years agoUpdate
Julian Seward [Tue, 26 Dec 2006 04:09:33 +0000 (04:09 +0000)] 
Update

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

18 years agoUpdate, and make first attempt at deciding which bugs to fix for 3.2.2.
Julian Seward [Mon, 25 Dec 2006 23:32:41 +0000 (23:32 +0000)] 
Update, and make first attempt at deciding which bugs to fix for 3.2.2.

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

18 years agoAdd a NEWS item about Vex type/function name changes.
Nicholas Nethercote [Sun, 24 Dec 2006 07:54:19 +0000 (07:54 +0000)] 
Add a NEWS item about Vex type/function name changes.

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

18 years agoSplit the thread_runstate event into two, start_client_code and
Nicholas Nethercote [Sun, 24 Dec 2006 07:51:17 +0000 (07:51 +0000)] 
Split the thread_runstate event into two, start_client_code and
stop_client_code, which is a bit clearer and easier to work with.

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

18 years agoAlways ensure that the output buffer is zero-terminated, even if it is
Julian Seward [Sun, 24 Dec 2006 03:02:18 +0000 (03:02 +0000)] 
Always ensure that the output buffer is zero-terminated, even if it is
already full.  (Nick N)

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

18 years agoNon-functional commit: track IR renaming in vex r1689.
Julian Seward [Sun, 24 Dec 2006 02:24:11 +0000 (02:24 +0000)] 
Non-functional commit: track IR renaming in vex r1689.

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

18 years agoUpdate.
Julian Seward [Sun, 24 Dec 2006 02:21:49 +0000 (02:21 +0000)] 
Update.

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

18 years agoCallgrind: Throttle calls CLG_(run_thread) after r6413
Josef Weidendorfer [Sat, 23 Dec 2006 23:11:20 +0000 (23:11 +0000)] 
Callgrind: Throttle calls CLG_(run_thread) after r6413

After the change in r6413, CLG_(run_thread) is called a
lot more often, increasing the polling overhead to check
for a callgrind command file (created by callgrind_control
for controlling a callgrind run in an interactive way).
This reduces the calls to only be done every 5000 BBs,
which gives a similar polling frequency as before.

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

18 years agoChange the core-tool interface 'thread_run' event to be more useful:
Julian Seward [Sat, 23 Dec 2006 01:21:12 +0000 (01:21 +0000)] 
Change the core-tool interface 'thread_run' event to be more useful:

- Rename the event to 'thread_runstate'.

- Add arguments: pass also a boolean indicating whether the thread
  is running or stopping, and a 64-bit int showing how many blocks
  overall have run, so tools can make a rough estimate of workload.

  The boolean allows tools to see threads starting and stopping.
  Prior to this, de-schedule events were invisible to tools.

- Call the callback (hand the event to tools) just before client
  code is run, and again immediately after it stops running.  This
  should give correct sequencing w.r.t posting of thread creation/
  destruction events.

In order to make callgrind work without complex changes, I added a
simple impedance-matching function 'clg_thread_runstate_callback'
which hands thread-run events onwards to CLG_(thread_run).

Use this new 'thread_runstate' with care: it will be called before
and after every translation, which means it will be called ~500k
times in a startup of firefox.  So the callback needs to be fast.

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

18 years agoUse standard pthread mutexes instead of spinlocks. Not all distros
Julian Seward [Mon, 18 Dec 2006 17:53:13 +0000 (17:53 +0000)] 
Use standard pthread mutexes instead of spinlocks.  Not all distros
support spinlocks, it appears.

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

18 years agoAdd support for some USB ioctls. Based on patches from Jon Burgess and
Tom Hughes [Mon, 18 Dec 2006 16:48:10 +0000 (16:48 +0000)] 
Add support for some USB ioctls. Based on patches from Jon Burgess and
Marcus Meissner in bugs #136059 and #138896.

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

18 years agoImprove prctl support - based on patch from Eric Pouech in bug #138627.
Tom Hughes [Mon, 18 Dec 2006 15:22:46 +0000 (15:22 +0000)] 
Improve prctl support - based on patch from Eric Pouech in bug #138627.

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

18 years agoRename VG_(get_lwp_tid) to VG_(lwpid_to_vgtid).
Julian Seward [Sun, 17 Dec 2006 19:36:06 +0000 (19:36 +0000)] 
Rename VG_(get_lwp_tid) to VG_(lwpid_to_vgtid).

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

18 years agoA naming-only change: rename VG_(set_running) to VG_(acquire_BigLock)
Julian Seward [Sun, 17 Dec 2006 18:58:55 +0000 (18:58 +0000)] 
A naming-only change: rename VG_(set_running) to VG_(acquire_BigLock)
and VG_(set_sleeping) to VG_(release_BigLock).  And some other minor
renamings to the thread locking stuff, to make it easier to follow.

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

18 years agoAdd locking so this produces repeatable results (Bart Van Assche).
Julian Seward [Sun, 17 Dec 2006 17:40:06 +0000 (17:40 +0000)] 
Add locking so this produces repeatable results (Bart Van Assche).

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

18 years agoAdd missing case, apparently not very popular :-)
Julian Seward [Sun, 17 Dec 2006 14:20:31 +0000 (14:20 +0000)] 
Add missing case, apparently not very popular :-)

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

18 years ago64-bit followup to r6404: fix and simplify the inline assembly, so it
Julian Seward [Sat, 16 Dec 2006 14:25:04 +0000 (14:25 +0000)] 
64-bit followup to r6404: fix and simplify the inline assembly, so it
works right when compiled by gcc-4.1.0.  Also add a new flag, -A, to
test all available instructions.

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

18 years agoFix and simplify the inline assembly, so it works right when compiled
Julian Seward [Sat, 16 Dec 2006 05:00:38 +0000 (05:00 +0000)] 
Fix and simplify the inline assembly, so it works right when compiled
by gcc-4.1.0.

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

18 years agoFix version.
Julian Seward [Sat, 16 Dec 2006 04:58:59 +0000 (04:58 +0000)] 
Fix version.

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

18 years agoCompletely overhauled the internals of Memcheck's error handling. All the
Nicholas Nethercote [Sat, 16 Dec 2006 00:54:12 +0000 (00:54 +0000)] 
Completely overhauled the internals of Memcheck's error handling.  All the
different error kinds were reusing the same struct for storing their
details.  Each one used some but not all the fields, and the AddrInfo was
similar, and it was very confusing.

So I changed MC_Error and AddrInfo to be tagged unions, like Vex's IRExpr and
IRStmt types.  The resulting code is a little more verbose but much easier
to understand.  I also split up several error kinds, which also made things
simpler.  The user-visible behaviour is identical except for a couple of
very minor things that I've documented in the NEWS file for the 3.3.0
release.

Ideally I'd get rid of the Addr and Char* fields in the core Error type,
which are not always used, and do them similarly within tools.  But that
would require changing the core/tool interface, so I'm leaving it for the
moment.

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

18 years agoRemove defunct constant.
Nicholas Nethercote [Fri, 15 Dec 2006 04:37:25 +0000 (04:37 +0000)] 
Remove defunct constant.

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

18 years agoMake VG_STREQ return True or False, rather than any integer.
Nicholas Nethercote [Thu, 14 Dec 2006 03:29:18 +0000 (03:29 +0000)] 
Make VG_STREQ return True or False, rather than any integer.

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

18 years agoRemoved the unused pthread_model and thread_model modules.
Nicholas Nethercote [Thu, 14 Dec 2006 02:55:58 +0000 (02:55 +0000)] 
Removed the unused pthread_model and thread_model modules.

Mostly commented out the unused stuff relating to ThreadErrs and MutexErrs,
which no longer exist.

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

18 years agoRemove some very old and incorrect info in the headers.
Nicholas Nethercote [Thu, 14 Dec 2006 00:28:50 +0000 (00:28 +0000)] 
Remove some very old and incorrect info in the headers.

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

18 years agoInclude missing files in tarball.
Julian Seward [Wed, 13 Dec 2006 14:35:03 +0000 (14:35 +0000)] 
Include missing files in tarball.

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

18 years agoFix error in aix zeropage handling.
Julian Seward [Wed, 13 Dec 2006 03:16:40 +0000 (03:16 +0000)] 
Fix error in aix zeropage handling.

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

18 years agoMinor tidying for regtests on AIX.
Julian Seward [Tue, 12 Dec 2006 01:38:15 +0000 (01:38 +0000)] 
Minor tidying for regtests on AIX.

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

18 years agoFix various regtests, mostly by adding 64-bit outputs.
Julian Seward [Mon, 11 Dec 2006 03:23:41 +0000 (03:23 +0000)] 
Fix various regtests, mostly by adding 64-bit outputs.

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

18 years agoUpdate expected output.
Julian Seward [Mon, 11 Dec 2006 02:19:16 +0000 (02:19 +0000)] 
Update expected output.

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

18 years agoOn SuSE 10.1 (amd64) fd 4 seems to be open at process start. Close it
Julian Seward [Mon, 11 Dec 2006 01:12:18 +0000 (01:12 +0000)] 
On SuSE 10.1 (amd64) fd 4 seems to be open at process start.  Close it
so as to get consistent test results.

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

18 years agoTidy fd-leak stuff a bit.
Julian Seward [Mon, 11 Dec 2006 01:11:02 +0000 (01:11 +0000)] 
Tidy fd-leak stuff a bit.

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

18 years agoUpdate a couple of expected outputs.
Julian Seward [Mon, 11 Dec 2006 00:19:28 +0000 (00:19 +0000)] 
Update a couple of expected outputs.

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

18 years agoFix 'make html-docs' and 'make print-docs'.
Julian Seward [Sun, 10 Dec 2006 02:59:16 +0000 (02:59 +0000)] 
Fix 'make html-docs' and 'make print-docs'.

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

18 years agoUpdate.
Julian Seward [Sun, 10 Dec 2006 02:58:27 +0000 (02:58 +0000)] 
Update.

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

18 years agoFix installation of libmpiwrap.so on the primary platform.
Julian Seward [Sun, 10 Dec 2006 02:26:50 +0000 (02:26 +0000)] 
Fix installation of libmpiwrap.so on the primary platform.

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

18 years agoGet rid of the use of explicit register variables in the ppc32-linux
Julian Seward [Fri, 8 Dec 2006 21:29:46 +0000 (21:29 +0000)] 
Get rid of the use of explicit register variables in the ppc32-linux
magic macros.

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

18 years agorename as _SOURCES is a reserved keywoard and breaks with newer
Dirk Mueller [Thu, 7 Dec 2006 15:31:57 +0000 (15:31 +0000)] 
rename as _SOURCES is a reserved keywoard and breaks with newer
auto*foo:
Makefile.am:110: variable `VEX_PRIMARY_SOURCES' is defined but no
program or
Makefile.am:110: library has `VEX_PRIMARY' as canonic name (possible
typo)

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

18 years agoUpdate some expected outputs following r6382. There may be more ..
Julian Seward [Wed, 6 Dec 2006 18:53:07 +0000 (18:53 +0000)] 
Update some expected outputs following r6382.  There may be more ..

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

18 years agoFix confusing and contradictory "Rerun with ..." messages printed at
Julian Seward [Wed, 6 Dec 2006 18:05:54 +0000 (18:05 +0000)] 
Fix confusing and contradictory "Rerun with ..." messages printed at
the end of MC_(do_detect_memory_leaks).  This causes various leak
regression tests to fail; will fix shortly.

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

18 years agoUpdate.
Julian Seward [Wed, 6 Dec 2006 17:39:16 +0000 (17:39 +0000)] 
Update.

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

18 years agoOnly read $HOME/.valgrindrc if HOME is actually set.
Julian Seward [Wed, 6 Dec 2006 17:38:32 +0000 (17:38 +0000)] 
Only read $HOME/.valgrindrc if HOME is actually set.

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

18 years agoAdd a regression test, courtesy of Bart Van Assche.
Nicholas Nethercote [Wed, 6 Dec 2006 06:32:37 +0000 (06:32 +0000)] 
Add a regression test, courtesy of Bart Van Assche.

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

18 years agoFix suppression-matching bogon (Paul Floyd).
Julian Seward [Wed, 6 Dec 2006 03:36:24 +0000 (03:36 +0000)] 
Fix suppression-matching bogon (Paul Floyd).

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

18 years agoWhen generating suppressions, remember to Z-demangle function names,
Julian Seward [Wed, 6 Dec 2006 03:35:38 +0000 (03:35 +0000)] 
When generating suppressions, remember to Z-demangle function names,
since the suppression-matching machinery does the same.  Not doing so
causes auto-generated suppressions involving Z-mangled fn names to not
work.

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

18 years agoWhen failing, fail a bit more informatively.
Julian Seward [Fri, 1 Dec 2006 18:48:56 +0000 (18:48 +0000)] 
When failing, fail a bit more informatively.

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

18 years agoWhen being an 'inner valgrind' on 64-bit platforms, ensure the stack
Julian Seward [Fri, 1 Dec 2006 02:35:02 +0000 (02:35 +0000)] 
When being an 'inner valgrind' on 64-bit platforms, ensure the stack
is allocated below the magic 32G mark as it would be normally.

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

18 years agoMake it possible to suppress, and auto-generate suppressions for,
Julian Seward [Tue, 28 Nov 2006 00:15:35 +0000 (00:15 +0000)] 
Make it possible to suppress, and auto-generate suppressions for,
"User" errors; that is, errors resulting from client requests (check
memory range is addressible / defined).

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

18 years agoUpdate a comment.
Nicholas Nethercote [Sun, 26 Nov 2006 22:49:58 +0000 (22:49 +0000)] 
Update a comment.

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

18 years agoUse the newly-added dopyIRBBExceptStmts() in tools.
Nicholas Nethercote [Sat, 25 Nov 2006 22:38:11 +0000 (22:38 +0000)] 
Use the newly-added dopyIRBBExceptStmts() in tools.

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

18 years ago- remove some 'inline' directives so as to make stack backtraces
Julian Seward [Fri, 24 Nov 2006 15:18:15 +0000 (15:18 +0000)] 
- remove some 'inline' directives so as to make stack backtraces
  involving this library easier to make sense of

- try to handle 'long double' better.  The problem is that the
  library needs to know how many bytes are written when a 'long double'
  is stored, which is sometimes not the same as what sizeof(long double)
  says.

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