9433 Commits

Author SHA1 Message Date
Tom Hughes
b53fdb8ea7 Add support for the CDROM_GET_CAPABILITY ioctl based on patch
from Nick Black. Fixes BZ#302827.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12726
2012-07-11 12:02:06 +00:00
Julian Seward
c37b405fc3 Note 290006 fixage.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12725
2012-07-11 00:06:35 +00:00
Philippe Waroquiers
2b25e3f059 remove 302800 (bug invalid and/or covered by --soname-synonyms)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12724
2012-07-07 15:53:26 +00:00
Philippe Waroquiers
a059322c40 remove 301204 (already in NEWS fixed section)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12723
2012-07-07 15:44:06 +00:00
Bart Van Assche
e744067f88 none/tests/ifunc: Only run this test if the "ifunc" executable has been built
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12722
2012-07-07 06:13:55 +00:00
Philippe Waroquiers
74bc30c150 295590 Helgrind: Assertion 'cvi->nWaiters > 0' failed when cond var being waited upon destroyed
* when cond var is destroyed, in the PRE, report an error if nwaiters > 0.
* when cond_wait succeeds, get the cond var but do not create one in helgrind
  (it must exist if cond_wait was done).
  Report an error if cond not found (assuming this is caused by a destroy
  done while the thread was cond_wait-ing).
* added a test


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12721
2012-07-06 23:38:24 +00:00
Philippe Waroquiers
831cddf0a1 fix 303127 Power test suite fixes for frsqrte, vrefp, and vrsqrtefp instructions
The frsqrte and vrefp instructions produce an approximate result.
According to the ISA document for the POWER processor, the result will
vary in its precision for different processor implementations.  This patch
fixes the masks to be applied to the results to remove the variability
in the results.  The expected output files are also updated to reflect the
change in the result given the new masking of the result.

patch from Carl Love <cel@us.ibm.com>



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12720
2012-07-06 22:52:09 +00:00
Philippe Waroquiers
2254b8ab60 fix 303116 - Add support for the POWER instruction popcntb (Valgrind side)
patch from carll@us.ibm.com


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12719
2012-07-06 21:59:03 +00:00
Philippe Waroquiers
4160fb96ff fix 302918 Enable testing of the vmaddfp and vnsubfp instructions in the testsuite
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12718
2012-07-06 21:42:14 +00:00
Florian Krohm
bc81135c3e Enhance the check for ifunc compatibility testing.
Make sure the executable can be linked.
As observed with gcc 4.4.5 and binutils 2.20.1


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12717
2012-07-06 09:17:29 +00:00
Florian Krohm
e11cf7add1 Fix use of AC_LANG_SOURCE for ifunc attribute testing.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12716
2012-07-06 08:26:37 +00:00
Florian Krohm
1a6f7a0371 Add testcase from bugzilla #301204.
Testcase by Chantry Xavier (shiningxc@gmail.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12715
2012-07-05 21:21:37 +00:00
Philippe Waroquiers
cb808f8353 Improve behaviour of mempool redzone checking if user does not follow the manual (297911)
User is supposed to mark the superblock(s) of a mempool as noaccess.
As Valgrind objective is to find bugs for users which are doing bugs, let's even
find (some) bugs if the user has a bug in the bug detection code.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12714
2012-07-05 21:11:12 +00:00
Bart Van Assche
2a476a846f drd/tests/filter_stderr: Remove a space and two backslashes
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12713
2012-07-05 16:21:49 +00:00
Julian Seward
fd343fe287 Finish initial triaging pass.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12712
2012-07-05 13:26:07 +00:00
Tom Hughes
f5b7153e37 Allow an IFunc symbol to be merged with a non-IFunc symbol that
represents the underlying resolver function. Fixes BZ#301204.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12711
2012-07-05 09:42:31 +00:00
Philippe Waroquiers
93f019ff73 fix 302709 valgrind for ARM needs extra tls support for android emulator
Allow Valgrind to run on android emulator.
+ added README.android_emulator giving some details about versions used.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12710
2012-07-04 21:59:29 +00:00
Julian Seward
8837568969 Commit results of triagery so far.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12709
2012-07-04 20:30:47 +00:00
Bart Van Assche
adcdb6b0fb drd/tests/tc04_free_lock: Use drd/tests/filter_stderr
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12708
2012-07-04 10:43:12 +00:00
Petar Jovanovic
0b52be6035 Including additional header file to syswrap-linux.c to see VG_(get_SP).
Removing a warning of 'implicit declaration of function vgPlain_get_SP' when
compiled for MIPS. Done by including an appropriate header file.
Also, minor style issue correction for  #define PSRAn_BE(n,s,t,a) macro.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12707
2012-07-03 21:02:42 +00:00
Florian Krohm
c01fe34536 Add new .exp file to EXTRA_DIST
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12706
2012-07-03 20:45:00 +00:00
Florian Krohm
bd406e6073 Yet another exp file for dash (0.5.7-2ubuntu2).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12705
2012-07-03 18:43:40 +00:00
Florian Krohm
b2a2c16cfc Updated list of ignored files
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12704
2012-07-03 14:03:49 +00:00
Florian Krohm
a9d7ff4340 Update exp file (should have been part of r12701).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12703
2012-07-03 13:58:59 +00:00
Bart Van Assche
1a2d5e0c03 drd/tests: Make the expected output match the actual output
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12702
2012-07-03 07:53:34 +00:00
Florian Krohm
1d6a416ed8 Add command line flag --trace-notabove which I've found handy.
There are 4 cases now:
(1) Neither --trace-notbelow nor --trace-notabove are given
    No superblocks are traced (same behaviour as before)
(2) --trace-notbelow=YY is given
    Superblocks in interval [YY ... ] are traced. (same behaviour as before)
(3) --trace-notabove=XX is given
    Superblocks in interval [0 ... XX] are traced.
(4) Both --trace-notbelow=YY and --trace-notabove=XX are given
    Superblocks in the interval [XX..YY] are traced


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12701
2012-07-02 21:13:34 +00:00
Bart Van Assche
0eec2595ca drd/tests: Follow-up for r12690
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12700
2012-07-02 18:47:44 +00:00
Florian Krohm
189424e55d Final round of moving fixed bugs from 3_7_BUGSTATUS to NEWS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12699
2012-07-02 15:03:29 +00:00
Florian Krohm
b7cd4ac062 Move more fixed bugs from 3_7_BUGSTATUS to NEWS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12698
2012-07-02 12:14:00 +00:00
Florian Krohm
6ca1828465 Removed some bugs that were marked invalid. I did not move them to NEWS
because I don't think we want to report those.
Moved some more from 3_7_BUGSTATUS to NEWS because they are marked as FIXED
in Bugzilla.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12697
2012-07-01 21:55:13 +00:00
Florian Krohm
ba4f93d1e4 Remove some more entries from 3_7_BUGSTATUS that were already in NEWS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12696
2012-07-01 21:24:53 +00:00
Philippe Waroquiers
4cefae5c87 move the mips port bug entry from 3_7_BUGSTATUS.txt to NEWS
Note: a paragraph in PLATFORM CHANGES section of NEWS indicating
the addition of the MIPS port (and some details) would be good
(as this is a major change).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12695
2012-07-01 20:35:26 +00:00
Philippe Waroquiers
0dd13768f3 Move one more fixed bug from 3_7_BUGSTATUS.txt to NEWS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12694
2012-07-01 20:31:43 +00:00
Philippe Waroquiers
c8d59b78f6 Move some fixed bugs from 3_7_BUGSTATUS.txt to NEWS.
Removed some bugs from 3_7_BUGSTATUS.txt that were already in NEWS.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12693
2012-07-01 20:06:04 +00:00
Julian Seward
1c0ac5bc3a Update with header lines for all reported bugs so far.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12692
2012-06-30 20:38:44 +00:00
Julian Seward
b33a0b0bc9 Don't be spooked by DW_TAG_{structure,class,union}_type that has only
a DW_AT_declaration but no name.  Just make up a name and add the
type.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12691
2012-06-30 20:21:58 +00:00
Bart Van Assche
8b1be3d95c drd/tests: Rework r12662 as suggested by Florian Krohm
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12690
2012-06-30 18:00:08 +00:00
Julian Seward
c7dcb22a6b Add a text file giving a top-level summary of all bugs reported since
3.7.0 was released, that have not been fixed.  (Old habits die hard!)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12689
2012-06-30 16:51:00 +00:00
Julian Seward
46474288f5 Update following some bug triaging.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12688
2012-06-30 16:44:45 +00:00
Petar Jovanovic
45efe90efe Getting rid of the warnings about incompatible pointer types on MIPS.
vki_signalfn_t has been incorrectly defined in vki-mips32-linux.h, and that
caused warnings elsewhere.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12687
2012-06-30 02:43:29 +00:00
Petar Jovanovic
4898947711 Removing the warning about defined yet unused function on MIPS.
Getting rid of the warning for the function handler_unsup_insn which is not
used on MIPS.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12686
2012-06-30 02:12:13 +00:00
Florian Krohm
5dec28d4af Increase allowed size of a back-trace to 500 frames.
This limit is large enough for all practical purposes. It exists
only to sanity check the value specified with --num-callers.
Be frugal in record_ExeContext_wrk and only allocate on the stack 
as many frames as needed. 
Testcase included.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12685
2012-06-29 21:20:52 +00:00
Julian Seward
e55e352fc6 Generate type-correct IR (always a good thing :-) when instrumenting
256 bit stores with --undef-value-errors=no.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12684
2012-06-29 15:29:37 +00:00
Florian Krohm
305dc84d05 Updated.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12683
2012-06-29 14:23:22 +00:00
Julian Seward
22e556aef7 Remove an extraneous "extern".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12682
2012-06-28 19:29:01 +00:00
Julian Seward
241b6776ba Fix inline assembly for the "lfiwax" insn test. #302536.
(Carl Love, carll@us.ibm.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12681
2012-06-28 18:40:43 +00:00
Petar Jovanovic
8dabfc8bef Adding README.mips to distribution documents.
Small change to dist-docs.xml to include README.mips.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12680
2012-06-28 09:58:05 +00:00
Julian Seward
19940978a4 Use multiple processors to build these tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12679
2012-06-28 09:12:58 +00:00
Petar Jovanovic
7be71ddd81 Adding README.mips to EXTRA_DIST in Makefile.am.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12678
2012-06-27 16:07:30 +00:00
Petar Jovanovic
c370a82bbb Calculate the size of vki_elf_gregset_t via operator sizeof on MIPS platforms.
The value VKI_ELF_NGREG is now defined with the the help of operator sizeof.
Incorrect size triggered an assertion in the file coredump-elf.c.
The issue was reported as coredump problem at:
https://bugs.kde.org/show_bug.cgi?id=270777


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12677
2012-06-27 14:14:26 +00:00