Tom Hughes
7069d64ec5
Fix compiler warnings.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5086
2005-11-11 13:46:52 +00:00
Julian Seward
e36149b24a
Stop gcc4 complaining about pointer signedness mismatches.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5085
2005-11-11 13:13:01 +00:00
Tom Hughes
0d25c745d7
Fix compiler warning.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5084
2005-11-11 12:32:10 +00:00
Tom Hughes
06e2ca6cf1
Fix compiler warnings.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5083
2005-11-11 12:30:36 +00:00
Tom Hughes
cb0456aa31
Turn on some extra warnings.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5082
2005-11-11 12:30:12 +00:00
Tom Hughes
d1c6c1b8d2
Fix compiler warnings.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5081
2005-11-11 11:54:11 +00:00
Tom Hughes
3243eff8cc
Bug status updates.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5080
2005-11-11 08:46:25 +00:00
Tom Hughes
32215c8f64
Suppress AT_SYSINFO in the auxiliary vector because it contains a
...
pointer to the system call routine in the sysinfo page and older
versions of glibc will use it. Fixex bug #115496 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5079
2005-11-11 08:39:34 +00:00
Julian Seward
ef709a53fc
Another Altivec test program.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5078
2005-11-11 02:35:41 +00:00
Cerion Armour-Brown
4d0a44c474
Comments from Greg Parker re ppc ABI conventions.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5077
2005-11-11 01:00:36 +00:00
Julian Seward
33f62a359f
Do cpu string identification right, so the ppc32-specific tests
...
actually get run.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5076
2005-11-10 23:30:21 +00:00
Julian Seward
3dbed54455
Add instruction-set tests for ppc32 (integer, FP, altivec).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5075
2005-11-10 19:33:56 +00:00
Julian Seward
f054cdf695
Oops. Track primop renamings.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5074
2005-11-10 18:34:41 +00:00
Julian Seward
b3a5e7de56
Handle IR primops arising from running Altivec code. It seems Altivec
...
is stronger in the vector integer area than SSE, but weaker in the
vector FP area.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5073
2005-11-10 18:13:01 +00:00
Nicholas Nethercote
3035e5abee
Cachegrind was aborting if it hit a client request. Now it doesn't.
...
This fixes #116057 , I think. I added a regtest so it won't regress again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5072
2005-11-10 15:20:37 +00:00
Nicholas Nethercote
411f026243
Avoid compiler warnings.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5071
2005-11-10 15:03:26 +00:00
Tom Hughes
dd590a7f95
Call VG_(unknown_SP_update) each time we switch to a new thread. This
...
ensures that current_stack is switched to the new thread's stack so
that we don't ignore the next stack update and hence fail to mark
memory that should be valid as valid.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5070
2005-11-10 15:02:42 +00:00
Tom Hughes
5c6d483aca
Add some extra debugging to the stack management module and simply
...
it a bit - there is no need to keep a full copy of the current stack
descriptor as we can just keep a pointer to it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5069
2005-11-10 14:24:08 +00:00
Julian Seward
202f4dadd7
m_libcsignal is needed here.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5068
2005-11-10 13:15:31 +00:00
Tom Hughes
43eeeace22
Remove redundant conditional - ppc32-linux is already handled.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5067
2005-11-10 12:54:37 +00:00
Tom Hughes
9ae428b26c
Use $(INSTALL_DATA) to install libcoregrind.a and libvex.a as they
...
don't need to have execute permission.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5066
2005-11-10 11:11:39 +00:00
Nicholas Nethercote
057061d2ae
Try to avoid compiler warnings on AMD64.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5065
2005-11-10 04:02:19 +00:00
Nicholas Nethercote
95ff6df5b7
need --trace-children when self-hosting
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5064
2005-11-10 03:40:36 +00:00
Julian Seward
2e4dea1c78
filter_linenos was not making it into tarballs.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5063
2005-11-10 03:38:56 +00:00
Nicholas Nethercote
8a58b97fbb
Factor out some common code in m_syswrap.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5062
2005-11-10 02:48:04 +00:00
Nicholas Nethercote
06e7c23cc0
update URLs
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5061
2005-11-10 02:43:25 +00:00
Dirk Mueller
d854bab3df
we don't need libc. so don't link it
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5060
2005-11-10 00:40:26 +00:00
Julian Seward
140530810b
Add hacks to make it possible to build callgrind ("clg3" branch) from
...
cvs against an install tree.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5059
2005-11-09 16:32:02 +00:00
Julian Seward
f7cd7c3073
Add casts to stop gcc complaining.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5058
2005-11-09 15:14:16 +00:00
Julian Seward
1e2a85030c
Add comments from email discussion re mprotect.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5057
2005-11-09 14:51:59 +00:00
Julian Seward
fb2b39dcfd
Third pass at the ppc32 ptrace stuff. It compiles now, but gcc complains that
...
the last two args to VG_(ptrace) are ints when they should be pointers. So
I'm still not sure whether this is right or not. Should I just put in a bunch
of casts to shut it up, or is it really expecting pointers and not ints?
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5056
2005-11-09 14:43:03 +00:00
Cerion Armour-Brown
3acbecc3c6
Save/Restore condition register, and VRSAVE register in core dispatch loop.
...
Cleaned up stack according to common abi constraints.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5055
2005-11-09 14:13:08 +00:00
Julian Seward
4b7473cdb9
Adjust debugLog messages.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5054
2005-11-09 14:09:14 +00:00
Julian Seward
554556bbef
Install libvex.a and libcoregrind.a, needed for external tool builds.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5053
2005-11-09 14:04:27 +00:00
Tom Hughes
fb53b628e2
Do ptrace_setregs in a ppc32 compatible way instead of a ppc64 way.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5052
2005-11-09 08:52:56 +00:00
Tom Hughes
44b7b48fd3
Add missing quote.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5051
2005-11-09 08:52:21 +00:00
Tom Hughes
0d861a9993
Update results - we now emulate the whole LDT.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5050
2005-11-09 08:48:38 +00:00
Nicholas Nethercote
bf21ecfdb0
Factor out some common code in m_syswrap.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5049
2005-11-09 04:49:28 +00:00
Nicholas Nethercote
ed659fc097
update
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5048
2005-11-09 04:43:32 +00:00
Cerion Armour-Brown
207b24c793
store & load callee-saved floating-point and vector registers in core dispatch loop.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5047
2005-11-08 22:03:07 +00:00
Julian Seward
5f3a7540c1
Try to fill in ptrace_setregs. Dunno if it's right.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5046
2005-11-08 20:59:14 +00:00
Nicholas Nethercote
a6a0b68d99
Augment a little.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5045
2005-11-08 20:03:08 +00:00
Nicholas Nethercote
ad2136dd96
update
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5044
2005-11-08 19:59:24 +00:00
Nicholas Nethercote
28d3933051
update
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5043
2005-11-08 19:38:58 +00:00
Julian Seward
63bfdbc99f
Reinstate timestamping, sort-of, having trashed VG_(ctime) as part of
...
the glibc-removal process. Timestamps are now printed in terms of
elapsed wallclock time since startup, shown as days, hours, minutes,
seconds and milliseconds. The arithmetic is done with 32-bit unsigned
ints, so people doing Valgrind runs that last longer than 49.71 days
are going to see some funny results :-)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5042
2005-11-08 19:01:44 +00:00
Tom Hughes
db732ea188
Handle the PROT_GROWSDOWN and PROT_GROWSUP mprotect flags properly
...
which stops glibc falling over when a program requires an executable
stack and glibc has been built to assume that PROT_GROWSDOWN will work.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5041
2005-11-08 16:51:55 +00:00
Julian Seward
31f1119c9d
Document the --kernel-variant= option.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5040
2005-11-08 15:52:36 +00:00
Julian Seward
57e70cee23
Get rid of old flags that memcheck no longer has.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5039
2005-11-08 14:10:24 +00:00
Julian Seward
60df0c1a81
Add tests for --partial-loads-ok= flag.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5038
2005-11-08 13:20:24 +00:00
Tom Hughes
aa4a74f1a4
Reworked to avoid depending on $(eval) in the make files as only fairly
...
new GNU make versions seem to have it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5037
2005-11-08 12:28:35 +00:00