Commit Graph

5285 Commits

Author SHA1 Message Date
Julian Seward
f862c19d42 Fix compilation on ppc platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7136
2007-11-10 13:33:56 +00:00
Julian Seward
e8d00c4eff Back out r7132.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7135
2007-11-10 12:44:56 +00:00
Nicholas Nethercote
3aacee8b1b 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
2007-11-10 04:18:39 +00:00
Nicholas Nethercote
d95559802b 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
2007-11-10 04:08:08 +00:00
Nicholas Nethercote
e4a44c6078 fix toolname in Helgrind suppressions
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7132
2007-11-10 03:27:42 +00:00
Julian Seward
969c77b267 Rename in the manual.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7130
2007-11-09 23:59:49 +00:00
Julian Seward
edccec4447 Stop xsltproc barfing on un-escaped '&'.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7129
2007-11-09 23:59:14 +00:00
Julian Seward
af406f51e9 Merge (from branches/THRCHECK) misc build-system changes. Nothing
significant.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7128
2007-11-09 23:30:51 +00:00
Julian Seward
e63e873227 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
2007-11-09 23:29:46 +00:00
Julian Seward
28af011553 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
2007-11-09 23:26:54 +00:00
Julian Seward
6e9e59f46b Allow VG_(atoll16) to accept a leading "0x".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7125
2007-11-09 23:25:46 +00:00
Julian Seward
33e93b4514 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
2007-11-09 23:24:09 +00:00
Julian Seward
06666933d9 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
2007-11-09 23:21:44 +00:00
Julian Seward
4478efba98 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
2007-11-09 23:16:11 +00:00
Julian Seward
30238ecdb2 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
2007-11-09 23:13:22 +00:00
Julian Seward
0babc91f2f 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
2007-11-09 23:09:50 +00:00
Julian Seward
5e290312a0 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
2007-11-09 23:06:35 +00:00
Julian Seward
75fd9878c9 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
2007-11-09 23:02:28 +00:00
Julian Seward
44d239943d Suppressions for (new) Helgrind.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7117
2007-11-09 22:50:55 +00:00
Julian Seward
6109e89b04 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
2007-11-09 22:49:28 +00:00
Julian Seward
daa5ec20ec Fix tag.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7115
2007-11-09 21:07:31 +00:00
Julian Seward
7d6046494a Rename this directory.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7113
2007-11-09 15:44:15 +00:00
Julian Seward
5b02b70476 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
2007-11-09 12:30:36 +00:00
Julian Seward
5338c831db Don't print warnings about silly args to malloc/calloc in XML mode.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7111
2007-11-09 11:33:02 +00:00
Julian Seward
0648e87955 Update notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7106
2007-11-07 01:10:42 +00:00
Julian Seward
6127ab922f Test for decoding of some instructions with redundant REX.W bits in
their prefix.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7104
2007-11-06 22:00:35 +00:00
Julian Seward
3432ccbf8b Fix gcc-2.96 build failures.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7085
2007-11-03 11:16:31 +00:00
Nicholas Nethercote
d8769612a2 Update todo notes
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7084
2007-11-02 21:44:02 +00:00
Nicholas Nethercote
ad2b342f32 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
2007-11-02 20:47:53 +00:00
Nicholas Nethercote
8a965314f5 Change ms_print to ms_print.in, link it into the build/install system.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7082
2007-11-02 20:44:57 +00:00
Nicholas Nethercote
0a9d806a56 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
2007-11-02 04:17:28 +00:00
Nicholas Nethercote
6069e5a71d 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
2007-11-02 04:12:48 +00:00
Nicholas Nethercote
3afed74653 This should have gone in with the last commit.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7070
2007-11-01 04:44:58 +00:00
Nicholas Nethercote
62eed24c67 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
2007-11-01 04:40:37 +00:00
Nicholas Nethercote
d4afc89b08 Add comment about 32-bit UIDs/GIDs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7030
2007-10-23 22:26:12 +00:00
Tom Hughes
7559af4a26 Update bug status.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7029
2007-10-23 08:16:01 +00:00
Tom Hughes
a985431199 Use geteuid32/getegid32 on those platforms which have them.
Fixes bug #151209.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7028
2007-10-23 08:03:59 +00:00
Nicholas Nethercote
c7bef26e28 Suggest compiling with --Wall.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7025
2007-10-18 23:14:48 +00:00
Nicholas Nethercote
1fe5f40db4 clarify a paragraph
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7015
2007-10-17 22:29:08 +00:00
Nicholas Nethercote
cd95227e38 Add a comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7009
2007-10-16 23:18:06 +00:00
Dirk Mueller
ab6ac6192c readd right adjustment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6948
2007-10-04 21:36:40 +00:00
Dirk Mueller
e0e03a6d73 revert format checking warnings from trunk, will
be done in a branch


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6947
2007-10-04 21:35:21 +00:00
Dirk Mueller
76b90cdeb9 fix a few format string warnings
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6928
2007-10-01 10:33:41 +00:00
Nicholas Nethercote
c970063ea0 Add an FAQ.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6910
2007-09-25 22:05:04 +00:00
Dirk Mueller
3bcfe33127 add format argument checking. might find useful portability issues
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6909
2007-09-24 13:25:24 +00:00
Dirk Mueller
85ac20d67c update bugs status
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6908
2007-09-24 13:24:50 +00:00
Dirk Mueller
f5610e96a2 fix various format string errors
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6907
2007-09-24 13:23:53 +00:00
Nicholas Nethercote
7cb817e078 Fix various format string errors, courtesy of Florian Krohm.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6902
2007-09-23 00:51:24 +00:00
Nicholas Nethercote
2455b7eaf8 Add VG_(atoll).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6899
2007-09-22 06:23:07 +00:00
Josef Weidendorfer
ac244a2023 Update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6862
2007-09-18 19:29:25 +00:00