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

13 years agoAdd insn_pclmulqdq regression test files to the distribution tarball even if the...
Bart Van Assche [Fri, 14 Oct 2011 09:30:21 +0000 (09:30 +0000)] 
Add insn_pclmulqdq regression test files to the distribution tarball even if the system on which the tarball has been generated does not support pclmulqdq

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

13 years agohelgrind/tests/Makefile.am: Add tc22_exit_w_lock.stderr.exp-kfail-x86 to EXTRA_DIST...
Bart Van Assche [Fri, 14 Oct 2011 09:28:41 +0000 (09:28 +0000)] 
helgrind/tests/Makefile.am: Add tc22_exit_w_lock.stderr.exp-kfail-x86 to EXTRA_DIST. See also r12079.

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

13 years agoAdd 3.7.0 drd items to NEWS
Bart Van Assche [Thu, 13 Oct 2011 18:52:25 +0000 (18:52 +0000)] 
Add 3.7.0 drd items to NEWS

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

13 years agoDocument command-line switches new in version 3.7.0
Bart Van Assche [Thu, 13 Oct 2011 18:51:47 +0000 (18:51 +0000)] 
Document command-line switches new in version 3.7.0

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

13 years agoDocument command-line switches new in version 3.7.0
Bart Van Assche [Thu, 13 Oct 2011 18:50:15 +0000 (18:50 +0000)] 
Document command-line switches new in version 3.7.0

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

13 years agodrd, XML: add xsd schema description and a script to verify the DRD XML output agains...
Bart Van Assche [Thu, 13 Oct 2011 18:16:29 +0000 (18:16 +0000)] 
drd, XML: add xsd schema description and a script to verify the DRD XML output against the xsd

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

13 years agodrd, XML tracing: move newline generation into DRD_(trace_msg)() / change tracing...
Bart Van Assche [Thu, 13 Oct 2011 18:04:30 +0000 (18:04 +0000)] 
drd, XML tracing: move newline generation into DRD_(trace_msg)() / change tracing output format slightly.

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

13 years agodrd, XML: more XML output consistency improvements
Bart Van Assche [Thu, 13 Oct 2011 16:47:53 +0000 (16:47 +0000)] 
drd, XML: more XML output consistency improvements

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

13 years agodrd, XML: make the XML output a little easier to parse
Bart Van Assche [Thu, 13 Oct 2011 16:42:49 +0000 (16:42 +0000)] 
drd, XML: make the XML output a little easier to parse

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

13 years agoUpdate the list of fixed bugs.
Julian Seward [Thu, 13 Oct 2011 16:41:17 +0000 (16:41 +0000)] 
Update the list of fixed bugs.

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

13 years agodrd/tests/filter_stderr: Don't touch XML tags
Bart Van Assche [Thu, 13 Oct 2011 16:30:05 +0000 (16:30 +0000)] 
drd/tests/filter_stderr: Don't touch XML tags

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

13 years agoFix typo spotted by Philip Waroquiers.
Julian Seward [Thu, 13 Oct 2011 16:11:58 +0000 (16:11 +0000)] 
Fix typo spotted by Philip Waroquiers.

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

13 years agodrd, XML: Use proper XML syntax
Bart Van Assche [Thu, 13 Oct 2011 16:10:49 +0000 (16:10 +0000)] 
drd, XML: Use proper XML syntax

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

13 years agoRemove an obsolete regression test output file
Bart Van Assche [Wed, 12 Oct 2011 17:29:23 +0000 (17:29 +0000)] 
Remove an obsolete regression test output file

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

13 years agoSet svn:executable property
Bart Van Assche [Wed, 12 Oct 2011 06:01:39 +0000 (06:01 +0000)] 
Set svn:executable property

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

13 years agodrd: Enable XML output. See also #282949. To do: document the output format.
Bart Van Assche [Tue, 11 Oct 2011 19:08:39 +0000 (19:08 +0000)] 
drd: Enable XML output. See also #282949. To do: document the output format.

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

13 years agoEmit <state>RUNNING</state> earlier
Bart Van Assche [Tue, 11 Oct 2011 18:50:14 +0000 (18:50 +0000)] 
Emit <state>RUNNING</state> earlier

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

13 years agoAdd format specifier %ps: only escape XML-metacharacters for --xml=yes
Bart Van Assche [Tue, 11 Oct 2011 18:49:35 +0000 (18:49 +0000)] 
Add format specifier %ps: only escape XML-metacharacters for --xml=yes

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

13 years agoMake sure that exp-sgcheck/tests/stackerr passes on openSUSE 11.4 x86
Bart Van Assche [Tue, 11 Oct 2011 18:17:48 +0000 (18:17 +0000)] 
Make sure that exp-sgcheck/tests/stackerr passes on openSUSE 11.4 x86

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

13 years agoRevert r12128 because it triggers an assertion failure on one of the nightly build...
Bart Van Assche [Tue, 11 Oct 2011 10:56:11 +0000 (10:56 +0000)] 
Revert r12128 because it triggers an assertion failure on one of the nightly build systems

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

13 years agoUpdate expected output - the ppc output changed due to r12038.
Bart Van Assche [Mon, 10 Oct 2011 06:10:11 +0000 (06:10 +0000)] 
Update expected output - the ppc output changed due to r12038.

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

13 years agoFirst round of changes to get make dist working again.
Florian Krohm [Sun, 9 Oct 2011 23:28:47 +0000 (23:28 +0000)] 
First round of changes to get make dist working again.

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

13 years agoThis patch by Philippe Waroquiers, philippe.waroquiers@skynet.be
Florian Krohm [Sun, 9 Oct 2011 19:58:19 +0000 (19:58 +0000)] 
This patch by Philippe Waroquiers, philippe.waroquiers@skynet.be
replaces r12124. His analysis of the testcase failure:

I think I understand what is happening: even if the ptrace invoker functionality
is not needed, the timeout to invoke might expire, which then leads
to a message produced by vgdb if ptrace is restricted by the kernel.

I think the best way to fix this is to add the option --max-invoke-ms=0 to vgdb.

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

13 years agonone/tests/shell: An attempt to compensate for variations in bash error messages
Bart Van Assche [Sun, 9 Oct 2011 08:48:22 +0000 (08:48 +0000)] 
none/tests/shell: An attempt to compensate for variations in bash error messages

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

13 years agomemcheck/tests/err_disable4: Increase thread stack size a little
Bart Van Assche [Sun, 9 Oct 2011 08:05:08 +0000 (08:05 +0000)] 
memcheck/tests/err_disable4: Increase thread stack size a little

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

13 years agoUpdate exp file. Back trace changed due to r12108.
Florian Krohm [Sat, 8 Oct 2011 15:58:26 +0000 (15:58 +0000)] 
Update exp file. Back trace changed due to r12108.

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

13 years agoOn systems where /proc/sys/kernel/yama/ptrace_scope exists we need to
Florian Krohm [Sat, 8 Oct 2011 15:27:36 +0000 (15:27 +0000)] 
On systems where /proc/sys/kernel/yama/ptrace_scope exists we need to
check its value to avoid testcase failure.

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

13 years agoFilter around some debuginfo problems with ld.so on SLES11
Florian Krohm [Sat, 8 Oct 2011 12:41:12 +0000 (12:41 +0000)] 
Filter around some debuginfo problems with ld.so on SLES11
Patch by Christian Borntraeger (borntraeger@de.ibm.com).

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

13 years agodrd: Use Vg_DebugMsg for debug messages
Bart Van Assche [Sat, 8 Oct 2011 08:56:27 +0000 (08:56 +0000)] 
drd: Use Vg_DebugMsg for debug messages

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

13 years agodrd: Convert a few VG_(message)() calls into VG_(maybe_record_error)() calls
Bart Van Assche [Sat, 8 Oct 2011 08:54:57 +0000 (08:54 +0000)] 
drd: Convert a few VG_(message)() calls into VG_(maybe_record_error)() calls

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

13 years agoDRD, refactoring: Introduce DRD_(trace_msg)()
Bart Van Assche [Sat, 8 Oct 2011 08:29:29 +0000 (08:29 +0000)] 
DRD, refactoring: Introduce DRD_(trace_msg)()

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

13 years agoAdd a new .stdout.exp file, for older glibcs that print negative nans
Julian Seward [Fri, 7 Oct 2011 12:45:49 +0000 (12:45 +0000)] 
Add a new .stdout.exp file, for older glibcs that print negative nans
without a minus sign.

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

13 years agoRemove two junk commas that got committed in r12117.
Julian Seward [Fri, 7 Oct 2011 12:41:48 +0000 (12:41 +0000)] 
Remove two junk commas that got committed in r12117.

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

13 years agoAdd a new .stdout.exp file, for older glibcs that print negative nans
Julian Seward [Fri, 7 Oct 2011 12:20:46 +0000 (12:20 +0000)] 
Add a new .stdout.exp file, for older glibcs that print negative nans
without a minus sign.

Also, fix incorrect filename in Makefile.am committed in r12116.

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

13 years agoAdd a new .stdout.exp file, for older glibcs that print negative nans
Julian Seward [Fri, 7 Oct 2011 12:14:05 +0000 (12:14 +0000)] 
Add a new .stdout.exp file, for older glibcs that print negative nans
without a minus sign.

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

13 years agoAdd a new .stdout.exp file, for older glibcs that print negative nans
Julian Seward [Fri, 7 Oct 2011 12:10:27 +0000 (12:10 +0000)] 
Add a new .stdout.exp file, for older glibcs that print negative nans
without a minus sign.  (sigh)

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

13 years agoperf/tinycc.c: Avoid that clang warns about out-of-bounds accesses for
Bart Van Assche [Fri, 7 Oct 2011 09:49:44 +0000 (09:49 +0000)] 
perf/tinycc.c: Avoid that clang warns about out-of-bounds accesses for
array tab[] and also avoid that clang warns about the formatting flag 'L'.

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

13 years agomemcheck/tests/unit_libcbase.c: Convert from old-style gcc designated
Bart Van Assche [Fri, 7 Oct 2011 09:45:14 +0000 (09:45 +0000)] 
memcheck/tests/unit_libcbase.c: Convert from old-style gcc designated
initializers to C99-style designated initializers. According to the gcc manual,
the former syntax is obsolete since gcc 2.5
(see also http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Designated-Inits.html).

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

13 years agomemcheck/tests/err_disable4: Reduce memory footprint further.
Bart Van Assche [Fri, 7 Oct 2011 09:41:58 +0000 (09:41 +0000)] 
memcheck/tests/err_disable4: Reduce memory footprint further.

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