Dirk Mueller
acad7cdb9e
stop whining.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2166
2004-01-03 12:47:32 +00:00
Nicholas Nethercote
1838e1f44c
Add possible workaround for FAQ 16, from Adam Spragg.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2165
2004-01-03 10:57:20 +00:00
Dirk Mueller
5bbe9946e1
link bug reporting page instead
...
CCMAIL: 69845-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2164
2004-01-02 23:27:29 +00:00
Dirk Mueller
fbdd62da20
remove the files as they're no longer regularly maintained. NEWS should
...
be enough.
CCMAIL: 69844-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2163
2004-01-02 23:14:11 +00:00
Dirk Mueller
539a15c361
link the bugzilla
...
CCMAIL: 69843-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2162
2004-01-02 23:11:35 +00:00
Dirk Mueller
e7fda6bd73
add support for mincore syscall, patch by Tom Hughes
...
CCMAIL: 69783-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2161
2004-01-02 22:52:34 +00:00
Dirk Mueller
2ca3af3479
movntpd/movntps support (patch by Tom Hughes)
...
CCMAIL: 69782-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2160
2004-01-02 22:50:04 +00:00
Dirk Mueller
f64b9bf8c8
fix comment
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2157
2004-01-02 22:46:34 +00:00
Dirk Mueller
6be7c55829
implement cmpxchg8b, patch by Tom Hughes.
...
CCMAIL: 69688-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2154
2004-01-02 22:42:29 +00:00
Julian Seward
6bbfc962d3
(David Lee, <david.lee@teracruz.com>)
...
This patch fixes a semaphore leak within valgrind. If your application
dynamically allocates/releases semaphores, you will very quickly run out.
Also, as a nice side effect, it implements sem_destroy properly.
(me)
Protect sem_getvalue with a lock/unlock of the semaphore's mutex,
like the other routines do.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2153
2004-01-02 11:39:06 +00:00
Dirk Mueller
c3076b4eab
mark the braced expression as C(++) extension
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2152
2003-12-31 14:32:23 +00:00
Julian Seward
2c11c2d1fc
Add post-FV suppressions needed to make it tolerably quiet on SuSE 9.
...
With these suppressions there are now 15 stderr fails and 2 stdout
fails on SuSE 9.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2151
2003-12-24 11:45:16 +00:00
Jeremy Fitzhardinge
391451cb5f
Statically allocate a page in the client address space for trampoline
...
code. Currently this is just for signal returns, but there's the start
of sysinfo/vsyscalls support, as used by the TLS libraries.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2150
2003-12-24 10:11:11 +00:00
Jeremy Fitzhardinge
f9cff4f423
It seems newer linkers have scripts which mention the base address twice
...
on one line.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2149
2003-12-24 01:50:51 +00:00
Jeremy Fitzhardinge
1c4717d8bd
Make sure we use gcc's ld, not whatever random ld we happen to find in the path.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2148
2003-12-23 01:15:01 +00:00
Julian Seward
e1500fd9ec
De-anonymise a union so as to un-break compilation on gcc-2.95.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2147
2003-12-22 22:53:35 +00:00
Julian Seward
a3188f40fd
Add an implementation of strnlen for memcheck, from Tom Hughes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2146
2003-12-22 22:39:15 +00:00
Julian Seward
eb141a093c
Add overlap checking for stpcpy().
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2145
2003-12-22 22:31:27 +00:00
Jeremy Fitzhardinge
e468324c92
Fixed munmap bug - split_segment wasn't updating the lengths properly.
...
Turn off debug printing.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2144
2003-12-22 10:58:06 +00:00
Jeremy Fitzhardinge
a77797ee87
Fix nasty use after free bug revealed by last munmap fix.
...
Unexport split_segment; it isn't needed elsewhere.
(Something still wrong with munmap.)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2143
2003-12-22 10:42:59 +00:00
Jeremy Fitzhardinge
88892fd58d
Re-add proper support for mremap(). Also, fix a bug in munmap().
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2142
2003-12-22 08:48:50 +00:00
Julian Seward
5425200499
resolve_redir(): when a redirect is resolved, if the source has
...
already been translated, discard that translation. Otherwise the
redirect will never take effect.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2141
2003-12-22 00:50:52 +00:00
Julian Seward
22fd0f99dc
For whatever reason, ld-2.3.2.so (ld-linux.so.2) seems to have its own
...
PLT-bypassed versions of stpcpy and strchr. Subvert them.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2140
2003-12-22 00:14:50 +00:00
Julian Seward
79c85b65bf
Use the redir machinery to forcibly remap stpcpy in libc.so.6 to our
...
own version in mac_replace_strmem.c. We have to do this the hard way
because overenthusiastic PLT bypassing in glibc means the usual
symbol-override stuff doesn't work. IOW, for the usual reason that we
have to use the redir machinery at all.
This makes many programs run much more quietly on SuSE 9.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2139
2003-12-21 23:54:59 +00:00
Julian Seward
b1580b78eb
Make the debug printing in the symbol redirect machinery, easier to
...
understand.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2138
2003-12-21 23:32:43 +00:00
Julian Seward
3bd93ba4d9
Add a vanilla implementation of stpcpy(). Does not do overlap checking
...
(it should).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2137
2003-12-21 23:29:16 +00:00
Jeremy Fitzhardinge
f0bdc7ed7b
Fix typo in VG_(munmap)() error checking, which made it never remove
...
any Segment mappings.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2136
2003-12-20 18:19:50 +00:00
Jeremy Fitzhardinge
3881a72653
Don't print prediction info for branches if we're not generating it.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2135
2003-12-19 23:47:24 +00:00
Jeremy Fitzhardinge
4623bc042c
mmap/munmap exerciser test
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2134
2003-12-19 21:56:04 +00:00
Jeremy Fitzhardinge
48dfac5b73
Make --trace-codegen start printing from the first basic block, rather
...
than the second.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2133
2003-12-19 17:16:54 +00:00
Jeremy Fitzhardinge
7a9b741860
Also remove vgpreload_*.so from LD_PRELOAD when we're not tracing
...
children.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2132
2003-12-19 00:35:20 +00:00
Jeremy Fitzhardinge
f8b1345c8f
VG_(clo_pointercheck) is a Bool, which is a byte.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2131
2003-12-19 00:23:00 +00:00
Jeremy Fitzhardinge
72bfb346c0
Sigh. Add the test files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2130
2003-12-18 09:08:51 +00:00
Jeremy Fitzhardinge
863238a720
Make rep; nop (pause) yield the thread. Based on a patch by Tom Hughes;
...
I added a test case and cleaned up vg_dispatch.S while I was about it.
CCMAIL: 69529-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2129
2003-12-18 09:06:09 +00:00
Jeremy Fitzhardinge
5e5641d26b
Fix a bug in the last VG_(max_fd) change; VG_(safe_fd) doesn't work before
...
VG_(max_fd) has been set up.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2128
2003-12-18 07:22:44 +00:00
Jeremy Fitzhardinge
ebe35cedb9
Patch from Tom Hughes: set VG_(max_fd) based on the current file
...
descriptor limit rather than assuming 1024.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2127
2003-12-18 02:39:22 +00:00
Jeremy Fitzhardinge
f2f0c80b83
An experiment in generating branch-prediction hints. Enable them with
...
--branchpred=yes. I'm interested to know if these make a significant
difference for anyone - I see a small speed increase on the Pentium M.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2126
2003-12-18 02:10:54 +00:00
Robert Walsh
f3cc076219
Ignore internal Valgrind file descriptors.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2125
2003-12-18 01:48:06 +00:00
Dirk Mueller
4ed09ea00c
ignore
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2124
2003-12-17 13:28:12 +00:00
Dirk Mueller
fe0b4d3681
ignore
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2123
2003-12-17 13:18:24 +00:00
Jeremy Fitzhardinge
1f4c6deede
Auto-generate stage2.lds so that the linker script matches the local
...
linker.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2122
2003-12-16 22:26:45 +00:00
Jeremy Fitzhardinge
4122aee5ee
Remove coregrind/vg_valgrinq_dummy.c
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2121
2003-12-16 02:23:31 +00:00
Jeremy Fitzhardinge
1b98c9c51c
Back out unintended change
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2120
2003-12-16 02:15:21 +00:00
Jeremy Fitzhardinge
822231c4b0
Add and delete all the files which need adding and deleting.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2119
2003-12-16 02:14:00 +00:00
Jeremy Fitzhardinge
918c3a7b7e
This jumbo-checkin is the Full Virtualization checkin. This eliminates
...
Valgrind's dependency on the dynamic linker for getting started, and
instead takes things into its own hands.
This checkin doesn't add much in the way of new functionality, but it
is the basis for all future work on Valgrind. It allows us much more
flexibility in implementation, and well as increasing the reliability
of Valgrind by protecting it more from its clients.
This patch requires some changes to tools to update them to the changes
in the tool API, but they are straightforward. See the posting "Heads
up: Full Virtualization" on valgrind-developers for a more complete
description of this change and its effects on you.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2118
2003-12-16 02:05:15 +00:00
Jeremy Fitzhardinge
6d535b779d
Change the --track-fds code to use VG_AR_CORE rather than
...
VG_(malloc)/(strdup), which puts things into VG_AR_SKIN.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2117
2003-12-16 01:48:38 +00:00
Jeremy Fitzhardinge
7a664bc301
Make symbol prefix matching table driver, and be a bit more careful
...
about overrunning the ends of names.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2116
2003-12-15 23:31:52 +00:00
Dirk Mueller
996037bfba
patch by Jim Meyering: redirect error output to stderr, and exit with nonzero
...
exit code upon failure.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2115
2003-12-15 15:23:41 +00:00
Jeremy Fitzhardinge
e77d4b8d7e
When merging multiple symbols with the same address, rather than always
...
choosing the longest symbol, choose the longest ignoring any of the libc
junk prefixes like __libc_, __, __GI_*, etc. This makes the symbol
presented to the user in messages and used in *.supp files more consistent
and comprehensible.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2114
2003-12-15 09:00:21 +00:00
Ismail Dönmez
eb1ea76873
CVS_SILENT NPTL is Native Posix blah blah
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2112
2003-12-14 17:38:53 +00:00