]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
7 years agoMerge VEX_3_7_BRANCH into VALGRIND_3_7_BRANCH svn/VALGRIND_3_7_BRANCH svn/VALGRIND_3_7_0
Ivo Raisr [Mon, 14 Aug 2017 10:26:24 +0000 (12:26 +0200)] 
Merge VEX_3_7_BRANCH into VALGRIND_3_7_BRANCH

13 years ago--> 3.7.0 final.
Julian Seward [Sat, 5 Nov 2011 11:22:35 +0000 (11:22 +0000)] 
--> 3.7.0 final.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12258

13 years agoMerge from trunk, r12254 (Use normal setjmp/longjmp, not the __builtin
Julian Seward [Tue, 1 Nov 2011 07:16:31 +0000 (07:16 +0000)] 
Merge from trunk, r12254 (Use normal setjmp/longjmp, not the __builtin
ones)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12256

13 years agoMerge from trunk, r12252 (Include insn_pclmulqdq.def in tarball)
Julian Seward [Tue, 1 Nov 2011 07:14:23 +0000 (07:14 +0000)] 
Merge from trunk, r12252 (Include insn_pclmulqdq.def in tarball)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12255

13 years agoMerge from trunk, r2229 and 2230 (lame workaround for the fact that
Julian Seward [Tue, 1 Nov 2011 07:10:37 +0000 (07:10 +0000)] 
Merge from trunk, r2229 and 2230 (lame workaround for the fact that
VEX doesn't keep the stack properly aligned for function calls on Darwin)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_7_BRANCH@2231

13 years ago--> 3.7.0 TEST1.
Julian Seward [Thu, 27 Oct 2011 11:08:44 +0000 (11:08 +0000)] 
--> 3.7.0 TEST1.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12245

13 years agoMerge from trunk, r2227 (Handle "add.w reg, sp, #constT" et al better.)
Julian Seward [Thu, 27 Oct 2011 10:58:38 +0000 (10:58 +0000)] 
Merge from trunk, r2227 (Handle "add.w reg, sp, #constT" et al better.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_7_BRANCH@2228

13 years agoMerge from trunk, r12239 (Some small doc updating for 3.7.0.)
Julian Seward [Thu, 27 Oct 2011 10:57:00 +0000 (10:57 +0000)] 
Merge from trunk, r12239 (Some small doc updating for 3.7.0.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12244

13 years agoMerge from trunk, r12238 (Fix missing m4 quoting)
Julian Seward [Thu, 27 Oct 2011 10:55:52 +0000 (10:55 +0000)] 
Merge from trunk, r12238 (Fix missing m4 quoting)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12243

13 years agoMerge from trunk, r12234 (Some fixes for Android)
Julian Seward [Thu, 27 Oct 2011 10:54:23 +0000 (10:54 +0000)] 
Merge from trunk, r12234 (Some fixes for Android)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12242

13 years agoMerge from trunk, r12233 (Disable the GDB server-by-default for the
Julian Seward [Thu, 27 Oct 2011 10:52:27 +0000 (10:52 +0000)] 
Merge from trunk, r12233 (Disable the GDB server-by-default for the
time being on Android)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12241

13 years agoMerge from trunk, r12232 (Fix an out-of-bounds array access)
Julian Seward [Thu, 27 Oct 2011 10:51:08 +0000 (10:51 +0000)] 
Merge from trunk, r12232 (Fix an out-of-bounds array access)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12240

13 years agoSwizzle external.
Julian Seward [Tue, 25 Oct 2011 09:18:04 +0000 (09:18 +0000)] 
Swizzle external.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12229

13 years agoCreate branches/VALGRIND_3_7_BRANCH as a copy of trunk r12227.
Julian Seward [Tue, 25 Oct 2011 09:15:51 +0000 (09:15 +0000)] 
Create branches/VALGRIND_3_7_BRANCH as a copy of trunk r12227.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_7_BRANCH@12228

13 years agoCreate branches/VEX_3_7_BRANCH as a copy of trunk r2225.
Julian Seward [Tue, 25 Oct 2011 09:10:58 +0000 (09:10 +0000)] 
Create branches/VEX_3_7_BRANCH as a copy of trunk r2225.

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_7_BRANCH@2226

13 years agoUpdate.
Julian Seward [Tue, 25 Oct 2011 09:05:53 +0000 (09:05 +0000)] 
Update.

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

13 years agoFix #284384 (clang 3.1 -Wunused-value warnings in valgrind.h,
Julian Seward [Mon, 24 Oct 2011 13:21:57 +0000 (13:21 +0000)] 
Fix #284384 (clang 3.1 -Wunused-value warnings in valgrind.h,
memcheck.h) by changing a bunch of VALGRIND_DO_CLIENT_REQUEST_EXPR
into VALGRIND_DO_CLIENT_REQUEST_STMT for cases where the return value
of the former would be unused.  (Bart Van Assche, bart.vanassche@gmail.com)

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

13 years agoUpdate.
Julian Seward [Mon, 24 Oct 2011 08:54:56 +0000 (08:54 +0000)] 
Update.

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

13 years agoDon't break fcntl locks when program does mmap. #280965.
Julian Seward [Mon, 24 Oct 2011 08:53:03 +0000 (08:53 +0000)] 
Don't break fcntl locks when program does mmap.  #280965.
(Rusty Russell, rusty@rustcorp.com.au)

tdb uses fcntl locks and mmap, and some of the tests fail under valgrind.
strace showed valgrind opening the tdb file, reading 1024 bytes, then closing
it.  This is not allowed: POSIX says if you open and close a file, all fcntl
locks on it are dropped (insane, yes).

Finally got around to hacking the source to track this down: di_notify_mmap is
doing the damage.  The simplest fix was to hand in an optional fd for it to
use, then have it do pread.

I had to fix your pread; surely this should seek back even if the platform
doesn't have pread support?

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

13 years agogdbsrv: factorize gdb version handling, fix doc and typos
Julian Seward [Mon, 24 Oct 2011 07:36:57 +0000 (07:36 +0000)] 
gdbsrv: factorize gdb version handling, fix doc and typos

* fix various typos in doc
* following commit in gdb
   http://sourceware.org/ml/gdb-patches/2011-07/msg00742.html
  means unlimited length for valgrind watchpoints is understood by the
  (future) gdb 7.4 => doc updated
* factorize  gdb version detection and reporting in
  gdbserver_tests/make_local_links
* replace zignal by signal in a string used in umsg.
* updated gdbserver_tests/README_DEVELOPPERS (ref to --port vgdb option)

No functional change, tested on f12/x86, debian5/amd64, s390/RHEL4

Fixes #278892.  (Philippe Waroquiers, philippe.waroquiers@skynet.be)

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

13 years agoChange the behaviour of VALGRIND_CHECK_MEM_IS_DEFINED slightly, so
Julian Seward [Mon, 24 Oct 2011 05:59:54 +0000 (05:59 +0000)] 
Change the behaviour of VALGRIND_CHECK_MEM_IS_DEFINED slightly, so
that if the range is partially non-addressable and it contains
undefined data, both errors are reported.

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

13 years agoAdd more missing files for the tarball.
Florian Krohm [Mon, 24 Oct 2011 00:03:52 +0000 (00:03 +0000)] 
Add more missing files for the tarball.

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

13 years agoRemove the Qt4 regression tests because these are too hard to maintain
Bart Van Assche [Sun, 23 Oct 2011 15:21:48 +0000 (15:21 +0000)] 
Remove the Qt4 regression tests because these are too hard to maintain

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

13 years agoRemove pth_specific.c which is unused.
Florian Krohm [Sun, 23 Oct 2011 14:34:52 +0000 (14:34 +0000)] 
Remove pth_specific.c which is unused.

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

13 years agoAdd some more missing files to the tarball.
Florian Krohm [Sun, 23 Oct 2011 14:30:08 +0000 (14:30 +0000)] 
Add some more missing files to the tarball.

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

13 years agoInclude README_DEVELOPERS for the GDB server in the tarball.
Florian Krohm [Sun, 23 Oct 2011 13:51:34 +0000 (13:51 +0000)] 
Include README_DEVELOPERS for the GDB server in the tarball.

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

13 years agohelgrind/tests/tc08_hbl2: Avoid busy-waiting
Bart Van Assche [Sun, 23 Oct 2011 13:28:20 +0000 (13:28 +0000)] 
helgrind/tests/tc08_hbl2: Avoid busy-waiting

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

13 years agohelgrind/tests/cond_timedwait_invalid: Update expected output because of r12213
Bart Van Assche [Sun, 23 Oct 2011 12:34:07 +0000 (12:34 +0000)] 
helgrind/tests/cond_timedwait_invalid: Update expected output because of r12213

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

13 years agoCheck Makefile.am consistency before running regression tests. Closes #283813.
Bart Van Assche [Sun, 23 Oct 2011 12:14:51 +0000 (12:14 +0000)] 
Check Makefile.am consistency before running regression tests. Closes #283813.

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

13 years agohelgrind/tests/cond_timedwait_invalid: Port to Darwin 10.8
Bart Van Assche [Sun, 23 Oct 2011 12:11:15 +0000 (12:11 +0000)] 
helgrind/tests/cond_timedwait_invalid: Port to Darwin 10.8

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

13 years agoUpdate for 3.7.0. (What did I forget?)
Julian Seward [Sun, 23 Oct 2011 10:05:47 +0000 (10:05 +0000)] 
Update for 3.7.0.  (What did I forget?)

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

13 years agoMore update for 3.7.0 (duh.)
Julian Seward [Sun, 23 Oct 2011 09:57:26 +0000 (09:57 +0000)] 
More update for 3.7.0 (duh.)

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

13 years agoUpdate for 3.7.0.
Julian Seward [Sun, 23 Oct 2011 09:55:34 +0000 (09:55 +0000)] 
Update for 3.7.0.

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

13 years agoUpdate the list of fixed bugs and format properly.
Julian Seward [Sun, 23 Oct 2011 09:09:54 +0000 (09:09 +0000)] 
Update the list of fixed bugs and format properly.

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

13 years agoUpdate expected outputs following update of copyright dates.
Julian Seward [Sun, 23 Oct 2011 08:24:43 +0000 (08:24 +0000)] 
Update expected outputs following update of copyright dates.

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

13 years agoGet a bunch more copyright dates in the right format, 20xx-2011,
Julian Seward [Sun, 23 Oct 2011 07:49:30 +0000 (07:49 +0000)] 
Get a bunch more copyright dates in the right format, 20xx-2011,
so the auto-update script will handle them correctly in future.

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

13 years agoUpdate all copyright dates, from 20xy-2010 to 20xy-2011.
Julian Seward [Sun, 23 Oct 2011 07:33:43 +0000 (07:33 +0000)] 
Update all copyright dates, from 20xy-2010 to 20xy-2011.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2225

13 years agoUpdate all copyright dates, from 20xy-2010 to 20xy-2011.
Julian Seward [Sun, 23 Oct 2011 07:32:08 +0000 (07:32 +0000)] 
Update all copyright dates, from 20xy-2010 to 20xy-2011.

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

13 years agoUpdate, so as to be able to handle the 200x vs 201x change.
Julian Seward [Sun, 23 Oct 2011 07:31:08 +0000 (07:31 +0000)] 
Update, so as to be able to handle the 200x vs 201x change.

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

13 years agoFix the guest state definition for s390x and introduce dummy members
Florian Krohm [Sat, 22 Oct 2011 23:18:00 +0000 (23:18 +0000)] 
Fix the guest state definition for s390x and introduce dummy members
in places where 8-byte alignment is needed.

We need to make sure that libvex_guest_offsets.h contains correct
offsets even when genoffsets.c is compiled for a 32-bit target.

With this change a tarball built on x86 will result in a working
valgrind on s390x.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2224

13 years agoMake vgdb.c work on Android, so that the GDB server as a whole
Julian Seward [Sat, 22 Oct 2011 20:38:08 +0000 (20:38 +0000)] 
Make vgdb.c work on Android, so that the GDB server as a whole
will work on Android.  Fixes #283600.
(Philippe Waroquiers, philippe.waroquiers@skynet.be)

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

13 years agoAddition of v.info scheduler monitor command
Julian Seward [Sat, 22 Oct 2011 20:23:30 +0000 (20:23 +0000)] 
Addition of v.info scheduler monitor command

Monitor command useful for debugging/investigation of Valgrind unwinder and/or
gdbserver/gdb stack trace.

The Valgrind unwinder has some limitations compared to the GDB unwinder.
(see e.g. 278972).

With this monitor command, it is easy to see if the Valgrind unwinder
produces something different than the GDB unwinder.

Fixes #279212.  (Philippe Waroquiers, philippe.waroquiers@skynet.be)

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

13 years agoImprovements in freelist handling for Memcheck. See #250065.
Julian Seward [Sat, 22 Oct 2011 19:48:57 +0000 (19:48 +0000)] 
Improvements in freelist handling for Memcheck.  See #250065.

(Philippe Waroquiers, philippe.waroquiers@skynet.be)

This patch provides three improvements in the way the free list is
handled in memcheck.

First improvement: a new command line option --freelist-big-blocks
(default 1000000) specifies the size of "free list big blocks".
Such big blocks will be put on the free list, but will be re-cycled first
(i.e. in preference to block having a smaller size).
This fixes the bug https://bugs.kde.org/show_bug.cgi?id=250065.
Technically, the freed list is divided in two lists : small
and big blocks. Blocks are first released from the big block list.

Second improvement: the blocks of the freed list are re-cycled before
a new block is malloc-ed, not after a block is freed.
This gives better error messages for dangling pointer errors
when doing many frees without doing malloc between the frees.
(this does not uses more memory).

Third improvement: a block bigger than the free list volume will be
put in the free list (till a malloc is done, so as the needed memory
is not bigger than before) but will be put at the beginning of the
free list, rather than at the end. So, allocating then freeing such a
block does not cause any blocks in the free list to be released.

Results of the improvements above, with the new regression test
memcheck/test/big_blocks_freed_list: with the patch, 7 errors
are detected, 6 are giving the (correct) allocation stack.
Without the patch, only 6 errors are detected, 5 errors without
allocation stack, 1 with a (wrong) allocation stack.

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

13 years agoAllow garbage collection of the LAOG data structure(s). This avoids
Julian Seward [Sat, 22 Oct 2011 19:29:51 +0000 (19:29 +0000)] 
Allow garbage collection of the LAOG data structure(s).  This avoids
quadratic growth on some apparently simple test cases.  Fixes #267925.
(Philippe Waroquiers, philippe.waroquiers@skynet.be)

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

13 years agoAdd a custom filter for the drd/tests/annotate_barrier_xml regression test
Bart Van Assche [Sat, 22 Oct 2011 16:29:11 +0000 (16:29 +0000)] 
Add a custom filter for the drd/tests/annotate_barrier_xml regression test

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

13 years agoMake VALGRIND_DO_CLIENT_REQUEST more user friendly by wrapping
Florian Krohm [Sat, 22 Oct 2011 15:04:05 +0000 (15:04 +0000)] 
Make VALGRIND_DO_CLIENT_REQUEST more user friendly by wrapping
its replacement in do .. while (0).

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

13 years agoRevert r12195 because it triggers suspicious error messages on systems where
Bart Van Assche [Sat, 22 Oct 2011 14:38:47 +0000 (14:38 +0000)] 
Revert r12195 because it triggers suspicious error messages on systems where
libtool has not been installed:

Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.

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

13 years agoRemove the ppc-cross directory because the scripts in it are not fully functional
Bart Van Assche [Sat, 22 Oct 2011 13:45:49 +0000 (13:45 +0000)] 
Remove the ppc-cross directory because the scripts in it are not fully functional

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

13 years agoUpdate Subversion ignore list
Bart Van Assche [Sat, 22 Oct 2011 10:40:21 +0000 (10:40 +0000)] 
Update Subversion ignore list

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

13 years agoautogen.sh: Use autoreconf as recommended in the autoconf manual
Bart Van Assche [Sat, 22 Oct 2011 10:39:43 +0000 (10:39 +0000)] 
autogen.sh: Use autoreconf as recommended in the autoconf manual

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

13 years agoAdd an excessively minimal testcase, from #279698, pertaining to the
Julian Seward [Sat, 22 Oct 2011 09:55:37 +0000 (09:55 +0000)] 
Add an excessively minimal testcase, from #279698, pertaining to the
propagation of V bits through saturated narrowing operations.

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

13 years agoconfigure.in: Rearranged the TLS test such that autoreconf doesn't complain about it
Bart Van Assche [Sat, 22 Oct 2011 09:46:16 +0000 (09:46 +0000)] 
configure.in: Rearranged the TLS test such that autoreconf doesn't complain about it

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

13 years agoFix a compiler warning introduced in r12188
Bart Van Assche [Sat, 22 Oct 2011 09:42:05 +0000 (09:42 +0000)] 
Fix a compiler warning introduced in r12188

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

13 years agoRecord the ELF x86 regparm registers.
Julian Seward [Sat, 22 Oct 2011 09:35:33 +0000 (09:35 +0000)] 
Record the ELF x86 regparm registers.

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

13 years agoVEX side fixes to match r12190, which is a fix for #279698 (incorrect
Julian Seward [Sat, 22 Oct 2011 09:32:16 +0000 (09:32 +0000)] 
VEX side fixes to match r12190, which is a fix for #279698 (incorrect
Memcheck handling of saturating narrowing operations.)

git-svn-id: svn://svn.valgrind.org/vex/trunk@2223

13 years agoChange and simplify the way that Memcheck instruments saturating
Julian Seward [Sat, 22 Oct 2011 09:29:41 +0000 (09:29 +0000)] 
Change and simplify the way that Memcheck instruments saturating
narrowing operations.  The previous scheme was simply wrong and could
cause false negatives, by causing some narrowing operations to have a
defined output even when the inputs are undefined.  This was what
#279698 reported.  This patch is a fix for that bug.

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

13 years agoRan configure.in through autoupdate:
Bart Van Assche [Sat, 22 Oct 2011 09:21:24 +0000 (09:21 +0000)] 
Ran configure.in through autoupdate:
- Replaced AC_CONFIG_HEADER() by AC_CONFIG_HEADERS().
- Replaced AC_TRY_LINK() by AC_LINK_IFELSE().
- Replaced AC_TRY_COMPILE() by AC_COMPILE_IFELSE().
- Removed AC_TYPE_SIGNAL because RETSIGTYPE isn't used anywhere.

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

13 years agoXML output: escape XML-metacharacters in executable path and arguments. This is a...
Bart Van Assche [Sat, 22 Oct 2011 08:24:32 +0000 (08:24 +0000)] 
XML output: escape XML-metacharacters in executable path and arguments. This is a modified version of the patch submitted by Evgeniy Stepanov <eugeni.stepanov@gmail.com>. See also #284621.

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

13 years agoAdd a replacement for strcasestr, along with test case. Fixes #282979.
Julian Seward [Fri, 21 Oct 2011 08:07:13 +0000 (08:07 +0000)] 
Add a replacement for strcasestr, along with test case.  Fixes #282979.

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

13 years agoCause the build to fail when man pages aren't built properly. At
Julian Seward [Fri, 21 Oct 2011 06:16:27 +0000 (06:16 +0000)] 
Cause the build to fail when man pages aren't built properly.  At
present that doesn't happen.  #272967, which is Debian bug 599563.
(Pierre Habouzit, madcoder@debian.org)

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

13 years agoML_(ppSym): minor improvement in debug printing for DiSyms.
Julian Seward [Fri, 21 Oct 2011 05:00:37 +0000 (05:00 +0000)] 
ML_(ppSym): minor improvement in debug printing for DiSyms.

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

13 years agoDebug printing only: when printing SB translation header lines,
Julian Seward [Fri, 21 Oct 2011 04:59:56 +0000 (04:59 +0000)] 
Debug printing only: when printing SB translation header lines,
print the object and SVMA too, so as to make it easy to find the
relevant bit of code by objdump -d of the object, even if the
function name is unknown.  Also re-order some of the fields.

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

13 years agoAdapt the faultstatus.c testcase to work properly on systems with larger
Florian Krohm [Fri, 21 Oct 2011 02:32:49 +0000 (02:32 +0000)] 
Adapt the faultstatus.c testcase to work properly on systems with larger
page size. E.g. ppc64 running SLES 11 has 64k pages.
Patch by Maynard Johnson (maynardj@us.ibm.com) with small modification
to minimize source code changes. Fixes bugzilla #283709.

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

13 years agoUpdate s390x bug list.
Florian Krohm [Thu, 20 Oct 2011 23:00:37 +0000 (23:00 +0000)] 
Update s390x bug list.

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

13 years agoUpdate filter_gdb script for ppc64. Fixes bugzilla #284305
Florian Krohm [Thu, 20 Oct 2011 22:49:58 +0000 (22:49 +0000)] 
Update filter_gdb script for ppc64. Fixes bugzilla #284305
Patch by Maynard Johnson (maynardj@us.ibm.com).

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

13 years agoFix timerfd-syscall testcase on s390x.
Florian Krohm [Thu, 20 Oct 2011 21:15:55 +0000 (21:15 +0000)] 
Fix timerfd-syscall testcase on s390x.

This was caused by an interaction of resteering and the infamous
EX insn. This sequence

j  someplace
ex ....

with the unconditional jump being subject to restering caused madness.
Such a sequence is found in glibc's syscall.S with the effect that all
system calls > 255 would have run into the same problem as timerfd_*.

Patch by Christian Borntraeger (borntraeger@de.ibm.com).

git-svn-id: svn://svn.valgrind.org/vex/trunk@2222

13 years agoFilter out more warnings (Dwarf reader and debug info).
Florian Krohm [Thu, 20 Oct 2011 20:37:46 +0000 (20:37 +0000)] 
Filter out more warnings (Dwarf reader and debug info).

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

13 years agoUpdate Subversion ignore list
Bart Van Assche [Thu, 20 Oct 2011 16:18:50 +0000 (16:18 +0000)] 
Update Subversion ignore list

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

13 years agoRemove filter_int because not used anywhere
Bart Van Assche [Thu, 20 Oct 2011 16:06:51 +0000 (16:06 +0000)] 
Remove filter_int because not used anywhere

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

13 years agoEnable sys_epoll_pwait on arm-linux. #283427. Derived from
Julian Seward [Thu, 20 Oct 2011 13:00:32 +0000 (13:00 +0000)] 
Enable sys_epoll_pwait on arm-linux.  #283427.  Derived from
larger patch by John Reiser (jreiser@bitwagon.com).

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

13 years agoAdd (well, actually, enable existing) test cases for Thumb2 ROR
Julian Seward [Thu, 20 Oct 2011 12:43:16 +0000 (12:43 +0000)] 
Add (well, actually, enable existing) test cases for Thumb2 ROR
(register) encoding T2.  See #284472.

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

13 years agoHandle Thumb2 ROR (register) encoding T2. #284472.
Julian Seward [Thu, 20 Oct 2011 12:41:38 +0000 (12:41 +0000)] 
Handle Thumb2 ROR (register) encoding T2.  #284472.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2221

13 years agoppc64-linux: handle sys_setresuid and sys_setresgid. #273640.
Julian Seward [Thu, 20 Oct 2011 10:44:34 +0000 (10:44 +0000)] 
ppc64-linux: handle sys_setresuid and sys_setresgid.  #273640.
(Jan Stancek, jan.stancek@gmail.com)

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

13 years agoFix a compile warning on {ppc32,ppc64}-linux.
Julian Seward [Thu, 20 Oct 2011 10:41:37 +0000 (10:41 +0000)] 
Fix a compile warning on {ppc32,ppc64}-linux.

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

13 years agoAvoid potential overflow in range check. #273431.
Julian Seward [Thu, 20 Oct 2011 08:09:39 +0000 (08:09 +0000)] 
Avoid potential overflow in range check.  #273431.
(Alexandre Duret-Lutz, adl@gnu.org)

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

13 years agoAdd missing filter scripts to Makefile.am so they are included in
Florian Krohm [Thu, 20 Oct 2011 01:17:12 +0000 (01:17 +0000)] 
Add missing filter scripts to Makefile.am so they are included in
the tarball generated by "make dist".
With this change running regtest from the tarball produces the same
results as a regtest on a checked out repository (on x86 that is).

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

13 years agoAdd ABI information for s390x.
Florian Krohm [Thu, 20 Oct 2011 00:27:00 +0000 (00:27 +0000)] 
Add ABI information for s390x.

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

13 years agoAdd some verbiage about "make dist".
Florian Krohm [Wed, 19 Oct 2011 21:56:25 +0000 (21:56 +0000)] 
Add some verbiage about "make dist".

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

13 years agoFix a comment.
Florian Krohm [Wed, 19 Oct 2011 20:48:45 +0000 (20:48 +0000)] 
Fix a comment.

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

13 years agoIgnore redundant REX.W on PTEST. #279071.
Julian Seward [Wed, 19 Oct 2011 20:36:20 +0000 (20:36 +0000)] 
Ignore redundant REX.W on PTEST.  #279071.
(Jakub Jelinek, jakub@redhat.com)

git-svn-id: svn://svn.valgrind.org/vex/trunk@2220

13 years agoAdd test cases for PCMPxSTRx case 0x38. See #273318.
Julian Seward [Wed, 19 Oct 2011 20:17:50 +0000 (20:17 +0000)] 
Add test cases for PCMPxSTRx case 0x38.  See #273318.

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

13 years agoHandle PCMPxSTRx case 0x38. Fixes #273318.
Julian Seward [Wed, 19 Oct 2011 20:08:57 +0000 (20:08 +0000)] 
Handle PCMPxSTRx case 0x38.  Fixes #273318.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2219

13 years agoAdd missing backslash
Bart Van Assche [Wed, 19 Oct 2011 16:22:50 +0000 (16:22 +0000)] 
Add missing backslash

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

13 years agoAdd test cases for PMULUDQ and PCMPEQQ. Duh -- in future, add test
Julian Seward [Wed, 19 Oct 2011 15:26:36 +0000 (15:26 +0000)] 
Add test cases for PMULUDQ and PCMPEQQ.  Duh -- in future, add test
cases at the end, since adding in the middle changes the random
data used for all tests that follow, and makes the diff huge.

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

13 years agoHandle new Iop_CmpEQ64x2 introduced in vex r2218.
Julian Seward [Wed, 19 Oct 2011 15:24:55 +0000 (15:24 +0000)] 
Handle new Iop_CmpEQ64x2 introduced in vex r2218.

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

13 years agoImplement the SSE4.1 insn PCMPEQQ. n-i-bz. (VEX side changes)
Julian Seward [Wed, 19 Oct 2011 15:24:01 +0000 (15:24 +0000)] 
Implement the SSE4.1 insn PCMPEQQ.  n-i-bz.  (VEX side changes)
** MERGE TO AVX **

git-svn-id: svn://svn.valgrind.org/vex/trunk@2218

13 years agoImplement SSE4.1 PMULUDQ. Fixes #280290. ** MERGE TO AVX **
Julian Seward [Wed, 19 Oct 2011 14:50:27 +0000 (14:50 +0000)] 
Implement SSE4.1 PMULUDQ.  Fixes #280290.  ** MERGE TO AVX **

git-svn-id: svn://svn.valgrind.org/vex/trunk@2217

13 years agoFix false positive following pthread_cond_timedwait failure.
Julian Seward [Wed, 19 Oct 2011 05:41:34 +0000 (05:41 +0000)] 
Fix false positive following pthread_cond_timedwait failure.
Fixes #271917.  (Philippe Waroquiers, philippe.waroquiers@skynet.be)

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

13 years agoFix callgrind part of bug 280757.
Josef Weidendorfer [Mon, 17 Oct 2011 18:12:48 +0000 (18:12 +0000)] 
Fix callgrind part of bug 280757.

For this, we make VG_(tmpdir) available to tools.

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

13 years agoUse proper automake variable (patch from Philippe Waroquiers - see also #273465)
Bart Van Assche [Sat, 15 Oct 2011 07:52:46 +0000 (07:52 +0000)] 
Use proper automake variable (patch from Philippe Waroquiers - see also #273465)

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

13 years agoMove --child-silent-after-fork=yes from drd/tests/threaded-fork.vgtest to drd/tests...
Bart Van Assche [Sat, 15 Oct 2011 07:27:56 +0000 (07:27 +0000)] 
Move --child-silent-after-fork=yes from drd/tests/threaded-fork.vgtest to drd/tests/verify-xml-output

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

13 years agoUpdate documentation now that DRD supports XML output
Bart Van Assche [Fri, 14 Oct 2011 18:06:41 +0000 (18:06 +0000)] 
Update documentation now that DRD supports XML output

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

13 years agodrd/tests/threaded-fork: Make sure that the generated XML output is valid
Bart Van Assche [Fri, 14 Oct 2011 18:02:21 +0000 (18:02 +0000)] 
drd/tests/threaded-fork: Make sure that the generated XML output is valid

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

13 years agodrd, XML testing: trigger more XMLcode
Bart Van Assche [Fri, 14 Oct 2011 18:01:18 +0000 (18:01 +0000)] 
drd, XML testing: trigger more XMLcode

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

13 years agodrd, XML: more xsd refinements
Bart Van Assche [Fri, 14 Oct 2011 18:00:06 +0000 (18:00 +0000)] 
drd, XML: more xsd refinements

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

13 years agodrd: Add drd/docs/drd-xml-output.xsd to the distribution tarball
Bart Van Assche [Fri, 14 Oct 2011 17:53:30 +0000 (17:53 +0000)] 
drd: Add drd/docs/drd-xml-output.xsd to the distribution tarball

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

13 years agoMark IR level calls and returns derived from ARM and Thumb code
Julian Seward [Fri, 14 Oct 2011 15:44:00 +0000 (15:44 +0000)] 
Mark IR level calls and returns derived from ARM and Thumb code
more correctly.  Fixes #252091.
(Timothy B. Terriberry, tterribe@xiph.org)

git-svn-id: svn://svn.valgrind.org/vex/trunk@2216

13 years agomemcheck/tests/linux/Makefile.am: Add four .vgtest files to the distribution tarball...
Bart Van Assche [Fri, 14 Oct 2011 09:32:46 +0000 (09:32 +0000)] 
memcheck/tests/linux/Makefile.am: Add four .vgtest files to the distribution tarball and remove the capget binary

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

13 years agocallgrind/tests/Makefile.am: Add regression tests simwork-both, simwork-branch and...
Bart Van Assche [Fri, 14 Oct 2011 09:31:54 +0000 (09:31 +0000)] 
callgrind/tests/Makefile.am: Add regression tests simwork-both, simwork-branch and simwork-cache to the distribution tarball

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

13 years agoAdd empty-exe regression test to the distribution tarball
Bart Van Assche [Fri, 14 Oct 2011 09:31:04 +0000 (09:31 +0000)] 
Add empty-exe regression test to the distribution tarball

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