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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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