Julian Seward
d19b3f97a8
Futz with headers.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7264
2007-12-02 02:06:46 +00:00
Julian Seward
1a7c3b3407
Wibble.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7263
2007-12-02 02:05:23 +00:00
Julian Seward
59b2716959
* 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
2007-12-02 02:01:09 +00:00
Julian Seward
9fbe42bfca
Only pass valid ThreadIDs to VG_(record_ExeContext). (Bart Van Assche)
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7261
2007-12-01 02:09:50 +00:00
Julian Seward
4d05588e59
Update contact details.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7260
2007-11-30 21:52:27 +00:00
Julian Seward
9ad4d494fa
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
2007-11-30 21:41:40 +00:00
Julian Seward
e70c4211ff
Marginally enhance help message.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7258
2007-11-30 21:24:05 +00:00
Julian Seward
f5adf7f83a
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
2007-11-30 17:50:44 +00:00
Julian Seward
755bc0ea22
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
2007-11-30 17:19:36 +00:00
Julian Seward
8d0427b2f4
Include headers in tarball.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7255
2007-11-30 15:28:13 +00:00
Julian Seward
2b2ea81f12
Add a test case for semaphores with nonzero initial values.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7254
2007-11-30 11:22:35 +00:00
Julian Seward
47680cfc98
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
2007-11-30 11:11:02 +00:00
Julian Seward
ec903846a6
Remove pthread_object_size.h and associated hardwired constants.
...
(Bart Van Assche)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7252
2007-11-30 08:30:29 +00:00
Julian Seward
3f55d3fa51
So much for C's "type system" (ha ha). Correct version of r7250.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7251
2007-11-29 13:04:03 +00:00
Julian Seward
dff66750ab
Don't assert when destroying a locked rwlock.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7250
2007-11-29 12:53:25 +00:00
Julian Seward
953b8549d7
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
2007-11-29 03:08:32 +00:00
Julian Seward
9d7f1c6a52
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
2007-11-29 03:06:25 +00:00
Julian Seward
2fc4ae0c18
- 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
2007-11-28 01:55:29 +00:00
Julian Seward
eadeac4197
Dump extraneous code.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7246
2007-11-28 01:50:55 +00:00
Julian Seward
6b37c2e40e
Make it compile on AIX, even if the result doesn't do anything useful.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7245
2007-11-28 01:27:03 +00:00
Julian Seward
f633404bb7
Fix compilation on older Linux distros (Bart Van Assche)
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7244
2007-11-27 23:39:13 +00:00
Nicholas Nethercote
347873b9a4
Clarify peak-taking details.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7243
2007-11-27 21:38:14 +00:00
Nicholas Nethercote
3387ddba10
Massif doc fixes, mostly from Julian.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7242
2007-11-27 21:29:33 +00:00
Julian Seward
c7fbd65201
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
2007-11-27 11:42:47 +00:00
Julian Seward
dc96d0a97a
Don't break the build on AIX5.3.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7240
2007-11-27 11:23:55 +00:00
Nicholas Nethercote
44e10a1a18
Minor updates.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7239
2007-11-27 02:03:44 +00:00
Julian Seward
2a219917db
Translate the drd regtests from C++ to C. (Bart Van Assche).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7238
2007-11-27 01:59:38 +00:00
Nicholas Nethercote
5293c35183
Tweaked the tool-writing docs.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7237
2007-11-27 01:59:02 +00:00
Nicholas Nethercote
537f6888e6
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
2007-11-27 01:34:06 +00:00
Josef Weidendorfer
1752567fb4
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
2007-11-27 01:27:12 +00:00
Nicholas Nethercote
8905fb6038
This should have gone in with r7233.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7234
2007-11-27 00:59:17 +00:00
Nicholas Nethercote
ab36cf9dde
Update test output for a recent graph-drawing change. Update some notes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7233
2007-11-27 00:53:56 +00:00
Julian Seward
a60ad6740d
AIX 5.3 build fixes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7232
2007-11-26 22:43:03 +00:00
Nicholas Nethercote
78e4acd024
Minor tweak to drawing of peak and detailed snapshot bars on the graph.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7231
2007-11-26 22:27:02 +00:00
Nicholas Nethercote
8d6ffee32a
Minor tweak to x-axis positioning of bars.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7230
2007-11-26 22:17:19 +00:00
Nicholas Nethercote
01e4f950f2
- 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
2007-11-26 21:59:04 +00:00
Julian Seward
519f7dba03
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
2007-11-26 21:34:30 +00:00
Dirk Mueller
bc2e4aa75a
add glibc 2.7 suppression to the distribution list
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7226
2007-11-26 14:54:36 +00:00
Julian Seward
eb0d6e9ede
Don't break the build on unknown (to drd) platforms.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7225
2007-11-26 06:03:05 +00:00
Nicholas Nethercote
79d4505e99
Back out r7221, which was incorrect.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7224
2007-11-26 02:55:12 +00:00
Julian Seward
10d34261e7
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
2007-11-26 00:41:54 +00:00
Julian Seward
e2b1e84659
Make drd regtests work again following core changes. (Bart Van Assche)
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7222
2007-11-26 00:11:04 +00:00
Nicholas Nethercote
73f9cade8f
Fix NUM_CLO checking.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7221
2007-11-26 00:00:32 +00:00
Julian Seward
8c77347278
Get rid of stuff which should not have been committed. Urrr.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7220
2007-11-25 23:56:12 +00:00
Julian Seward
4d8252fede
Fix g++-2.96 build breakage.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7219
2007-11-25 23:15:44 +00:00
Julian Seward
0da1890961
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
2007-11-25 20:20:49 +00:00
Julian Seward
9460e84deb
Get rid of compiler warnings.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7217
2007-11-25 15:40:17 +00:00
Julian Seward
ccd197d806
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
2007-11-25 14:11:38 +00:00
Julian Seward
09a9d63e75
Update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7215
2007-11-25 14:09:45 +00:00
Julian Seward
0993154060
Fix broken link.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7214
2007-11-25 14:09:26 +00:00