]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
13 years agodrd/tests: Make the expected output match the actual output
Bart Van Assche [Tue, 3 Jul 2012 07:53:34 +0000 (07:53 +0000)] 
drd/tests: Make the expected output match the actual output

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

13 years agoAdd command line flag --trace-notabove which I've found handy.
Florian Krohm [Mon, 2 Jul 2012 21:13:34 +0000 (21:13 +0000)] 
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

13 years agodrd/tests: Follow-up for r12690
Bart Van Assche [Mon, 2 Jul 2012 18:47:44 +0000 (18:47 +0000)] 
drd/tests: Follow-up for r12690

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

13 years agoFinal round of moving fixed bugs from 3_7_BUGSTATUS to NEWS.
Florian Krohm [Mon, 2 Jul 2012 15:03:29 +0000 (15:03 +0000)] 
Final round of moving fixed bugs from 3_7_BUGSTATUS to NEWS.

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

13 years agoMove more fixed bugs from 3_7_BUGSTATUS to NEWS.
Florian Krohm [Mon, 2 Jul 2012 12:14:00 +0000 (12:14 +0000)] 
Move more fixed bugs from 3_7_BUGSTATUS to NEWS.

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

13 years agoRemoved some bugs that were marked invalid. I did not move them to NEWS
Florian Krohm [Sun, 1 Jul 2012 21:55:13 +0000 (21:55 +0000)] 
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

13 years agoRemove some more entries from 3_7_BUGSTATUS that were already in NEWS.
Florian Krohm [Sun, 1 Jul 2012 21:24:53 +0000 (21:24 +0000)] 
Remove some more entries from 3_7_BUGSTATUS that were already in NEWS.

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

13 years agomove the mips port bug entry from 3_7_BUGSTATUS.txt to NEWS
Philippe Waroquiers [Sun, 1 Jul 2012 20:35:26 +0000 (20:35 +0000)] 
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

13 years agoMove one more fixed bug from 3_7_BUGSTATUS.txt to NEWS.
Philippe Waroquiers [Sun, 1 Jul 2012 20:31:43 +0000 (20:31 +0000)] 
Move one more fixed bug from 3_7_BUGSTATUS.txt to NEWS.

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

13 years agoMove some fixed bugs from 3_7_BUGSTATUS.txt to NEWS.
Philippe Waroquiers [Sun, 1 Jul 2012 20:06:04 +0000 (20:06 +0000)] 
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

13 years agoUpdate with header lines for all reported bugs so far.
Julian Seward [Sat, 30 Jun 2012 20:38:44 +0000 (20:38 +0000)] 
Update with header lines for all reported bugs so far.

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

13 years agoDon't be spooked by DW_TAG_{structure,class,union}_type that has only
Julian Seward [Sat, 30 Jun 2012 20:21:58 +0000 (20:21 +0000)] 
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

13 years agodrd/tests: Rework r12662 as suggested by Florian Krohm
Bart Van Assche [Sat, 30 Jun 2012 18:00:08 +0000 (18:00 +0000)] 
drd/tests: Rework r12662 as suggested by Florian Krohm

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

13 years agoAdd a text file giving a top-level summary of all bugs reported since
Julian Seward [Sat, 30 Jun 2012 16:51:00 +0000 (16:51 +0000)] 
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

13 years agoUpdate following some bug triaging.
Julian Seward [Sat, 30 Jun 2012 16:44:45 +0000 (16:44 +0000)] 
Update following some bug triaging.

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

13 years agoGetting rid of the warnings about incompatible pointer types on MIPS.
Petar Jovanovic [Sat, 30 Jun 2012 02:43:29 +0000 (02:43 +0000)] 
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

13 years agoRemoving the warning about defined yet unused function on MIPS.
Petar Jovanovic [Sat, 30 Jun 2012 02:12:13 +0000 (02:12 +0000)] 
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

13 years agoIncrease allowed size of a back-trace to 500 frames.
Florian Krohm [Fri, 29 Jun 2012 21:20:52 +0000 (21:20 +0000)] 
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

13 years agoGenerate type-correct IR (always a good thing :-) when instrumenting
Julian Seward [Fri, 29 Jun 2012 15:29:37 +0000 (15:29 +0000)] 
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

13 years agoUpdated.
Florian Krohm [Fri, 29 Jun 2012 14:23:22 +0000 (14:23 +0000)] 
Updated.

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

13 years agoRemove an extraneous "extern".
Julian Seward [Thu, 28 Jun 2012 19:29:01 +0000 (19:29 +0000)] 
Remove an extraneous "extern".

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

13 years agoFix inline assembly for the "lfiwax" insn test. #302536.
Julian Seward [Thu, 28 Jun 2012 18:40:43 +0000 (18:40 +0000)] 
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

13 years agoAdding README.mips to distribution documents.
Petar Jovanovic [Thu, 28 Jun 2012 09:58:05 +0000 (09:58 +0000)] 
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

13 years agoUse multiple processors to build these tests.
Julian Seward [Thu, 28 Jun 2012 09:12:58 +0000 (09:12 +0000)] 
Use multiple processors to build these tests.

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

13 years agoAdding README.mips to EXTRA_DIST in Makefile.am.
Petar Jovanovic [Wed, 27 Jun 2012 16:07:30 +0000 (16:07 +0000)] 
Adding README.mips to EXTRA_DIST in Makefile.am.

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

13 years agoCalculate the size of vki_elf_gregset_t via operator sizeof on MIPS platforms.
Petar Jovanovic [Wed, 27 Jun 2012 14:14:26 +0000 (14:14 +0000)] 
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

13 years agoAdding README.mips to Valgrind root directory.
Petar Jovanovic [Tue, 26 Jun 2012 11:30:18 +0000 (11:30 +0000)] 
Adding README.mips to Valgrind root directory.

The file lists supported platforms and tools, and it gives suggestions how to
use configure options depending on platform and toolchain.
Previously, these instructions were available at:
https://bugs.kde.org/show_bug.cgi?id=270777.

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

13 years agoFinalise the expected output.
Julian Seward [Mon, 25 Jun 2012 07:55:53 +0000 (07:55 +0000)] 
Finalise the expected output.

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

13 years agoImprove testing of AVX FP comparisons.
Julian Seward [Mon, 25 Jun 2012 07:52:47 +0000 (07:52 +0000)] 
Improve testing of AVX FP comparisons.

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

13 years agoAdd handling of 256-bit vector FP arithmetic ops, so as to support AVX.
Julian Seward [Mon, 25 Jun 2012 07:52:15 +0000 (07:52 +0000)] 
Add handling of 256-bit vector FP arithmetic ops, so as to support AVX.

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

13 years agoUpdate.
Julian Seward [Sun, 24 Jun 2012 15:11:48 +0000 (15:11 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Sun, 24 Jun 2012 14:58:08 +0000 (14:58 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Sun, 24 Jun 2012 14:27:06 +0000 (14:27 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Sun, 24 Jun 2012 14:00:56 +0000 (14:00 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Sun, 24 Jun 2012 13:44:35 +0000 (13:44 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Sun, 24 Jun 2012 13:28:04 +0000 (13:28 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Sun, 24 Jun 2012 11:04:08 +0000 (11:04 +0000)] 
Update.

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

13 years agoAllow each test to be run multiple times (default is 3), rather than
Julian Seward [Sun, 24 Jun 2012 10:30:53 +0000 (10:30 +0000)] 
Allow each test to be run multiple times (default is 3), rather than
just once.

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

13 years agoUpdate.
Julian Seward [Sun, 24 Jun 2012 09:10:38 +0000 (09:10 +0000)] 
Update.

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

13 years agoFix compiler warnings for ppc test cases. Patch from Carl Love (carll@us.ibm.com...
Bart Van Assche [Sat, 23 Jun 2012 11:04:01 +0000 (11:04 +0000)] 
Fix compiler warnings for ppc test cases. Patch from Carl Love (carll@us.ibm.com). See also #302205.

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

13 years agodrd: Add yet another expected output file
Bart Van Assche [Sat, 23 Jun 2012 10:15:17 +0000 (10:15 +0000)] 
drd: Add yet another expected output file

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

13 years agoInitializing destination reg for MoveIns test for MIPS.
Petar Jovanovic [Fri, 22 Jun 2012 13:44:04 +0000 (13:44 +0000)] 
Initializing destination reg for MoveIns test for MIPS.

The test none/tests/mips32/MoveIns.c did not initialize destination register,
and that is important for movn.s and movn.d instructions. This improves the
test as we will get the same stdout with different compilers and options now.

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

13 years agoUpdate these for Linaro's pre-release build of Ubuntu 12.04, with
Julian Seward [Fri, 22 Jun 2012 09:34:58 +0000 (09:34 +0000)] 
Update these for Linaro's pre-release build of Ubuntu 12.04, with
Linaro gcc 4.6.3, running on an A9.  Not sure why these need to be
updated, but they results are same as native on said platform, so am
not worried.

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

13 years agoAdd test cases for UHADD16.
Julian Seward [Fri, 22 Jun 2012 09:28:58 +0000 (09:28 +0000)] 
Add test cases for UHADD16.

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

13 years agoCorrecting sys_shmdt wrapper for MIPS Linux.
Petar Jovanovic [Thu, 21 Jun 2012 17:33:35 +0000 (17:33 +0000)] 
Correcting sys_shmdt wrapper for MIPS Linux.

This patch fixes incorrect handling of sys_shmdt for MIPS. Linux wrappers have
been added for sys_sigprocmask, sys_timerfd_create, sys_timerfd_gettime, and
sys_timerfd_settime on MIPS.
The bug has been reported at https://bugs.kde.org/show_bug.cgi?id=270777 as
sh_mat issue, and it can be reproduced with shmat-sample.c from
https://bugs.kde.org/show_bug.cgi?id=222545.
The change also fixes sigprocmask from memcheck tests.

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

13 years agoUpdate.
Julian Seward [Wed, 20 Jun 2012 11:46:42 +0000 (11:46 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Wed, 20 Jun 2012 10:21:22 +0000 (10:21 +0000)] 
Update.

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

13 years agoAdding MIPS-specific wrapper for syscall pipe.
Petar Jovanovic [Tue, 19 Jun 2012 18:30:23 +0000 (18:30 +0000)] 
Adding MIPS-specific wrapper for syscall pipe.

Syscall pipe returns two descriptors in two registers, and thus a generic
Linux wrapper is not sufficient. This fixes none/tests/fdleak_pipe.
MIPS port is currently tracked as bug #270777.

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

13 years agoUpdate.
Julian Seward [Mon, 18 Jun 2012 23:17:46 +0000 (23:17 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Mon, 18 Jun 2012 22:10:03 +0000 (22:10 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Mon, 18 Jun 2012 16:40:05 +0000 (16:40 +0000)] 
Update.

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

13 years agodrd: Make sure that frame unwind information is generated for DRD intercepts
Bart Van Assche [Sun, 17 Jun 2012 08:46:32 +0000 (08:46 +0000)] 
drd: Make sure that frame unwind information is generated for DRD intercepts
such that pthread_cancel() works properly. See also Ulrich Drepper, Cancellation
and C++ Exceptions, 2010 (http://udrepper.livejournal.com/21541.html).

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

13 years agodrd: Add two regression test output files
Bart Van Assche [Sun, 17 Jun 2012 06:13:58 +0000 (06:13 +0000)] 
drd: Add two regression test output files

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

13 years agoRecognize clang version correctly. Closes #301984.
Bart Van Assche [Sun, 17 Jun 2012 05:53:02 +0000 (05:53 +0000)] 
Recognize clang version correctly. Closes #301984.

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

13 years agoAlign VG_(threads)[]
Bart Van Assche [Sun, 17 Jun 2012 05:51:48 +0000 (05:51 +0000)] 
Align VG_(threads)[]

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

13 years agoAdd strchr.stderr.exp3 to memcheck/tests/Makefile.am
Bart Van Assche [Sun, 17 Jun 2012 05:51:03 +0000 (05:51 +0000)] 
Add strchr.stderr.exp3 to memcheck/tests/Makefile.am

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

13 years agoNEWS: add information about post-3.7.0 DRD changes
Bart Van Assche [Sat, 16 Jun 2012 19:02:25 +0000 (19:02 +0000)] 
NEWS: add information about post-3.7.0 DRD changes

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

13 years agodrd manual: Update according to post-3.7.0 changes
Bart Van Assche [Sat, 16 Jun 2012 18:51:16 +0000 (18:51 +0000)] 
drd manual: Update according to post-3.7.0 changes

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

13 years agomemcheck/tests/strchr: Add expected output for openSUSE 12.1
Bart Van Assche [Sat, 16 Jun 2012 18:50:04 +0000 (18:50 +0000)] 
memcheck/tests/strchr: Add expected output for openSUSE 12.1

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

13 years agoFix order of % versus * in memalign2.c new checks introduced in 12642
Philippe Waroquiers [Fri, 15 Jun 2012 22:57:40 +0000 (22:57 +0000)] 
Fix order of % versus * in memalign2.c new checks introduced in 12642
(spotted by Florian eagle eyes)

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

13 years agoFix 203877 and 301229 increase to 16Mb maximum allowed alignment for memalign() and...
Philippe Waroquiers [Fri, 15 Jun 2012 22:19:59 +0000 (22:19 +0000)] 
Fix 203877 and 301229 increase to 16Mb maximum allowed alignment for memalign() and posix_memalign
Note that VG_(arena_memalign) is not used by core or tools for the moment.
We have one single maxima for both the V core/tools and the client.
Enhanced memcheck/tests/memalign2.c to test 4 Mb and 16 Mb alignments.

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

13 years agoAdd a hack (disabled by default) that attempts to unwind the stack on
Julian Seward [Fri, 15 Jun 2012 16:20:23 +0000 (16:20 +0000)] 
Add a hack (disabled by default) that attempts to unwind the stack on
ARM by simply scanning up and looking for words that look like they
might be return addresses.  Last-ditch hack for when the CFI trail
goes cold.

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

13 years agoUpdate.
Julian Seward [Fri, 15 Jun 2012 15:48:24 +0000 (15:48 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Thu, 14 Jun 2012 23:32:44 +0000 (23:32 +0000)] 
Update.

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

13 years agoHave the inner Valgrind registering the interim_stack asap.
Philippe Waroquiers [Thu, 14 Jun 2012 22:18:50 +0000 (22:18 +0000)] 
Have the inner Valgrind registering the interim_stack asap.
This is needed to have the outer valgrind able to do stack
traces of the inner Valgrind before the main thread runs.
Without this, the outer crashes (segv) when doing a stack trace.
In mtV.txt, an ugly kludge was described to avoid this crash.
This is the clean solution replacing the kludge.

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

13 years agoFix assert in gdbserver for watchpoints watching the same address
Philippe Waroquiers [Thu, 14 Jun 2012 19:56:20 +0000 (19:56 +0000)] 
Fix assert in gdbserver for watchpoints watching the same address

GDB can create watchpoints watching the same address.
This was causing assertion failures.
To handle this, hash table (with key watched address) is replaced
by an xarray of address/lengh/kind.
Fully identical watches are ignored (either not inserted, and
not causing a problem if already deleted).

gdbserver_tests/mcwatchpoint enhanced to test duplicated watchpoints

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

13 years agoUpdate.
Julian Seward [Thu, 14 Jun 2012 08:52:11 +0000 (08:52 +0000)] 
Update.

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

13 years agoUpdate with recent notes.
Julian Seward [Wed, 13 Jun 2012 11:12:49 +0000 (11:12 +0000)] 
Update with recent notes.

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

13 years agoChange the V output file name from out-V to out-VAL.
Julian Seward [Wed, 13 Jun 2012 11:12:06 +0000 (11:12 +0000)] 
Change the V output file name from out-V to out-VAL.

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

13 years agoUpdate.
Julian Seward [Wed, 13 Jun 2012 11:11:10 +0000 (11:11 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Tue, 12 Jun 2012 15:00:00 +0000 (15:00 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Tue, 12 Jun 2012 08:46:09 +0000 (08:46 +0000)] 
Update.

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

13 years agoAvoid unused warning for ptrace_write_memory in vgdb.c (only used on some platforms)
Philippe Waroquiers [Sun, 10 Jun 2012 12:26:26 +0000 (12:26 +0000)] 
Avoid unused warning for ptrace_write_memory in vgdb.c (only used on some platforms)

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

13 years agodrd: Don't sporadically report false positives on newly allocated memory. Fixes ...
Bart Van Assche [Sun, 10 Jun 2012 10:44:05 +0000 (10:44 +0000)] 
drd: Don't sporadically report false positives on newly allocated memory. Fixes #297147.

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

13 years agoAdd a stackframe around function call. Avoids testcase hangs
Florian Krohm [Sat, 9 Jun 2012 16:19:31 +0000 (16:19 +0000)] 
Add a stackframe around function call. Avoids testcase hangs
when compiled with -O3. Found and debugged by Christian.

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

13 years agoFix typo/merge problem (replace s390x by mips32 in target.c)
Philippe Waroquiers [Sat, 9 Jun 2012 09:31:43 +0000 (09:31 +0000)] 
Fix typo/merge problem (replace s390x by mips32 in target.c)

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

13 years agoUpdate Subversion ignore lists
Bart Van Assche [Sat, 9 Jun 2012 06:33:44 +0000 (06:33 +0000)] 
Update Subversion ignore lists

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

13 years agoAdjusting the svn:executable property on none/tests/mips32/filter_stderr.
Petar Jovanovic [Sat, 9 Jun 2012 01:56:58 +0000 (01:56 +0000)] 
Adjusting the svn:executable property on none/tests/mips32/filter_stderr.

vg_regtest failed on MIPS as filter_stderr was not an executable.
MIPS port is currently tracked as bug #270777.

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

13 years agoAmend do_shadow_Dirty and do_origins_Dirty so they no longer assert
Florian Krohm [Fri, 8 Jun 2012 16:01:19 +0000 (16:01 +0000)] 
Amend do_shadow_Dirty and do_origins_Dirty so they no longer assert
if the helper call touches an odd number of bytes in memory.

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

13 years agoavoid gcc warning regarding local/global variable shadowing in cdsg test
Christian Borntraeger [Fri, 8 Jun 2012 07:13:17 +0000 (07:13 +0000)] 
avoid gcc warning regarding local/global variable shadowing in cdsg test

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

13 years agos390: also fix the memcheck testcase for cdsg regarding alignment
Christian Borntraeger [Fri, 8 Jun 2012 06:59:33 +0000 (06:59 +0000)] 
s390: also fix the memcheck testcase for cdsg regarding alignment

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

13 years agodrd: Add a suppression pattern
Bart Van Assche [Fri, 8 Jun 2012 06:59:18 +0000 (06:59 +0000)] 
drd: Add a suppression pattern

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

13 years agoCDSG needs quad word (16 byte) aligned data structures. Since the stack
Christian Borntraeger [Fri, 8 Jun 2012 06:39:43 +0000 (06:39 +0000)] 
CDSG needs quad word (16 byte) aligned data structures. Since the stack
on s390 has only 8 byte alignment gcc cant guarantee 16 byte alignment
for local variables. As a global variable gcc can do that.

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

13 years agomips32-linux port: add missing (empty) stderr.exp files.
Julian Seward [Thu, 7 Jun 2012 11:38:40 +0000 (11:38 +0000)] 
mips32-linux port: add missing (empty) stderr.exp files.

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

13 years agoMerge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
Julian Seward [Thu, 7 Jun 2012 09:32:40 +0000 (09:32 +0000)] 
Merge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
mips-valgrind@rt-rk.com, Bug 270777.

Valgrind: new non-test files for mips32-linux.

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

13 years agoMerge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
Julian Seward [Thu, 7 Jun 2012 09:23:23 +0000 (09:23 +0000)] 
Merge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
mips-valgrind@rt-rk.com, Bug 270777.

Valgrind: new non-test files for mips32-linux.

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

13 years agoMerge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
Julian Seward [Thu, 7 Jun 2012 09:13:21 +0000 (09:13 +0000)] 
Merge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
mips-valgrind@rt-rk.com, Bug 270777.

Valgrind: changes to existing files.

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

13 years agoSupport "compare double ansd swap" insns: CDS, CDSY, and CDSG
Florian Krohm [Wed, 6 Jun 2012 02:27:51 +0000 (02:27 +0000)] 
Support "compare double ansd swap" insns: CDS, CDSY, and CDSG
valgrind bits for fixing bugzilla #291865. See also VEX r2372.

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

13 years agoFixes for 'make dist'.
Julian Seward [Tue, 5 Jun 2012 11:10:19 +0000 (11:10 +0000)] 
Fixes for 'make dist'.

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

13 years agoAdd macros I_REPLACE_SONAME_FNNAME_Z{U,Z} for general end-user use.
Julian Seward [Tue, 5 Jun 2012 07:12:15 +0000 (07:12 +0000)] 
Add macros I_REPLACE_SONAME_FNNAME_Z{U,Z} for general end-user use.
The I_WRAP_SONAME_FNNAME_Z{U,Z} equivalents have been present for
years.  Seems inconsistent for the REPLACE versions to be missing.

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

13 years agoUpdate.
Julian Seward [Tue, 5 Jun 2012 00:32:51 +0000 (00:32 +0000)] 
Update.

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

13 years agoConvert avx-1 into a proper regression test.
Julian Seward [Tue, 5 Jun 2012 00:31:49 +0000 (00:31 +0000)] 
Convert avx-1 into a proper regression test.

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

13 years agoFix breakage I introduced in r12609, sigh.
Julian Seward [Tue, 5 Jun 2012 00:30:24 +0000 (00:30 +0000)] 
Fix breakage I introduced in r12609, sigh.

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

13 years agoAdd feature testing for AVX. Also make the return values into named
Julian Seward [Mon, 4 Jun 2012 07:39:30 +0000 (07:39 +0000)] 
Add feature testing for AVX.  Also make the return values into named
constants.

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

13 years agoUpdate.
Julian Seward [Sun, 3 Jun 2012 23:14:23 +0000 (23:14 +0000)] 
Update.

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

13 years agoUpdate.
Julian Seward [Sun, 3 Jun 2012 23:13:08 +0000 (23:13 +0000)] 
Update.

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

13 years agoIf we are doing cache simulation, refuse to start at all if the minimum
Julian Seward [Sun, 3 Jun 2012 23:10:55 +0000 (23:10 +0000)] 
If we are doing cache simulation, refuse to start at all if the minimum
cache line size is smaller than the maximum guest register size.

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

13 years agom_machine: add new function VG_(machine_get_size_of_largest_guest_register)
Julian Seward [Sun, 3 Jun 2012 22:40:07 +0000 (22:40 +0000)] 
m_machine: add new function VG_(machine_get_size_of_largest_guest_register)
cachegrind: use the new function to abort startup if the minumum line
  size is smaller than the size of the largest guest register.
Partially derived from a patch by Josef Weidendorfer.

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

13 years agoTweak testcase. Invalidate cc, making sure it is set later.
Florian Krohm [Sun, 3 Jun 2012 22:37:15 +0000 (22:37 +0000)] 
Tweak testcase. Invalidate cc, making sure it is set later.

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

13 years agoPOWER Processor decimal FP support, part 5. (Valgrind side). Bug #299694.
Julian Seward [Sat, 2 Jun 2012 23:48:06 +0000 (23:48 +0000)] 
POWER Processor decimal FP support, part 5.  (Valgrind side).  Bug #299694.
(Carl Love, carll@us.ibm.com and Maynard Johnson, maynardj@us.ibm.com)

This patch adds support for Power Decimal Floating Point (DFP) . This
is the fifth patch set in the series of five to add the DFP
instruction support to Valgrind.  Adds support for the ddedpd,
ddedpdq, denbcd, denbcdq, dtstsf, and dtstsfq instructions.

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