]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
17 years agoTry to fix, or at least avoid if possible, some arbitrary delays at
Julian Seward [Sun, 18 Nov 2007 01:16:52 +0000 (01:16 +0000)] 
Try to fix, or at least avoid if possible, some arbitrary delays at
thread creation time observed when running on POWER5 64-bit Linux.

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

17 years agoAdd regtest for the --child-silent-after-fork added in r7177.
Julian Seward [Sat, 17 Nov 2007 23:00:47 +0000 (23:00 +0000)] 
Add regtest for the --child-silent-after-fork added in r7177.

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

17 years agoAdd a new flag, --child-silent-after-fork=no|yes [no]. When enabled,
Julian Seward [Sat, 17 Nov 2007 22:29:25 +0000 (22:29 +0000)] 
Add a new flag, --child-silent-after-fork=no|yes [no].  When enabled,
causes child processes after fork to fall completely silent, which can
make the output a lot less confusing.  In addition it is pretty much
essential in XML output mode, so as to avoid mixing up any child XML
output with the parent's.

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

17 years agoDon't pollute the XML output if the program terminates with a signal,
Julian Seward [Sat, 17 Nov 2007 21:31:48 +0000 (21:31 +0000)] 
Don't pollute the XML output if the program terminates with a signal,
and for a couple of other minor warnings.

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

17 years agoMake handling of setuid executables marginally more sensible, as
Julian Seward [Sat, 17 Nov 2007 21:11:57 +0000 (21:11 +0000)] 
Make handling of setuid executables marginally more sensible, as
suggested in #119404.

Prior to this commit, if the current traced process attempted to
execve a setuid executable, an error was always returned.  The revised
behaviour is:

If the current (traced) process attempts to execve a setuid
executable:

* If --trace-children=yes is not in effect, the execve is allowed.

* If --trace-children=yes is in effect, the execve is disallowed
  (as at present), but an error message is printed (unless in XML mode),
  so at least the execve does not fail silently any more.

As per discussion on #119404 we could probably do a lot better, but
these changes are at least simple, useful and uncontroversial.

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

17 years agoMakefile.tool-inplace.am: correctly handle tool names with dashes in,
Julian Seward [Sat, 17 Nov 2007 18:35:54 +0000 (18:35 +0000)] 
Makefile.tool-inplace.am: correctly handle tool names with dashes in,
using same changes to magic sed scripts as were recently applied to
Makefile.install.am.

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

17 years agoSpelling fixes and misc tidying for the manual. (Brian Gough)
Julian Seward [Sat, 17 Nov 2007 09:43:25 +0000 (09:43 +0000)] 
Spelling fixes and misc tidying for the manual.  (Brian Gough)

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

17 years agoUpdate.
Julian Seward [Sat, 17 Nov 2007 02:46:42 +0000 (02:46 +0000)] 
Update.

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

17 years agoStack registration stuff: don't dereference NULL pointers (Eric
Julian Seward [Sat, 17 Nov 2007 02:05:57 +0000 (02:05 +0000)] 
Stack registration stuff: don't dereference NULL pointers (Eric
Sharkey, #150044).

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

17 years agoDon't segfault on syscall (SYS_io_destroy, 0). (Jakub Jelinek) Fixes
Julian Seward [Sat, 17 Nov 2007 01:49:06 +0000 (01:49 +0000)] 
Don't segfault on syscall (SYS_io_destroy, 0).  (Jakub Jelinek) Fixes
#147325.

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

17 years agoAdd support for private futexes (whatever they might be). Patch from
Julian Seward [Sat, 17 Nov 2007 01:35:08 +0000 (01:35 +0000)] 
Add support for private futexes (whatever they might be).  Patch from
Eric Dumazet.  Fixes #146781.

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

17 years agoDon't crap out when malloc_stats is called; instead just have a no-op
Julian Seward [Fri, 16 Nov 2007 22:29:27 +0000 (22:29 +0000)] 
Don't crap out when malloc_stats is called; instead just have a no-op
implementation of it.  Fixes #145559.

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

17 years agoMake one redirect mandatory for ppc64-linux.
Julian Seward [Fri, 16 Nov 2007 19:39:49 +0000 (19:39 +0000)] 
Make one redirect mandatory for ppc64-linux.

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

17 years agoMake one of the ppc32-linux initial redirects mandatory, and add
Julian Seward [Fri, 16 Nov 2007 18:45:40 +0000 (18:45 +0000)] 
Make one of the ppc32-linux initial redirects mandatory, and add
further comments.

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

17 years agoIntroduce the concept of a 'mandatory redirection'. A redirection
Julian Seward [Fri, 16 Nov 2007 18:32:40 +0000 (18:32 +0000)] 
Introduce the concept of a 'mandatory redirection'.  A redirection
says (essentially) "I am the replacement for function foo in object w/
soname bar.so".  Now, if a redirection is mandatory, and bar.so is
loaded but foo is not found in its symbol table, then V aborts.

The initial motivation for this is making Memcheck work sanely on
glibc-2.6.X ppc32-linux.  We really need to intercept 'strlen' in
ld.so right from startup.  If ld.so does not have a visible 'strlen'
symbol, Memcheck generates an impossible number of errors resulting
from highly tuned strlen implementation in ld.so, and is completely
unusable -- the resulting undefinedness eventually seeps everywhere.

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

17 years agoAvoid hundreds of warnings from -Winline on gcc-4.3:
Julian Seward [Fri, 16 Nov 2007 12:31:27 +0000 (12:31 +0000)] 
Avoid hundreds of warnings from -Winline on gcc-4.3:

In dump.c, gcc complains that 'param max-stack-frame-growth' would be
exceeded, so remove 'inline' spec.

All other warnings are of the form 'call is unlikely and code size
would grow'.  These aren't interesting.  Remove -Winline.

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

17 years agoBack out bogus strict-aliasing hacks and use -fno-strict-aliasing by
Julian Seward [Fri, 16 Nov 2007 12:02:43 +0000 (12:02 +0000)] 
Back out bogus strict-aliasing hacks and use -fno-strict-aliasing by
default.

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

17 years agoChange the baseline optimisation level from -O to -O2.
Julian Seward [Fri, 16 Nov 2007 10:05:47 +0000 (10:05 +0000)] 
Change the baseline optimisation level from -O to -O2.

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

17 years agoUpdate.
Julian Seward [Fri, 16 Nov 2007 04:01:57 +0000 (04:01 +0000)] 
Update.

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

17 years agoRename a couple more UInts which really should be SVals.
Julian Seward [Fri, 16 Nov 2007 03:55:48 +0000 (03:55 +0000)] 
Rename a couple more UInts which really should be SVals.

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

17 years agoAdd a regression test for #152022.
Julian Seward [Thu, 15 Nov 2007 22:33:32 +0000 (22:33 +0000)] 
Add a regression test for #152022.

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

17 years agoGive shadow values their own type (SVal) for the usual
Julian Seward [Wed, 14 Nov 2007 15:53:11 +0000 (15:53 +0000)] 
Give shadow values their own type (SVal) for the usual
good-software-engineering-practice reasons.

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

17 years agoUpdate the list of unfixed bugs. Depressingly long.
Julian Seward [Tue, 13 Nov 2007 22:00:20 +0000 (22:00 +0000)] 
Update the list of unfixed bugs.  Depressingly long.

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

17 years agoIntercept __memcpy_chk, which appears in glibc-2.6.1. Also fix some
Julian Seward [Tue, 13 Nov 2007 20:52:29 +0000 (20:52 +0000)] 
Intercept __memcpy_chk, which appears in glibc-2.6.1.  Also fix some
backslash uglyness.

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

17 years agoEven more suppressions for glibc-2.6.
Julian Seward [Tue, 13 Nov 2007 20:51:26 +0000 (20:51 +0000)] 
Even more suppressions for glibc-2.6.

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

17 years agoAnother attempt at fixing some Massif regtest failures.
Nicholas Nethercote [Mon, 12 Nov 2007 07:05:07 +0000 (07:05 +0000)] 
Another attempt at fixing some Massif regtest failures.

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

17 years agoFix verbose output filtering for Massif.
Nicholas Nethercote [Mon, 12 Nov 2007 01:16:24 +0000 (01:16 +0000)] 
Fix verbose output filtering for Massif.

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

17 years agoMore glibc-2.6 suppressions.
Julian Seward [Mon, 12 Nov 2007 01:01:08 +0000 (01:01 +0000)] 
More glibc-2.6 suppressions.

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

17 years ago- Make other integer CLO macros more correct, as I did for VG_NUM_CLO in the
Nicholas Nethercote [Sun, 11 Nov 2007 22:15:58 +0000 (22:15 +0000)] 
- Make other integer CLO macros more correct, as I did for VG_NUM_CLO in the
  last commit.
- Add a VG_DBL_CLO for fractional arguments.
- Make Massif's --threshold and --peak-inaccuracy arguments fractional.

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

17 years agoAdd four 'strtoll' variants, which are like 'atoll' but let you detect if
Nicholas Nethercote [Sun, 11 Nov 2007 21:58:21 +0000 (21:58 +0000)] 
Add four 'strtoll' variants, which are like 'atoll' but let you detect if
the string converted wasn't entirely numeric.  Using them for numeric
command-line options -- previously if you had a option "--foo=<n>", where
<n> is supposed to be an integer, then "--foo=blah" would be interpreted as
"--foo=0", because the "blah" would be converted to zero and the remaining
chars wouldn't be noticed.

Fixed an incorrect command-line option in two massif tests that this change
exposed.

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

17 years agoAdd some seemingly unnecessary initialisations to shut GCC 4.0.2 up.
Nicholas Nethercote [Sun, 11 Nov 2007 21:12:28 +0000 (21:12 +0000)] 
Add some seemingly unnecessary initialisations to shut GCC 4.0.2 up.

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

17 years agoIn vg_SP_update_pass (stack-pointer-change analysis code), correctly
Julian Seward [Sun, 11 Nov 2007 18:56:39 +0000 (18:56 +0000)] 
In vg_SP_update_pass (stack-pointer-change analysis code), correctly
handle partial updates of SP.  Tricky.  This fixes #152022.

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

17 years agoAdd some Helgrind suppressions for LinuxThreads.
Julian Seward [Sun, 11 Nov 2007 06:13:01 +0000 (06:13 +0000)] 
Add some Helgrind suppressions for LinuxThreads.

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

17 years agoAvoid compilation warnings from gcc-3.2 (about 'index' shadowing a built-in global)
Julian Seward [Sun, 11 Nov 2007 05:59:22 +0000 (05:59 +0000)] 
Avoid compilation warnings from gcc-3.2 (about 'index' shadowing a built-in global)

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

17 years agoComment-only change.
Julian Seward [Sun, 11 Nov 2007 05:58:41 +0000 (05:58 +0000)] 
Comment-only change.

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

17 years agoDon't hang on some old systems, since that makes the entire regtest
Julian Seward [Sun, 11 Nov 2007 05:52:36 +0000 (05:52 +0000)] 
Don't hang on some old systems, since that makes the entire regtest
system hang.

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

17 years agoEnsure omega.h is copied into the installation tree at 'make install' time.
Julian Seward [Sun, 11 Nov 2007 01:20:14 +0000 (01:20 +0000)] 
Ensure omega.h is copied into the installation tree at 'make install' time.

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

17 years agoFollowup to r7105: stop gcc complaining about violations of ANSI C
Julian Seward [Sat, 10 Nov 2007 22:50:13 +0000 (22:50 +0000)] 
Followup to r7105: stop gcc complaining about violations of ANSI C
aliasing rules by casting through (char*) as an intermediate type,
rather than through (void*).  This seems at least moderately
justifiable since the ANSI C standard explicitly says that any object
may be accessed through a char pointer.

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

17 years agoFix bogus grammar in r7139.
Julian Seward [Sat, 10 Nov 2007 22:19:42 +0000 (22:19 +0000)] 
Fix bogus grammar in r7139.

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

17 years agoClarify reason for existence of track_pre_thread_ll_create/_exit.
Julian Seward [Sat, 10 Nov 2007 22:13:03 +0000 (22:13 +0000)] 
Clarify reason for existence of track_pre_thread_ll_create/_exit.

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

17 years agoInclude omega.h in the distribution tarball, else building from the
Julian Seward [Sat, 10 Nov 2007 20:21:11 +0000 (20:21 +0000)] 
Include omega.h in the distribution tarball, else building from the
tarball fails.  As it stands omega.h is not installed into
$prefix/include/valgrind, so cannot be used in client requests.
Perhaps it should be.

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

17 years agoRemove old Helgrind suppressions.
Julian Seward [Sat, 10 Nov 2007 20:12:23 +0000 (20:12 +0000)] 
Remove old Helgrind suppressions.

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

17 years agoFix compilation on ppc platforms.
Julian Seward [Sat, 10 Nov 2007 13:33:56 +0000 (13:33 +0000)] 
Fix compilation on ppc platforms.

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

17 years agoBack out r7132.
Julian Seward [Sat, 10 Nov 2007 12:44:56 +0000 (12:44 +0000)] 
Back out r7132.

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

17 years agoFilter out some of Massif's verbose output that varies from machine to
Nicholas Nethercote [Sat, 10 Nov 2007 04:18:39 +0000 (04:18 +0000)] 
Filter out some of Massif's verbose output that varies from machine to
machine, caused by them getting slightly different stack traces.

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

17 years agoChanged Massif to record the 'slop' heap bytes caused by rounding asked-for
Nicholas Nethercote [Sat, 10 Nov 2007 04:08:08 +0000 (04:08 +0000)] 
Changed Massif to record the 'slop' heap bytes caused by rounding asked-for
sizes up to a multiple of 8 (or whatever --alignment is).  This is combined
with the "admin" bytes, resulting in the "extra" bytes.  Added
VG_(malloc_usable_size) to the tool interface to support this.

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

17 years agofix toolname in Helgrind suppressions
Nicholas Nethercote [Sat, 10 Nov 2007 03:27:42 +0000 (03:27 +0000)] 
fix toolname in Helgrind suppressions

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

17 years agoRename in the manual.
Julian Seward [Fri, 9 Nov 2007 23:59:49 +0000 (23:59 +0000)] 
Rename in the manual.

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

17 years agoStop xsltproc barfing on un-escaped '&'.
Julian Seward [Fri, 9 Nov 2007 23:59:14 +0000 (23:59 +0000)] 
Stop xsltproc barfing on un-escaped '&'.

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

17 years agoMerge (from branches/THRCHECK) misc build-system changes. Nothing
Julian Seward [Fri, 9 Nov 2007 23:30:51 +0000 (23:30 +0000)] 
Merge (from branches/THRCHECK) misc build-system changes.  Nothing
significant.

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

17 years agoMerge (from branches/THRCHECK) r7043:
Julian Seward [Fri, 9 Nov 2007 23:29:46 +0000 (23:29 +0000)] 
Merge (from branches/THRCHECK) r7043:

Allow a test to have any number of .stderr.exp* files, so long as at
least one is found.  In fact the comments in the code that claimed
that .stderr.exp[0-9] are the only ones allowed were misleading;
.stderr.exp* has always been allowed.  The only functional change here
is to mandate that at least one such file exists; prior to the change
the script mandated that at least a .stderr.exp (with no other suffix)
file existed.

Purpose is to allow collections of .stderr.exp files with suffixes
arranged in some meaningful way, eg, foo.stderr.exp-glibc25-amd64.
This might help in making testsuites more maintainable when there
have to be multiple .stderr.exp files.  Naming them merely as
.stderr.exp1, .stderr.exp2, etc, makes it impossible to remember
what the differences between the files actually is.

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

17 years agoI got a bit confused with glibc-2.6.X suppressions whilst merging from
Julian Seward [Fri, 9 Nov 2007 23:26:54 +0000 (23:26 +0000)] 
I got a bit confused with glibc-2.6.X suppressions whilst merging from
branches/THRCHECK (sorry Dirk).  I'll fix them shortly.

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

17 years agoAllow VG_(atoll16) to accept a leading "0x".
Julian Seward [Fri, 9 Nov 2007 23:25:46 +0000 (23:25 +0000)] 
Allow VG_(atoll16) to accept a leading "0x".

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

17 years agoOops (a second time), this was missed out of r7118 (Merge (from
Julian Seward [Fri, 9 Nov 2007 23:24:09 +0000 (23:24 +0000)] 
Oops (a second time), this was missed out of r7118 (Merge (from
branches/THRCHECK) the following amd64-linux stack unwind kludges)

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

17 years agoMerge (from branches/THRCHECK) the following two changes to the core-tool
Julian Seward [Fri, 9 Nov 2007 23:21:44 +0000 (23:21 +0000)] 
Merge (from branches/THRCHECK) the following two changes to the core-tool
interface:

r6805: Modify two thread-notification events in the core-tool
interface.  This removes track_post_thread_create and
track_post_thread_join.  The core can only see low level thread
creation and exiting, and has no idea about pthread-level concepts
like "pthread_create" and "pthread_join", so these are a bit
ambiguous.

Replace them with track_pre_thread_ll_create, which is notified before
a new thread makes any memory references, and
track_pre_thread_ll_exit, which is notified just before the new thread
exits, that is, after it has made its last memory reference.

r6823: Core-tool interface: give 'needs_tool_errors' an extra Boolean
indicating whether or not the core should print thread id's on error
messages.

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

17 years agoOops, this was missed out of r7118 (Merge (from branches/THRCHECK) the
Julian Seward [Fri, 9 Nov 2007 23:16:11 +0000 (23:16 +0000)] 
Oops, this was missed out of r7118 (Merge (from branches/THRCHECK) the
following amd64-linux stack unwind kludges)

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

17 years agoMerge (from branches/THRCHECK) r6804:
Julian Seward [Fri, 9 Nov 2007 23:13:22 +0000 (23:13 +0000)] 
Merge (from branches/THRCHECK) r6804:

Split the scheduler initialisation into two phases, for reasons I
can't exactly remember.  But I think it was so that the tool can be
told of the initial thread's TID before it is notified of any initial
address range permissions.  Or something like that.

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

17 years agoMerge r6806 from branches/THRCHECK:
Julian Seward [Fri, 9 Nov 2007 23:09:50 +0000 (23:09 +0000)] 
Merge r6806 from branches/THRCHECK:

Fix longstanding error in the amd64-linux function-wrapping macros:
protect the caller's red zone across the hidden call.  All rather
nasty as explained in big comment.

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

17 years agoTrack vex r1793: make all tools able to handle the new IR memory bus
Julian Seward [Fri, 9 Nov 2007 23:06:35 +0000 (23:06 +0000)] 
Track vex r1793: make all tools able to handle the new IR memory bus
event statement (Ist_MBE).

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

17 years agoMerge (from branches/THRCHECK) the following amd64-linux stack unwind
Julian Seward [Fri, 9 Nov 2007 23:02:28 +0000 (23:02 +0000)] 
Merge (from branches/THRCHECK) the following amd64-linux stack unwind
kludges^H^H^H^H^H^H^Henhancements:

r6802: For VG_(record_ExeContext) et al, add a new parameter
(first_ip_delta) which is added to the initial IP value before the
stack is unwound.  A safe value to pass is zero, which causes the
existing behaviour to be unchanged.  This is a kludge needed to work
around the incomplete amd64 stack unwind info in glibc-2.5's clone()
routine.

r7059: Add a last-ditch heuristic-hack to the amd64-linux stack
unwinder, which is used when all other methods fail.  Seems like GDB
has something similar.

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

17 years agoSuppressions for (new) Helgrind.
Julian Seward [Fri, 9 Nov 2007 22:50:55 +0000 (22:50 +0000)] 
Suppressions for (new) Helgrind.

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

17 years agoImport thrcheck from the THRCHECK branch, and rename it Helgrind (with
Julian Seward [Fri, 9 Nov 2007 22:49:28 +0000 (22:49 +0000)] 
Import thrcheck from the THRCHECK branch, and rename it Helgrind (with
permission of the existing Helgrind authors).

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

17 years agoFix tag.
Julian Seward [Fri, 9 Nov 2007 21:07:31 +0000 (21:07 +0000)] 
Fix tag.

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

17 years agoRename this directory.
Julian Seward [Fri, 9 Nov 2007 15:44:15 +0000 (15:44 +0000)] 
Rename this directory.

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

17 years agoAdd Bryan Meredith's Omega tool as an experimental tool. Maintainer
Julian Seward [Fri, 9 Nov 2007 12:30:36 +0000 (12:30 +0000)] 
Add Bryan Meredith's Omega tool as an experimental tool.  Maintainer
is Rich Coe.  Also, a minor mod to Makefile.install.am to handle tool
names with dashes in.

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

17 years agoDon't print warnings about silly args to malloc/calloc in XML mode.
Julian Seward [Fri, 9 Nov 2007 11:33:02 +0000 (11:33 +0000)] 
Don't print warnings about silly args to malloc/calloc in XML mode.

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

17 years agoUpdate notes.
Julian Seward [Wed, 7 Nov 2007 01:10:42 +0000 (01:10 +0000)] 
Update notes.

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

17 years agoTest for decoding of some instructions with redundant REX.W bits in
Julian Seward [Tue, 6 Nov 2007 22:00:35 +0000 (22:00 +0000)] 
Test for decoding of some instructions with redundant REX.W bits in
their prefix.

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

17 years agoFix gcc-2.96 build failures.
Julian Seward [Sat, 3 Nov 2007 11:16:31 +0000 (11:16 +0000)] 
Fix gcc-2.96 build failures.

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

17 years agoUpdate todo notes
Nicholas Nethercote [Fri, 2 Nov 2007 21:44:02 +0000 (21:44 +0000)] 
Update todo notes

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

17 years agoFix a Makefile issue that I think caused automated testing to fail on
Nicholas Nethercote [Fri, 2 Nov 2007 20:47:53 +0000 (20:47 +0000)] 
Fix a Makefile issue that I think caused automated testing to fail on
'alvis' last night.  I don't no why it worked on the other machines, must be
an automake version thing.

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

17 years agoChange ms_print to ms_print.in, link it into the build/install system.
Nicholas Nethercote [Fri, 2 Nov 2007 20:44:57 +0000 (20:44 +0000)] 
Change ms_print to ms_print.in, link it into the build/install system.

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

17 years agoFilter out libc differences. All Massif tests now pass on the AMD64 machine
Nicholas Nethercote [Fri, 2 Nov 2007 04:17:28 +0000 (04:17 +0000)] 
Filter out libc differences.  All Massif tests now pass on the AMD64 machine
I just tested.

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

17 years agoFix 64-bit Massif breakage, caused by problems with integer arithmetic on
Nicholas Nethercote [Fri, 2 Nov 2007 04:12:48 +0000 (04:12 +0000)] 
Fix 64-bit Massif breakage, caused by problems with integer arithmetic on
values of different signs and sizes that only a C language lawyer would
spot.

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

17 years agoThis should have gone in with the last commit.
Nicholas Nethercote [Thu, 1 Nov 2007 04:44:58 +0000 (04:44 +0000)] 
This should have gone in with the last commit.

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

17 years agoMerged the MASSIF2 branch to the trunk. Main changes:
Nicholas Nethercote [Thu, 1 Nov 2007 04:40:37 +0000 (04:40 +0000)] 
Merged the MASSIF2 branch to the trunk.  Main changes:

- ms_main.c: completely overhauled.

- massif/tests/*:  lots of them now.

- massif/perf/:  added.

- massif/hp2ps:  removed.  No longer used.

- vg_regtest: renamed the previously unused "posttest" notion to "post".
  Using it for checking ms_print's output.

Although the code has changed dramatically, as has the form of the tool's
output, the information presented in the output is basically the same,
although it's now (hopefully) much more useful.  So the tool name is
unchanged.

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

17 years agoAdd comment about 32-bit UIDs/GIDs.
Nicholas Nethercote [Tue, 23 Oct 2007 22:26:12 +0000 (22:26 +0000)] 
Add comment about 32-bit UIDs/GIDs.

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

17 years agoUpdate bug status.
Tom Hughes [Tue, 23 Oct 2007 08:16:01 +0000 (08:16 +0000)] 
Update bug status.

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

17 years agoUse geteuid32/getegid32 on those platforms which have them.
Tom Hughes [Tue, 23 Oct 2007 08:03:59 +0000 (08:03 +0000)] 
Use geteuid32/getegid32 on those platforms which have them.
Fixes bug #151209.

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

17 years agoSuggest compiling with --Wall.
Nicholas Nethercote [Thu, 18 Oct 2007 23:14:48 +0000 (23:14 +0000)] 
Suggest compiling with --Wall.

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

17 years agoclarify a paragraph
Nicholas Nethercote [Wed, 17 Oct 2007 22:29:08 +0000 (22:29 +0000)] 
clarify a paragraph

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

17 years agoAdd a comment.
Nicholas Nethercote [Tue, 16 Oct 2007 23:18:06 +0000 (23:18 +0000)] 
Add a comment.

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

17 years agoreadd right adjustment.
Dirk Mueller [Thu, 4 Oct 2007 21:36:40 +0000 (21:36 +0000)] 
readd right adjustment.

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

17 years agorevert format checking warnings from trunk, will
Dirk Mueller [Thu, 4 Oct 2007 21:35:21 +0000 (21:35 +0000)] 
revert format checking warnings from trunk, will
be done in a branch

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

17 years agofix a few format string warnings
Dirk Mueller [Mon, 1 Oct 2007 10:33:41 +0000 (10:33 +0000)] 
fix a few format string warnings

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

17 years agoAdd an FAQ.
Nicholas Nethercote [Tue, 25 Sep 2007 22:05:04 +0000 (22:05 +0000)] 
Add an FAQ.

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

17 years agoadd format argument checking. might find useful portability issues
Dirk Mueller [Mon, 24 Sep 2007 13:25:24 +0000 (13:25 +0000)] 
add format argument checking. might find useful portability issues

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

17 years agoupdate bugs status
Dirk Mueller [Mon, 24 Sep 2007 13:24:50 +0000 (13:24 +0000)] 
update bugs status

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

17 years agofix various format string errors
Dirk Mueller [Mon, 24 Sep 2007 13:23:53 +0000 (13:23 +0000)] 
fix various format string errors

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

17 years agoFix various format string errors, courtesy of Florian Krohm.
Nicholas Nethercote [Sun, 23 Sep 2007 00:51:24 +0000 (00:51 +0000)] 
Fix various format string errors, courtesy of Florian Krohm.

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

17 years agoAdd VG_(atoll).
Nicholas Nethercote [Sat, 22 Sep 2007 06:23:07 +0000 (06:23 +0000)] 
Add VG_(atoll).

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

17 years agoUpdate
Josef Weidendorfer [Tue, 18 Sep 2007 19:29:25 +0000 (19:29 +0000)] 
Update

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

17 years agocallgrind_control: Fix behavior with callgrind runs of another user
Josef Weidendorfer [Tue, 18 Sep 2007 19:12:57 +0000 (19:12 +0000)] 
callgrind_control: Fix behavior with callgrind runs of another user

callgrind_control uses files /tmp/callgrind.info.* to be able to
locate running callgrind processes. These files can be read only by
the user which started callgrind. The callgrind_control script
did not check for "permission denied" on opening these files, which
resulted in some unexpected errors. Now, it is checked whether
the "open" was successful, and if not, we skip the according callgrind
process.

Fixes bug 149963.

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

17 years agoAdd a warning about --log-file-exactly.
Nicholas Nethercote [Mon, 17 Sep 2007 23:15:35 +0000 (23:15 +0000)] 
Add a warning about --log-file-exactly.

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

17 years agoupdate
Nicholas Nethercote [Mon, 17 Sep 2007 22:50:46 +0000 (22:50 +0000)] 
update

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

17 years agoChange an Int to a SSizeT to avoid overflows. Fixed bug 148174.
Nicholas Nethercote [Mon, 17 Sep 2007 22:46:45 +0000 (22:46 +0000)] 
Change an Int to a SSizeT to avoid overflows.  Fixed bug 148174.

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

17 years agoExtra info about debugging with GDB
Nicholas Nethercote [Mon, 17 Sep 2007 22:35:57 +0000 (22:35 +0000)] 
Extra info about debugging with GDB

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

17 years agoAdd a section to the cachegrind manual suggesting how to act on the results.
Nicholas Nethercote [Mon, 17 Sep 2007 22:28:21 +0000 (22:28 +0000)] 
Add a section to the cachegrind manual suggesting how to act on the results.

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

17 years agoAdd section on how to use Cachegrind's results.
Nicholas Nethercote [Mon, 17 Sep 2007 22:19:01 +0000 (22:19 +0000)] 
Add section on how to use Cachegrind's results.

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

17 years agominor tweak
Nicholas Nethercote [Mon, 17 Sep 2007 22:01:14 +0000 (22:01 +0000)] 
minor tweak

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