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

13 years agoinclude/vki/vki-linux.h: Remove __attribute_const__ definition since it
Bart Van Assche [Fri, 7 Oct 2011 09:41:14 +0000 (09:41 +0000)] 
include/vki/vki-linux.h: Remove __attribute_const__ definition since it
isn't used anywhere inside the Valgrind project.

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

13 years agoAvoid that using any of the VALGRIND_DISABLE_ERROR_REPORTING,
Bart Van Assche [Fri, 7 Oct 2011 09:39:56 +0000 (09:39 +0000)] 
Avoid that using any of the VALGRIND_DISABLE_ERROR_REPORTING,
VALGRIND_ENABLE_ERROR_REPORTING, VALGRIND_DO_ADDED_LEAK_CHECK,
VALGRIND_DO_CHANGED_LEAK_CHECK macros causes gcc 4.6 to print
a warning message about assigning a value to an unused variable.

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

13 years agoUpdate Subversion ignore list
Bart Van Assche [Thu, 6 Oct 2011 19:09:06 +0000 (19:09 +0000)] 
Update Subversion ignore list

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

13 years agoFormat functions: change format specifier %t into %pS. Remove the _no_f_c formatting...
Bart Van Assche [Thu, 6 Oct 2011 19:08:37 +0000 (19:08 +0000)] 
Format functions: change format specifier %t into %pS. Remove the _no_f_c formatting function variants.

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

13 years agohelgrind/tests/pth_barrier*: Update expected output after drd/tests/pth_barrier.c...
Bart Van Assche [Thu, 6 Oct 2011 06:39:02 +0000 (06:39 +0000)] 
helgrind/tests/pth_barrier*: Update expected output after drd/tests/pth_barrier.c changes

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

13 years agoDeclare _exit as "noreturn". This will avoid a GCC warning.
Florian Krohm [Wed, 5 Oct 2011 14:51:55 +0000 (14:51 +0000)] 
Declare _exit as "noreturn". This will avoid a GCC warning.

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

13 years agoFix GCC warnings about incompatible pointer assignments.
Florian Krohm [Wed, 5 Oct 2011 14:49:12 +0000 (14:49 +0000)] 
Fix GCC warnings about incompatible pointer assignments.

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

13 years agoDeclare _exit as "noreturn". This will avoid a GCC warning.
Florian Krohm [Wed, 5 Oct 2011 14:36:00 +0000 (14:36 +0000)] 
Declare _exit as "noreturn". This will avoid a GCC warning.

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

13 years agodrd, s390: Make the annotate_ignore_* and the pth_barrier* tests produce
Bart Van Assche [Wed, 5 Oct 2011 13:10:30 +0000 (13:10 +0000)] 
drd, s390: Make the annotate_ignore_* and the pth_barrier* tests produce
the same output on s390 as on other systems (not tested yet).

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

13 years agoMore fixes for unaligned accesses in the debuginfo code. BZ#282527.
Tom Hughes [Wed, 5 Oct 2011 08:48:07 +0000 (08:48 +0000)] 
More fixes for unaligned accesses in the debuginfo code. BZ#282527.

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

13 years agoppc64-linux only: fix incorrect line number reports in client requests
Julian Seward [Wed, 5 Oct 2011 07:39:07 +0000 (07:39 +0000)] 
ppc64-linux only: fix incorrect line number reports in client requests
that create stack traces.  Fixes #283243.

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

13 years agoAttempt to unbreak this testcase on systems with GCC 4.5.1 and newer.
Florian Krohm [Wed, 5 Oct 2011 03:29:57 +0000 (03:29 +0000)] 
Attempt to unbreak this testcase on systems with GCC 4.5.1 and newer.
I suspect the breakage is related to GCC's debug info.
Replace initialization with explicit assignment statement.

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

13 years agoChange the filter order. Filename base backtrace filtering
Florian Krohm [Wed, 5 Oct 2011 03:09:01 +0000 (03:09 +0000)] 
Change the filter order. Filename base backtrace filtering
must come first before the filename gets changed to bogus.S
This should unbreak the failure on x86_64. But I can't test it.
We shall see.

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

13 years agoUpdate exp files for memcheck's supp_unknown testcase.
Florian Krohm [Wed, 5 Oct 2011 02:34:33 +0000 (02:34 +0000)] 
Update exp files for memcheck's supp_unknown testcase.
Promote the s390x exp file to be the golden one because it has the
correct result. Add an exp-kfail file for those platforms where the testcase
fails (x86).

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

13 years agoRewrite badjump and badjump2 such that the error occurs now on the
Florian Krohm [Tue, 4 Oct 2011 20:14:59 +0000 (20:14 +0000)] 
Rewrite badjump and badjump2 such that the error occurs now on the
same line for all architectures.
Promote the s390x exp file to be the golden one because it has the
correct result. Add exp-kfail files for those platforms where the testcases
fail (x86).

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

13 years agoChange the nightly script to gather information about the run
Florian Krohm [Tue, 4 Oct 2011 16:53:34 +0000 (16:53 +0000)] 
Change the nightly script to gather information about the run
and its environment.
Simplify z900.sendmail accordingly.

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

13 years agoHelgrind and exp-sgcheck, XML error reporting: move the code printing <kind>...<...
Bart Van Assche [Tue, 4 Oct 2011 16:28:42 +0000 (16:28 +0000)] 
Helgrind and exp-sgcheck, XML error reporting: move the code printing <kind>...</kind> out of a switch statement.

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

13 years agoFix execve2 testcase.
Florian Krohm [Tue, 4 Oct 2011 03:55:04 +0000 (03:55 +0000)] 
Fix execve2 testcase.
First, due to a typo in Makefile.am it was compiled with the wrong flags.
Secondly, the testcase gives an incorrect backtrace on x86 (missing the
line where the error occurs). Updated the generic exp to contain the
correct result and added exp-kfail for platforms where this test fails.

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

13 years agoTurns out there is at least one version of glibc tat contains
Florian Krohm [Tue, 4 Oct 2011 03:33:59 +0000 (03:33 +0000)] 
Turns out there is at least one version of glibc tat contains
a file name writev.c. This screws our filename based backtrace
filtering. Rename writev to writev1 to avoid that problem.

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

13 years agoThe testcases execve1 and fwrite actually fail on x86 in the sense that
Florian Krohm [Tue, 4 Oct 2011 03:15:38 +0000 (03:15 +0000)] 
The testcases execve1 and fwrite actually fail on x86 in the sense that
they produce an incomplete backtrace. Added exp-kfail files to capture the
results with the incomplete backtraces. Updated the generic exp files.

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

13 years agoImprove filtering of backtrace noise in the memcheck bucket
Florian Krohm [Mon, 3 Oct 2011 23:39:54 +0000 (23:39 +0000)] 
Improve filtering of backtrace noise in the memcheck bucket
and update exp files accordingly. This works well for x86
and all testcases pass on my machine.
New file filter_memcheck to do the work.
There is a bit of a ripple here as filter_memcheck requires
command line arguments to be passed in. So all users of
filter_memcheck (direct or indirect) were updated as well.
filter_stderr was simplified as was filter_libc.

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

13 years agoRename testcase from execve to execve1.
Florian Krohm [Mon, 3 Oct 2011 23:05:56 +0000 (23:05 +0000)] 
Rename testcase from execve to execve1.
The reason is that the point of failure is in glibc
in a file named execve.c  The backtrace filtering
(which is filename based) cannot distinguish the
two execve.c file names. Renaming the testcsae does the
trick.

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

13 years agoFix another read_UInt that should be read_Addr.
Tom Hughes [Mon, 3 Oct 2011 17:01:57 +0000 (17:01 +0000)] 
Fix another read_UInt that should be read_Addr.

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