]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
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

13 years agomicro-optimisation in m_libcbase.c cmp functions
Philippe Waroquiers [Thu, 26 Jul 2012 22:44:07 +0000 (22:44 +0000)] 
micro-optimisation in m_libcbase.c cmp functions

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

13 years agoImprove suppression matching performance when fun or obj is a simple string
Philippe Waroquiers [Thu, 26 Jul 2012 21:37:36 +0000 (21:37 +0000)] 
Improve suppression matching performance when fun or obj is a simple string
Idea is from Julian, possible bugs are mine.

If the fun or obj is a simple string and not a patter (so no *, no ?),
use a simple string comparison rather than a call to a wildcard matching.

On a leak search with a lot of reachable loss records and a lot of suppr,
it improves the speed of the leak search by 10 to 15%.

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

13 years agonone/tests/amd64/pcmpstr64: Update expected output after r12780
Bart Van Assche [Thu, 26 Jul 2012 06:49:38 +0000 (06:49 +0000)] 
none/tests/amd64/pcmpstr64: Update expected output after r12780

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

13 years agoDue to s390's dealings with invalid insns we need to do two things
Florian Krohm [Thu, 26 Jul 2012 02:41:31 +0000 (02:41 +0000)] 
Due to s390's dealings with invalid insns we need to do two things
- advance the guest_IA to the next insn after raising the signal
- adjusting the address in a complaint to point to the failing insn
  (after guest_IA has been advanced)
Update testcases .exp files.

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

13 years agoApply first_ip_delta also when only one frame is requested
Florian Krohm [Thu, 26 Jul 2012 02:14:28 +0000 (02:14 +0000)] 
Apply first_ip_delta also when only one frame is requested
for the back-trace.

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

13 years agoImprove complaints. Enabled by VEX r2449.
Florian Krohm [Thu, 26 Jul 2012 02:03:16 +0000 (02:03 +0000)] 
Improve complaints. Enabled by VEX r2449.
Line numbers are still bad. But that is a GCC issue.

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

13 years agore-re-clarify the doc about registers and flags gdbsrv up-to-date-ness
Philippe Waroquiers [Wed, 25 Jul 2012 21:58:40 +0000 (21:58 +0000)] 
re-re-clarify the doc about registers and flags gdbsrv up-to-date-ness

Following discussions on valdev and re-measurement, clarify the clarification.

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

13 years agoremove 303624 from 3_7_BUGSTATUS.txt (was fixed in rev 12758, already in NEWS)
Philippe Waroquiers [Wed, 25 Jul 2012 19:58:37 +0000 (19:58 +0000)] 
remove 303624 from 3_7_BUGSTATUS.txt (was fixed in rev 12758, already in NEWS)

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

13 years agoAdded fixed bug 303963
Josef Weidendorfer [Wed, 25 Jul 2012 12:13:29 +0000 (12:13 +0000)] 
Added fixed bug 303963

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

13 years agoPartial update of bug fixes (I think it is still out of date though.)
Julian Seward [Wed, 25 Jul 2012 11:02:01 +0000 (11:02 +0000)] 
Partial update of bug fixes (I think it is still out of date though.)

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

13 years agoAdditions to PCMPxSTRx tests to check fix for bug 303963.
Josef Weidendorfer [Wed, 25 Jul 2012 09:49:26 +0000 (09:49 +0000)] 
Additions to PCMPxSTRx tests to check fix for bug 303963.

Some tests used movdqa triggering a seg fault. Use movdqu instead.

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

13 years agoFix testcase and update results.
Florian Krohm [Tue, 24 Jul 2012 20:37:50 +0000 (20:37 +0000)] 
Fix testcase and update results.

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

13 years agoBetter document the limitation of gdbsrv for registers and flags values
Philippe Waroquiers [Tue, 24 Jul 2012 20:24:39 +0000 (20:24 +0000)] 
Better document the limitation of gdbsrv for registers and flags values

During investigations of 303963, Josef found that flags are not always
up to date and that --vex-guest-max-insns=1 ensures flags values
are (more?) correct.

=> enhance the paragraph in the gdbserver limitations to reference
this option and give an idea of the performance impact of the other
options helping to increase the precision of registers and flags.

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

13 years agoHave perf/vg_perf handling EXTRA_REGTEST_OPTS
Philippe Waroquiers [Tue, 24 Jul 2012 19:47:46 +0000 (19:47 +0000)] 
Have perf/vg_perf handling EXTRA_REGTEST_OPTS
Similarly to tests/vg_regtest, allow to run all perf tests with extra options.
(note: it was preferred to use the same env var name).

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

13 years agoUpdate expected results.
Florian Krohm [Mon, 23 Jul 2012 18:05:52 +0000 (18:05 +0000)] 
Update expected results.
This is the companion patch to VEX r2444 which backs out the special
handling for the 00 opcode.

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

13 years agoPass first_ip_delta to VG_(record_depth_1_ExeContext) as the function
Florian Krohm [Mon, 23 Jul 2012 15:40:41 +0000 (15:40 +0000)] 
Pass first_ip_delta to VG_(record_depth_1_ExeContext) as the function
cannot figure it out by itself.

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

13 years agoEliminate magic constant. Use VG_(clo_backtrace_size) instead.
Florian Krohm [Mon, 23 Jul 2012 15:05:22 +0000 (15:05 +0000)] 
Eliminate magic constant. Use VG_(clo_backtrace_size) instead.

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

13 years agoAvoid checking for bitset initialization if futex_wait_bitset is meant to fail.
Petar Jovanovic [Mon, 23 Jul 2012 00:11:10 +0000 (00:11 +0000)] 
Avoid checking for bitset initialization if futex_wait_bitset is meant to fail.

Glibc deliberately passes random value for the sixth parameter when calling
FUTEX_WAIT_BITSET | FUTEX_CLOCK_REALTIME. This is a regular case of using the
Futex API, so V should not complain that "Syscall param futex(val3) contains
uninitialised byte(s)", if the futex does not have a specified value initially.
For more info, see function pthread_initialize_minimal_internal at:
glibc/nptl/nptl-init.c.

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

13 years agoAdd 'aesdec' to the set of insns checked for assembler level SSE4.2
Julian Seward [Sun, 22 Jul 2012 11:10:08 +0000 (11:10 +0000)] 
Add 'aesdec' to the set of insns checked for assembler level SSE4.2
support (Rich Coe) and tidy up a couple of other bits of assembly by
giving them trashed-register lists.

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