]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
13 years agoWhen parsing guest_s390_toIR.c also recognize opcodes with digits
Florian Krohm [Mon, 30 Jul 2012 16:16:24 +0000 (16:16 +0000)] 
When parsing guest_s390_toIR.c also recognize opcodes with digits
in their name.
Also add more alternate opcode spellings.

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

13 years agoTestcases for CU42. Part of fixing bugzilla #289839.
Florian Krohm [Sat, 28 Jul 2012 22:20:03 +0000 (22:20 +0000)] 
Testcases for CU42. Part of fixing bugzilla #289839.
Update opcode table.

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

13 years agoUpdates for s390x
Florian Krohm [Sat, 28 Jul 2012 22:10:41 +0000 (22:10 +0000)] 
Updates for s390x

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

13 years agoMinor tweaks. A few comments were out of synch with source.
Florian Krohm [Sat, 28 Jul 2012 21:59:34 +0000 (21:59 +0000)] 
Minor tweaks. A few comments were out of synch with source.
Add another test.

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

13 years agoFix error message in testcase
Florian Krohm [Sat, 28 Jul 2012 20:39:51 +0000 (20:39 +0000)] 
Fix error message in testcase

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

13 years agodrd: Avoid that invoking pthread_cancel() from a program analyzed with DRD triggers...
Bart Van Assche [Sat, 28 Jul 2012 14:35:48 +0000 (14:35 +0000)] 
drd: Avoid that invoking pthread_cancel() from a program analyzed with DRD triggers a crash on Fedora 17

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

13 years agodrd: Revert r12651 because it didn't change drd's behavior on any platform
Bart Van Assche [Sat, 28 Jul 2012 14:32:03 +0000 (14:32 +0000)] 
drd: Revert r12651 because it didn't change drd's behavior on any platform

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

13 years agoSpelling fixes: developpers -> developers; curiosly -> curiously
Bart Van Assche [Sat, 28 Jul 2012 13:06:45 +0000 (13:06 +0000)] 
Spelling fixes: developpers -> developers; curiosly -> curiously

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

13 years agoUpdate Subversion ignore list
Bart Van Assche [Sat, 28 Jul 2012 13:05:32 +0000 (13:05 +0000)] 
Update Subversion ignore list

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

13 years agoclarify 2 NEWS entries to indicate that these are for tool developpers.
Philippe Waroquiers [Sat, 28 Jul 2012 12:23:48 +0000 (12:23 +0000)] 
clarify 2 NEWS entries to indicate that these are for tool developpers.

(NB: I am wondering if these entries should be put in NEWS at all.
Is NEWS targetted at end users only ?
Or at "tool developper users also' ?)

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

13 years agonone/tests/amd64/Makefile.am: Uses not only AVX instructions but PCLMULQDQ too
Bart Van Assche [Sat, 28 Jul 2012 11:13:47 +0000 (11:13 +0000)] 
none/tests/amd64/Makefile.am: Uses not only AVX instructions but PCLMULQDQ too

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

13 years agoMIPS specific expected output for memcheck/tests/sigkill.
Petar Jovanovic [Fri, 27 Jul 2012 22:35:35 +0000 (22:35 +0000)] 
MIPS specific expected output for memcheck/tests/sigkill.

MIPS has different signal values, so it has to have its own expected output for
the tests that deal with signal values.
This fixes (false) failure in memcheck/tests/sigkill.

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

13 years agoHave one test testing the ? suppr matching wildcard character.
Philippe Waroquiers [Fri, 27 Jul 2012 21:56:08 +0000 (21:56 +0000)] 
Have one test testing the ? suppr matching wildcard character.

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

13 years agoFix compiler warning.
Florian Krohm [Fri, 27 Jul 2012 20:53:47 +0000 (20:53 +0000)] 
Fix compiler warning.

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

13 years agoMIPS specific exp-out for none/tests/async-sigs.
Petar Jovanovic [Fri, 27 Jul 2012 16:25:32 +0000 (16:25 +0000)] 
MIPS specific exp-out for none/tests/async-sigs.

MIPS has different signal values, so it has to have its own expected output for
the tests that deal with signal values.
This fixes (false) failure in none/tests/async-sigs.

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

13 years agomicro-optimisation in m_libcbase.c cmp functions
Philippe Waroquiers [Thu, 26 Jul 2012 22:44:07 +0000 (22:44 +0000)] 
micro-optimisation in m_libcbase.c cmp functions

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

13 years agoImprove suppression matching performance when fun or obj is a simple string
Philippe Waroquiers [Thu, 26 Jul 2012 21:37:36 +0000 (21:37 +0000)] 
Improve suppression matching performance when fun or obj is a simple string
Idea is from Julian, possible bugs are mine.

If the fun or obj is a simple string and not a patter (so no *, no ?),
use a simple string comparison rather than a call to a wildcard matching.

On a leak search with a lot of reachable loss records and a lot of suppr,
it improves the speed of the leak search by 10 to 15%.

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

13 years agonone/tests/amd64/pcmpstr64: Update expected output after r12780
Bart Van Assche [Thu, 26 Jul 2012 06:49:38 +0000 (06:49 +0000)] 
none/tests/amd64/pcmpstr64: Update expected output after r12780

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

13 years agoDue to s390's dealings with invalid insns we need to do two things
Florian Krohm [Thu, 26 Jul 2012 02:41:31 +0000 (02:41 +0000)] 
Due to s390's dealings with invalid insns we need to do two things
- advance the guest_IA to the next insn after raising the signal
- adjusting the address in a complaint to point to the failing insn
  (after guest_IA has been advanced)
Update testcases .exp files.

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

13 years agoApply first_ip_delta also when only one frame is requested
Florian Krohm [Thu, 26 Jul 2012 02:14:28 +0000 (02:14 +0000)] 
Apply first_ip_delta also when only one frame is requested
for the back-trace.

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

13 years agoImprove complaints. Enabled by VEX r2449.
Florian Krohm [Thu, 26 Jul 2012 02:03:16 +0000 (02:03 +0000)] 
Improve complaints. Enabled by VEX r2449.
Line numbers are still bad. But that is a GCC issue.

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

13 years agore-re-clarify the doc about registers and flags gdbsrv up-to-date-ness
Philippe Waroquiers [Wed, 25 Jul 2012 21:58:40 +0000 (21:58 +0000)] 
re-re-clarify the doc about registers and flags gdbsrv up-to-date-ness

Following discussions on valdev and re-measurement, clarify the clarification.

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

13 years agoremove 303624 from 3_7_BUGSTATUS.txt (was fixed in rev 12758, already in NEWS)
Philippe Waroquiers [Wed, 25 Jul 2012 19:58:37 +0000 (19:58 +0000)] 
remove 303624 from 3_7_BUGSTATUS.txt (was fixed in rev 12758, already in NEWS)

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

13 years agoAdded fixed bug 303963
Josef Weidendorfer [Wed, 25 Jul 2012 12:13:29 +0000 (12:13 +0000)] 
Added fixed bug 303963

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

13 years agoPartial update of bug fixes (I think it is still out of date though.)
Julian Seward [Wed, 25 Jul 2012 11:02:01 +0000 (11:02 +0000)] 
Partial update of bug fixes (I think it is still out of date though.)

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

13 years agoAdditions to PCMPxSTRx tests to check fix for bug 303963.
Josef Weidendorfer [Wed, 25 Jul 2012 09:49:26 +0000 (09:49 +0000)] 
Additions to PCMPxSTRx tests to check fix for bug 303963.

Some tests used movdqa triggering a seg fault. Use movdqu instead.

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

13 years agoFix testcase and update results.
Florian Krohm [Tue, 24 Jul 2012 20:37:50 +0000 (20:37 +0000)] 
Fix testcase and update results.

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

13 years agoBetter document the limitation of gdbsrv for registers and flags values
Philippe Waroquiers [Tue, 24 Jul 2012 20:24:39 +0000 (20:24 +0000)] 
Better document the limitation of gdbsrv for registers and flags values

During investigations of 303963, Josef found that flags are not always
up to date and that --vex-guest-max-insns=1 ensures flags values
are (more?) correct.

=> enhance the paragraph in the gdbserver limitations to reference
this option and give an idea of the performance impact of the other
options helping to increase the precision of registers and flags.

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

13 years agoHave perf/vg_perf handling EXTRA_REGTEST_OPTS
Philippe Waroquiers [Tue, 24 Jul 2012 19:47:46 +0000 (19:47 +0000)] 
Have perf/vg_perf handling EXTRA_REGTEST_OPTS
Similarly to tests/vg_regtest, allow to run all perf tests with extra options.
(note: it was preferred to use the same env var name).

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

13 years agoUpdate expected results.
Florian Krohm [Mon, 23 Jul 2012 18:05:52 +0000 (18:05 +0000)] 
Update expected results.
This is the companion patch to VEX r2444 which backs out the special
handling for the 00 opcode.

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

13 years agoPass first_ip_delta to VG_(record_depth_1_ExeContext) as the function
Florian Krohm [Mon, 23 Jul 2012 15:40:41 +0000 (15:40 +0000)] 
Pass first_ip_delta to VG_(record_depth_1_ExeContext) as the function
cannot figure it out by itself.

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

13 years agoEliminate magic constant. Use VG_(clo_backtrace_size) instead.
Florian Krohm [Mon, 23 Jul 2012 15:05:22 +0000 (15:05 +0000)] 
Eliminate magic constant. Use VG_(clo_backtrace_size) instead.

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

13 years agoAvoid checking for bitset initialization if futex_wait_bitset is meant to fail.
Petar Jovanovic [Mon, 23 Jul 2012 00:11:10 +0000 (00:11 +0000)] 
Avoid checking for bitset initialization if futex_wait_bitset is meant to fail.

Glibc deliberately passes random value for the sixth parameter when calling
FUTEX_WAIT_BITSET | FUTEX_CLOCK_REALTIME. This is a regular case of using the
Futex API, so V should not complain that "Syscall param futex(val3) contains
uninitialised byte(s)", if the futex does not have a specified value initially.
For more info, see function pthread_initialize_minimal_internal at:
glibc/nptl/nptl-init.c.

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

13 years agoAdd 'aesdec' to the set of insns checked for assembler level SSE4.2
Julian Seward [Sun, 22 Jul 2012 11:10:08 +0000 (11:10 +0000)] 
Add 'aesdec' to the set of insns checked for assembler level SSE4.2
support (Rich Coe) and tidy up a couple of other bits of assembly by
giving them trashed-register lists.

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

13 years agoAdd testcases for CU24. Part of fixing #289839.
Florian Krohm [Sat, 21 Jul 2012 17:42:54 +0000 (17:42 +0000)] 
Add testcases for CU24. Part of fixing #289839.

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

13 years agoNo need to list m_gdbserver.c twice in the Makefile.am.
Julian Seward [Sat, 21 Jul 2012 10:11:51 +0000 (10:11 +0000)] 
No need to list m_gdbserver.c twice in the Makefile.am.

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

13 years agoLocalise "struct reg regs[]".
Julian Seward [Sat, 21 Jul 2012 10:10:44 +0000 (10:10 +0000)] 
Localise "struct reg regs[]".

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

13 years agoppc64-linux _start: don't assume ._start_in_C_linux -- the function
Julian Seward [Sat, 21 Jul 2012 10:08:29 +0000 (10:08 +0000)] 
ppc64-linux _start: don't assume ._start_in_C_linux -- the function
descriptor for _start_in_C_linux -- actually exists.  Instead call the
entry point directly.

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

13 years agoDocument Helgrind limitation that old access stack traces have maximum 8 entries
Philippe Waroquiers [Fri, 20 Jul 2012 23:40:35 +0000 (23:40 +0000)] 
Document Helgrind limitation that old access stack traces have maximum 8 entries

#define N_FRAMES 8
(defined in libhb_core.c:3888)

implies that 'other thread' stack traces are limited to 8,
even with a bigger --num-callers.

=> document this in the manual to avoid that a user believes this is a
bug in the stack trace logic of Valgrind.

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

13 years agoIf the compiler being used to build is clang, remember to add
Julian Seward [Fri, 20 Jul 2012 16:46:54 +0000 (16:46 +0000)] 
If the compiler being used to build is clang, remember to add
-new_linker to the stuff given to the linker, else link failures
result on x86.  Based on a suggestion by Christoph Erhardt.  Fixes
#295427.

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

13 years agoAdd testcases for CU21. Update opcode table.
Florian Krohm [Fri, 20 Jul 2012 00:17:16 +0000 (00:17 +0000)] 
Add testcases for CU21. Update opcode table.
WRT the memcheck test: the good news is we get all the complaints
we want. The bad news is:
- the line numbers from within do_cu21 are off
- there are 2 complaints when attempting to convert from
  an uninitialised input buffer instead of one. One of them has a
  completely bogus line number.

Possibly due to bad debug info?  Let's see what happens on machines
with more recent GCCs.

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

13 years agoAdd macros for "convert unicode" insns.
Florian Krohm [Thu, 19 Jul 2012 23:29:06 +0000 (23:29 +0000)] 
Add macros for "convert unicode" insns.

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

13 years agoFix syntax error
Florian Krohm [Thu, 19 Jul 2012 18:16:49 +0000 (18:16 +0000)] 
Fix syntax error

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

13 years agoObserve guards on dirty helpers in memcheck.
Florian Krohm [Thu, 19 Jul 2012 17:23:42 +0000 (17:23 +0000)] 
Observe guards on dirty helpers in memcheck.
This means, that any guest state and/or memory accesses of the helper (and
complaints about those) only occur if the guard expression is true at runtime.
Definedness of parameters that the helper might have is *always* checked,
as parameters are evaluated regardless of the guard expression.
New functions: expr2vbits_guarded_Load and gen_guarded_load_b.

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

13 years agoInclude news about supporting MIPS32/Linux in NEWS file.
Petar Jovanovic [Thu, 19 Jul 2012 15:54:02 +0000 (15:54 +0000)] 
Include news about supporting MIPS32/Linux in NEWS file.

PLATFORM CHANGES section has been appended with news for MIPS32/Linux support.

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

13 years agoexp-sgcheck is not supported for MIPS architecture.
Petar Jovanovic [Thu, 19 Jul 2012 15:40:48 +0000 (15:40 +0000)] 
exp-sgcheck is not supported for MIPS architecture.

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

13 years agoEnable testing for the ETF3 facility.
Florian Krohm [Thu, 19 Jul 2012 14:35:55 +0000 (14:35 +0000)] 
Enable testing for the ETF3 facility.

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

13 years agoFix 303624 segmentation fault on Android 4.1 (e.g. on android emulator or Galaxy...
Philippe Waroquiers [Wed, 18 Jul 2012 23:01:02 +0000 (23:01 +0000)] 
Fix 303624 segmentation fault on Android 4.1 (e.g. on android emulator or Galaxy Nexus OMAP)

Valgrind was crashing systematically on Android 4.1.
This crash is caused by AT_IGNORE-ing AT_BASE.
This AT_IGNORE was needed to have breakpoints in shared libs
be handled properly (not very clear what is the problem
in the interaction between Valgrind GDBSERVER, AT_BASE and GDB).
Waiting to better understand all this, as a temporary bypass,
this patch ensures we do not ignore the AT_BASE on android.

The possible consequence is that breakpoints might be inserted
by the Valgrind gdbserver at wrong addresses in shared lib.
(any feedback on that is welcome).

Valgrind was build and then "proved" to work on Android emulator 4.0
and emulator 4.1, by using memcheck on one executable.

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

13 years agoBe slightly less precise on the leak check perf. improvement in NEWS
Philippe Waroquiers [Wed, 18 Jul 2012 22:36:37 +0000 (22:36 +0000)] 
Be slightly less precise on the leak check perf. improvement in NEWS
(as this 40% is only a measurement of one perf program on amd64).

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

13 years agopatch that improves the speed of the leak search by up to 40% (on amd64)
Philippe Waroquiers [Wed, 18 Jul 2012 22:26:51 +0000 (22:26 +0000)] 
patch that improves the speed of the leak search by up to 40% (on amd64)

Scanning 1GB of random values made of 200_000 malloc-ed block is
(on amd64) changing from (about) 17 seconds to (about) 10 seconds.

On x86, it goes from 153 seconds to 129 seconds.

(this huge difference between x86 and amd64 leak search time
for this random test is because a random value has about one chance
on 4 to be in the addressable memory on x86 and so the dichotomic
search in the list of malloc-ed blocks is called for a lot more
values than on amd64).

Basically, there are 3 optimisations:
1. call MC_(is_within_valid_secondary) only at the beginning of a
   secondary map (and not for each Word).
2. call SETJMP only at the beginning of a page (and not for each Word)
3. Validate an aligned word using get_vabits8 rather than get_vabits2.

Each of the above optimisation more or less improves by 2 seconds.
(to go from 17 seconds to 10 seconds).

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

13 years agoSmall cleanup: use VG_TRACK (when possible) to call tool tracking functions
Philippe Waroquiers [Wed, 18 Jul 2012 20:33:40 +0000 (20:33 +0000)] 
Small cleanup: use VG_TRACK (when possible) to call tool tracking functions
(spotted by Julian)
Note: there is a second occurence of call to track_post_mem_write in the
same file; but this second occurence is better done with an "if".

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

13 years agoUn-break the build on MacOS, following r12742 (initial support for DWZ
Julian Seward [Wed, 18 Jul 2012 10:47:38 +0000 (10:47 +0000)] 
Un-break the build on MacOS, following r12742 (initial support for DWZ
compressed debuginfo).

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

13 years agoTrack recent bug fixes.
Julian Seward [Mon, 16 Jul 2012 22:39:24 +0000 (22:39 +0000)] 
Track recent bug fixes.

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

13 years agoAdd some missing syscall numbers for MIPS.
Petar Jovanovic [Mon, 16 Jul 2012 14:35:26 +0000 (14:35 +0000)] 
Add some missing syscall numbers for MIPS.

The header file has been extended with the missing syscall numbers for MIPS,
and sys_prlimit64 has been enabled. This will make none/tests/rlimit64_nofile
pass.

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

13 years agoConditionally execute tests depending on revision of MIPS architecture.
Petar Jovanovic [Mon, 16 Jul 2012 14:07:47 +0000 (14:07 +0000)] 
Conditionally execute tests depending on revision of MIPS architecture.

Support has been added to the tests for MIPS32 revision 1. Previously, all the
tests had to be compiled for MIPS32r2 platforms.

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

13 years agoAdd tests for MOVBE -- an Intel-Atom-only instruction
Julian Seward [Mon, 16 Jul 2012 08:23:26 +0000 (08:23 +0000)] 
Add tests for MOVBE -- an Intel-Atom-only instruction

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

13 years agoBefore printing a back-trace make sure that page containing the
Florian Krohm [Sun, 15 Jul 2012 01:31:45 +0000 (01:31 +0000)] 
Before printing a back-trace make sure that page containing the
address stored in the stack pointer is mapped. Fixes a corner case.

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

13 years agoAdd expected outputs for VCMPNGESS. Should have been included in r12745.
Julian Seward [Sat, 14 Jul 2012 19:47:32 +0000 (19:47 +0000)] 
Add expected outputs for VCMPNGESS.  Should have been included in r12745.

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

13 years agoUpdate list of ignored files.
Florian Krohm [Sat, 14 Jul 2012 14:58:19 +0000 (14:58 +0000)] 
Update list of ignored files.

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

13 years agoUpdate list of ignore files.
Florian Krohm [Sat, 14 Jul 2012 14:51:01 +0000 (14:51 +0000)] 
Update list of ignore files.

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

13 years agoAdd test case for VCMPNGESS.
Julian Seward [Sat, 14 Jul 2012 14:31:44 +0000 (14:31 +0000)] 
Add test case for VCMPNGESS.

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

13 years agoUpdate with recent fixes.
Julian Seward [Sat, 14 Jul 2012 10:08:40 +0000 (10:08 +0000)] 
Update with recent fixes.

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

13 years agoAccept glibc-2.16 as valid (UNTESTED).
Julian Seward [Sat, 14 Jul 2012 10:07:06 +0000 (10:07 +0000)] 
Accept glibc-2.16 as valid (UNTESTED).

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

13 years agoInitial support for DWZ compressed debuginfo -- don't crash, at least,
Julian Seward [Sat, 14 Jul 2012 09:59:01 +0000 (09:59 +0000)] 
Initial support for DWZ compressed debuginfo -- don't crash, at least,
when reading it.  Bug 302901 comment 3.  (Jakub Jelinek, jakub@redhat.com)

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

13 years agoFix ppCfiReg for s390 so --trace-cfi=yes no longer asserts.
Florian Krohm [Fri, 13 Jul 2012 17:55:36 +0000 (17:55 +0000)] 
Fix ppCfiReg for s390 so --trace-cfi=yes no longer asserts.

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

13 years agoUpdate w/ recent bug fixes.
Julian Seward [Fri, 13 Jul 2012 14:04:03 +0000 (14:04 +0000)] 
Update w/ recent bug fixes.

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

13 years agoFix loading of large Mach-O thin binaries. Bug #289470.
Julian Seward [Fri, 13 Jul 2012 13:34:31 +0000 (13:34 +0000)] 
Fix loading of large Mach-O thin binaries.  Bug #289470.
(Scott Byer, scottbyer@chromium.org)

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

13 years agoAdd another intercept for strncasecmp_l. Fixes #297701.
Julian Seward [Fri, 13 Jul 2012 13:21:11 +0000 (13:21 +0000)] 
Add another intercept for strncasecmp_l.  Fixes #297701.

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

13 years agoAdd ioctl wrappers for "Linux user input device". Fixes #296229.
Julian Seward [Fri, 13 Jul 2012 13:15:10 +0000 (13:15 +0000)] 
Add ioctl wrappers for "Linux user input device".  Fixes #296229.
(Chase Douglas, chase.douglas@canonical.com)

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

13 years agoClean up the PDB reader somewhat, mostly in the area of biasing.
Julian Seward [Fri, 13 Jul 2012 12:58:55 +0000 (12:58 +0000)] 
Clean up the PDB reader somewhat, mostly in the area of biasing.
#296318 comment 9.  (Jiri Hruska, jirka@fud.cz)

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

13 years agoAllow multiple rw and rx mappings in the ELF debuginfo reader.
Julian Seward [Fri, 13 Jul 2012 11:24:05 +0000 (11:24 +0000)] 
Allow multiple rw and rx mappings in the ELF debuginfo reader.
Fixes #296318 (patch on comment 8).  (Jiří Hruška, jirka@fud.cz)

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

13 years agoFix bug in leak search when an ignore range is specified
Philippe Waroquiers [Wed, 11 Jul 2012 23:06:07 +0000 (23:06 +0000)] 
Fix bug in leak search when an ignore range is specified

The leak search verifies if an address scanned is in a fully
unaddressable secondary map (64 Kb).
However, the function checking that wrongly verifies
if the address is in an ignore range.
So, if the scan encounters one or more bytes in an ignore
range, the leak scan will erroneously skip the rest of
the 64Kb chunk.

The solution is to not test for ignore range in the function
MC_(is_within_valid_secondary) :
The fact that the address is in an ignore range is in any case
verified in the call to MC_(is_valid_aligned_word), which
is called for every Word just after.

This bug can cause false positive leaks in case small
ignore ranges are specified.

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

13 years agoAdd tests for SMMUL{R}, both ARM and Thumb encodings.
Julian Seward [Wed, 11 Jul 2012 16:58:59 +0000 (16:58 +0000)] 
Add tests for SMMUL{R}, both ARM and Thumb encodings.

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

13 years agoUpdate bug status.
Tom Hughes [Wed, 11 Jul 2012 15:42:25 +0000 (15:42 +0000)] 
Update bug status.

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

13 years agoWire up four more system calls on arm, based on patch
Tom Hughes [Wed, 11 Jul 2012 15:38:29 +0000 (15:38 +0000)] 
Wire up four more system calls on arm, based on patch
from William Cohen. Fixes BZ#295617.

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

13 years agoAdd support for the SIOCSHWTSTAMP ioctl, based on a patch
Tom Hughes [Wed, 11 Jul 2012 14:33:10 +0000 (14:33 +0000)] 
Add support for the SIOCSHWTSTAMP ioctl, based on a patch
from Arseny Solokha. Fixes BZ#296792.

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

13 years agoNote 286917 fix.
Julian Seward [Wed, 11 Jul 2012 14:28:13 +0000 (14:28 +0000)] 
Note 286917 fix.

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

13 years agoWire up dup3 on arm. Fixes BZ#299629.
Tom Hughes [Wed, 11 Jul 2012 13:54:04 +0000 (13:54 +0000)] 
Wire up dup3 on arm. Fixes BZ#299629.

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

13 years agoRM: Implement QADD and QSUB (valgrind side fixes). Fixes #286917.
Julian Seward [Wed, 11 Jul 2012 13:20:58 +0000 (13:20 +0000)] 
RM: Implement QADD and QSUB (valgrind side fixes).  Fixes #286917.

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

13 years agoAdd support for the CDROM_GET_CAPABILITY ioctl based on patch
Tom Hughes [Wed, 11 Jul 2012 12:02:06 +0000 (12:02 +0000)] 
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

13 years agoNote 290006 fixage.
Julian Seward [Wed, 11 Jul 2012 00:06:35 +0000 (00:06 +0000)] 
Note 290006 fixage.

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

13 years agoremove 302800 (bug invalid and/or covered by --soname-synonyms)
Philippe Waroquiers [Sat, 7 Jul 2012 15:53:26 +0000 (15:53 +0000)] 
remove 302800 (bug invalid and/or covered by --soname-synonyms)

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

13 years agoremove 301204 (already in NEWS fixed section)
Philippe Waroquiers [Sat, 7 Jul 2012 15:44:06 +0000 (15:44 +0000)] 
remove 301204 (already in NEWS fixed section)

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

13 years agonone/tests/ifunc: Only run this test if the "ifunc" executable has been built
Bart Van Assche [Sat, 7 Jul 2012 06:13:55 +0000 (06:13 +0000)] 
none/tests/ifunc: Only run this test if the "ifunc" executable has been built

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

13 years ago295590 Helgrind: Assertion 'cvi->nWaiters > 0' failed when cond var being waited...
Philippe Waroquiers [Fri, 6 Jul 2012 23:38:24 +0000 (23:38 +0000)] 
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

13 years agofix 303127 Power test suite fixes for frsqrte, vrefp, and vrsqrtefp instructions
Philippe Waroquiers [Fri, 6 Jul 2012 22:52:09 +0000 (22:52 +0000)] 
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

13 years agofix 303116 - Add support for the POWER instruction popcntb (Valgrind side)
Philippe Waroquiers [Fri, 6 Jul 2012 21:59:03 +0000 (21:59 +0000)] 
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

13 years agofix 302918 Enable testing of the vmaddfp and vnsubfp instructions in the testsuite
Philippe Waroquiers [Fri, 6 Jul 2012 21:42:14 +0000 (21:42 +0000)] 
fix 302918 Enable testing of the vmaddfp and vnsubfp instructions in the testsuite

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

13 years agoEnhance the check for ifunc compatibility testing.
Florian Krohm [Fri, 6 Jul 2012 09:17:29 +0000 (09:17 +0000)] 
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

13 years agoFix use of AC_LANG_SOURCE for ifunc attribute testing.
Florian Krohm [Fri, 6 Jul 2012 08:26:37 +0000 (08:26 +0000)] 
Fix use of AC_LANG_SOURCE for ifunc attribute testing.

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

13 years agoAdd testcase from bugzilla #301204.
Florian Krohm [Thu, 5 Jul 2012 21:21:37 +0000 (21:21 +0000)] 
Add testcase from bugzilla #301204.
Testcase by Chantry Xavier (shiningxc@gmail.com).

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

13 years agoImprove behaviour of mempool redzone checking if user does not follow the manual...
Philippe Waroquiers [Thu, 5 Jul 2012 21:11:12 +0000 (21:11 +0000)] 
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

13 years agodrd/tests/filter_stderr: Remove a space and two backslashes
Bart Van Assche [Thu, 5 Jul 2012 16:21:49 +0000 (16:21 +0000)] 
drd/tests/filter_stderr: Remove a space and two backslashes

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

13 years agoFinish initial triaging pass.
Julian Seward [Thu, 5 Jul 2012 13:26:07 +0000 (13:26 +0000)] 
Finish initial triaging pass.

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

13 years agoAllow an IFunc symbol to be merged with a non-IFunc symbol that
Tom Hughes [Thu, 5 Jul 2012 09:42:31 +0000 (09:42 +0000)] 
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

13 years agofix 302709 valgrind for ARM needs extra tls support for android emulator
Philippe Waroquiers [Wed, 4 Jul 2012 21:59:29 +0000 (21:59 +0000)] 
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

13 years agoCommit results of triagery so far.
Julian Seward [Wed, 4 Jul 2012 20:30:47 +0000 (20:30 +0000)] 
Commit results of triagery so far.

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

13 years agodrd/tests/tc04_free_lock: Use drd/tests/filter_stderr
Bart Van Assche [Wed, 4 Jul 2012 10:43:12 +0000 (10:43 +0000)] 
drd/tests/tc04_free_lock: Use drd/tests/filter_stderr

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

13 years agoIncluding additional header file to syswrap-linux.c to see VG_(get_SP).
Petar Jovanovic [Tue, 3 Jul 2012 21:02:42 +0000 (21:02 +0000)] 
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

13 years agoAdd new .exp file to EXTRA_DIST
Florian Krohm [Tue, 3 Jul 2012 20:45:00 +0000 (20:45 +0000)] 
Add new .exp file to EXTRA_DIST

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