]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
19 years agoFinalise 3.2.0.
Julian Seward [Tue, 6 Jun 2006 21:41:22 +0000 (21:41 +0000)] 
Finalise 3.2.0.

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

19 years agoInstall header in the right place. (From Josef W).
Julian Seward [Tue, 6 Jun 2006 21:39:09 +0000 (21:39 +0000)] 
Install header in the right place.  (From Josef W).

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

19 years agoMore copyright updates.
Julian Seward [Mon, 5 Jun 2006 23:27:18 +0000 (23:27 +0000)] 
More copyright updates.

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

19 years agoUpdate copyright dates.
Julian Seward [Mon, 5 Jun 2006 23:21:15 +0000 (23:21 +0000)] 
Update copyright dates.

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

19 years agoRestrict to *.[chS]; otherwise it ends up losing permissions on
Julian Seward [Mon, 5 Jun 2006 23:20:25 +0000 (23:20 +0000)] 
Restrict to *.[chS]; otherwise it ends up losing permissions on
executable files.  Also bump dates to 2006.

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

19 years agowibbles
Nicholas Nethercote [Fri, 2 Jun 2006 23:59:40 +0000 (23:59 +0000)] 
wibbles

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

19 years agoAdd documentation on how to run the performance suite.
Nicholas Nethercote [Fri, 2 Jun 2006 23:57:22 +0000 (23:57 +0000)] 
Add documentation on how to run the performance suite.

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

19 years agoClarify usage instructions for --trace-flags.
Nicholas Nethercote [Fri, 2 Jun 2006 22:58:34 +0000 (22:58 +0000)] 
Clarify usage instructions for --trace-flags.

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

19 years agoAdd a helpful comment.
Nicholas Nethercote [Fri, 2 Jun 2006 22:32:02 +0000 (22:32 +0000)] 
Add a helpful comment.

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

19 years agoAdded a useful script.
Nicholas Nethercote [Thu, 1 Jun 2006 13:44:07 +0000 (13:44 +0000)] 
Added a useful script.

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

19 years agoThird time lucky?
Julian Seward [Sat, 27 May 2006 23:43:27 +0000 (23:43 +0000)] 
Third time lucky?

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

19 years agoBack to the past: another Red Hat 7.3 suppression.
Julian Seward [Sat, 27 May 2006 22:38:45 +0000 (22:38 +0000)] 
Back to the past: another Red Hat 7.3 suppression.

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

19 years agoWibble, wibble, wibble
Julian Seward [Sat, 27 May 2006 21:14:09 +0000 (21:14 +0000)] 
Wibble, wibble, wibble

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

19 years ago3.2.0rc1 second try.
Julian Seward [Sat, 27 May 2006 17:27:31 +0000 (17:27 +0000)] 
3.2.0rc1 second try.

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

19 years agoBug reports should have the same destination as for other VG tools
Josef Weidendorfer [Sat, 27 May 2006 15:39:45 +0000 (15:39 +0000)] 
Bug reports should have the same destination as for other VG tools

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

19 years agoFix a failed assertion on retranslation of rep or cmov instructions.
Josef Weidendorfer [Sat, 27 May 2006 15:30:58 +0000 (15:30 +0000)] 
Fix a failed assertion on retranslation of rep or cmov instructions.

Bug description: Very similar to cachegrind, callgrind stores
metainformation per guest instruction; this meta information is
given when calling into the simulator. In contrast to cachegrind,
callgrind keeps this info when the source is discarded, and checks
on retranslation whether the same meta info is generated.
This check sometimes fails: E.g. for rep x86 instructions, 2 simulator
calls
are usually generated for one x86 instruction (the instruction fetch and
a
data access), thus overwriting the data_size meta information for one
x86
instruction first with 0, and afterwards e.g. with 1. The check on
retranslation
fails because of this. The fix is to only write/check data_size values
>0.

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

19 years agoOops, track date change in r5940.
Julian Seward [Sat, 27 May 2006 11:25:18 +0000 (11:25 +0000)] 
Oops, track date change in r5940.

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

19 years agoMove into 2006.
Julian Seward [Sat, 27 May 2006 03:22:47 +0000 (03:22 +0000)] 
Move into 2006.

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

19 years agoEven more news.
Julian Seward [Sat, 27 May 2006 03:22:04 +0000 (03:22 +0000)] 
Even more news.

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

19 years agoWording wibble.
Julian Seward [Fri, 26 May 2006 16:06:10 +0000 (16:06 +0000)] 
Wording wibble.

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

19 years ago3.2.0rc1, hopefully.
Julian Seward [Fri, 26 May 2006 13:51:37 +0000 (13:51 +0000)] 
3.2.0rc1, hopefully.

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

19 years agoSigh .. now fix for 32-bit targets.
Julian Seward [Fri, 26 May 2006 12:00:26 +0000 (12:00 +0000)] 
Sigh .. now fix for 32-bit targets.

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

19 years agoReplace the obviously-bogus piece of inline asm with a probably
Julian Seward [Fri, 26 May 2006 11:31:15 +0000 (11:31 +0000)] 
Replace the obviously-bogus piece of inline asm with a probably
equally bogus new version.  In fact if I actually understood the
magical "earlyclobber" (&) asm constraint this would probably be
unnecessary, but I don't.  Ah well.

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

19 years agoFix gcc pedantry on 64-bit platforms
Julian Seward [Fri, 26 May 2006 11:29:17 +0000 (11:29 +0000)] 
Fix gcc pedantry on 64-bit platforms

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

19 years agoDisable tests none/tests/amd64/faultstatus, none/tests/x86/faultstatus
Julian Seward [Fri, 26 May 2006 00:50:41 +0000 (00:50 +0000)] 
Disable tests none/tests/amd64/faultstatus, none/tests/x86/faultstatus
and none/tests/x86/int.  They always fail, the tested functionality
isn't going to get fixed in a hurry, and it's just generally annoying.

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

19 years agoPush towards a final version for 3.2.0.
Julian Seward [Fri, 26 May 2006 00:47:13 +0000 (00:47 +0000)] 
Push towards a final version for 3.2.0.

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

19 years agoRead extra args for all tests from $EXTRA_REGTEST_OPTS, which is
Julian Seward [Fri, 26 May 2006 00:13:21 +0000 (00:13 +0000)] 
Read extra args for all tests from $EXTRA_REGTEST_OPTS, which is
useful (eg) for running tests with --sanity-level= set.  Print a
big warning before and after the tests if it is set.

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

19 years agoFinalise.
Julian Seward [Thu, 25 May 2006 18:37:49 +0000 (18:37 +0000)] 
Finalise.

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

19 years agoVarious minor edits.
Julian Seward [Thu, 25 May 2006 18:37:25 +0000 (18:37 +0000)] 
Various minor edits.

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

19 years agoUpdate expected output.
Julian Seward [Thu, 25 May 2006 18:33:56 +0000 (18:33 +0000)] 
Update expected output.

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

19 years agoSuppression for SuSE 10.1 on amd64.
Julian Seward [Thu, 25 May 2006 18:24:32 +0000 (18:24 +0000)] 
Suppression for SuSE 10.1 on amd64.

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

19 years agoDecode EOVERFLOW in VG_(strerror).
Tom Hughes [Wed, 24 May 2006 12:51:17 +0000 (12:51 +0000)] 
Decode EOVERFLOW in VG_(strerror).

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

19 years agoAdd a %s for the error string...
Tom Hughes [Wed, 24 May 2006 10:00:53 +0000 (10:00 +0000)] 
Add a %s for the error string...

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

19 years agoadd backport request for VEX
Dirk Mueller [Tue, 23 May 2006 09:52:21 +0000 (09:52 +0000)] 
add backport request for VEX

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

19 years agoA couple of suppressions for FC5/ppc32.
Julian Seward [Mon, 22 May 2006 15:55:05 +0000 (15:55 +0000)] 
A couple of suppressions for FC5/ppc32.

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

19 years agoAssertion is too restrictive; it's possible to validly get an
Julian Seward [Mon, 22 May 2006 13:59:42 +0000 (13:59 +0000)] 
Assertion is too restrictive; it's possible to validly get an
addressibility error when MC_(clo_undef_value_errors) is True.

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

19 years agoRewrite inline asm for ppc32/64-linux to make them gcc-4.1.0 proof.
Julian Seward [Mon, 22 May 2006 13:04:42 +0000 (13:04 +0000)] 
Rewrite inline asm for ppc32/64-linux to make them gcc-4.1.0 proof.
Thanks to David Woodhouse for pointing me in the right direction.

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

19 years agoWhen moving an address range add the new range before marking the old
Tom Hughes [Mon, 22 May 2006 11:20:15 +0000 (11:20 +0000)] 
When moving an address range add the new range before marking the old
one as free otherwise the filename referred to by the temporary copy
of the segment may be dropped from the segment name table when the old
range is freed even though the new range is going to use it.

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

19 years agoValidate the fnIdx for a file segment when doing a sanity check.
Tom Hughes [Mon, 22 May 2006 11:15:47 +0000 (11:15 +0000)] 
Validate the fnIdx for a file segment when doing a sanity check.

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

19 years agoChange ifdefs to select per-platform, not per-arch.
Julian Seward [Mon, 22 May 2006 00:09:51 +0000 (00:09 +0000)] 
Change ifdefs to select per-platform, not per-arch.

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

19 years agoFix crash on ppc64-linux.
Julian Seward [Mon, 22 May 2006 00:05:11 +0000 (00:05 +0000)] 
Fix crash on ppc64-linux.

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

19 years ago(1) build libmpiwrap.so with -fPIC, not -fpic.
Julian Seward [Sun, 21 May 2006 17:12:27 +0000 (17:12 +0000)] 
(1) build libmpiwrap.so with -fPIC, not -fpic.
(2) if the build/install fails, just keep going anyway.

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

19 years agoUpdate for 3.2.0.
Julian Seward [Sun, 21 May 2006 15:20:19 +0000 (15:20 +0000)] 
Update for 3.2.0.

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

19 years agoAdd JosefW.
Julian Seward [Sun, 21 May 2006 15:19:42 +0000 (15:19 +0000)] 
Add JosefW.

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

19 years agoAdd missing closing tags (a.k.a. "Wow, that xsltproc is such a pedant!")
Julian Seward [Sun, 21 May 2006 14:47:30 +0000 (14:47 +0000)] 
Add missing closing tags (a.k.a. "Wow, that xsltproc is such a pedant!")

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

19 years agoUpdate.
Julian Seward [Sun, 21 May 2006 14:40:33 +0000 (14:40 +0000)] 
Update.

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

19 years agoReport the error number when a UME mmap fails.
Tom Hughes [Sun, 21 May 2006 13:41:17 +0000 (13:41 +0000)] 
Report the error number when a UME mmap fails.

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

19 years agoA 1 page stack isn't big enough for this test on ppc32-linux.
Julian Seward [Sun, 21 May 2006 12:40:30 +0000 (12:40 +0000)] 
A 1 page stack isn't big enough for this test on ppc32-linux.

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

19 years agoUpdate expected output following vex r1619.
Julian Seward [Sun, 21 May 2006 12:18:16 +0000 (12:18 +0000)] 
Update expected output following vex r1619.

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

19 years agoBack out r5595: the redirections deleted there are in fact used by
Julian Seward [Sun, 21 May 2006 01:52:09 +0000 (01:52 +0000)] 
Back out r5595: the redirections deleted there are in fact used by
gcc 2.96 on R H 7.3.

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

19 years agoUn-break coredumping on ppc64-linux. Finally fixes #121617.
Julian Seward [Sun, 21 May 2006 00:51:28 +0000 (00:51 +0000)] 
Un-break coredumping on ppc64-linux.  Finally fixes #121617.

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

19 years agoChange the default load address on all platforms to be 7/8s of a G.
Julian Seward [Sat, 20 May 2006 01:13:38 +0000 (01:13 +0000)] 
Change the default load address on all platforms to be 7/8s of a G.
This should make V work on any address space setup in which at least
the first 1 G of address space is usable.

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

19 years agoImplement the set_robust_list and get_robust_list system calls.
Tom Hughes [Wed, 17 May 2006 14:24:12 +0000 (14:24 +0000)] 
Implement the set_robust_list and get_robust_list system calls.

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

19 years agoSync system call lists with 2.6.17-rc4 kernel source.
Tom Hughes [Wed, 17 May 2006 13:53:23 +0000 (13:53 +0000)] 
Sync system call lists with 2.6.17-rc4 kernel source.

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

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