]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
19 years agogcc 3.3.3 on ppc64-linux believes (perhaps correctly) that 'fd' can be
Julian Seward [Mon, 15 May 2006 19:27:56 +0000 (19:27 +0000)] 
gcc 3.3.3 on ppc64-linux believes (perhaps correctly) that 'fd' can be
used when uninitialised.

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

19 years agoYet more messing with masking approximate results.
Julian Seward [Sat, 13 May 2006 02:20:11 +0000 (02:20 +0000)] 
Yet more messing with masking approximate results.

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

19 years agoUpdate expected outputs following r5895.
Julian Seward [Sat, 13 May 2006 01:54:15 +0000 (01:54 +0000)] 
Update expected outputs following r5895.

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

19 years agoApparently Intel's rcpps etc approximations are more approximate than
Julian Seward [Sat, 13 May 2006 01:32:41 +0000 (01:32 +0000)] 
Apparently Intel's rcpps etc approximations are more approximate than
AMD's.  Kludge everything accordingly.  Sigh.

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

19 years agoUpdate expected results following change in r5898.
Julian Seward [Sat, 13 May 2006 00:34:52 +0000 (00:34 +0000)] 
Update expected results following change in r5898.

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

19 years agoAdd masking for results of rcpps/rcpss/rsqrtps/rsqrtps so as to give
Julian Seward [Sat, 13 May 2006 00:23:56 +0000 (00:23 +0000)] 
Add masking for results of rcpps/rcpss/rsqrtps/rsqrtps so as to give
consistent results on all platforms.  Expected outputs not updated
yet.

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

19 years agoA new flag, --error-exitcode=, has been added, to allow changing the
Julian Seward [Fri, 12 May 2006 23:50:15 +0000 (23:50 +0000)] 
A new flag, --error-exitcode=, has been added, to allow changing the
exit code in runs where Valgrind reported errors.  Fixes #121814 and
#126517.

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

19 years agoOops, this should have been in r5895.
Julian Seward [Fri, 12 May 2006 23:35:10 +0000 (23:35 +0000)] 
Oops, this should have been in r5895.

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

19 years agoIncrease number of unsuppressed errors shown before cutoff by a factor
Julian Seward [Fri, 12 May 2006 23:12:30 +0000 (23:12 +0000)] 
Increase number of unsuppressed errors shown before cutoff by a factor
of 100.

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

19 years agoUpdate.
Julian Seward [Fri, 12 May 2006 21:19:00 +0000 (21:19 +0000)] 
Update.

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

19 years agoRegression test for clc/stc/cmc on amd64.
Julian Seward [Fri, 12 May 2006 20:28:26 +0000 (20:28 +0000)] 
Regression test for clc/stc/cmc on amd64.

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

19 years agoComprehensive tests for bt{s,r,c,}{w,l,q} on amd64.
Julian Seward [Fri, 12 May 2006 19:50:44 +0000 (19:50 +0000)] 
Comprehensive tests for bt{s,r,c,}{w,l,q} on amd64.

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

19 years agoTest x86 {push,pop}{w,l}.
Julian Seward [Fri, 12 May 2006 14:24:18 +0000 (14:24 +0000)] 
Test x86 {push,pop}{w,l}.

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

19 years agoAdd a comment.
Nicholas Nethercote [Tue, 9 May 2006 18:46:01 +0000 (18:46 +0000)] 
Add a comment.

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

19 years agoTidy up bug status file and document a few new fixes.
Tom Hughes [Tue, 9 May 2006 09:07:53 +0000 (09:07 +0000)] 
Tidy up bug status file and document a few new fixes.

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

19 years agoIgnore offset information in anonymous mmap calls. Fixes bug #126722.
Tom Hughes [Tue, 9 May 2006 09:06:56 +0000 (09:06 +0000)] 
Ignore offset information in anonymous mmap calls. Fixes bug #126722.

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

19 years agoTests for 16/32 bit byte reversed loads and stores.
Julian Seward [Mon, 8 May 2006 12:08:49 +0000 (12:08 +0000)] 
Tests for 16/32 bit byte reversed loads and stores.

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

19 years agoDon't check the fifth argument of mremap() unless MREMAP_FIXED is set
Tom Hughes [Mon, 8 May 2006 11:58:06 +0000 (11:58 +0000)] 
Don't check the fifth argument of mremap() unless MREMAP_FIXED is set
in the fourth argument. Fix to bug #123535.

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

19 years agoAdd support for CDROMREADRAW and fix CDROMREADTOCENTRY to mark the right
Tom Hughes [Mon, 8 May 2006 11:37:04 +0000 (11:37 +0000)] 
Add support for CDROMREADRAW and fix CDROMREADTOCENTRY to mark the right
number of bytes as defined in the post handler. Fixes bug #126696.

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

19 years agoFix linkat, renameat and symlinkat wrappers to look at the arguments
Tom Hughes [Mon, 8 May 2006 11:19:47 +0000 (11:19 +0000)] 
Fix linkat, renameat and symlinkat wrappers to look at the arguments
correctly. Fixes bug #126938.

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

19 years agoAnother suppression needed by SuSE 10.0 on ppc32.
Julian Seward [Sun, 7 May 2006 23:38:23 +0000 (23:38 +0000)] 
Another suppression needed by SuSE 10.0 on ppc32.

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

19 years agoIncrease scheduling quantum to 100k basic blocks. Nowadays even
Julian Seward [Sun, 7 May 2006 14:37:03 +0000 (14:37 +0000)] 
Increase scheduling quantum to 100k basic blocks.  Nowadays even
modest cpus can run 5-10M memcheck'd bbs per second and the previous
limit of 50k gives a 100Hz switch rate, which causes cache pollution
(a known performance problem) and other context-switch overheads.

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

19 years agoFix printing bug in PRE(sys_stat64).
Julian Seward [Thu, 4 May 2006 16:43:34 +0000 (16:43 +0000)] 
Fix printing bug in PRE(sys_stat64).

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

19 years agoVectorise copy_address_range_perms for common cases. This gives about
Julian Seward [Wed, 3 May 2006 22:13:57 +0000 (22:13 +0000)] 
Vectorise copy_address_range_perms for common cases.  This gives about
40% speedup on artificial programs which just do realloc() and nothing
else, and about a 3-4% speedup on starting kpresenter-1.5.0 and
loading a 16-slide presentation.

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

19 years agoTests for the mov{z,s}{bw,bl,wl} instructions.
Julian Seward [Wed, 3 May 2006 18:09:41 +0000 (18:09 +0000)] 
Tests for the mov{z,s}{bw,bl,wl} instructions.

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

19 years agoUpdate the Ever-Growing List Of Sins.
Julian Seward [Wed, 3 May 2006 15:12:09 +0000 (15:12 +0000)] 
Update the Ever-Growing List Of Sins.

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

19 years agoIncrease # supported threads to 300 (see #126217).
Julian Seward [Wed, 3 May 2006 13:52:47 +0000 (13:52 +0000)] 
Increase # supported threads to 300 (see #126217).

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

19 years agoPrint a slightly more helpful error message if the log file creation fails.
Julian Seward [Wed, 3 May 2006 13:52:17 +0000 (13:52 +0000)] 
Print a slightly more helpful error message if the log file creation fails.

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

19 years agoAdd another test of permissions range copying (copy_address_range_perms).
Julian Seward [Wed, 3 May 2006 00:43:20 +0000 (00:43 +0000)] 
Add another test of permissions range copying (copy_address_range_perms).

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

19 years agoGet rid of executable permissions on C source file.
Julian Seward [Tue, 2 May 2006 13:02:01 +0000 (13:02 +0000)] 
Get rid of executable permissions on C source file.

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

19 years agoAdd .type and .size directives for VG_(run_innerloop) and
Tom Hughes [Mon, 1 May 2006 09:28:39 +0000 (09:28 +0000)] 
Add .type and .size directives for VG_(run_innerloop) and
VG_(run_a_noredir_translation) on all platforms where they are
missing.

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

19 years agoMake VG_(run_innerloop) visible for outer Valgrinds
Josef Weidendorfer [Mon, 1 May 2006 02:12:58 +0000 (02:12 +0000)] 
Make VG_(run_innerloop) visible for outer Valgrinds
with self hosting. Without this, the symbol has
size 0 and type NOT, and is ignored by the symbol loader.

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

19 years agoHint to better run with option "--pop-on-jump" when doing
Josef Weidendorfer [Mon, 1 May 2006 01:49:28 +0000 (01:49 +0000)] 
Hint to better run with option "--pop-on-jump" when doing
self-hosting runs with outer callgrind.

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

19 years agoCallgrind: Fix for callgrind_control
Josef Weidendorfer [Mon, 1 May 2006 01:38:32 +0000 (01:38 +0000)] 
Callgrind: Fix for callgrind_control

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

19 years agoCallgrind: Improve self-hosting with outer callgrind tool
Josef Weidendorfer [Mon, 1 May 2006 00:55:54 +0000 (00:55 +0000)] 
Callgrind: Improve self-hosting with outer callgrind tool

This adds an option to change the default handling of jumps
between functions. Usually, a jump between functions is
interpreted as call, because such jumps are typically
generated by compilers on tail recursion optimization, and
we want to present this as call to the user. Thus, such
a jump pushes a call onto callgrinds shadow stack.
The option "--pop-on-jump" changes this to pop+push the
shadow callstack: then, a jump between functions is seen
as a return to the caller and a new call.

The default behaviour is _bad_ for using callgrind with
self-hosting. Valgrinds inner loop VG_(run_innerloop)
jumps to generated code, and this code jumps back to
the inner loop. Thus, every executed BB adds 2 calls
to an ever increasing shadow call stack, leading to
memory consumption increasing with runtime :-(

So: For self-hosting valgrind with an outer callgrind,
always use option "--pop-on-jump" for the outer callgrind.

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

19 years agoGet rid of VG_(x86_linux_REDIR_FOR__dl_sysinfo_int80) and do the x86-linux
Julian Seward [Sat, 29 Apr 2006 18:03:14 +0000 (18:03 +0000)] 
Get rid of VG_(x86_linux_REDIR_FOR__dl_sysinfo_int80) and do the x86-linux
stack unwind kludge another way.  This is believed to fix #108258.

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

19 years agoUpdate
Julian Seward [Sat, 29 Apr 2006 18:01:46 +0000 (18:01 +0000)] 
Update

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

19 years agoUn-break 'make dist'.
Julian Seward [Sat, 29 Apr 2006 12:50:06 +0000 (12:50 +0000)] 
Un-break 'make dist'.

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

19 years agoFix completely bogus asm, which didn't work when compiled with gcc-4.1.0
Julian Seward [Fri, 28 Apr 2006 21:01:33 +0000 (21:01 +0000)] 
Fix completely bogus asm, which didn't work when compiled with gcc-4.1.0
since it trashed the regs that gcc assigned for %0 and %1 before reading
them.  local_sys_write_stderr() for the 3 other targets suffer from the
same problem.

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

19 years agosplit the assert so that its more obvious which
Dirk Mueller [Thu, 27 Apr 2006 11:05:13 +0000 (11:05 +0000)] 
split the assert so that its more obvious which
part is failing

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

19 years agoUpdate 64-bit cleanness info.
Nicholas Nethercote [Sun, 23 Apr 2006 10:51:48 +0000 (10:51 +0000)] 
Update 64-bit cleanness info.

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

19 years agoAnother fix for interactive control, together with
Josef Weidendorfer [Fri, 21 Apr 2006 01:02:13 +0000 (01:02 +0000)] 
Another fix for interactive control, together with
the --base option, which allows to specify another
directory for dumps and control/result files.
With "--base=/tmp/foo", we want control/result files
in "/tmp", and not in a directory "/tmp/foo/".

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

19 years agoFixes for interactive control:
Josef Weidendorfer [Fri, 21 Apr 2006 00:58:58 +0000 (00:58 +0000)] 
Fixes for interactive control:

- callgrind_control was not working, because it checks the
  "command syntax version" to be at most 1 before doing anything.
  But callgrind used Valgrinds version for this (3.2.0). Now we
  define a separate version COMMAND_VERSION for the syntax format
  of control and result files.
  Strictly, such a version is not needed for interaction of
  callgrind and the script callgrind_control itself, as they are
  delivered in the same package. But there are also external
  controlling tools (most notable KCachegrind)

- Some systems make it difficult for callgrind_control to
  automatically detect running callgrind processes. To make
  interactivity work, one has to provide the cwd with -w.
  For commands expecting a result from callgrind, this result
  was delivered in the wrong result file.

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

19 years agoAdd support for sys_broc on amd64-linux when --kernel-variant=bproc.
Julian Seward [Thu, 20 Apr 2006 14:38:50 +0000 (14:38 +0000)] 
Add support for sys_broc on amd64-linux when --kernel-variant=bproc.

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

19 years agoAlmost all the stuff in pub_tool_libcsignal.h was not used by any tool;
Julian Seward [Wed, 19 Apr 2006 19:31:46 +0000 (19:31 +0000)] 
Almost all the stuff in pub_tool_libcsignal.h was not used by any tool;
so has been moved back into pub_core_libcsignal.h.

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

19 years agoBuild fixes for gcc-3.3.3.
Julian Seward [Wed, 19 Apr 2006 09:30:33 +0000 (09:30 +0000)] 
Build fixes for gcc-3.3.3.

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

19 years ago- Fix indentation in one section of Cachegrind
Nicholas Nethercote [Tue, 18 Apr 2006 22:34:48 +0000 (22:34 +0000)] 
- Fix indentation in one section of Cachegrind
- In the same section, use VG_(percentify) to avoid overflow when computing
  information for -v printing.

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

19 years agoUpdate
Julian Seward [Tue, 18 Apr 2006 02:04:52 +0000 (02:04 +0000)] 
Update

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

19 years agoupdate
Nicholas Nethercote [Tue, 18 Apr 2006 00:52:37 +0000 (00:52 +0000)] 
update

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

19 years agoRemove tool-specific code (which says which tools allow XML) from the core
Nicholas Nethercote [Sun, 16 Apr 2006 10:25:43 +0000 (10:25 +0000)] 
Remove tool-specific code (which says which tools allow XML) from the core
by introducing a new "need":  VG_(needs_xml_output)().

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

19 years agoRegression test cases for FP rounding modes on ppc32 and ppc64.
Julian Seward [Sun, 16 Apr 2006 00:13:22 +0000 (00:13 +0000)] 
Regression test cases for FP rounding modes on ppc32 and ppc64.
(Dave Nomura).

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

19 years agoUn-break core dumping on ppc32-linux.
Julian Seward [Fri, 14 Apr 2006 11:13:59 +0000 (11:13 +0000)] 
Un-break core dumping on ppc32-linux.

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

19 years agoUpdate again
Julian Seward [Fri, 14 Apr 2006 02:09:56 +0000 (02:09 +0000)] 
Update again

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

19 years agoUpdate
Julian Seward [Fri, 14 Apr 2006 01:54:16 +0000 (01:54 +0000)] 
Update

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

19 years agoSyscall wrappers for ppc32-linux (and one for amd64-linux).
Julian Seward [Fri, 14 Apr 2006 01:04:04 +0000 (01:04 +0000)] 
Syscall wrappers for ppc32-linux (and one for amd64-linux).
(from Jakub Jelinek)  See #125492.

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

19 years agoNot all MPI implementations define MPI_UNSIGNED_LONG_LONG.
Julian Seward [Thu, 13 Apr 2006 22:03:16 +0000 (22:03 +0000)] 
Not all MPI implementations define MPI_UNSIGNED_LONG_LONG.

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

19 years agoSuppress any source filename in a "(below main)" line in a stack trace.
Tom Hughes [Thu, 13 Apr 2006 12:44:31 +0000 (12:44 +0000)] 
Suppress any source filename in a "(below main)" line in a stack trace.

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

19 years agoClarify the Helgrind-doesn't-work message.
Nicholas Nethercote [Wed, 12 Apr 2006 22:53:23 +0000 (22:53 +0000)] 
Clarify the Helgrind-doesn't-work message.

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

19 years agoRecent GCCs (3.4+ at least) optimize static unused functions out, so
Julian Seward [Wed, 12 Apr 2006 17:15:35 +0000 (17:15 +0000)] 
Recent GCCs (3.4+ at least) optimize static unused functions out, so
making VALGRIND_PRINTF and VALGRIND_PRINTF_BACKTRACE static and
attribute unused proved to be much better than always compiling it as
exported weak function.  (Jakub Jelinek)

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

19 years agoAdd a suppression for yet another glibc string function: __strcpy_chk.
Julian Seward [Wed, 12 Apr 2006 13:41:51 +0000 (13:41 +0000)] 
Add a suppression for yet another glibc string function: __strcpy_chk.
We really ought intercept/replace this, and that would be easy, except
__strcpy_chk uses __chk_fail and I haven't figured out what that
is/does.

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

19 years agoOn x86, don't use x87 registers for 8-byte FP loads/stores; instead
Julian Seward [Wed, 12 Apr 2006 11:42:54 +0000 (11:42 +0000)] 
On x86, don't use x87 registers for 8-byte FP loads/stores; instead
use an mmx register (which is the same thing in disguise) since mmx
loads/stores are guaranteed to be the identity.  This should fix
failures of this test on x86-linux.

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

19 years agoAdd the O_LARGEFILE constant so people can use it when writing tools that
Nicholas Nethercote [Wed, 12 Apr 2006 11:10:46 +0000 (11:10 +0000)] 
Add the O_LARGEFILE constant so people can use it when writing tools that
generate large trace files (> 2GB).

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

19 years agoProperly handle external debuginfo (.gnu_debuglink) for stripped and
Julian Seward [Wed, 12 Apr 2006 10:08:05 +0000 (10:08 +0000)] 
Properly handle external debuginfo (.gnu_debuglink) for stripped and
prelinked libraries (patch from L. David Baron).

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

19 years agoRedid the --trace-mem=yes option of Lackey properly. Updated some related
Nicholas Nethercote [Sun, 9 Apr 2006 01:23:29 +0000 (01:23 +0000)] 
Redid the --trace-mem=yes option of Lackey properly.  Updated some related
stuff along with it, such as the NEWS file.

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

19 years agoRe-enable amd64 test for pmaddwd.
Julian Seward [Sat, 8 Apr 2006 16:52:42 +0000 (16:52 +0000)] 
Re-enable amd64 test for pmaddwd.

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

19 years agoFold in a patch which appeared in FC5's default valgrind build, which
Julian Seward [Sat, 8 Apr 2006 16:22:53 +0000 (16:22 +0000)] 
Fold in a patch which appeared in FC5's default valgrind build, which
causes V to ignore more DWARF3 CFA expressions on amd64 and so gets
rid of complaints from the CFA reader.  Why didn't Red Hat push this
patch upstream?  I don't know.

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

19 years agoInclude missing files in tarball (== unbreak from-tarball builds)
Julian Seward [Sat, 8 Apr 2006 13:17:25 +0000 (13:17 +0000)] 
Include missing files in tarball (== unbreak from-tarball builds)

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

19 years agoUpdate
Julian Seward [Sat, 8 Apr 2006 13:16:36 +0000 (13:16 +0000)] 
Update

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

19 years agoOops: when adding translations to the auxiliary transtab, don't forget to
Julian Seward [Fri, 7 Apr 2006 12:47:05 +0000 (12:47 +0000)] 
Oops: when adding translations to the auxiliary transtab, don't forget to
ensure D-I cache coherence.  Fixes SIGILLs in fn wrapping failures on low end
PowerPCs.

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

19 years agoTweaked Lackey. Main change is that the default instrumentation is now only
Nicholas Nethercote [Fri, 7 Apr 2006 11:52:55 +0000 (11:52 +0000)] 
Tweaked Lackey.  Main change is that the default instrumentation is now only
added if you specify --basic-counts=yes (which is the default).  So
all of the instrumentation is now controlled by a command-line option (one
of --basic-counts, --detailed-counts or --trace-mem) and so if you turn them
all off it behaves like Nulgrind.  This makes it clearer what's going on and
easier for newbies to modify.

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

19 years agoFix vg_perf to work with older Valgrind versions.
Nicholas Nethercote [Thu, 6 Apr 2006 22:59:35 +0000 (22:59 +0000)] 
Fix vg_perf to work with older Valgrind versions.

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

19 years agoCommit a patch from Olly Betts which avoids a possible problem with
Nicholas Nethercote [Thu, 6 Apr 2006 14:21:42 +0000 (14:21 +0000)] 
Commit a patch from Olly Betts which avoids a possible problem with
COUNT_LEAKS on 64-bit machines.

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

19 years agoAdd a FAQ.
Nicholas Nethercote [Thu, 6 Apr 2006 14:04:48 +0000 (14:04 +0000)] 
Add a FAQ.

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

19 years agoUse better variable names.
Nicholas Nethercote [Thu, 6 Apr 2006 13:33:48 +0000 (13:33 +0000)] 
Use better variable names.

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

19 years agoAvoid compiler warnings on ppc64-linux.
Julian Seward [Thu, 6 Apr 2006 13:31:17 +0000 (13:31 +0000)] 
Avoid compiler warnings on ppc64-linux.

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

19 years agoupdate
Nicholas Nethercote [Thu, 6 Apr 2006 13:29:18 +0000 (13:29 +0000)] 
update

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

19 years agoMinor scheduler tidyings:
Julian Seward [Wed, 5 Apr 2006 23:06:31 +0000 (23:06 +0000)] 
Minor scheduler tidyings:
- rename os_thread_t to ThreadOSstate
- remove unused ThreadState.syscall_result_set field
- fix some comments
- add an assertion in VG_(scheduler_init)

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

19 years agoTest program which uses templates to generate very long stabs (debug
Julian Seward [Tue, 4 Apr 2006 17:35:48 +0000 (17:35 +0000)] 
Test program which uses templates to generate very long stabs (debug
info) strings.  This crashes 3.1.1 when the test is compiled with
-gstabs.

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

19 years agoComment-only change.
Julian Seward [Tue, 4 Apr 2006 16:57:15 +0000 (16:57 +0000)] 
Comment-only change.

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

19 years agoUn-break make dist.
Julian Seward [Tue, 4 Apr 2006 15:43:30 +0000 (15:43 +0000)] 
Un-break make dist.

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

19 years agoCleanup/restructure m_debuginfo, as described in
Julian Seward [Tue, 4 Apr 2006 15:12:44 +0000 (15:12 +0000)] 
Cleanup/restructure m_debuginfo, as described in
coregrind/m_debuginfo/README.txt.

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

19 years agoRound up known bugs in 3.1.1 and assign tentative priorities.
Julian Seward [Tue, 4 Apr 2006 13:28:50 +0000 (13:28 +0000)] 
Round up known bugs in 3.1.1 and assign tentative priorities.

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

19 years agoAdd a comment that really should have been in r5820.
Julian Seward [Tue, 4 Apr 2006 03:29:48 +0000 (03:29 +0000)] 
Add a comment that really should have been in r5820.

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

19 years agoppc32-linux: work around assemblers which can't do Altivec, by
Julian Seward [Tue, 4 Apr 2006 03:08:49 +0000 (03:08 +0000)] 
ppc32-linux: work around assemblers which can't do Altivec, by
emitting the relevant instruction directly.  Fixes a build problem on
Debian 3.1 (ppc32).

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

19 years agoEnable sigsuspend on x86-linux and ppc32-linux.
Tom Hughes [Mon, 3 Apr 2006 16:38:33 +0000 (16:38 +0000)] 
Enable sigsuspend on x86-linux and ppc32-linux.

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

19 years agoDon't use the presence of a filename to decide if a segment in the
Tom Hughes [Mon, 3 Apr 2006 16:37:30 +0000 (16:37 +0000)] 
Don't use the presence of a filename to decide if a segment in the
initial /proc/self/maps to decide if the segment is an AnonV or FileV
segment as some systems don't report the filename. Use the device
and inode numbers instead. Fixes bug #124528.

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

19 years agoAdd an optional post-test check. Based on a patch from Josef W.
Nicholas Nethercote [Mon, 3 Apr 2006 14:25:23 +0000 (14:25 +0000)] 
Add an optional post-test check.  Based on a patch from Josef W.

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

19 years agoCallgrind: add 4 regression tests
Josef Weidendorfer [Sun, 2 Apr 2006 22:23:27 +0000 (22:23 +0000)] 
Callgrind: add 4 regression tests

The simwork tests check different cache simulator
options/modes. These tests should be extended to
check for the produced call graph.

The threads check tests the callgrind mode where
counts are aggregated separate per thread.

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

19 years agoFix another place where function addresses passed to Vex needed to be
Julian Seward [Sun, 2 Apr 2006 16:21:44 +0000 (16:21 +0000)] 
Fix another place where function addresses passed to Vex needed to be
dereferenced properly.  (Logically part of r5814).

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

19 years agoFix ppc64-linux breakage - get the function entry address, not the
Julian Seward [Sun, 2 Apr 2006 15:53:59 +0000 (15:53 +0000)] 
Fix ppc64-linux breakage - get the function entry address, not the
descriptor address.

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

19 years agoAdd 64-bit test output.
Julian Seward [Sun, 2 Apr 2006 02:59:35 +0000 (02:59 +0000)] 
Add 64-bit test output.

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

19 years agoDon't print an address on stdout as it doesn't get automagically
Julian Seward [Sun, 2 Apr 2006 02:27:52 +0000 (02:27 +0000)] 
Don't print an address on stdout as it doesn't get automagically
changed into 0x.........

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

19 years agoAnother shadow memory test. This one does a huge number of loads and
Julian Seward [Sun, 2 Apr 2006 01:53:01 +0000 (01:53 +0000)] 
Another shadow memory test.  This one does a huge number of loads and
stores of char/short/int/int64/double at random offsets and hence
alignments in an array.  It does it in a way in which the computation
just computes the expected V bits, and hence can check whether these
seem correct.

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

19 years agoGet rid of unused #define.
Julian Seward [Sun, 2 Apr 2006 00:58:45 +0000 (00:58 +0000)] 
Get rid of unused #define.

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

19 years agoIn check_all, allow two different acceptable byte values, so as to
Julian Seward [Sun, 2 Apr 2006 00:58:01 +0000 (00:58 +0000)] 
In check_all, allow two different acceptable byte values, so as to
cover the behaviour of all possible variants of float loads/stores.

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

19 years agoPartial fix for the sh-mem.c failure on PPC32. This should make it work
Nicholas Nethercote [Sat, 1 Apr 2006 23:06:29 +0000 (23:06 +0000)] 
Partial fix for the sh-mem.c failure on PPC32.  This should make it work
on PPC32 now but break it on the other platforms.  Julian will commit a
change to ensure the 32-bit floats are copied through the FP regs on all
platforms to make the broken ones work again.

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

19 years agoSimple regression test for callgrind:
Josef Weidendorfer [Fri, 31 Mar 2006 19:34:51 +0000 (19:34 +0000)] 
Simple regression test for callgrind:
run a custom client request.

By doing this, I found out that callgrind.h still defined
client requests for VG 2 :-( Obviously, nobody was using
them. This is fixed, and other small things to make the
test run, too.

Notice for myself: regression tests are needed.

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

19 years agoOption --dump-every-bb now takes a 64bit value on user
Josef Weidendorfer [Fri, 31 Mar 2006 13:16:15 +0000 (13:16 +0000)] 
Option --dump-every-bb now takes a 64bit value on user
request. Update/clarify documentation.

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

19 years agoFix typos
Josef Weidendorfer [Fri, 31 Mar 2006 12:53:22 +0000 (12:53 +0000)] 
Fix typos

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

19 years agoupdate Memcheck description
Nicholas Nethercote [Fri, 31 Mar 2006 12:24:37 +0000 (12:24 +0000)] 
update Memcheck description

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