]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
22 years agoFor whatever reason, ld-2.3.2.so (ld-linux.so.2) seems to have its own
Julian Seward [Mon, 22 Dec 2003 00:14:50 +0000 (00:14 +0000)] 
For whatever reason, ld-2.3.2.so (ld-linux.so.2) seems to have its own
PLT-bypassed versions of stpcpy and strchr.  Subvert them.

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

22 years agoUse the redir machinery to forcibly remap stpcpy in libc.so.6 to our
Julian Seward [Sun, 21 Dec 2003 23:54:59 +0000 (23:54 +0000)] 
Use the redir machinery to forcibly remap stpcpy in libc.so.6 to our
own version in mac_replace_strmem.c.  We have to do this the hard way
because overenthusiastic PLT bypassing in glibc means the usual
symbol-override stuff doesn't work.  IOW, for the usual reason that we
have to use the redir machinery at all.

This makes many programs run much more quietly on SuSE 9.

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

22 years agoMake the debug printing in the symbol redirect machinery, easier to
Julian Seward [Sun, 21 Dec 2003 23:32:43 +0000 (23:32 +0000)] 
Make the debug printing in the symbol redirect machinery, easier to
understand.

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

22 years agoAdd a vanilla implementation of stpcpy(). Does not do overlap checking
Julian Seward [Sun, 21 Dec 2003 23:29:16 +0000 (23:29 +0000)] 
Add a vanilla implementation of stpcpy().  Does not do overlap checking
(it should).

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

22 years agoFix typo in VG_(munmap)() error checking, which made it never remove
Jeremy Fitzhardinge [Sat, 20 Dec 2003 18:19:50 +0000 (18:19 +0000)] 
Fix typo in VG_(munmap)() error checking, which made it never remove
any Segment mappings.

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

22 years agoDon't print prediction info for branches if we're not generating it.
Jeremy Fitzhardinge [Fri, 19 Dec 2003 23:47:24 +0000 (23:47 +0000)] 
Don't print prediction info for branches if we're not generating it.

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

22 years agommap/munmap exerciser test
Jeremy Fitzhardinge [Fri, 19 Dec 2003 21:56:04 +0000 (21:56 +0000)] 
mmap/munmap exerciser test

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

22 years agoMake --trace-codegen start printing from the first basic block, rather
Jeremy Fitzhardinge [Fri, 19 Dec 2003 17:16:54 +0000 (17:16 +0000)] 
Make --trace-codegen start printing from the first basic block, rather
than the second.

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

22 years agoAlso remove vgpreload_*.so from LD_PRELOAD when we're not tracing
Jeremy Fitzhardinge [Fri, 19 Dec 2003 00:35:20 +0000 (00:35 +0000)] 
Also remove vgpreload_*.so from LD_PRELOAD when we're not tracing
children.

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

22 years agoVG_(clo_pointercheck) is a Bool, which is a byte.
Jeremy Fitzhardinge [Fri, 19 Dec 2003 00:23:00 +0000 (00:23 +0000)] 
VG_(clo_pointercheck) is a Bool, which is a byte.

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

22 years agoSigh. Add the test files.
Jeremy Fitzhardinge [Thu, 18 Dec 2003 09:08:51 +0000 (09:08 +0000)] 
Sigh.  Add the test files.

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

22 years agoMake rep; nop (pause) yield the thread. Based on a patch by Tom Hughes;
Jeremy Fitzhardinge [Thu, 18 Dec 2003 09:06:09 +0000 (09:06 +0000)] 
Make rep; nop (pause) yield the thread.  Based on a patch by Tom Hughes;
I added a test case and cleaned up vg_dispatch.S while I was about it.
CCMAIL: 69529-done@bugs.kde.org

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

22 years agoFix a bug in the last VG_(max_fd) change; VG_(safe_fd) doesn't work before
Jeremy Fitzhardinge [Thu, 18 Dec 2003 07:22:44 +0000 (07:22 +0000)] 
Fix a bug in the last VG_(max_fd) change; VG_(safe_fd) doesn't work before
VG_(max_fd) has been set up.

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

22 years agoPatch from Tom Hughes: set VG_(max_fd) based on the current file
Jeremy Fitzhardinge [Thu, 18 Dec 2003 02:39:22 +0000 (02:39 +0000)] 
Patch from Tom Hughes: set VG_(max_fd) based on the current file
descriptor limit rather than assuming 1024.

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

22 years agoAn experiment in generating branch-prediction hints. Enable them with
Jeremy Fitzhardinge [Thu, 18 Dec 2003 02:10:54 +0000 (02:10 +0000)] 
An experiment in generating branch-prediction hints.  Enable them with
--branchpred=yes.  I'm interested to know if these make a significant
difference for anyone - I see a small speed increase on the Pentium M.

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

22 years agoIgnore internal Valgrind file descriptors.
Robert Walsh [Thu, 18 Dec 2003 01:48:06 +0000 (01:48 +0000)] 
Ignore internal Valgrind file descriptors.

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

22 years agoignore
Dirk Mueller [Wed, 17 Dec 2003 13:28:12 +0000 (13:28 +0000)] 
ignore

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

22 years agoignore
Dirk Mueller [Wed, 17 Dec 2003 13:18:24 +0000 (13:18 +0000)] 
ignore

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

22 years agoAuto-generate stage2.lds so that the linker script matches the local
Jeremy Fitzhardinge [Tue, 16 Dec 2003 22:26:45 +0000 (22:26 +0000)] 
Auto-generate stage2.lds so that the linker script matches the local
linker.

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

22 years agoRemove coregrind/vg_valgrinq_dummy.c
Jeremy Fitzhardinge [Tue, 16 Dec 2003 02:23:31 +0000 (02:23 +0000)] 
Remove coregrind/vg_valgrinq_dummy.c

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

22 years agoBack out unintended change
Jeremy Fitzhardinge [Tue, 16 Dec 2003 02:15:21 +0000 (02:15 +0000)] 
Back out unintended change

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

22 years agoAdd and delete all the files which need adding and deleting.
Jeremy Fitzhardinge [Tue, 16 Dec 2003 02:14:00 +0000 (02:14 +0000)] 
Add and delete all the files which need adding and deleting.

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

22 years agoThis jumbo-checkin is the Full Virtualization checkin. This eliminates
Jeremy Fitzhardinge [Tue, 16 Dec 2003 02:05:15 +0000 (02:05 +0000)] 
This jumbo-checkin is the Full Virtualization checkin.  This eliminates
Valgrind's dependency on the dynamic linker for getting started, and
instead takes things into its own hands.

This checkin doesn't add much in the way of new functionality, but it
is the basis for all future work on Valgrind.  It allows us much more
flexibility in implementation, and well as increasing the reliability
of Valgrind by protecting it more from its clients.

This patch requires some changes to tools to update them to the changes
in the tool API, but they are straightforward.  See the posting "Heads
up: Full Virtualization" on valgrind-developers for a more complete
description of this change and its effects on you.

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

22 years agoChange the --track-fds code to use VG_AR_CORE rather than
Jeremy Fitzhardinge [Tue, 16 Dec 2003 01:48:38 +0000 (01:48 +0000)] 
Change the --track-fds code to use VG_AR_CORE rather than
VG_(malloc)/(strdup), which puts things into VG_AR_SKIN.

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

22 years agoMake symbol prefix matching table driver, and be a bit more careful
Jeremy Fitzhardinge [Mon, 15 Dec 2003 23:31:52 +0000 (23:31 +0000)] 
Make symbol prefix matching table driver, and be a bit more careful
about overrunning the ends of names.

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

22 years agopatch by Jim Meyering: redirect error output to stderr, and exit with nonzero
Dirk Mueller [Mon, 15 Dec 2003 15:23:41 +0000 (15:23 +0000)] 
patch by Jim Meyering: redirect error output to stderr, and exit with nonzero
exit code upon failure.

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

22 years agoWhen merging multiple symbols with the same address, rather than always
Jeremy Fitzhardinge [Mon, 15 Dec 2003 09:00:21 +0000 (09:00 +0000)] 
When merging multiple symbols with the same address, rather than always
choosing the longest symbol, choose the longest ignoring any of the libc
junk prefixes like __libc_, __, __GI_*, etc.  This makes the symbol
presented to the user in messages and used in *.supp files more consistent
and comprehensible.

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

22 years agoCVS_SILENT NPTL is Native Posix blah blah
Ismail Dönmez [Sun, 14 Dec 2003 17:38:53 +0000 (17:38 +0000)] 
CVS_SILENT NPTL is Native Posix blah blah

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

22 years agoComment re tc size increase.
Julian Seward [Sun, 14 Dec 2003 14:35:28 +0000 (14:35 +0000)] 
Comment re tc size increase.

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

22 years agoIncrease the max size of the translation cache from 200k average bbs to
Julian Seward [Sun, 14 Dec 2003 14:25:19 +0000 (14:25 +0000)] 
Increase the max size of the translation cache from 200k average bbs to
300k average bbs.  Programs on the size of OOo (680m17) are thrashing the
cache at the smaller size, creating large numbers of retranslations and
wasting significant time as a result.

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

22 years agoUpdate regtest to match new error message
Jeremy Fitzhardinge [Sun, 14 Dec 2003 06:50:36 +0000 (06:50 +0000)] 
Update regtest to match new error message

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

22 years agoChange date.
Julian Seward [Sun, 14 Dec 2003 00:27:23 +0000 (00:27 +0000)] 
Change date.

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

22 years ago---> 2.1.0
Julian Seward [Sun, 14 Dec 2003 00:15:23 +0000 (00:15 +0000)] 
---> 2.1.0

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

22 years agoUpdate for 2.1.0.
Julian Seward [Sun, 14 Dec 2003 00:14:54 +0000 (00:14 +0000)] 
Update for 2.1.0.

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

22 years agoPatch in a DWARF1 (obsolete) line number reader, from the stable (2.0)
Julian Seward [Sat, 13 Dec 2003 23:16:26 +0000 (23:16 +0000)] 
Patch in a DWARF1 (obsolete) line number reader, from the stable (2.0)
branch.  Apparently the Lahey Fortran compiler emits DWARF1 line
number info.

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

22 years agoUn-break 'make distcheck' yet again. I guess someone somewhere understands
Julian Seward [Sat, 13 Dec 2003 03:07:40 +0000 (03:07 +0000)] 
Un-break 'make distcheck' yet again.  I guess someone somewhere understands
how autoconf/automake really work, but not me :-)  What's the difference
between $(srcdir) and $(top_srcdir) (eg in coregrind/Makefile.am) ?

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

22 years agoFix bug 69836: make record_fd_open ignore fds > VG_MAX_FD.
Jeremy Fitzhardinge [Fri, 12 Dec 2003 07:46:54 +0000 (07:46 +0000)] 
Fix bug 69836: make record_fd_open ignore fds > VG_MAX_FD.
CCMAIL: 69836-done@bugs.kde.org

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

22 years agoReword warning message emitted by fd_allowed() to make it a little clearer.
Julian Seward [Fri, 12 Dec 2003 06:40:05 +0000 (06:40 +0000)] 
Reword warning message emitted by fd_allowed() to make it a little clearer.

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

22 years agoPrint "object doesn't have a %s" all on one line.
Julian Seward [Fri, 12 Dec 2003 06:22:06 +0000 (06:22 +0000)] 
Print "object doesn't have a %s" all on one line.

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

22 years agoPatch from Tom Hughes: make --gdb-attach=yes work when a program is
Jeremy Fitzhardinge [Mon, 8 Dec 2003 21:58:37 +0000 (21:58 +0000)] 
Patch from Tom Hughes: make --gdb-attach=yes work when a program is
killed by a fatal signal.

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

22 years agoin C, casting of lvalues is illegal.
Dirk Mueller [Sun, 7 Dec 2003 23:36:14 +0000 (23:36 +0000)] 
in C, casting of lvalues is illegal.

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

22 years agoallow absolute paths to be specified when "which" is not found.
Dirk Mueller [Fri, 5 Dec 2003 16:39:42 +0000 (16:39 +0000)] 
allow absolute paths to be specified when "which" is not found.
CCMAIL: 69140-done@bugs.kde.org

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

22 years agoFix yet more "make dist" borkage
Nicholas Nethercote [Thu, 4 Dec 2003 16:15:25 +0000 (16:15 +0000)] 
Fix yet more "make dist" borkage

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

22 years agoAdd #includes to avoid compile warnings.
Nicholas Nethercote [Thu, 4 Dec 2003 16:12:21 +0000 (16:12 +0000)] 
Add #includes to avoid compile warnings.

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

22 years agoFix more "make dist" borkage
Nicholas Nethercote [Thu, 4 Dec 2003 16:03:54 +0000 (16:03 +0000)] 
Fix more "make dist" borkage

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

22 years agoFix Makefile.am so "make dist" works.
Nicholas Nethercote [Thu, 4 Dec 2003 15:13:47 +0000 (15:13 +0000)] 
Fix Makefile.am so "make dist" works.

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

22 years agoUpdated the README file. It had lots of out-of-date and incorrect information
Nicholas Nethercote [Wed, 3 Dec 2003 21:44:45 +0000 (21:44 +0000)] 
Updated the README file.  It had lots of out-of-date and incorrect information
in it, much of it from 1.0.X days.  Did it in such a way that if it doesn't get
touched (and it undoubtedly won't) it won't really go out of date, eg. by
removing temporary details like version numbers, dates, details of specific
software incompatibilities.  It's much better to be vague but correct, than
precise but incorrect;  having incorrect info in a file as important as the
README is bad.  Also removed the README_KDE3_FOLKS file because it's pretty
redundant now.  Also added some changes that had been made in the stable branch
but not the HEAD.

Did similar, but smaller changes to README_DEVELOPERS and README_PACKAGERS.

Also updated the valgrind.spec.in file to use the new, post-1.0.X description
in the README.

Also fixed a minor omission in Addrcheck's docs.

MERGE TO STABLE

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

22 years agoWhoops... back out changes accidentally made to this file with the last,
Nicholas Nethercote [Tue, 2 Dec 2003 15:30:28 +0000 (15:30 +0000)] 
Whoops... back out changes accidentally made to this file with the last,
unrelated, commit.  Sorry.

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

22 years agoPatch from Tom Hughes:
Nicholas Nethercote [Tue, 2 Dec 2003 15:25:39 +0000 (15:25 +0000)] 
Patch from Tom Hughes:
  This patch extends the SFENCE support that is already present to include
  support for LFENCE and MFENCE as well. It also stops CLFLUSH being mistaken
  for SFENCE by checking the top two bits of the MODRM byte.

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

22 years agoTools using shadow memory can't handle the first 64KB being mapped, because
Nicholas Nethercote [Tue, 2 Dec 2003 14:56:04 +0000 (14:56 +0000)] 
Tools using shadow memory can't handle the first 64KB being mapped, because
they rely on this area being unmapped for their quick sanity check.  This
commit make Valgrind refuse to mmap() this area.  Added a regtest for it.

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

22 years agoGrouped options in the usage message so they're a bit easier to understand.
Nicholas Nethercote [Tue, 2 Dec 2003 10:41:18 +0000 (10:41 +0000)] 
Grouped options in the usage message so they're a bit easier to understand.

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

22 years agoMake --leak-check observe -q properly -- only prints out errors, not general
Nicholas Nethercote [Tue, 2 Dec 2003 10:17:44 +0000 (10:17 +0000)] 
Make --leak-check observe -q properly -- only prints out errors, not general
info and summaries.

MERGE TO STABLE

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

22 years agoBacking out bogus support for gettid() I added yesterday.
Nicholas Nethercote [Tue, 2 Dec 2003 09:35:33 +0000 (09:35 +0000)] 
Backing out bogus support for gettid() I added yesterday.

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

22 years agoAdd gettid() syscall.
Nicholas Nethercote [Mon, 1 Dec 2003 14:00:11 +0000 (14:00 +0000)] 
Add gettid() syscall.

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

22 years agoFix broken assertion, thanks to Tom Hughes.
Nicholas Nethercote [Mon, 1 Dec 2003 13:11:47 +0000 (13:11 +0000)] 
Fix broken assertion, thanks to Tom Hughes.

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

22 years agoFixed test in section finding code that was broken for .plt and .got sections.
Nicholas Nethercote [Mon, 1 Dec 2003 11:54:09 +0000 (11:54 +0000)] 
Fixed test in section finding code that was broken for .plt and .got sections.
Thanks to Tom Hughes for the patch.

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

22 years agoRemove out-of-date limitations from tech docs.
Nicholas Nethercote [Sun, 30 Nov 2003 17:41:45 +0000 (17:41 +0000)] 
Remove out-of-date limitations from tech docs.

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

22 years agoFactor out repeated code for LOOP{E,NE}
Nicholas Nethercote [Fri, 28 Nov 2003 09:44:21 +0000 (09:44 +0000)] 
Factor out repeated code for LOOP{E,NE}

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

22 years agofix alignment checking of __posix_memalign. merging to stable.
Dirk Mueller [Fri, 28 Nov 2003 00:15:57 +0000 (00:15 +0000)] 
fix alignment checking of __posix_memalign. merging to stable.

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

22 years agoFixed up REP-prefix handling majorly. Factored out *lots* of repetitive code,
Nicholas Nethercote [Thu, 27 Nov 2003 16:15:17 +0000 (16:15 +0000)] 
Fixed up REP-prefix handling majorly.  Factored out *lots* of repetitive code,
so much so that the file is now 280 lines shorter.  This despite me also adding
support for LOOP{E,NE} (thanks to Abhijit Menon-Sen).  Also added support for
CMPS[lw], which was missing.  Adding more REP-prefix instructions in the future
will now be much easier.

As part of this, I moved the D-flag fetch outside of the REP loops.  This might
make programs that use REP prefixes a lot go faster.

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

22 years agoCVS_SILENT ignore
Dirk Mueller [Thu, 27 Nov 2003 11:44:48 +0000 (11:44 +0000)] 
CVS_SILENT ignore

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

22 years agoremove reference to --assume-2.4 option
Dirk Mueller [Thu, 27 Nov 2003 11:43:53 +0000 (11:43 +0000)] 
remove reference to --assume-2.4 option

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

22 years agoFix comment
Nicholas Nethercote [Thu, 27 Nov 2003 09:30:28 +0000 (09:30 +0000)] 
Fix comment

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

22 years agoreverting last commit, which broke all of valgrind.
Dirk Mueller [Thu, 27 Nov 2003 09:07:47 +0000 (09:07 +0000)] 
reverting last commit, which broke all of valgrind.

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

22 years agoFix up the have_settid test so it works on both plain 2.4 and 2.6 kernels.
Jeremy Fitzhardinge [Thu, 27 Nov 2003 08:11:10 +0000 (08:11 +0000)] 
Fix up the have_settid test so it works on both plain 2.4 and 2.6 kernels.
I think this will also work on SuSE kernels.

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

22 years agotest for PARENT_SETTID support in clone() of the kernel instead
Dirk Mueller [Thu, 27 Nov 2003 02:16:41 +0000 (02:16 +0000)] 
test for PARENT_SETTID support in clone() of the kernel instead
of testing for presence of NPTL by assuming that sys_futex is only
implemented when its a NPTL patched kernel.

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

22 years agoadd missing include files to spec file listing
Dirk Mueller [Mon, 24 Nov 2003 21:25:40 +0000 (21:25 +0000)] 
add missing include files to spec file listing

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

22 years ago*8 is probably overkill
Jeremy Fitzhardinge [Fri, 21 Nov 2003 09:22:06 +0000 (09:22 +0000)] 
*8 is probably overkill

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

22 years agofprintf needs more than 8k of stack, so boost the sigaltstack size.
Jeremy Fitzhardinge [Fri, 21 Nov 2003 09:06:50 +0000 (09:06 +0000)] 
fprintf needs more than 8k of stack, so boost the sigaltstack size.

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

22 years agoadd prefetch(w) support - the 3dnow! version of it. doesn't hurt
Dirk Mueller [Thu, 20 Nov 2003 20:45:51 +0000 (20:45 +0000)] 
add prefetch(w) support - the 3dnow! version of it. doesn't hurt
supporting and its very easy.

MERGE TO STABLE

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

22 years agoUpdated all "report bugs to..." messages to point to valgrind.kde.org; also
Nicholas Nethercote [Thu, 20 Nov 2003 16:20:55 +0000 (16:20 +0000)] 
Updated all "report bugs to..." messages to point to valgrind.kde.org;  also
updated the docs to refer to valgrind.kde.org instead of the old website.

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

22 years agoImproved vg_libpthread's IGNORED/KLUDGED error messages; lots of people found
Nicholas Nethercote [Thu, 20 Nov 2003 14:23:09 +0000 (14:23 +0000)] 
Improved vg_libpthread's IGNORED/KLUDGED error messages;  lots of people found
"kludged" confusing.  Even printing out brief explanations of why functions are
ignored/kludged, in some cases.

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

22 years agoPrinting usage message to stdout instead of stderr, which seems to be the
Nicholas Nethercote [Thu, 20 Nov 2003 10:38:07 +0000 (10:38 +0000)] 
Printing usage message to stdout instead of stderr, which seems to be the
standard thing to do.

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

22 years agothis should fix compilation on weird kernel 2.6.x installations.
Dirk Mueller [Wed, 19 Nov 2003 22:07:14 +0000 (22:07 +0000)] 
this should fix compilation on weird kernel 2.6.x installations.
CCMAIL: 68360@bugs.kde.org

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

22 years agomake it compile on non-C90 compilers. Thanks for the patch.
Dirk Mueller [Wed, 19 Nov 2003 22:05:35 +0000 (22:05 +0000)] 
make it compile on non-C90 compilers. Thanks for the patch.
CCMAIL: 68525-done@bugs.kde.org

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

22 years agoSHUFPD support
Dirk Mueller [Wed, 19 Nov 2003 22:02:08 +0000 (22:02 +0000)] 
SHUFPD support

MERGE TO STABLE
CCMAIL: 68588-done@bugs.kde.org

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

22 years agopkgconfig support. Patch by Dimitri Papadopoulos
Dirk Mueller [Wed, 19 Nov 2003 21:50:07 +0000 (21:50 +0000)] 
pkgconfig support. Patch by Dimitri Papadopoulos

MERGE TO STABLE

CCMAIL: 68566-done@bugs.kde.org

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

22 years agoFix regtest for change of error message.
Nicholas Nethercote [Wed, 19 Nov 2003 20:09:53 +0000 (20:09 +0000)] 
Fix regtest for change of error message.

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

22 years agoadd CVTPD2PS support, based on patch by Josef Weidendorfer
Dirk Mueller [Wed, 19 Nov 2003 17:00:58 +0000 (17:00 +0000)] 
add CVTPD2PS support, based on patch by Josef Weidendorfer

MERGE TO STABLE

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

22 years agotrying to fix compilation. Does it work now for everybody?
Dirk Mueller [Wed, 19 Nov 2003 16:54:52 +0000 (16:54 +0000)] 
trying to fix compilation. Does it work now for everybody?

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

22 years agomake use of statfs64 and make code blocks adjacent
Dirk Mueller [Wed, 19 Nov 2003 08:56:44 +0000 (08:56 +0000)] 
make use of statfs64 and make code blocks adjacent

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

22 years agoupdating .cvsignore
Dirk Mueller [Wed, 19 Nov 2003 00:55:44 +0000 (00:55 +0000)] 
updating .cvsignore

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

22 years agoonly say something if there is something to say
Dirk Mueller [Wed, 19 Nov 2003 00:55:32 +0000 (00:55 +0000)] 
only say something if there is something to say

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

22 years agobe less verbose by default
Dirk Mueller [Wed, 19 Nov 2003 00:47:00 +0000 (00:47 +0000)] 
be less verbose by default

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

22 years agoraise sanity limit to pass coreutils testsuite
Dirk Mueller [Wed, 19 Nov 2003 00:45:13 +0000 (00:45 +0000)] 
raise sanity limit to pass coreutils testsuite

MERGE TO STABLE

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

22 years agoimplement statfs64, utimes and clock_gettime
Dirk Mueller [Wed, 19 Nov 2003 00:43:57 +0000 (00:43 +0000)] 
implement statfs64, utimes and clock_gettime

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

22 years agoAdd some missing braces.
Jeremy Fitzhardinge [Tue, 18 Nov 2003 16:55:33 +0000 (16:55 +0000)] 
Add some missing braces.

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

22 years agoAdd a facility for tracking open file descriptors. Information about
Robert Walsh [Mon, 17 Nov 2003 17:45:00 +0000 (17:45 +0000)] 
Add a facility for tracking open file descriptors.  Information about
still open files is dumped out exit.  Enabled using the --track-fds
switch.

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

22 years agoMade the warning clearer when you try to catch SIGKILL/SIGSTOP. Also made it
Nicholas Nethercote [Mon, 17 Nov 2003 10:37:19 +0000 (10:37 +0000)] 
Made the warning clearer when you try to catch SIGKILL/SIGSTOP.  Also made it
clearer what's wrong if you try to catch signals 32 and 33;  they're not bad
signals, just used internally.  Updated one regtest accordingly.

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

22 years agoSupport posix_memalign properly.
Nicholas Nethercote [Sat, 15 Nov 2003 19:24:08 +0000 (19:24 +0000)] 
Support posix_memalign properly.

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

22 years agoStarted to rescind the name "skin", replacing it with "tool". Did this in all
Nicholas Nethercote [Fri, 14 Nov 2003 17:47:54 +0000 (17:47 +0000)] 
Started to rescind the name "skin", replacing it with "tool".  Did this in all
the places that normal users will see:

  - command line: --tool=foo (although --skin=foo still works)
  - docs: removed all traces (included renaming coregrind_skins.html to
    coregrind_tools.html)
  - in the usage messages
  - in error messages

Also did in in some places that I judged were unlikely to cause clashes with
existing workspaces:

  - in the header comments of many files (eg. "This file is part of Memcheck, a
    Valgrind tool for...")
  - in the regtests script
  - in the .supp files
  - in AUTHORS
  - in README_MISSING_SYSCALL_OR_IOCTL

Also update the AUTHORS file to mention Jeremy.

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

22 years agoRemoved no-longer-needed declarations of __SOME_SKIN_H.
Nicholas Nethercote [Thu, 13 Nov 2003 23:02:16 +0000 (23:02 +0000)] 
Removed no-longer-needed declarations of __SOME_SKIN_H.

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

22 years agoGreatly improved the symbol table reading code. It was a kludgy, accreted
Nicholas Nethercote [Thu, 13 Nov 2003 22:34:00 +0000 (22:34 +0000)] 
Greatly improved the symbol table reading code.  It was a kludgy, accreted
mess.  Pulled the symbol table reading bit out of vg_read_lib_symbols() into
read_symtab(), in the process removing the awful twice-only loop used to read
the symbol table and the dynamic symbol table.  Factored out the code used to
find sections of interest (eg. .strtab, .symtab, .stabs, .plt, etc), replacing
nine (yes, nine) individual and slightly differing searches.

It's now much easier to understand, 132 lines shorter, and provides a better
base for easily doing more complicated debug stuff, eg. when we start reading
in all the debugging info (such as .debug_info for dwarf2).

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

22 years agoRemove local shellshort function, use the standard VG_(ssort).
Nicholas Nethercote [Thu, 13 Nov 2003 21:50:45 +0000 (21:50 +0000)] 
Remove local shellshort function, use the standard VG_(ssort).

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

22 years agoRemove the Memcheck==Valgrind fallacy from Memcheck's start-up message.
Nicholas Nethercote [Thu, 13 Nov 2003 17:57:18 +0000 (17:57 +0000)] 
Remove the Memcheck==Valgrind fallacy from Memcheck's start-up message.

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

22 years agoChanged error messages: subsidiary explanations within an error message are now
Nicholas Nethercote [Thu, 13 Nov 2003 17:53:43 +0000 (17:53 +0000)] 
Changed error messages: subsidiary explanations within an error message are now
indented one space;  previously it was mixed, but Memcheck/Addrcheck indented
"Address" lines 3, which made them hard to see in the stack trace.

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

22 years agoChanged error messages: now don't print anything below main() unless the new
Nicholas Nethercote [Thu, 13 Nov 2003 17:35:04 +0000 (17:35 +0000)] 
Changed error messages:  now don't print anything below main() unless the new
option --show-below-main is on.  It's on by default.  It also affects
suppressions generated with --gen-suppressions=yes.  Updated reg tests
accordingly.

Also updated docs for this.  And added some missing command-line args to docs.
Also compartmentalised the options a little in the docs, and rearranged the
order of options in the usage message, in anticipation of a bigger
rearrangement that will be necessary soon -- to distinguish options used by all
skins from those used by error-checking skins, to skin-specific ones.

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

22 years agoBe quieter.
Nicholas Nethercote [Thu, 13 Nov 2003 16:49:22 +0000 (16:49 +0000)] 
Be quieter.

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

22 years agoFix some (bone-headed) loose ends left by my last checkin. "make regtest"
Jeremy Fitzhardinge [Mon, 10 Nov 2003 21:21:00 +0000 (21:21 +0000)] 
Fix some (bone-headed) loose ends left by my last checkin.  "make regtest"
actually works this time.

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

22 years agoDon't print this debug msg if -q is on.
Nicholas Nethercote [Mon, 10 Nov 2003 13:26:49 +0000 (13:26 +0000)] 
Don't print this debug msg if -q is on.

MERGE TO STABLE

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