]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
12 years agoFix now-inconsistent comment.
Julian Seward [Mon, 17 Sep 2012 18:18:33 +0000 (18:18 +0000)] 
Fix now-inconsistent comment.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12987

12 years agoMerge from trunk, r12980 (Add support for: uqsub16 shadd16 uhsub8
Julian Seward [Mon, 17 Sep 2012 18:11:28 +0000 (18:11 +0000)] 
Merge from trunk, r12980 (Add support for: uqsub16 shadd16 uhsub8
uhsub16, #304035, valgrind side).

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12986

12 years agoMerge from trunk, r12982 (Intercept __GI_memmove, #306612)
Julian Seward [Mon, 17 Sep 2012 18:02:38 +0000 (18:02 +0000)] 
Merge from trunk, r12982 (Intercept __GI_memmove, #306612)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12985

12 years agoMerge from trunk, r12964 (partial) and r12983 (3.8.0 release tarball
Julian Seward [Mon, 17 Sep 2012 17:47:58 +0000 (17:47 +0000)] 
Merge from trunk, r12964 (partial) and r12983 (3.8.0 release tarball
missing some files, #306310).

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12984

12 years agoMove the version number along.
Julian Seward [Sun, 2 Sep 2012 21:59:01 +0000 (21:59 +0000)] 
Move the version number along.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12951

12 years agoMerge from trunk, r12947 (Fix stack bounds check, n-i-bz)
Julian Seward [Sun, 2 Sep 2012 21:19:29 +0000 (21:19 +0000)] 
Merge from trunk, r12947 (Fix stack bounds check, n-i-bz)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12948

12 years agoMerge from trunk, r12923 (Guard against negative symbol sizes in ELF
Julian Seward [Sun, 2 Sep 2012 21:04:15 +0000 (21:04 +0000)] 
Merge from trunk, r12923 (Guard against negative symbol sizes in ELF
symbol tables, #304980)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12946

12 years agoMerge from trunk, revs 12897 and 12898. (Handle non-zero sem_*wait()
Julian Seward [Sun, 2 Sep 2012 20:58:17 +0000 (20:58 +0000)] 
Merge from trunk, revs 12897 and 12898.  (Handle non-zero sem_*wait()
return values correctly, #305690)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12945

12 years agoMerge from trunk, r12894 (Change exp-sgcheck's memcpy implementation
Julian Seward [Sun, 2 Sep 2012 20:54:16 +0000 (20:54 +0000)] 
Merge from trunk, r12894 (Change exp-sgcheck's memcpy implementation
to be memmove-like, n-i-bz)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12944

12 years agoMerge from trunk, r12893 (Implement a wrapper for wcslen on Linux, #298281)
Julian Seward [Sun, 2 Sep 2012 20:52:10 +0000 (20:52 +0000)] 
Merge from trunk, r12893 (Implement a wrapper for wcslen on Linux, #298281)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12943

12 years agoMerge from trunk, r12892 (Fix skipping of block forms, #305513)
Julian Seward [Sun, 2 Sep 2012 20:50:15 +0000 (20:50 +0000)] 
Merge from trunk, r12892 (Fix skipping of block forms, #305513)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12942

12 years agoMerge from trunk, r12891 (Fix up range checking in ML_(addLineInfo),
Julian Seward [Sun, 2 Sep 2012 20:48:03 +0000 (20:48 +0000)] 
Merge from trunk, r12891 (Fix up range checking in ML_(addLineInfo),
#304980)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12941

12 years agoMerge from trunk, r12887 (n-i-bz: Fix false positives in
Julian Seward [Sun, 2 Sep 2012 20:31:39 +0000 (20:31 +0000)] 
Merge from trunk, r12887 (n-i-bz: Fix false positives in
count_from_Status etc al.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12940

12 years agoMerge from trunk, r12885 (Fix propagation of undefinedness for
Julian Seward [Sun, 2 Sep 2012 20:12:14 +0000 (20:12 +0000)] 
Merge from trunk, r12885 (Fix propagation of undefinedness for
Iop_DPBtoBCD and Iop_BCDtoDPB.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12938

12 years agoCommit a bunch of svn:mergeinfo stuff. Doesn't change any code.
Julian Seward [Sun, 2 Sep 2012 20:10:49 +0000 (20:10 +0000)] 
Commit a bunch of svn:mergeinfo stuff.  Doesn't change any code.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12937

12 years agoMerge from trunk, r12881 (fix n-i-bz vgdb ptrace calls wrong on mips)
Julian Seward [Sun, 2 Sep 2012 20:07:51 +0000 (20:07 +0000)] 
Merge from trunk, r12881 (fix n-i-bz vgdb ptrace calls wrong on mips)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12936

12 years agoMerge from trunk, revs 12879, 12882, 12883
Julian Seward [Sun, 2 Sep 2012 14:21:13 +0000 (14:21 +0000)] 
Merge from trunk, revs 12879, 12882, 12883
(#301281: valgrind hangs on OS X when the process calls system())

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12934

12 years agoMerge from trunk, r12878
Julian Seward [Sun, 2 Sep 2012 14:14:12 +0000 (14:14 +0000)] 
Merge from trunk, r12878
(On Darwin, use __NR_poll_nocancel rather than __NR_poll)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12933

12 years agoCommit merge info that should have been committed as part of r12931.
Julian Seward [Sun, 2 Sep 2012 14:11:51 +0000 (14:11 +0000)] 
Commit merge info that should have been committed as part of r12931.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12932

12 years agoMerge from trunk, r12874
Julian Seward [Sun, 2 Sep 2012 14:05:19 +0000 (14:05 +0000)] 
Merge from trunk, r12874
(Fix n-i-bz shmat of a segment > 4Gb does not work)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12931

12 years agoMerge from trunk, r12873
Julian Seward [Sun, 2 Sep 2012 14:00:39 +0000 (14:00 +0000)] 
Merge from trunk, r12873
(Use -s USR1 instead of -10 to send SIGUSR1 signal)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12930

12 years agoRemove the .deps directory, which never should have been committed in
Julian Seward [Sun, 2 Sep 2012 13:59:47 +0000 (13:59 +0000)] 
Remove the .deps directory, which never should have been committed in
the first place.  Mirrors r12909 on the trunk.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12929

13 years agoSwizzle external.
Julian Seward [Thu, 9 Aug 2012 15:45:13 +0000 (15:45 +0000)] 
Swizzle external.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12870

13 years agoCreate branches/VALGRIND_3_8_BRANCH as a copy of trunk r12866.
Julian Seward [Thu, 9 Aug 2012 15:38:41 +0000 (15:38 +0000)] 
Create branches/VALGRIND_3_8_BRANCH as a copy of trunk r12866.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_8_BRANCH@12868

13 years ago--> 3.8.0 final
Julian Seward [Thu, 9 Aug 2012 15:06:36 +0000 (15:06 +0000)] 
--> 3.8.0 final

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

13 years ago--> 3.8.0-TEST3
Julian Seward [Wed, 8 Aug 2012 23:35:35 +0000 (23:35 +0000)] 
--> 3.8.0-TEST3

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

13 years agoMake the assembler-knows-POWER-DFP test a bit stricter, since it appears
Julian Seward [Wed, 8 Aug 2012 22:22:26 +0000 (22:22 +0000)] 
Make the assembler-knows-POWER-DFP test a bit stricter, since it appears
some older assemblers know 'dadd' but not 'dcffix', which also appears
in the DFP tests.

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

13 years agoMove older news into its own file, NEWS.old, so as not to overrun TeX
Julian Seward [Wed, 8 Aug 2012 20:38:03 +0000 (20:38 +0000)] 
Move older news into its own file, NEWS.old, so as not to overrun TeX
default memory limits when building the PDF docs.  Fixes #304754.
(Mark Wielaard, mjw@redhat.com)

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

13 years agoUpdate.
Julian Seward [Wed, 8 Aug 2012 20:21:29 +0000 (20:21 +0000)] 
Update.

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

13 years agoAdd support for the tee and vmsplice system calls. BZ#304561.
Tom Hughes [Wed, 8 Aug 2012 08:03:44 +0000 (08:03 +0000)] 
Add support for the tee and vmsplice system calls. BZ#304561.

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

13 years agowire up testcase
Christian Borntraeger [Wed, 8 Aug 2012 07:54:47 +0000 (07:54 +0000)] 
wire up testcase

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

13 years agoAdd a testcase for floating point <-> signed conversion that
Christian Borntraeger [Wed, 8 Aug 2012 07:50:10 +0000 (07:50 +0000)] 
Add a testcase for floating point <-> signed conversion that
actually checks the condition code of the conversion instruction
(most programs dont do that)

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

13 years ago--> 3.8.0-TEST1
Julian Seward [Tue, 7 Aug 2012 15:24:51 +0000 (15:24 +0000)] 
--> 3.8.0-TEST1

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

13 years agoUpdate.
Julian Seward [Tue, 7 Aug 2012 14:54:32 +0000 (14:54 +0000)] 
Update.

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

13 years agoFix some typos.
Julian Seward [Tue, 7 Aug 2012 14:54:17 +0000 (14:54 +0000)] 
Fix some typos.

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

13 years agoAdd a couple of useful examples to the --help text for
Julian Seward [Tue, 7 Aug 2012 14:46:34 +0000 (14:46 +0000)] 
Add a couple of useful examples to the --help text for
--soname-synonyms.

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

13 years agoAdd prerequisites.
Florian Krohm [Mon, 6 Aug 2012 18:37:17 +0000 (18:37 +0000)] 
Add prerequisites.

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

13 years agoChange script to also handle IBM's copyright notice.
Florian Krohm [Mon, 6 Aug 2012 18:34:24 +0000 (18:34 +0000)] 
Change script to also handle IBM's copyright notice.
Update copyright notices.

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

13 years agoREADME_DEVELOPERS: Debugging a tool needs "--tool=..."
Josef Weidendorfer [Mon, 6 Aug 2012 12:27:51 +0000 (12:27 +0000)] 
README_DEVELOPERS: Debugging a tool needs "--tool=..."

Otherwise the function redirections / client requests seem
to get confused. Symptoms are error messages such as
--3031-- VG_USERREQ__CLIENT_CALL1: func=0x0

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

13 years agoAdd a testcase for the cu41 insn. Update opcode list, NEWS and bugstatus.
Florian Krohm [Mon, 6 Aug 2012 00:10:53 +0000 (00:10 +0000)] 
Add a testcase for the cu41 insn. Update opcode list, NEWS and bugstatus.
#289839 is finally fixed.

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

13 years agofix typo in NEWS (due to via => due to)
Philippe Waroquiers [Sun, 5 Aug 2012 21:35:02 +0000 (21:35 +0000)] 
fix typo in NEWS (due to via => due to)

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

13 years agotypo ('the the')
Philippe Waroquiers [Sun, 5 Aug 2012 17:37:39 +0000 (17:37 +0000)] 
typo ('the the')

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

13 years agofix typo (improvment)
Philippe Waroquiers [Sun, 5 Aug 2012 17:35:17 +0000 (17:35 +0000)] 
fix typo (improvment)

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

13 years agoDoc: remove 'is' in 'is replaces'
Philippe Waroquiers [Sun, 5 Aug 2012 17:23:55 +0000 (17:23 +0000)] 
Doc: remove 'is' in 'is replaces'

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

13 years agoFirst checkpoint for 3.8.0.
Julian Seward [Sun, 5 Aug 2012 16:44:11 +0000 (16:44 +0000)] 
First checkpoint for 3.8.0.

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

13 years agoA couple more 3.8.0 changes.
Julian Seward [Sun, 5 Aug 2012 16:14:02 +0000 (16:14 +0000)] 
A couple more 3.8.0 changes.

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

13 years agoUpdate expected outputs following r12843.
Julian Seward [Sun, 5 Aug 2012 16:10:55 +0000 (16:10 +0000)] 
Update expected outputs following r12843.

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

13 years agoUpdate copyright dates to include 2012.
Julian Seward [Sun, 5 Aug 2012 15:46:46 +0000 (15:46 +0000)] 
Update copyright dates to include 2012.

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

13 years agoFirst pass at assembling the top level change list for 3.8.0. So,
Julian Seward [Sun, 5 Aug 2012 15:24:12 +0000 (15:24 +0000)] 
First pass at assembling the top level change list for 3.8.0.  So,
what did I forget?

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

13 years agoFix typo spotted by John Reiser.
Julian Seward [Sun, 5 Aug 2012 14:59:39 +0000 (14:59 +0000)] 
Fix typo spotted by John Reiser.

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

13 years agoPartial tidying up for 3.8.0 (sort list of bugs into order, and make pretty)
Julian Seward [Sun, 5 Aug 2012 14:57:38 +0000 (14:57 +0000)] 
Partial tidying up for 3.8.0 (sort list of bugs into order, and make pretty)

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

13 years agoAdd notes re new print docs build failures.
Julian Seward [Sun, 5 Aug 2012 14:25:35 +0000 (14:25 +0000)] 
Add notes re new print docs build failures.

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

13 years agoDoc updates for 3.8.0.
Julian Seward [Sun, 5 Aug 2012 13:44:15 +0000 (13:44 +0000)] 
Doc updates for 3.8.0.

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

13 years agoAdd testcases for the cu14 insn. Update opcode table.
Florian Krohm [Sun, 5 Aug 2012 03:02:43 +0000 (03:02 +0000)] 
Add testcases for the cu14 insn. Update opcode table.
Part of fixing #289839.

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

13 years agoFixing incorrect case in putSyscallArgsIntoGuestState for __NR_syscall.
Petar Jovanovic [Sun, 5 Aug 2012 02:22:52 +0000 (02:22 +0000)] 
Fixing incorrect case in putSyscallArgsIntoGuestState for __NR_syscall.

Previously unused arg8 is now used to hold NR_syscall value when that call is
executed. This is important, so putSyscallArgsIntoGuestState can correctly
fill up the guest state. This is MIPS-only change.

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

13 years ago301265 - add x86 support to Android build
Philippe Waroquiers [Sun, 5 Aug 2012 00:08:25 +0000 (00:08 +0000)] 
301265 - add x86 support to Android build

Patch by Dragos Tatulea.

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

13 years agoClang complains that "fist" is ambiguous (it's right, too); use
Julian Seward [Sat, 4 Aug 2012 23:10:23 +0000 (23:10 +0000)] 
Clang complains that "fist" is ambiguous (it's right, too); use
"fists" instead.

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

13 years agoAdd an intercept for memrchr. Needed for amd64 Ubuntu 12.04.
Julian Seward [Sat, 4 Aug 2012 23:08:08 +0000 (23:08 +0000)] 
Add an intercept for memrchr.  Needed for amd64 Ubuntu 12.04.

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

13 years agoTry to fix up ARM stack alignment stuff following r12811. This
Julian Seward [Sat, 4 Aug 2012 19:23:54 +0000 (19:23 +0000)] 
Try to fix up ARM stack alignment stuff following r12811.  This
fixes two problems: first, r11 (aka fp) can't be used in assembly
for whatever reason.  Secondly, the "bic sp,sp,#7" is not allowed
in Thumb mode, so work around that too.

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

13 years agoDon't explicitly specify an ABI when building regtests on ARM. This
Julian Seward [Sat, 4 Aug 2012 19:21:18 +0000 (19:21 +0000)] 
Don't explicitly specify an ABI when building regtests on ARM.  This
causes them to fail to be built on (eg) Ubuntu 12.04 ARM.

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

13 years agoNEWS, drd: List new features first
Bart Van Assche [Sat, 4 Aug 2012 09:19:11 +0000 (09:19 +0000)] 
NEWS, drd: List new features first

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

13 years agoRemove 284540 from NEWS fixed section.
Philippe Waroquiers [Sat, 4 Aug 2012 09:08:50 +0000 (09:08 +0000)] 
Remove 284540 from NEWS fixed section.
284540 was not about performance but about the presentation
of results.
Revision 12824 (optimising the suppr matching) should not have
marked 284540 as fixed.

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

13 years agoUpdate.
Julian Seward [Sat, 4 Aug 2012 08:41:44 +0000 (08:41 +0000)] 
Update.

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

13 years agonone/tests/amd64/movbe: Run this test only if the movbe executable has been built
Bart Van Assche [Sat, 4 Aug 2012 05:26:23 +0000 (05:26 +0000)] 
none/tests/amd64/movbe: Run this test only if the movbe executable has been built

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

13 years agoFix a cut'n paste error. One byte was uninitialised. Now fixed.
Florian Krohm [Sat, 4 Aug 2012 03:29:22 +0000 (03:29 +0000)] 
Fix a cut'n paste error. One byte was uninitialised. Now fixed.

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

13 years agoAdd non matching suppressions for suppfree test (more testing for suppr matching)
Philippe Waroquiers [Sat, 4 Aug 2012 00:26:26 +0000 (00:26 +0000)] 
Add non matching suppressions for suppfree test (more testing for suppr matching)

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

13 years agofix 284540 (optimise suppression matching)
Philippe Waroquiers [Fri, 3 Aug 2012 23:11:39 +0000 (23:11 +0000)] 
fix 284540 (optimise suppression matching)
Before this patch, matching an error stack trace with many suppression
patterns was implying to repeating the translation of the IPs of the
stack trace to the function name or object name for each suppr pattern.

This patch introduces a "lazy input completer" in the generic match
so that an IP is (in the worst case) translated once to its function
name and once to its object name.

It is a "lazy" completer in the sense that only the needed IP to fun or obj
name are done.

On a artificial test case, has given a factor 3 in performance.
On another big (real) application, gave a factor 2 to 3.
(there was less matching to do, but probably more debug info to search).

match-overrun.supp completed to have non matching suppr first to
better exercise the lazy completer.

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

13 years agoSimplify.
Florian Krohm [Fri, 3 Aug 2012 21:50:11 +0000 (21:50 +0000)] 
Simplify.

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

13 years agoFix testcase. Iterating over an array of invalid insns to test them all
Florian Krohm [Fri, 3 Aug 2012 20:28:21 +0000 (20:28 +0000)] 
Fix testcase. Iterating over an array of invalid insns to test them all
does not work, as conversion will stop at the first invalid character.
So... need to loop over them.

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

13 years agonone/tests/amd64/avx-1: Make it explicit that this test uses the vpclmulqdq instruction
Bart Van Assche [Fri, 3 Aug 2012 19:37:02 +0000 (19:37 +0000)] 
none/tests/amd64/avx-1: Make it explicit that this test uses the vpclmulqdq instruction

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

13 years agoAdd testcases for cu12. Update opcode table.
Florian Krohm [Fri, 3 Aug 2012 18:37:26 +0000 (18:37 +0000)] 
Add testcases for cu12. Update opcode table.
Part of fixing #289839.

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

13 years agoAdd support for sys_shm_unlink on Darwin. Fixes #288298.
Julian Seward [Fri, 3 Aug 2012 07:47:01 +0000 (07:47 +0000)] 
Add support for sys_shm_unlink on Darwin.  Fixes #288298.

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

13 years agoComment only change.
Florian Krohm [Fri, 3 Aug 2012 03:21:42 +0000 (03:21 +0000)] 
Comment only change.

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

13 years agoBack off from 32 alignment of various guest state bits. We don't
Julian Seward [Thu, 2 Aug 2012 22:08:53 +0000 (22:08 +0000)] 
Back off from 32 alignment of various guest state bits.  We don't
actually need it, and gcc on MacOS simply fails (for whatever reason)
to actually honour requests for 32 alignment, and fall back to the
previous setting (16 alignment).

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

13 years agoSome updates in release-HOWTO.txt
Philippe Waroquiers [Thu, 2 Aug 2012 21:01:13 +0000 (21:01 +0000)] 
Some updates in release-HOWTO.txt

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

13 years agoUn-break the build on OSX < 10.8 following r12814
Julian Seward [Thu, 2 Aug 2012 18:51:51 +0000 (18:51 +0000)] 
Un-break the build on OSX < 10.8 following r12814
(which was initial OSX 10.8 support)

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

13 years agoAdd initial support for MacOSX 10.8. Note this is still very borked
Julian Seward [Thu, 2 Aug 2012 18:25:04 +0000 (18:25 +0000)] 
Add initial support for MacOSX 10.8.  Note this is still very borked
and pretty much unusable for real work.

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

13 years agoBack out r12466, which stopped non-MAP_FIXED mmaps by the client on
Julian Seward [Thu, 2 Aug 2012 10:40:31 +0000 (10:40 +0000)] 
Back out r12466, which stopped non-MAP_FIXED mmaps by the client on
Darwin from returning address zero (however insane that is).  r12466
appears to cause other applications to break (TextEdit, for one).

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

13 years agoAdd BZ#304054 to NEWS.
Tom Hughes [Thu, 2 Aug 2012 09:26:38 +0000 (09:26 +0000)] 
Add BZ#304054 to NEWS.

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

13 years agoEnsure CALL_FN_xx macros align the stack properly
Tom Hughes [Thu, 2 Aug 2012 09:23:45 +0000 (09:23 +0000)] 
Ensure CALL_FN_xx macros align the stack properly

The CALL_FN_xx macros  in valgrind.h perform function calls by
signalling to valgrind using the client request system. Because
they are making function calls which are invisible to the compiler
they need to make sure that any stack alignment constraints
imposed by the ABI are enforced when making the call.

This commit enforces 16 byte alignment for x86, amd64, ppc32 and
ppc64 platforms, and 8 byte alignment for arm platforms.

It does not touch s390x where the ABI requires 8 byte alignment to
be maintained at all times, not just when making a function call.

It also does not touch mips32 as I'm not currently aware what if
any alignment constraints exist there.

Fixes BZ#304054 and observed alignment faults on amd64 when running
the regtests using a valgrind compiled with gcc 4.7 releases.

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

13 years agoAvoid asserting when a segment is mapped both rw and rx.
Philippe Waroquiers [Wed, 1 Aug 2012 22:27:29 +0000 (22:27 +0000)] 
Avoid asserting when a segment is mapped both rw and rx.

If a segment is mapped with permission rwx, then map->rx
and map->rw will be true.
But due to the if (map->rx) {
                 ...
               } else if (map->rw) {
                 ...
the  (map->rw) part will not be executed.
If this mapping is the one which "gives" the nonempty rw map,
then this mapping will not be seen, and the following
vg_assert(has_nonempty_rw);
will fail.

This assert can be reproduced by doing
setarch i686 -X
./vg-in-place --tool=none none/tests/map_unmap

Note: the setarch i686 -X above has as effect to make all read
mapping also executable. So, a rw mapping becomes rwx and then
triggers the above asserts.

The setarch i686 -X also introduces a discrepancy between
the kernel mappings (rwx) and the valgrind aspacemgr view
(which believes it is a rw mapping).
This discrepancy causes a crash if giving --sanity-level=3.
A possible fix is to have valgrind calling the personality system call
and detecting if the READ_IMPLIES_EXEC bit (the -X arg to setarch)
was set, and then modify aspacemgr so that all read mapped segments
are automatically mapped x also.

This commit is the minimal fix allowing to run executables
launched with this READ_IMPLIES_EXEC.

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

13 years agoRemove --vex-iropt-precise-memory-exns, implement --vex-iropt-register-updates
Philippe Waroquiers [Wed, 1 Aug 2012 22:03:12 +0000 (22:03 +0000)] 
Remove --vex-iropt-precise-memory-exns, implement --vex-iropt-register-updates

* Option --vex-iropt-precise-memory-exns has been removed.
  It is replaced by --vex-iropt-register-updates which accepts
  3 values : 'unwindregs-at-mem-access' (replacing
  --vex-iropt-precise-memory-exns=no), 'allregs-at-mem-access'
  (replacing --vex-iropt-precise-memory-exns=yes)
  and a new value 'allregs-at-each-insn'.
  'allregs-at-each-insn' allows the Valgrind gdbserver to always
  show up to date values to GDB.

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

13 years agoAdd test cases for "VCVT.F32.{S,U}32 S[d], S[d], #frac_bits"
Julian Seward [Wed, 1 Aug 2012 22:01:05 +0000 (22:01 +0000)] 
Add test cases for "VCVT.F32.{S,U}32 S[d], S[d], #frac_bits"

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

13 years agoImplement --redzone-size and --core-redzone-size
Philippe Waroquiers [Tue, 31 Jul 2012 22:17:28 +0000 (22:17 +0000)] 
Implement --redzone-size and --core-redzone-size

* For tools replacing the malloc library (e.g. Memcheck, Helgrind, ...),
  the option --redzone-size=<number> allows to control the padding
  blocks (redzones) added before and after each client allocated block.
  Smaller redzones decrease the memory needed by Valgrind. Bigger
  redzones increase the chance to detect blocks overrun or underrun.

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

13 years agoRemove entries with deprecated spellings (essentially duplicates).
Florian Krohm [Mon, 30 Jul 2012 16:18:19 +0000 (16:18 +0000)] 
Remove entries with deprecated spellings (essentially duplicates).

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

13 years agoWhen parsing guest_s390_toIR.c also recognize opcodes with digits
Florian Krohm [Mon, 30 Jul 2012 16:16:24 +0000 (16:16 +0000)] 
When parsing guest_s390_toIR.c also recognize opcodes with digits
in their name.
Also add more alternate opcode spellings.

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

13 years agoTestcases for CU42. Part of fixing bugzilla #289839.
Florian Krohm [Sat, 28 Jul 2012 22:20:03 +0000 (22:20 +0000)] 
Testcases for CU42. Part of fixing bugzilla #289839.
Update opcode table.

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

13 years agoUpdates for s390x
Florian Krohm [Sat, 28 Jul 2012 22:10:41 +0000 (22:10 +0000)] 
Updates for s390x

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

13 years agoMinor tweaks. A few comments were out of synch with source.
Florian Krohm [Sat, 28 Jul 2012 21:59:34 +0000 (21:59 +0000)] 
Minor tweaks. A few comments were out of synch with source.
Add another test.

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

13 years agoFix error message in testcase
Florian Krohm [Sat, 28 Jul 2012 20:39:51 +0000 (20:39 +0000)] 
Fix error message in testcase

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

13 years agodrd: Avoid that invoking pthread_cancel() from a program analyzed with DRD triggers...
Bart Van Assche [Sat, 28 Jul 2012 14:35:48 +0000 (14:35 +0000)] 
drd: Avoid that invoking pthread_cancel() from a program analyzed with DRD triggers a crash on Fedora 17

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

13 years agodrd: Revert r12651 because it didn't change drd's behavior on any platform
Bart Van Assche [Sat, 28 Jul 2012 14:32:03 +0000 (14:32 +0000)] 
drd: Revert r12651 because it didn't change drd's behavior on any platform

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

13 years agoSpelling fixes: developpers -> developers; curiosly -> curiously
Bart Van Assche [Sat, 28 Jul 2012 13:06:45 +0000 (13:06 +0000)] 
Spelling fixes: developpers -> developers; curiosly -> curiously

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

13 years agoUpdate Subversion ignore list
Bart Van Assche [Sat, 28 Jul 2012 13:05:32 +0000 (13:05 +0000)] 
Update Subversion ignore list

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

13 years agoclarify 2 NEWS entries to indicate that these are for tool developpers.
Philippe Waroquiers [Sat, 28 Jul 2012 12:23:48 +0000 (12:23 +0000)] 
clarify 2 NEWS entries to indicate that these are for tool developpers.

(NB: I am wondering if these entries should be put in NEWS at all.
Is NEWS targetted at end users only ?
Or at "tool developper users also' ?)

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

13 years agonone/tests/amd64/Makefile.am: Uses not only AVX instructions but PCLMULQDQ too
Bart Van Assche [Sat, 28 Jul 2012 11:13:47 +0000 (11:13 +0000)] 
none/tests/amd64/Makefile.am: Uses not only AVX instructions but PCLMULQDQ too

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

13 years agoMIPS specific expected output for memcheck/tests/sigkill.
Petar Jovanovic [Fri, 27 Jul 2012 22:35:35 +0000 (22:35 +0000)] 
MIPS specific expected output for memcheck/tests/sigkill.

MIPS has different signal values, so it has to have its own expected output for
the tests that deal with signal values.
This fixes (false) failure in memcheck/tests/sigkill.

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

13 years agoHave one test testing the ? suppr matching wildcard character.
Philippe Waroquiers [Fri, 27 Jul 2012 21:56:08 +0000 (21:56 +0000)] 
Have one test testing the ? suppr matching wildcard character.

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

13 years agoFix compiler warning.
Florian Krohm [Fri, 27 Jul 2012 20:53:47 +0000 (20:53 +0000)] 
Fix compiler warning.

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

13 years agoMIPS specific exp-out for none/tests/async-sigs.
Petar Jovanovic [Fri, 27 Jul 2012 16:25:32 +0000 (16:25 +0000)] 
MIPS specific exp-out for none/tests/async-sigs.

MIPS has different signal values, so it has to have its own expected output for
the tests that deal with signal values.
This fixes (false) failure in none/tests/async-sigs.

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