Commit Graph

8859 Commits

Author SHA1 Message Date
Bart Van Assche
ca5c77ac7e Set svn:executable property
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12138
2011-10-12 06:01:39 +00:00
Bart Van Assche
b7a5b789ef drd: Enable XML output. See also #282949. To do: document the output format.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12137
2011-10-11 19:08:39 +00:00
Bart Van Assche
337b3b5525 Emit <state>RUNNING</state> earlier
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12136
2011-10-11 18:50:14 +00:00
Bart Van Assche
99066365d5 Add format specifier %ps: only escape XML-metacharacters for --xml=yes
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12135
2011-10-11 18:49:35 +00:00
Bart Van Assche
dfcdba8bdb Make sure that exp-sgcheck/tests/stackerr passes on openSUSE 11.4 x86
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12134
2011-10-11 18:17:48 +00:00
Bart Van Assche
64f66e209a 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
2011-10-11 10:56:11 +00:00
Bart Van Assche
75ef4aad27 Update expected output - the ppc output changed due to r12038.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12132
2011-10-10 06:10:11 +00:00
Florian Krohm
5f2312e2a9 First round of changes to get make dist working again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12131
2011-10-09 23:28:47 +00:00
Florian Krohm
c8ebba56ed 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
2011-10-09 19:58:19 +00:00
Bart Van Assche
0afbfb3922 none/tests/shell: An attempt to compensate for variations in bash error messages
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12129
2011-10-09 08:48:22 +00:00
Bart Van Assche
972d2598ed memcheck/tests/err_disable4: Increase thread stack size a little
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12128
2011-10-09 08:05:08 +00:00
Florian Krohm
8c0229599d Update exp file. Back trace changed due to r12108.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12125
2011-10-08 15:58:26 +00:00
Florian Krohm
8de0555f0c 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
2011-10-08 15:27:36 +00:00
Florian Krohm
d513b34dad 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
2011-10-08 12:41:12 +00:00
Bart Van Assche
92017bcd59 drd: Use Vg_DebugMsg for debug messages
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12122
2011-10-08 08:56:27 +00:00
Bart Van Assche
c05ada3180 drd: Convert a few VG_(message)() calls into VG_(maybe_record_error)() calls
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12121
2011-10-08 08:54:57 +00:00
Bart Van Assche
9d1823dac9 DRD, refactoring: Introduce DRD_(trace_msg)()
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12120
2011-10-08 08:29:29 +00:00
Julian Seward
2eac6e7c8f 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
2011-10-07 12:45:49 +00:00
Julian Seward
a100fd0ade Remove two junk commas that got committed in r12117.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12118
2011-10-07 12:41:48 +00:00
Julian Seward
9d56c844ff 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
2011-10-07 12:20:46 +00:00
Julian Seward
823eb4425e 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
2011-10-07 12:14:05 +00:00
Julian Seward
385574f3c2 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
2011-10-07 12:10:27 +00:00
Bart Van Assche
8094ca4c43 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
2011-10-07 09:49:44 +00:00
Bart Van Assche
31a228d817 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
2011-10-07 09:45:14 +00:00
Bart Van Assche
64639894d6 memcheck/tests/err_disable4: Reduce memory footprint further.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12112
2011-10-07 09:41:58 +00:00
Bart Van Assche
c11090abde 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
2011-10-07 09:41:14 +00:00
Bart Van Assche
7dab1bd66a 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
2011-10-07 09:39:56 +00:00
Bart Van Assche
fa87829efe Update Subversion ignore list
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12109
2011-10-06 19:09:06 +00:00
Bart Van Assche
71a513f01a 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
2011-10-06 19:08:37 +00:00
Bart Van Assche
c19fbe2e9a helgrind/tests/pth_barrier*: Update expected output after drd/tests/pth_barrier.c changes
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12107
2011-10-06 06:39:02 +00:00
Florian Krohm
85f41f4c8f Declare _exit as "noreturn". This will avoid a GCC warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12106
2011-10-05 14:51:55 +00:00
Florian Krohm
3d2244f569 Fix GCC warnings about incompatible pointer assignments.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12105
2011-10-05 14:49:12 +00:00
Florian Krohm
dc608b4b58 Declare _exit as "noreturn". This will avoid a GCC warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12104
2011-10-05 14:36:00 +00:00
Bart Van Assche
58b046b78d 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
2011-10-05 13:10:30 +00:00
Tom Hughes
d991dfe727 More fixes for unaligned accesses in the debuginfo code. BZ#282527.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12102
2011-10-05 08:48:07 +00:00
Julian Seward
0eef127a30 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
2011-10-05 07:39:07 +00:00
Florian Krohm
31bc246787 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
2011-10-05 03:29:57 +00:00
Florian Krohm
ddd11cf638 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
2011-10-05 03:09:01 +00:00
Florian Krohm
7a5d4dd13a 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
2011-10-05 02:34:33 +00:00
Florian Krohm
8d6e98bdfd 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
2011-10-04 20:14:59 +00:00
Florian Krohm
1816005ef7 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
2011-10-04 16:53:34 +00:00
Bart Van Assche
4a13377cfc 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
2011-10-04 16:28:42 +00:00
Florian Krohm
15d93bd860 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
2011-10-04 03:55:04 +00:00
Florian Krohm
d2b0c7d982 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
2011-10-04 03:33:59 +00:00
Florian Krohm
c8d25c1a22 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
2011-10-04 03:15:38 +00:00
Florian Krohm
ad7a355b4a 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
2011-10-03 23:39:54 +00:00
Florian Krohm
d13b1b34c8 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
2011-10-03 23:05:56 +00:00
Tom Hughes
64d14c247b Fix another read_UInt that should be read_Addr.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12089
2011-10-03 17:01:57 +00:00
Florian Krohm
080f2bb992 Update names of vgdb pipes in documentation. Followup to r12071.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12088
2011-10-03 16:55:26 +00:00
Julian Seward
ef47922e1a Limit number of backtrace frames to 3 so as to avoid junk frames.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12087
2011-10-03 16:15:16 +00:00