Julian Seward
93058e37d1
Use --gen-suppressions=all rather than =yes, since the latter causes
...
the entire regtest system to hang if in fact a suppression does need
to be generated (since V stops to ask). Not sure why this flag is
really in here, tho.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10162
2009-05-28 17:39:56 +00:00
Julian Seward
44d851851e
Reinstate an include needed on ppc{32,64}-linux.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10161
2009-05-28 17:15:41 +00:00
Tom Hughes
cb02702334
Add support for AT_RANDOM to keep glibc happy when it is built
...
to assume kernel 2.6.29 or later. Closes #194429 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10160
2009-05-28 12:51:24 +00:00
Nicholas Nethercote
64dcb65ca5
Make this file executable too.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10158
2009-05-28 02:24:28 +00:00
Nicholas Nethercote
2172e4962f
Make this file executable.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10157
2009-05-28 02:20:59 +00:00
Nicholas Nethercote
07045477ca
Merge the DARWIN branch onto the trunk.
...
I tried using 'svn merge' to do the merge but it did a terrible job and
there were bazillions of conflicts. So instead I just took the diff between
the branch and trunk at r10155, applied the diff to the trunk, 'svn add'ed
the added files (no files needed to be 'svn remove'd) and committed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10156
2009-05-28 01:53:07 +00:00
Nicholas Nethercote
ff9fe6eb81
DARWIN sync: timeval.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10150
2009-05-25 01:48:59 +00:00
Nicholas Nethercote
f7b44686d5
DARWIN sync: add a comment.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10149
2009-05-25 01:48:32 +00:00
Nicholas Nethercote
2d64e71c06
DARWIN sync: whitespace.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10148
2009-05-25 01:47:56 +00:00
Nicholas Nethercote
8fde04297b
Changing VG_MALLOC_MIN_SZB to 16 on some platforms broke heap profiling.
...
This fixes it by changing the size of a cost centre from ULong to
VG_MALLOC_MIN_SZB.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10136
2009-05-24 23:36:50 +00:00
Nicholas Nethercote
43c9f484e0
DARWIN sync: sys_truncate64 and sys_ftruncate64 wrappers.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10134
2009-05-24 23:02:55 +00:00
Nicholas Nethercote
93ab20a3de
DARWIN sync: remove redundant check (it's done again in pre_mem_sock_addr()).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10133
2009-05-24 22:45:33 +00:00
Nicholas Nethercote
27ff9aaf29
DARWIN sync: sys_open wrapper.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10131
2009-05-24 22:32:33 +00:00
Nicholas Nethercote
63d3d86e21
DARWIN sync: sys_readlink layout.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10121
2009-05-23 01:51:54 +00:00
Nicholas Nethercote
e6f07f20d3
DARWIN sync: remove '.' from some field names for consistency, and factor
...
out some variables.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10119
2009-05-23 01:18:44 +00:00
Nicholas Nethercote
9633a4c11d
DARWIN sync: all the timeval stuff
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10106
2009-05-22 08:12:46 +00:00
Nicholas Nethercote
3f5f690a32
DARWIN sync: comment and braces.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10102
2009-05-22 07:09:03 +00:00
Nicholas Nethercote
83abfcbfa0
DARWIN sync: change the 3rd arg of VG_(fcntl).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10101
2009-05-22 07:08:12 +00:00
Nicholas Nethercote
22dfc72abd
DARWIN sync: export VG_(socket).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10098
2009-05-22 02:00:27 +00:00
Nicholas Nethercote
de5e58f35a
Partly revert r10044 -- do use struct vki_sockaddr, and define it for AIX.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10096
2009-05-22 00:52:14 +00:00
Nicholas Nethercote
d256d37393
Avoid struct vki_sockaddr_in in my_connect(), because it's not defined on
...
all platforms; void* suffices.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10095
2009-05-22 00:47:08 +00:00
Nicholas Nethercote
d3c159040a
Abort on unknown fcntl, rather than doing no checking.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10094
2009-05-22 00:38:15 +00:00
Nicholas Nethercote
b4dbd225dd
DARWIN sync: add ML_({PRE,POST}_unknown_ioctl).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10089
2009-05-22 00:15:06 +00:00
Nicholas Nethercote
8f020ede95
Merge r10085, r10086 (post-fork handling) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10087
2009-05-21 23:59:34 +00:00
Nicholas Nethercote
a739383a56
DARWIN sync: improve syscall retval tracking, and factor out position code.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10084
2009-05-21 23:53:40 +00:00
Nicholas Nethercote
0f41b8b20b
DARWIN sync: spacing and layout.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10083
2009-05-21 23:52:52 +00:00
Julian Seward
cd999dd99e
Handle DW_CFA_{remember,restore}_state. This requires having a stack
...
of currently on-the-go register rules, rather than just one.
gcc doesn't appear to generate these (it's pretty darn obscure), but
they do turn up a piece of handwritten assembly somewhere in the
depths of Python-2.6 on amd64-linux.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10075
2009-05-21 15:33:36 +00:00
Julian Seward
97e2bdc064
When updating the constraint for a location following a race, make
...
sure the read-constraint <= the write-constraint. Failure to do this
leads to assertion failures later on. Fixes #181394 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10074
2009-05-21 14:54:05 +00:00
Julian Seward
06a44d8f83
Fix bogus assertion pertaining to validity checking of reader-writer
...
locks, as reported in #188248 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10073
2009-05-21 14:49:55 +00:00
Nicholas Nethercote
e2623cfad8
Merge r10071 (VALGRIND_INTERNAL_PRINTF fix) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10072
2009-05-21 04:10:38 +00:00
Nicholas Nethercote
8c819736dc
DARWIN sync: comment and macros.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10068
2009-05-21 03:52:03 +00:00
Nicholas Nethercote
c86fb22e38
DARWIN sync: use a library function.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10067
2009-05-21 03:38:58 +00:00
Nicholas Nethercote
790fbdfa1a
DARWIN sync: make VG_MIN_MALLOC_SZB 16 bytes where appropriate. Add another
...
output for massif/tests/one to account for it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10066
2009-05-21 03:36:21 +00:00
Nicholas Nethercote
b56f41367a
DARWIN sync: spacing.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10065
2009-05-21 02:03:08 +00:00
Nicholas Nethercote
f5d63ec869
DARWIN sync: minor layout things, comments.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10057
2009-05-21 01:25:43 +00:00
Nicholas Nethercote
cae079c2c6
DARWIN sync: tweak debuglog output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10055
2009-05-21 01:15:18 +00:00
Nicholas Nethercote
7672429a62
DARWIN sync: whitespace change only.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10052
2009-05-20 08:14:23 +00:00
Nicholas Nethercote
961d37ce2f
DARWIN sync: param name.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10045
2009-05-20 07:36:18 +00:00
Nicholas Nethercote
cdd83eda74
Merge r9472 (tkill() param renaming) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10044
2009-05-20 07:10:48 +00:00
Nicholas Nethercote
1a110f34eb
On x86-linux, send debuglog output to stderr, not stdout.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10041
2009-05-20 06:59:19 +00:00
Nicholas Nethercote
48431e8fd4
DARWIN sync: spacing.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10039
2009-05-20 06:51:11 +00:00
Nicholas Nethercote
70f8bb547e
DARWIN sync: remove unused VG_UCONTEXT_SYSCALL_NUM.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10037
2009-05-20 06:46:25 +00:00
Nicholas Nethercote
262c096bf2
DARWIN sync: conditional compilation and spacing/comments.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10036
2009-05-20 06:42:59 +00:00
Nicholas Nethercote
cfda7a2e7c
DARWIN sync: use Word instead of UWord for sysno in two places.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10030
2009-05-20 05:22:38 +00:00
Nicholas Nethercote
66972a860e
DARWIN sync: change how newlines are printed for --trace-syscalls.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10029
2009-05-20 05:19:22 +00:00
Nicholas Nethercote
b3c1b6028b
Be more consistent with the spacing of syscall nums.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10027
2009-05-20 05:05:56 +00:00
Nicholas Nethercote
e7d587bdce
Remove an unnecessary #include.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10024
2009-05-20 04:35:28 +00:00
Nicholas Nethercote
99b76e50c7
DARWIN sync: add some 'const' attributes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10022
2009-05-20 04:22:42 +00:00
Nicholas Nethercote
df51cff058
DARWIN sync: comment change.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10018
2009-05-20 04:09:38 +00:00
Nicholas Nethercote
8d02058b42
DARWIN sync: Makefile.am layout, mostly.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10016
2009-05-20 04:02:50 +00:00