]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
17 years agoRename drd_preloaded.c to drd_intercepts.c (Bart Van Assche)
Julian Seward [Fri, 4 Jan 2008 11:36:41 +0000 (11:36 +0000)] 
Rename drd_preloaded.c to drd_intercepts.c (Bart Van Assche)

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

17 years agoMark the main thread as running while the initial memory declarations
Tom Hughes [Wed, 2 Jan 2008 10:13:04 +0000 (10:13 +0000)] 
Mark the main thread as running while the initial memory declarations
are made to the tool so that the tool can associate that memory with
the main thread if it wishes.

Also cleanup existing hacks in the drd tool which worked around the
fact that the core did not set the current thread while declaring the
initial memory.

Path from Bart Van Assche <bart.vanassche@gmail.com>.

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

17 years agoStop drd trying to get a backtrace when there is no stack pointer.
Tom Hughes [Wed, 2 Jan 2008 10:07:44 +0000 (10:07 +0000)] 
Stop drd trying to get a backtrace when there is no stack pointer.

Patch from Bart Van Assche <bart.vanassche@gmail.com>.

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

17 years agoAdd const qualifiers to appropriate arguments of OSet routines.
Tom Hughes [Sun, 30 Dec 2007 12:28:26 +0000 (12:28 +0000)] 
Add const qualifiers to appropriate arguments of OSet routines.

Patch from Bart Van Assche <bart.vanassche@gmail.com>.

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

18 years agoComment-only change.
Julian Seward [Sat, 22 Dec 2007 14:14:04 +0000 (14:14 +0000)] 
Comment-only change.

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

18 years agoAIX5 counterpart to r7302: Improve handling of programs which require
Julian Seward [Sat, 22 Dec 2007 14:12:42 +0000 (14:12 +0000)] 
AIX5 counterpart to r7302: Improve handling of programs which require
very large main thread stacks.

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

18 years agoPropagate the ucontext information with a received signal to the
Tom Hughes [Fri, 21 Dec 2007 10:24:24 +0000 (10:24 +0000)] 
Propagate the ucontext information with a received signal to the
signal frame constructors and use it (on x86 and amd64) to fill in
the trap number in the signal context information.

Needed for wine which likes to look at the trap number...

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

18 years agoAdd a new method VG_(record_depth_1_ExeContext), a trivial derivative
Julian Seward [Fri, 21 Dec 2007 01:24:59 +0000 (01:24 +0000)] 
Add a new method VG_(record_depth_1_ExeContext), a trivial derivative
of VG_(record_ExeContext), which just records the first stack frame
but does not attempt to unwind the (guest) stack.  This is useful in
situations where we suspect unwinding the stack might cause a
segfault.

Use this in m_signals, when getting a backtrace following a guest
segfault.

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

18 years agoAdd a couple of regtests for large stack frame management.
Julian Seward [Wed, 19 Dec 2007 11:01:13 +0000 (11:01 +0000)] 
Add a couple of regtests for large stack frame management.

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

18 years agoImprove handling of programs which require very large main thread
Julian Seward [Tue, 18 Dec 2007 01:49:23 +0000 (01:49 +0000)] 
Improve handling of programs which require very large main thread
stacks.  Instead of hardwiring the main thread stack to a max of 16MB
and segfaulting the app beyond that point, allow the user to specify
the main stack size using the new flag --main-stacksize=<number>.

If said flag is not present, the current default, which is "MIN(16GB,
current ulimit -s value)", is used.

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

18 years agoPrint a nice message if allocation of the stack fails, rather than just
Julian Seward [Sat, 15 Dec 2007 23:08:35 +0000 (23:08 +0000)] 
Print a nice message if allocation of the stack fails, rather than just
asserting.

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

18 years agoWhen allocating space for the client stack on Linux, take notice of
Julian Seward [Sat, 15 Dec 2007 22:13:05 +0000 (22:13 +0000)] 
When allocating space for the client stack on Linux, take notice of
the --max-stackframe value.  This makes it possible to run programs
with very large (primary) stack requirements simply by specifying
--max-stackframe.

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

18 years agoFix stupid error spotted by by Konstantin Serebryany.
Julian Seward [Wed, 12 Dec 2007 11:42:33 +0000 (11:42 +0000)] 
Fix stupid error spotted by by Konstantin Serebryany.

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

18 years agoUpdate ignores.
Robert Walsh [Wed, 12 Dec 2007 03:16:52 +0000 (03:16 +0000)] 
Update ignores.

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

18 years agoBop version.
Julian Seward [Tue, 11 Dec 2007 00:50:54 +0000 (00:50 +0000)] 
Bop version.

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

18 years agoUpdate notes on repo-mangling.
Julian Seward [Tue, 11 Dec 2007 00:49:33 +0000 (00:49 +0000)] 
Update notes on repo-mangling.

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

18 years agoDuh. Sigh. etc.
Julian Seward [Mon, 10 Dec 2007 22:21:14 +0000 (22:21 +0000)] 
Duh.  Sigh.  etc.

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

18 years agoFinalise 3.3.0.
Julian Seward [Mon, 10 Dec 2007 22:17:42 +0000 (22:17 +0000)] 
Finalise 3.3.0.

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

18 years agoThird time lucky, perhaps.
Julian Seward [Sun, 9 Dec 2007 02:25:44 +0000 (02:25 +0000)] 
Third time lucky, perhaps.

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

18 years agoFinalise distro docs for 3.3.0.
Julian Seward [Sun, 9 Dec 2007 02:24:02 +0000 (02:24 +0000)] 
Finalise distro docs for 3.3.0.

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

18 years agoAnother supp.
Julian Seward [Sun, 9 Dec 2007 02:22:55 +0000 (02:22 +0000)] 
Another supp.

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

18 years agoAdd missing file to tarball.
Julian Seward [Sun, 9 Dec 2007 02:21:22 +0000 (02:21 +0000)] 
Add missing file to tarball.

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

18 years agoDon't do comparisons of (signed) Words by merely subtracting them, as
Julian Seward [Sun, 9 Dec 2007 02:14:35 +0000 (02:14 +0000)] 
Don't do comparisons of (signed) Words by merely subtracting them, as
this does not always produce correct results.  Instead use a slower
but correct method.  Analogous fix to that applied to m_oset.c by
r7283.

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

18 years agoDon't do comparisons of (signed) Words by merely subtracting them, as
Julian Seward [Sun, 9 Dec 2007 02:08:42 +0000 (02:08 +0000)] 
Don't do comparisons of (signed) Words by merely subtracting them, as
this does not always produce correct results.  Instead use a slower
but correct method.  Fixes #147545.  (Nick Nethercote, Tom Hughes et
al)

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

18 years ago--> 3.3.0.RC2.
Julian Seward [Thu, 6 Dec 2007 02:15:16 +0000 (02:15 +0000)] 
--> 3.3.0.RC2.

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

18 years agoUpdate.
Julian Seward [Thu, 6 Dec 2007 02:13:37 +0000 (02:13 +0000)] 
Update.

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

18 years agoAnother supp.
Julian Seward [Thu, 6 Dec 2007 01:58:05 +0000 (01:58 +0000)] 
Another supp.

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

18 years agoDocument flakiness of NON_SIMD_CALL* in comments and the manual.
Nicholas Nethercote [Wed, 5 Dec 2007 21:51:50 +0000 (21:51 +0000)] 
Document flakiness of NON_SIMD_CALL* in comments and the manual.

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

18 years agoRename a header file.
Julian Seward [Wed, 5 Dec 2007 01:31:42 +0000 (01:31 +0000)] 
Rename a header file.

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

18 years agoUpdate expected outputs. Use new naming scheme now permitted by
Julian Seward [Wed, 5 Dec 2007 01:19:20 +0000 (01:19 +0000)] 
Update expected outputs.  Use new naming scheme now permitted by
tests/vg_regtest.

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

18 years agoMinor Massif docs clarifications.
Nicholas Nethercote [Tue, 4 Dec 2007 21:35:55 +0000 (21:35 +0000)] 
Minor Massif docs clarifications.

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

18 years agoDRD changes (Bart Van Assche)
Julian Seward [Tue, 4 Dec 2007 21:27:18 +0000 (21:27 +0000)] 
DRD changes (Bart Van Assche)

* Add docs: exp-drd/docs/README.txt
* Added one drd suppression pattern, and cleaned up the suppression file.
* All regression tests now pass on x86_64 and i386, including sigalrm.
* Updated TODO.txt file.
* pth_create_chain test is now started with 100 threads instead of 10
  -- 10 was not enough.
* DRD no longer exits on PPC32 and PPC64 but just prints a warning
  message before it starts.

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

18 years agoRemove client requests that were deprecated in 3.2.0.
Nicholas Nethercote [Tue, 4 Dec 2007 21:18:06 +0000 (21:18 +0000)] 
Remove client requests that were deprecated in 3.2.0.

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

18 years agoHandle semaphore-related syscalls.
Julian Seward [Tue, 4 Dec 2007 16:12:54 +0000 (16:12 +0000)] 
Handle semaphore-related syscalls.

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

18 years agoUpdate old (and wrong) parts of callgrind documentation.
Josef Weidendorfer [Tue, 4 Dec 2007 10:09:24 +0000 (10:09 +0000)] 
Update old (and wrong) parts of callgrind documentation.
This obviously was already wrong in 3.2.x :-(

* Old --fn-recursion=... / --fn-caller=... options are called
  --separate-recs=... / --separate-callers=... since quite some
  time for consistency with e.g. --separate-threads=yes.
  Error noted from bug 153335.
* Function specifications support wildcards since quite some time;
  specification of a prefix only does not work, but the full
  function has to match. This was needed to allow to specify 'foo'
  without also specifying 'foo1'.
* The script 'callgrind' does not exist since merging into
  valgrind.
* Rename callgrind from being a 'heavyweight' to a 'call graph'
  profiler, similar to the description in the quick start overview.

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

18 years agotweak message
Nicholas Nethercote [Tue, 4 Dec 2007 03:27:40 +0000 (03:27 +0000)] 
tweak message

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

18 years agoTwo changes:
Nicholas Nethercote [Tue, 4 Dec 2007 03:15:23 +0000 (03:15 +0000)] 
Two changes:
- Be more robust in the face of malformed stack traces.  This avoids some
  potential assertion errors (which have affected prior versions of Massif),
  but unfortunately reduces the amount of sanity-checking that can be done
  on XTrees.

- Get white-space printing right in output file.  Non-functional change,
  just makes output files easier to read.

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

18 years agoComment-only change.
Nicholas Nethercote [Mon, 3 Dec 2007 21:29:22 +0000 (21:29 +0000)] 
Comment-only change.

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

18 years agoFinalise 3.3.0.RC1.
Julian Seward [Sun, 2 Dec 2007 22:15:31 +0000 (22:15 +0000)] 
Finalise 3.3.0.RC1.

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

18 years agoBack out r7210 ("Fix completely bogus implementation of
Julian Seward [Sun, 2 Dec 2007 22:03:43 +0000 (22:03 +0000)] 
Back out r7210 ("Fix completely bogus implementation of
VG_(seginfo_sect_kind).") as it breaks DRD and possible Callgrind.

The segment kind identification code is basically broken for non-text
segments, but requires fixing at a higher level than this.  See
discussion on valgrind-developers, 20 March 07, "Bug in
VG_(seginfo_sect_kind) ?"

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

18 years agoSet version to 3.3.0-RC1.
Julian Seward [Sun, 2 Dec 2007 13:37:18 +0000 (13:37 +0000)] 
Set version to 3.3.0-RC1.

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

18 years agoUpdate release docs.
Julian Seward [Sun, 2 Dec 2007 02:08:17 +0000 (02:08 +0000)] 
Update release docs.

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

18 years agoFutz with headers.
Julian Seward [Sun, 2 Dec 2007 02:06:46 +0000 (02:06 +0000)] 
Futz with headers.

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

18 years agoWibble.
Julian Seward [Sun, 2 Dec 2007 02:05:23 +0000 (02:05 +0000)] 
Wibble.

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

18 years ago* document gcc code generation shenanigans on ppc32-linux
Julian Seward [Sun, 2 Dec 2007 02:01:09 +0000 (02:01 +0000)] 
* document gcc code generation shenanigans on ppc32-linux
* add docs for --malloc-fill and --free-fill

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

18 years agoOnly pass valid ThreadIDs to VG_(record_ExeContext). (Bart Van Assche)
Julian Seward [Sat, 1 Dec 2007 02:09:50 +0000 (02:09 +0000)] 
Only pass valid ThreadIDs to VG_(record_ExeContext).  (Bart Van Assche)

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

18 years agoUpdate contact details.
Julian Seward [Fri, 30 Nov 2007 21:52:27 +0000 (21:52 +0000)] 
Update contact details.

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

18 years agoNew options for Memcheck, --malloc-fill=<hexnumber> and
Julian Seward [Fri, 30 Nov 2007 21:41:40 +0000 (21:41 +0000)] 
New options for Memcheck, --malloc-fill=<hexnumber> and
--fill-free=<hexnumber>, which cause malloc'd(etc) and free'd(etc)
blocks to be filled with the specified value.  This can apparently be
useful for shaking out hard-to-track-down memory corruption.  The
definedness/addressability of said areas is not affected -- only the
contents.  Documentation to follow.

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

18 years agoMarginally enhance help message.
Julian Seward [Fri, 30 Nov 2007 21:24:05 +0000 (21:24 +0000)] 
Marginally enhance help message.

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

18 years agoGet rid of VG_NUMW_CLO, as it is pretty much identical to VG_NUM_CLO,
Julian Seward [Fri, 30 Nov 2007 17:50:44 +0000 (17:50 +0000)] 
Get rid of VG_NUMW_CLO, as it is pretty much identical to VG_NUM_CLO,
and only used in one place.

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

18 years agoMake the freed-block-queue volume metrics 64-bit throughout, to avoid
Julian Seward [Fri, 30 Nov 2007 17:19:36 +0000 (17:19 +0000)] 
Make the freed-block-queue volume metrics 64-bit throughout, to avoid
any wierdness on very large machines in the future.  Also, double the
default size from 5MB to 10MB, on the basis that programs are now on
average twice as lardy as they were when it was set to 5MB, whenever
that was.

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

18 years agoInclude headers in tarball.
Julian Seward [Fri, 30 Nov 2007 15:28:13 +0000 (15:28 +0000)] 
Include headers in tarball.

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

18 years agoAdd a test case for semaphores with nonzero initial values.
Julian Seward [Fri, 30 Nov 2007 11:22:35 +0000 (11:22 +0000)] 
Add a test case for semaphores with nonzero initial values.

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

18 years agoCorrectly handle semaphores with nonzero initial values. Fixes bug
Julian Seward [Fri, 30 Nov 2007 11:11:02 +0000 (11:11 +0000)] 
Correctly handle semaphores with nonzero initial values.  Fixes bug
observed by Matthieu Castet.  Also, add another sanity-check flag.

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

18 years agoRemove pthread_object_size.h and associated hardwired constants.
Julian Seward [Fri, 30 Nov 2007 08:30:29 +0000 (08:30 +0000)] 
Remove pthread_object_size.h and associated hardwired constants.
(Bart Van Assche)

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

18 years agoSo much for C's "type system" (ha ha). Correct version of r7250.
Julian Seward [Thu, 29 Nov 2007 13:04:03 +0000 (13:04 +0000)] 
So much for C's "type system" (ha ha).  Correct version of r7250.

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

18 years agoDon't assert when destroying a locked rwlock.
Julian Seward [Thu, 29 Nov 2007 12:53:25 +0000 (12:53 +0000)] 
Don't assert when destroying a locked rwlock.

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

18 years agoChanges to make Memcheck work sanely on recent incarnations of AIX 5.3:
Julian Seward [Thu, 29 Nov 2007 03:08:32 +0000 (03:08 +0000)] 
Changes to make Memcheck work sanely on recent incarnations of AIX 5.3:

* add a few more syscall wrappers, and fix a couple of buggy ones

* intercept strcmp et al in a few more libraries

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

18 years agoDon't be confused by archive (.a) files which contain both a 32-bit
Julian Seward [Thu, 29 Nov 2007 03:06:25 +0000 (03:06 +0000)] 
Don't be confused by archive (.a) files which contain both a 32-bit
and a 64-bit version of the same object (with the same name).  Prior
to this, it would sometimes attempt to read debug info from the wrong
version of the object, complain that the magic number wasn't right,
and so end up reading nothing at all for that object.

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

18 years ago- Remove extraneous 'o' (will be stored in svn server for possible
Julian Seward [Wed, 28 Nov 2007 01:55:29 +0000 (01:55 +0000)] 
- Remove extraneous 'o' (will be stored in svn server for possible
  future use)

- Fix tag

- Fix long line which wraps around in html output

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

18 years agoDump extraneous code.
Julian Seward [Wed, 28 Nov 2007 01:50:55 +0000 (01:50 +0000)] 
Dump extraneous code.

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

18 years agoMake it compile on AIX, even if the result doesn't do anything useful.
Julian Seward [Wed, 28 Nov 2007 01:27:03 +0000 (01:27 +0000)] 
Make it compile on AIX, even if the result doesn't do anything useful.

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

18 years agoFix compilation on older Linux distros (Bart Van Assche)
Julian Seward [Tue, 27 Nov 2007 23:39:13 +0000 (23:39 +0000)] 
Fix compilation on older Linux distros (Bart Van Assche)

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

18 years agoClarify peak-taking details.
Nicholas Nethercote [Tue, 27 Nov 2007 21:38:14 +0000 (21:38 +0000)] 
Clarify peak-taking details.

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

18 years agoMassif doc fixes, mostly from Julian.
Nicholas Nethercote [Tue, 27 Nov 2007 21:29:33 +0000 (21:29 +0000)] 
Massif doc fixes, mostly from Julian.

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

18 years agoMake Memcheck work sanely on AIX5.3 (again):
Julian Seward [Tue, 27 Nov 2007 11:42:47 +0000 (11:42 +0000)] 
Make Memcheck work sanely on AIX5.3 (again):

* Don't intercept putenv/getenv/setenv.  Causes a lot of whinging
  about missing TOC pointers.

* Add 'strcmp' to the bundle of 4 functions intercepted in all
  objects.

* xlc now seems to route calls through to malloc_common, free_common,
  calloc_common, realloc_common, memalign_common in libc.  Intercept
  those names too.

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

18 years agoDon't break the build on AIX5.3.
Julian Seward [Tue, 27 Nov 2007 11:23:55 +0000 (11:23 +0000)] 
Don't break the build on AIX5.3.

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

18 years agoMinor updates.
Nicholas Nethercote [Tue, 27 Nov 2007 02:03:44 +0000 (02:03 +0000)] 
Minor updates.

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

18 years agoTranslate the drd regtests from C++ to C. (Bart Van Assche).
Julian Seward [Tue, 27 Nov 2007 01:59:38 +0000 (01:59 +0000)] 
Translate the drd regtests from C++ to C.  (Bart Van Assche).

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

18 years agoTweaked the tool-writing docs.
Nicholas Nethercote [Tue, 27 Nov 2007 01:59:02 +0000 (01:59 +0000)] 
Tweaked the tool-writing docs.

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

18 years agoAdd Massif bugs fixed by the rewrite. I added them to the top part of the
Nicholas Nethercote [Tue, 27 Nov 2007 01:34:06 +0000 (01:34 +0000)] 
Add Massif bugs fixed by the rewrite.  I added them to the top part of the
file, not the "after 3.2.3" section, I hope this is the right place for
them.

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

18 years agocallgrind: support for --callgrind-out-file
Josef Weidendorfer [Tue, 27 Nov 2007 01:27:12 +0000 (01:27 +0000)] 
callgrind: support for --callgrind-out-file

This removes the --base option, which is replaced by
--callgrind-out-file.
Plus manual update.

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

18 years agoThis should have gone in with r7233.
Nicholas Nethercote [Tue, 27 Nov 2007 00:59:17 +0000 (00:59 +0000)] 
This should have gone in with r7233.

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

18 years agoUpdate test output for a recent graph-drawing change. Update some notes.
Nicholas Nethercote [Tue, 27 Nov 2007 00:53:56 +0000 (00:53 +0000)] 
Update test output for a recent graph-drawing change. Update some notes.

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

18 years agoAIX 5.3 build fixes.
Julian Seward [Mon, 26 Nov 2007 22:43:03 +0000 (22:43 +0000)] 
AIX 5.3 build fixes.

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

18 years agoMinor tweak to drawing of peak and detailed snapshot bars on the graph.
Nicholas Nethercote [Mon, 26 Nov 2007 22:27:02 +0000 (22:27 +0000)] 
Minor tweak to drawing of peak and detailed snapshot bars on the graph.

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

18 years agoMinor tweak to x-axis positioning of bars.
Nicholas Nethercote [Mon, 26 Nov 2007 22:17:19 +0000 (22:17 +0000)] 
Minor tweak to x-axis positioning of bars.

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

18 years ago- Rewrote documentation.
Nicholas Nethercote [Mon, 26 Nov 2007 21:59:04 +0000 (21:59 +0000)] 
- Rewrote documentation.
- Added a new time unit, instructions executed, and made it the default -- it's
  much more reproducible and consistent than milliseconds.  Requires IRSB
  instrumentation and so slows down some programs (malloc-light ones such as
  bzip2) by about 20%, others by less.
- ms_print now doesn't overwrite the x-axis in the graphs.
- Added a test for --detailed-freq and --max-snapshots

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

18 years agodrd: make the build silent regardless of platform, and abort at
Julian Seward [Mon, 26 Nov 2007 21:34:30 +0000 (21:34 +0000)] 
drd: make the build silent regardless of platform, and abort at
     startup with a message if a not supported platform, like
     Omega.

omega: make the platform-not-supported-message a bit nicer.

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

18 years agoadd glibc 2.7 suppression to the distribution list
Dirk Mueller [Mon, 26 Nov 2007 14:54:36 +0000 (14:54 +0000)] 
add glibc 2.7 suppression to the distribution list

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

18 years agoDon't break the build on unknown (to drd) platforms.
Julian Seward [Mon, 26 Nov 2007 06:03:05 +0000 (06:03 +0000)] 
Don't break the build on unknown (to drd) platforms.

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

18 years agoBack out r7221, which was incorrect.
Nicholas Nethercote [Mon, 26 Nov 2007 02:55:12 +0000 (02:55 +0000)] 
Back out r7221, which was incorrect.

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

18 years agoProgram uses too many new-ish constructions to be compilable on glibc 2.2
Julian Seward [Mon, 26 Nov 2007 00:41:54 +0000 (00:41 +0000)] 
Program uses too many new-ish constructions to be compilable on glibc 2.2
(Red Hat 7.3).  Do nothing on very old platforms.

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

18 years agoMake drd regtests work again following core changes. (Bart Van Assche)
Julian Seward [Mon, 26 Nov 2007 00:11:04 +0000 (00:11 +0000)] 
Make drd regtests work again following core changes.  (Bart Van Assche)

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

18 years agoFix NUM_CLO checking.
Nicholas Nethercote [Mon, 26 Nov 2007 00:00:32 +0000 (00:00 +0000)] 
Fix NUM_CLO checking.

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

18 years agoGet rid of stuff which should not have been committed. Urrr.
Julian Seward [Sun, 25 Nov 2007 23:56:12 +0000 (23:56 +0000)] 
Get rid of stuff which should not have been committed.  Urrr.

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

18 years agoFix g++-2.96 build breakage.
Julian Seward [Sun, 25 Nov 2007 23:15:44 +0000 (23:15 +0000)] 
Fix g++-2.96 build breakage.

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

18 years agoUn-break 'make distdir'. Either by removing from EXTRA_DIST, file
Julian Seward [Sun, 25 Nov 2007 20:20:49 +0000 (20:20 +0000)] 
Un-break 'make distdir'.  Either by removing from EXTRA_DIST, file
names pertaining to tests which cannot be run (no associated .vgtest),
or by adding missing .stdout.exp files for tests which are to be run
(there is an associated .vgtest).

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

18 years agoGet rid of compiler warnings.
Julian Seward [Sun, 25 Nov 2007 15:40:17 +0000 (15:40 +0000)] 
Get rid of compiler warnings.

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

18 years agoRemove from the active tree; this is of historical interest only now.
Julian Seward [Sun, 25 Nov 2007 14:11:38 +0000 (14:11 +0000)] 
Remove from the active tree; this is of historical interest only now.
Of course this remains in the repo forever.

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

18 years agoUpdate.
Julian Seward [Sun, 25 Nov 2007 14:09:45 +0000 (14:09 +0000)] 
Update.

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

18 years agoFix broken link.
Julian Seward [Sun, 25 Nov 2007 14:09:26 +0000 (14:09 +0000)] 
Fix broken link.

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

18 years agoMisc changes needed to support exp-drd (Bart Van Assche).
Julian Seward [Sun, 25 Nov 2007 14:08:53 +0000 (14:08 +0000)] 
Misc changes needed to support exp-drd (Bart Van Assche).

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

18 years agoCore-tool iface changes needed to support exp-drd (Bart Van Assche).
Julian Seward [Sun, 25 Nov 2007 14:06:06 +0000 (14:06 +0000)] 
Core-tool iface changes needed to support exp-drd (Bart Van Assche).

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

18 years agoAdd DRD as an experimental tool. Bart Van Assche is the maintainer.
Julian Seward [Sun, 25 Nov 2007 14:01:38 +0000 (14:01 +0000)] 
Add DRD as an experimental tool.  Bart Van Assche is the maintainer.

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

18 years agoFix completely bogus implementation of VG_(seginfo_sect_kind). This
Julian Seward [Sun, 25 Nov 2007 12:30:36 +0000 (12:30 +0000)] 
Fix completely bogus implementation of VG_(seginfo_sect_kind).  This
was reported a very long time ago (2 years?) but was not fixed until
now.

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

18 years agoVery minor changes.
Julian Seward [Sun, 25 Nov 2007 00:56:51 +0000 (00:56 +0000)] 
Very minor changes.

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

18 years agoCreate a new chapter in the Valgrind Manual: a chapter containing info
Julian Seward [Sun, 25 Nov 2007 00:55:11 +0000 (00:55 +0000)] 
Create a new chapter in the Valgrind Manual: a chapter containing info
on some advanced aspects of the core (client requests, function
wrapping) and move stuff from the main core manual into it.

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

18 years agoAttempt to shake out uses of uninitialised malloc'd memory by Valgrind
Julian Seward [Sat, 24 Nov 2007 23:37:07 +0000 (23:37 +0000)] 
Attempt to shake out uses of uninitialised malloc'd memory by Valgrind
itself, if such exist.  Attempt failed (or no such uses exist :-)
Commit does not change any code.

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

18 years agoUpdate expected outputs.
Julian Seward [Sat, 24 Nov 2007 22:53:31 +0000 (22:53 +0000)] 
Update expected outputs.

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