]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
20 years agoUpdate for 3.2.0.
Julian Seward [Sun, 21 May 2006 15:20:19 +0000 (15:20 +0000)] 
Update for 3.2.0.

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

20 years agoAdd JosefW.
Julian Seward [Sun, 21 May 2006 15:19:42 +0000 (15:19 +0000)] 
Add JosefW.

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

20 years agoAdd missing closing tags (a.k.a. "Wow, that xsltproc is such a pedant!")
Julian Seward [Sun, 21 May 2006 14:47:30 +0000 (14:47 +0000)] 
Add missing closing tags (a.k.a. "Wow, that xsltproc is such a pedant!")

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

20 years agoUpdate.
Julian Seward [Sun, 21 May 2006 14:40:33 +0000 (14:40 +0000)] 
Update.

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

20 years agoReport the error number when a UME mmap fails.
Tom Hughes [Sun, 21 May 2006 13:41:17 +0000 (13:41 +0000)] 
Report the error number when a UME mmap fails.

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

20 years agoA 1 page stack isn't big enough for this test on ppc32-linux.
Julian Seward [Sun, 21 May 2006 12:40:30 +0000 (12:40 +0000)] 
A 1 page stack isn't big enough for this test on ppc32-linux.

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

20 years agoUpdate expected output following vex r1619.
Julian Seward [Sun, 21 May 2006 12:18:16 +0000 (12:18 +0000)] 
Update expected output following vex r1619.

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

20 years agoGot a sudden attach of the implicit-type-casting paranoias whilst
Julian Seward [Sun, 21 May 2006 12:02:44 +0000 (12:02 +0000)] 
Got a sudden attach of the implicit-type-casting paranoias whilst
looking for (non-) bug in running Python.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1621

20 years agoBack out r5595: the redirections deleted there are in fact used by
Julian Seward [Sun, 21 May 2006 01:52:09 +0000 (01:52 +0000)] 
Back out r5595: the redirections deleted there are in fact used by
gcc 2.96 on R H 7.3.

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

20 years agoA couple of IR simplification hacks for the amd64 front end, so as to
Julian Seward [Sun, 21 May 2006 01:02:31 +0000 (01:02 +0000)] 
A couple of IR simplification hacks for the amd64 front end, so as to
avoid false errors from memcheck.  Analogous to some of the recent
bunch of commits to x86 front end.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1620

20 years agoUn-break coredumping on ppc64-linux. Finally fixes #121617.
Julian Seward [Sun, 21 May 2006 00:51:28 +0000 (00:51 +0000)] 
Un-break coredumping on ppc64-linux.  Finally fixes #121617.

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

20 years agoChange the default load address on all platforms to be 7/8s of a G.
Julian Seward [Sat, 20 May 2006 01:13:38 +0000 (01:13 +0000)] 
Change the default load address on all platforms to be 7/8s of a G.
This should make V work on any address space setup in which at least
the first 1 G of address space is usable.

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

20 years agoClear up yet another gcc-4.1.0 stunt leading to false uninitialised
Julian Seward [Fri, 19 May 2006 23:09:03 +0000 (23:09 +0000)] 
Clear up yet another gcc-4.1.0 stunt leading to false uninitialised
value errors on SuSE 10.1 (x86) running konqueror.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1619

20 years agoImplement the set_robust_list and get_robust_list system calls.
Tom Hughes [Wed, 17 May 2006 14:24:12 +0000 (14:24 +0000)] 
Implement the set_robust_list and get_robust_list system calls.

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

20 years agoSync system call lists with 2.6.17-rc4 kernel source.
Tom Hughes [Wed, 17 May 2006 13:53:23 +0000 (13:53 +0000)] 
Sync system call lists with 2.6.17-rc4 kernel source.

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

20 years agogcc 3.3.3 on ppc64-linux believes (perhaps correctly) that 'fd' can be
Julian Seward [Mon, 15 May 2006 19:27:56 +0000 (19:27 +0000)] 
gcc 3.3.3 on ppc64-linux believes (perhaps correctly) that 'fd' can be
used when uninitialised.

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

20 years agoA few more x86 eflags-helper rewrite cases, which further reduce the
Julian Seward [Mon, 15 May 2006 12:23:17 +0000 (12:23 +0000)] 
A few more x86 eflags-helper rewrite cases, which further reduce the
false error rate of memcheck on optimised code.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1618

20 years agoAdd an IR folding rule to convert Add32(x,x) into Shl32(x,1). This
Julian Seward [Sun, 14 May 2006 18:46:55 +0000 (18:46 +0000)] 
Add an IR folding rule to convert Add32(x,x) into Shl32(x,1).  This
fixes #118466 and it also gets rid of a bunch of false positives for
KDE 3.5.2 built by gcc-4.0.2 on x86, of the form shown below.

  Use of uninitialised value of size 4
    at 0x4BFC342: QIconSet::pixmap(QIconSet::Size, QIconSet::Mode,
                                   QIconSet::State) const (qiconset.cpp:530)
    by 0x4555BE7: KToolBarButton::drawButton(QPainter*)
                  (ktoolbarbutton.cpp:536)
    by 0x4CB8A0A: QButton::paintEvent(QPaintEvent*) (qbutton.cpp:887)

git-svn-id: svn://svn.valgrind.org/vex/trunk@1617

20 years agoAdd specialisation rules to simplify the IR for 'testl .. ; js ..',
Julian Seward [Sat, 13 May 2006 23:08:06 +0000 (23:08 +0000)] 
Add specialisation rules to simplify the IR for 'testl .. ; js ..',
'testw .. ; js ..' and 'testb .. ; js ..'.  This gets rid of a bunch of
false errors in Memcheck of the form

==2398== Conditional jump or move depends on uninitialised value(s)
==2398==    at 0x6C51B61: KHTMLPart::clear() (khtml_part.cpp:1370)
==2398==    by 0x6C61A72: KHTMLPart::begin(KURL const&, int, int)
                          (khtml_part.cpp:1881)

(KDE 3.5.2 compiled by gcc-4.0.2, -g -O).

git-svn-id: svn://svn.valgrind.org/vex/trunk@1616

20 years agoYet more messing with masking approximate results.
Julian Seward [Sat, 13 May 2006 02:20:11 +0000 (02:20 +0000)] 
Yet more messing with masking approximate results.

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

20 years agoUpdate expected outputs following r5895.
Julian Seward [Sat, 13 May 2006 01:54:15 +0000 (01:54 +0000)] 
Update expected outputs following r5895.

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

20 years agoApparently Intel's rcpps etc approximations are more approximate than
Julian Seward [Sat, 13 May 2006 01:32:41 +0000 (01:32 +0000)] 
Apparently Intel's rcpps etc approximations are more approximate than
AMD's.  Kludge everything accordingly.  Sigh.

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

20 years agoUpdate expected results following change in r5898.
Julian Seward [Sat, 13 May 2006 00:34:52 +0000 (00:34 +0000)] 
Update expected results following change in r5898.

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

20 years agoAdd masking for results of rcpps/rcpss/rsqrtps/rsqrtps so as to give
Julian Seward [Sat, 13 May 2006 00:23:56 +0000 (00:23 +0000)] 
Add masking for results of rcpps/rcpss/rsqrtps/rsqrtps so as to give
consistent results on all platforms.  Expected outputs not updated
yet.

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

20 years agoA new flag, --error-exitcode=, has been added, to allow changing the
Julian Seward [Fri, 12 May 2006 23:50:15 +0000 (23:50 +0000)] 
A new flag, --error-exitcode=, has been added, to allow changing the
exit code in runs where Valgrind reported errors.  Fixes #121814 and
#126517.

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

20 years agoOops, this should have been in r5895.
Julian Seward [Fri, 12 May 2006 23:35:10 +0000 (23:35 +0000)] 
Oops, this should have been in r5895.

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

20 years agoIncrease number of unsuppressed errors shown before cutoff by a factor
Julian Seward [Fri, 12 May 2006 23:12:30 +0000 (23:12 +0000)] 
Increase number of unsuppressed errors shown before cutoff by a factor
of 100.

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

20 years agoUpdate.
Julian Seward [Fri, 12 May 2006 21:19:00 +0000 (21:19 +0000)] 
Update.

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

20 years agoEnable 'SHLDv imm8,Gv,Ev'. Fixes #126583.
Julian Seward [Fri, 12 May 2006 21:03:48 +0000 (21:03 +0000)] 
Enable 'SHLDv imm8,Gv,Ev'.  Fixes #126583.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1615

20 years agoEnable 'sbb $imm,%al'. Fixes #126668.
Julian Seward [Fri, 12 May 2006 20:45:59 +0000 (20:45 +0000)] 
Enable 'sbb $imm,%al'.  Fixes #126668.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1614

20 years agoRegression test for clc/stc/cmc on amd64.
Julian Seward [Fri, 12 May 2006 20:28:26 +0000 (20:28 +0000)] 
Regression test for clc/stc/cmc on amd64.

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

20 years agoImplement CLC/STC/CMC. Fixes #125651.
Julian Seward [Fri, 12 May 2006 20:15:33 +0000 (20:15 +0000)] 
Implement CLC/STC/CMC.  Fixes #125651.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1613

20 years agoComprehensive tests for bt{s,r,c,}{w,l,q} on amd64.
Julian Seward [Fri, 12 May 2006 19:50:44 +0000 (19:50 +0000)] 
Comprehensive tests for bt{s,r,c,}{w,l,q} on amd64.

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

20 years ago(1) Fix longstanding bug causing erroneous register zeroing for 'btl'.
Julian Seward [Fri, 12 May 2006 17:47:21 +0000 (17:47 +0000)] 
(1) Fix longstanding bug causing erroneous register zeroing for 'btl'.
(2) Implement 16-bit versions of bt/bts/btr/btc.  (Fixes #125607)

git-svn-id: svn://svn.valgrind.org/vex/trunk@1612

20 years agoTest x86 {push,pop}{w,l}.
Julian Seward [Fri, 12 May 2006 14:24:18 +0000 (14:24 +0000)] 
Test x86 {push,pop}{w,l}.

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

20 years agoSupport 'popw m16'. Fixes #126243.
Julian Seward [Fri, 12 May 2006 14:04:48 +0000 (14:04 +0000)] 
Support 'popw m16'.  Fixes #126243.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1611

20 years agoAdd a comment.
Nicholas Nethercote [Tue, 9 May 2006 18:46:01 +0000 (18:46 +0000)] 
Add a comment.

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

20 years agoTidy up bug status file and document a few new fixes.
Tom Hughes [Tue, 9 May 2006 09:07:53 +0000 (09:07 +0000)] 
Tidy up bug status file and document a few new fixes.

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

20 years agoIgnore offset information in anonymous mmap calls. Fixes bug #126722.
Tom Hughes [Tue, 9 May 2006 09:06:56 +0000 (09:06 +0000)] 
Ignore offset information in anonymous mmap calls. Fixes bug #126722.

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

20 years agoTests for 16/32 bit byte reversed loads and stores.
Julian Seward [Mon, 8 May 2006 12:08:49 +0000 (12:08 +0000)] 
Tests for 16/32 bit byte reversed loads and stores.

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

20 years agoDon't check the fifth argument of mremap() unless MREMAP_FIXED is set
Tom Hughes [Mon, 8 May 2006 11:58:06 +0000 (11:58 +0000)] 
Don't check the fifth argument of mremap() unless MREMAP_FIXED is set
in the fourth argument. Fix to bug #123535.

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

20 years agoAdd support for CDROMREADRAW and fix CDROMREADTOCENTRY to mark the right
Tom Hughes [Mon, 8 May 2006 11:37:04 +0000 (11:37 +0000)] 
Add support for CDROMREADRAW and fix CDROMREADTOCENTRY to mark the right
number of bytes as defined in the post handler. Fixes bug #126696.

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

20 years agoFix linkat, renameat and symlinkat wrappers to look at the arguments
Tom Hughes [Mon, 8 May 2006 11:19:47 +0000 (11:19 +0000)] 
Fix linkat, renameat and symlinkat wrappers to look at the arguments
correctly. Fixes bug #126938.

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

20 years agoAnother suppression needed by SuSE 10.0 on ppc32.
Julian Seward [Sun, 7 May 2006 23:38:23 +0000 (23:38 +0000)] 
Another suppression needed by SuSE 10.0 on ppc32.

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

20 years agoIncrease scheduling quantum to 100k basic blocks. Nowadays even
Julian Seward [Sun, 7 May 2006 14:37:03 +0000 (14:37 +0000)] 
Increase scheduling quantum to 100k basic blocks.  Nowadays even
modest cpus can run 5-10M memcheck'd bbs per second and the previous
limit of 50k gives a 100Hz switch rate, which causes cache pollution
(a known performance problem) and other context-switch overheads.

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

20 years agoFix for 32-bit mode, as per comment.
Julian Seward [Sat, 6 May 2006 14:40:40 +0000 (14:40 +0000)] 
Fix for 32-bit mode, as per comment.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1610

20 years agoImplement sthbrx.
Julian Seward [Fri, 5 May 2006 13:44:17 +0000 (13:44 +0000)] 
Implement sthbrx.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1609

20 years agoImplement lhbrx.
Julian Seward [Fri, 5 May 2006 13:26:14 +0000 (13:26 +0000)] 
Implement lhbrx.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1608

20 years agoFix printing bug in PRE(sys_stat64).
Julian Seward [Thu, 4 May 2006 16:43:34 +0000 (16:43 +0000)] 
Fix printing bug in PRE(sys_stat64).

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

20 years agoVectorise copy_address_range_perms for common cases. This gives about
Julian Seward [Wed, 3 May 2006 22:13:57 +0000 (22:13 +0000)] 
Vectorise copy_address_range_perms for common cases.  This gives about
40% speedup on artificial programs which just do realloc() and nothing
else, and about a 3-4% speedup on starting kpresenter-1.5.0 and
loading a 16-slide presentation.

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

20 years agoTests for the mov{z,s}{bw,bl,wl} instructions.
Julian Seward [Wed, 3 May 2006 18:09:41 +0000 (18:09 +0000)] 
Tests for the mov{z,s}{bw,bl,wl} instructions.

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

20 years agoFix incorrect behaviour of mov{s,z}bw (#126253).
Julian Seward [Wed, 3 May 2006 17:57:15 +0000 (17:57 +0000)] 
Fix incorrect behaviour of mov{s,z}bw (#126253).

git-svn-id: svn://svn.valgrind.org/vex/trunk@1607

20 years agoUpdate the Ever-Growing List Of Sins.
Julian Seward [Wed, 3 May 2006 15:12:09 +0000 (15:12 +0000)] 
Update the Ever-Growing List Of Sins.

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

20 years agoIncrease # supported threads to 300 (see #126217).
Julian Seward [Wed, 3 May 2006 13:52:47 +0000 (13:52 +0000)] 
Increase # supported threads to 300 (see #126217).

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

20 years agoPrint a slightly more helpful error message if the log file creation fails.
Julian Seward [Wed, 3 May 2006 13:52:17 +0000 (13:52 +0000)] 
Print a slightly more helpful error message if the log file creation fails.

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

20 years agoAdd another test of permissions range copying (copy_address_range_perms).
Julian Seward [Wed, 3 May 2006 00:43:20 +0000 (00:43 +0000)] 
Add another test of permissions range copying (copy_address_range_perms).

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

20 years agoGet rid of executable permissions on C source file.
Julian Seward [Tue, 2 May 2006 13:02:01 +0000 (13:02 +0000)] 
Get rid of executable permissions on C source file.

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

20 years agoAdd .type and .size directives for VG_(run_innerloop) and
Tom Hughes [Mon, 1 May 2006 09:28:39 +0000 (09:28 +0000)] 
Add .type and .size directives for VG_(run_innerloop) and
VG_(run_a_noredir_translation) on all platforms where they are
missing.

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

20 years agoCounterpart to r1605: in the ppc insn selector, don't use the bits
Julian Seward [Mon, 1 May 2006 02:14:17 +0000 (02:14 +0000)] 
Counterpart to r1605: in the ppc insn selector, don't use the bits
VexArchInfo.hwcaps to distinguish ppc32 and ppc64.  Instead pass
the host arch around.  And associated plumbing.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1606

20 years agoMake VG_(run_innerloop) visible for outer Valgrinds
Josef Weidendorfer [Mon, 1 May 2006 02:12:58 +0000 (02:12 +0000)] 
Make VG_(run_innerloop) visible for outer Valgrinds
with self hosting. Without this, the symbol has
size 0 and type NOT, and is ignored by the symbol loader.

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

20 years agoHint to better run with option "--pop-on-jump" when doing
Josef Weidendorfer [Mon, 1 May 2006 01:49:28 +0000 (01:49 +0000)] 
Hint to better run with option "--pop-on-jump" when doing
self-hosting runs with outer callgrind.

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

20 years agoCallgrind: Fix for callgrind_control
Josef Weidendorfer [Mon, 1 May 2006 01:38:32 +0000 (01:38 +0000)] 
Callgrind: Fix for callgrind_control

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

20 years agoCallgrind: Improve self-hosting with outer callgrind tool
Josef Weidendorfer [Mon, 1 May 2006 00:55:54 +0000 (00:55 +0000)] 
Callgrind: Improve self-hosting with outer callgrind tool

This adds an option to change the default handling of jumps
between functions. Usually, a jump between functions is
interpreted as call, because such jumps are typically
generated by compilers on tail recursion optimization, and
we want to present this as call to the user. Thus, such
a jump pushes a call onto callgrinds shadow stack.
The option "--pop-on-jump" changes this to pop+push the
shadow callstack: then, a jump between functions is seen
as a return to the caller and a new call.

The default behaviour is _bad_ for using callgrind with
self-hosting. Valgrinds inner loop VG_(run_innerloop)
jumps to generated code, and this code jumps back to
the inner loop. Thus, every executed BB adds 2 calls
to an ever increasing shadow call stack, leading to
memory consumption increasing with runtime :-(

So: For self-hosting valgrind with an outer callgrind,
always use option "--pop-on-jump" for the outer callgrind.

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

20 years agoDon't use the bits VexArchInfo.hwcaps to distinguish ppc32 and ppc64,
Julian Seward [Sun, 30 Apr 2006 23:37:32 +0000 (23:37 +0000)] 
Don't use the bits VexArchInfo.hwcaps to distinguish ppc32 and ppc64,
since that doesn't work properly.  Instead pass the guest arch around
too.  Small change with lots of associated plumbing.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1605

20 years agoGet rid of VG_(x86_linux_REDIR_FOR__dl_sysinfo_int80) and do the x86-linux
Julian Seward [Sat, 29 Apr 2006 18:03:14 +0000 (18:03 +0000)] 
Get rid of VG_(x86_linux_REDIR_FOR__dl_sysinfo_int80) and do the x86-linux
stack unwind kludge another way.  This is believed to fix #108258.

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

20 years agoUpdate
Julian Seward [Sat, 29 Apr 2006 18:01:46 +0000 (18:01 +0000)] 
Update

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

20 years agoUn-break 'make dist'.
Julian Seward [Sat, 29 Apr 2006 12:50:06 +0000 (12:50 +0000)] 
Un-break 'make dist'.

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

20 years agoFix completely bogus asm, which didn't work when compiled with gcc-4.1.0
Julian Seward [Fri, 28 Apr 2006 21:01:33 +0000 (21:01 +0000)] 
Fix completely bogus asm, which didn't work when compiled with gcc-4.1.0
since it trashed the regs that gcc assigned for %0 and %1 before reading
them.  local_sys_write_stderr() for the 3 other targets suffer from the
same problem.

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

20 years agosplit the assert so that its more obvious which
Dirk Mueller [Thu, 27 Apr 2006 11:05:13 +0000 (11:05 +0000)] 
split the assert so that its more obvious which
part is failing

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

20 years agoUpdate 64-bit cleanness info.
Nicholas Nethercote [Sun, 23 Apr 2006 10:51:48 +0000 (10:51 +0000)] 
Update 64-bit cleanness info.

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

20 years agoAnother fix for interactive control, together with
Josef Weidendorfer [Fri, 21 Apr 2006 01:02:13 +0000 (01:02 +0000)] 
Another fix for interactive control, together with
the --base option, which allows to specify another
directory for dumps and control/result files.
With "--base=/tmp/foo", we want control/result files
in "/tmp", and not in a directory "/tmp/foo/".

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

20 years agoFixes for interactive control:
Josef Weidendorfer [Fri, 21 Apr 2006 00:58:58 +0000 (00:58 +0000)] 
Fixes for interactive control:

- callgrind_control was not working, because it checks the
  "command syntax version" to be at most 1 before doing anything.
  But callgrind used Valgrinds version for this (3.2.0). Now we
  define a separate version COMMAND_VERSION for the syntax format
  of control and result files.
  Strictly, such a version is not needed for interaction of
  callgrind and the script callgrind_control itself, as they are
  delivered in the same package. But there are also external
  controlling tools (most notable KCachegrind)

- Some systems make it difficult for callgrind_control to
  automatically detect running callgrind processes. To make
  interactivity work, one has to provide the cwd with -w.
  For commands expecting a result from callgrind, this result
  was delivered in the wrong result file.

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

20 years agoAdd support for sys_broc on amd64-linux when --kernel-variant=bproc.
Julian Seward [Thu, 20 Apr 2006 14:38:50 +0000 (14:38 +0000)] 
Add support for sys_broc on amd64-linux when --kernel-variant=bproc.

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

20 years agoAlmost all the stuff in pub_tool_libcsignal.h was not used by any tool;
Julian Seward [Wed, 19 Apr 2006 19:31:46 +0000 (19:31 +0000)] 
Almost all the stuff in pub_tool_libcsignal.h was not used by any tool;
so has been moved back into pub_core_libcsignal.h.

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

20 years agoBuild fixes for gcc-3.3.3.
Julian Seward [Wed, 19 Apr 2006 09:30:33 +0000 (09:30 +0000)] 
Build fixes for gcc-3.3.3.

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

20 years ago- Fix indentation in one section of Cachegrind
Nicholas Nethercote [Tue, 18 Apr 2006 22:34:48 +0000 (22:34 +0000)] 
- Fix indentation in one section of Cachegrind
- In the same section, use VG_(percentify) to avoid overflow when computing
  information for -v printing.

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

20 years agoUpdate
Julian Seward [Tue, 18 Apr 2006 02:04:52 +0000 (02:04 +0000)] 
Update

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

20 years agoupdate
Nicholas Nethercote [Tue, 18 Apr 2006 00:52:37 +0000 (00:52 +0000)] 
update

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

20 years agoRemove tool-specific code (which says which tools allow XML) from the core
Nicholas Nethercote [Sun, 16 Apr 2006 10:25:43 +0000 (10:25 +0000)] 
Remove tool-specific code (which says which tools allow XML) from the core
by introducing a new "need":  VG_(needs_xml_output)().

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

20 years agoRegression test cases for FP rounding modes on ppc32 and ppc64.
Julian Seward [Sun, 16 Apr 2006 00:13:22 +0000 (00:13 +0000)] 
Regression test cases for FP rounding modes on ppc32 and ppc64.
(Dave Nomura).

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

20 years agoUn-break core dumping on ppc32-linux.
Julian Seward [Fri, 14 Apr 2006 11:13:59 +0000 (11:13 +0000)] 
Un-break core dumping on ppc32-linux.

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

20 years agoUpdate again
Julian Seward [Fri, 14 Apr 2006 02:09:56 +0000 (02:09 +0000)] 
Update again

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

20 years agoUpdate
Julian Seward [Fri, 14 Apr 2006 01:54:16 +0000 (01:54 +0000)] 
Update

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

20 years agoSyscall wrappers for ppc32-linux (and one for amd64-linux).
Julian Seward [Fri, 14 Apr 2006 01:04:04 +0000 (01:04 +0000)] 
Syscall wrappers for ppc32-linux (and one for amd64-linux).
(from Jakub Jelinek)  See #125492.

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

20 years agoFix for instruction-decoding failures reported in #124499.
Julian Seward [Thu, 13 Apr 2006 22:06:35 +0000 (22:06 +0000)] 
Fix for instruction-decoding failures reported in #124499.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1604

20 years agoNot all MPI implementations define MPI_UNSIGNED_LONG_LONG.
Julian Seward [Thu, 13 Apr 2006 22:03:16 +0000 (22:03 +0000)] 
Not all MPI implementations define MPI_UNSIGNED_LONG_LONG.

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

20 years agoSuppress any source filename in a "(below main)" line in a stack trace.
Tom Hughes [Thu, 13 Apr 2006 12:44:31 +0000 (12:44 +0000)] 
Suppress any source filename in a "(below main)" line in a stack trace.

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

20 years agoClarify the Helgrind-doesn't-work message.
Nicholas Nethercote [Wed, 12 Apr 2006 22:53:23 +0000 (22:53 +0000)] 
Clarify the Helgrind-doesn't-work message.

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

20 years agoAllow 'repe scas' (possible fix for #124892).
Julian Seward [Wed, 12 Apr 2006 17:30:46 +0000 (17:30 +0000)] 
Allow 'repe scas' (possible fix for #124892).

git-svn-id: svn://svn.valgrind.org/vex/trunk@1603

20 years agoRecent GCCs (3.4+ at least) optimize static unused functions out, so
Julian Seward [Wed, 12 Apr 2006 17:15:35 +0000 (17:15 +0000)] 
Recent GCCs (3.4+ at least) optimize static unused functions out, so
making VALGRIND_PRINTF and VALGRIND_PRINTF_BACKTRACE static and
attribute unused proved to be much better than always compiling it as
exported weak function.  (Jakub Jelinek)

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

20 years agoAdd a suppression for yet another glibc string function: __strcpy_chk.
Julian Seward [Wed, 12 Apr 2006 13:41:51 +0000 (13:41 +0000)] 
Add a suppression for yet another glibc string function: __strcpy_chk.
We really ought intercept/replace this, and that would be easy, except
__strcpy_chk uses __chk_fail and I haven't figured out what that
is/does.

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

20 years agoOn x86, don't use x87 registers for 8-byte FP loads/stores; instead
Julian Seward [Wed, 12 Apr 2006 11:42:54 +0000 (11:42 +0000)] 
On x86, don't use x87 registers for 8-byte FP loads/stores; instead
use an mmx register (which is the same thing in disguise) since mmx
loads/stores are guaranteed to be the identity.  This should fix
failures of this test on x86-linux.

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

20 years agoAdd the O_LARGEFILE constant so people can use it when writing tools that
Nicholas Nethercote [Wed, 12 Apr 2006 11:10:46 +0000 (11:10 +0000)] 
Add the O_LARGEFILE constant so people can use it when writing tools that
generate large trace files (> 2GB).

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

20 years agoProperly handle external debuginfo (.gnu_debuglink) for stripped and
Julian Seward [Wed, 12 Apr 2006 10:08:05 +0000 (10:08 +0000)] 
Properly handle external debuginfo (.gnu_debuglink) for stripped and
prelinked libraries (patch from L. David Baron).

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

20 years agoRedid the --trace-mem=yes option of Lackey properly. Updated some related
Nicholas Nethercote [Sun, 9 Apr 2006 01:23:29 +0000 (01:23 +0000)] 
Redid the --trace-mem=yes option of Lackey properly.  Updated some related
stuff along with it, such as the NEWS file.

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

20 years agoRe-enable amd64 test for pmaddwd.
Julian Seward [Sat, 8 Apr 2006 16:52:42 +0000 (16:52 +0000)] 
Re-enable amd64 test for pmaddwd.

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

20 years agoFold in a patch which appeared in FC5's default valgrind build, which
Julian Seward [Sat, 8 Apr 2006 16:22:53 +0000 (16:22 +0000)] 
Fold in a patch which appeared in FC5's default valgrind build, which
causes V to ignore more DWARF3 CFA expressions on amd64 and so gets
rid of complaints from the CFA reader.  Why didn't Red Hat push this
patch upstream?  I don't know.

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

20 years agoImplement amd64 pmaddwd for SSE2.
Julian Seward [Sat, 8 Apr 2006 16:15:53 +0000 (16:15 +0000)] 
Implement amd64 pmaddwd for SSE2.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1602

20 years agoInclude missing files in tarball (== unbreak from-tarball builds)
Julian Seward [Sat, 8 Apr 2006 13:17:25 +0000 (13:17 +0000)] 
Include missing files in tarball (== unbreak from-tarball builds)

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

20 years agoUpdate
Julian Seward [Sat, 8 Apr 2006 13:16:36 +0000 (13:16 +0000)] 
Update

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