Nicholas Nethercote
c756c590cf
Convert "skin" to "tool" in various places; almost entirely within comments,
...
nothing that will affect code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2217
2004-01-21 15:08:04 +00:00
Nicholas Nethercote
1f7c6e9d1f
Updated the manual for some recent changes, esp. the fact that Memcheck is no
...
longer the default.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2216
2004-01-21 13:59:23 +00:00
Jeremy Fitzhardinge
75d6dc8434
This change implements the TLS extension to the x86 ABI. This allows
...
threads to have thread-private data which is quickly accessible via a
segment in the GDT, stored in %gs. The patch implements the relevent
syscalls (setthreadarea), and also manages switching the VCPU's segment
information at thread context-switch time. Mostly Tom Hughes' work.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2215
2004-01-21 01:27:27 +00:00
Jeremy Fitzhardinge
e821cecc7c
Small update about unimplemented instructions.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2214
2004-01-21 01:21:29 +00:00
Jeremy Fitzhardinge
08f94858b4
Hasn't this been added already?
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2213
2004-01-21 01:20:38 +00:00
Nicholas Nethercote
35d8a28ba8
Patch to add support for the alternate MOVQ encoding, from Tom Hughes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2212
2004-01-20 22:28:26 +00:00
Nicholas Nethercote
e8ceb12795
From Tom Hughes: patch to report port numbers correctly
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2210
2004-01-20 14:43:42 +00:00
Nicholas Nethercote
a49958845e
Adding files from Tom Hughes' SSE-completion patch, which I forgot yesterday.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2209
2004-01-20 09:24:53 +00:00
Nicholas Nethercote
ba174de833
Update limitations section: merge some old changes from 2.0.0 branch, and some
...
new changes that only apply to HEAD.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2208
2004-01-19 22:20:38 +00:00
Jeremy Fitzhardinge
36d4e2a3de
Some clarifications to README_MISSING_SYSCALL_OR_IOCTL.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2207
2004-01-19 22:02:43 +00:00
Jeremy Fitzhardinge
a327fbfd59
Reduce the pounding.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2206
2004-01-19 21:47:52 +00:00
Jeremy Fitzhardinge
2c56057c32
Add some comments
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2205
2004-01-19 21:47:25 +00:00
Nicholas Nethercote
fa6b2b7e38
Remove unnecessary line
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2204
2004-01-19 21:35:52 +00:00
Nicholas Nethercote
835e2d66e6
Update instructions for FV.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2203
2004-01-19 19:32:30 +00:00
Nicholas Nethercote
5630025b84
Patch from Tom Hughes, for bug 72643:
...
Patch to improve SSE/SS2 support
This patch should implement most of the missing SSE/SSE2 opcodes. About
the only ones it doesn't do are the MASKMOVxxx ones as they are quite
horrible and involved an implicit reference to EDI so I need to think
about them a bit more.
The patch also includes a set of tests for the MMX/SSE/SSE2 opcodes to
validate that they have the same effect under valgrind as they do when
run normally. In one or two cases this wasn't actually the case even
for some of the implemented opcodes, so I fixed those as well ;-)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2202
2004-01-19 19:14:18 +00:00
Nicholas Nethercote
5c94840fea
Updated example Makefile.am for recent FV changes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2201
2004-01-19 15:45:27 +00:00
Jeremy Fitzhardinge
7dbc0eafaf
Oops, add missing file.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2200
2004-01-16 05:37:46 +00:00
Jeremy Fitzhardinge
d9ce743c50
Add other .exp file for exec-sigmask.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2199
2004-01-16 02:19:15 +00:00
Jeremy Fitzhardinge
7def6b371b
Fix bug 72484. Set the process signal mask to match the client's before
...
running exec.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2198
2004-01-16 02:17:30 +00:00
Jeremy Fitzhardinge
aab639348b
Fix bug 72650. Only restart syscalls on signal if the client asked for it.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2197
2004-01-16 02:15:23 +00:00
Nicholas Nethercote
2df352f28f
Remove address from output, which varies from machine to machine and causes
...
failure.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2196
2004-01-09 16:15:06 +00:00
Dirk Mueller
3ebf4df7ec
yet another SSE insn (rsqrtss)
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2194
2004-01-07 19:07:02 +00:00
Jeremy Fitzhardinge
9625fc36f1
Fix "make dist"
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2193
2004-01-07 08:47:44 +00:00
Jeremy Fitzhardinge
f4cf196dad
Make badrw.c conform to C89; split things onto separate lines so it's
...
clear what the messages are talking about.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2192
2004-01-07 08:47:03 +00:00
Jeremy Fitzhardinge
3816d99f73
Fix for bug 72006 by Tom Hughes: report proper error returns for mmap()
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2191
2004-01-07 08:44:43 +00:00
Jeremy Fitzhardinge
437a6939cc
Make fork test deterministic.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2190
2004-01-06 21:46:02 +00:00
Nicholas Nethercote
30427d2857
Removed files I meant to with the last commit.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2189
2004-01-06 16:08:31 +00:00
Dirk Mueller
1df018a591
remove anonymous unions - not supported by older versions of gcc.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2188
2004-01-06 16:02:29 +00:00
Jeremy Fitzhardinge
ea5dacc8b3
Make --gdb-attach=yes work properly; rather than trying to attach gdb
...
to itself, Valgrind forks a child, and uses ptrace to manipulate its
state into what the client state would be at that point, and attaches
gdb to that. In addition to giving gdb clean state to inspect, it
also stops mistakes in gdb (eg, continuing) from killing your target.
It also makes gdb strictly read-only; any state changes made from within
gdb will not be reflected in the running client. Patch from Tom Hughes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2187
2004-01-06 00:18:21 +00:00
Jeremy Fitzhardinge
d1691a2565
Move logfile fd into safe range.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2186
2004-01-06 00:15:26 +00:00
Jeremy Fitzhardinge
1c5b7f5311
Debork regtests
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2185
2004-01-05 01:02:10 +00:00
Jeremy Fitzhardinge
7d63c9a792
Fix problem with trace-children=yes when using a tool which replaces
...
malloc. The problem was that LD_PRELOAD was being left set with
our replacement .so files, which meant they were being applied to
stage1/stage2. This caused malloc to fail and a subsequent SIGSEGV.
This change unconditionally removes all of Valgrind's special environment
before each execve, since it will be replaced as needed by the child
Valgrind.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2184
2004-01-04 23:52:59 +00:00
Julian Seward
cafeef8e48
Support for FXSAVE/FXRSTOR (Tom Hughes). Fixes #71180 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2183
2004-01-04 23:30:55 +00:00
Robert Walsh
9aebbbd032
Add missing atoll16 prototype. I use this in the watchpoint stuff.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2182
2004-01-04 23:15:22 +00:00
Jeremy Fitzhardinge
8a30151078
Fix do_exec's permission checking.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2181
2004-01-04 23:10:07 +00:00
Julian Seward
5c0e0d0595
In the fast sanity check for these tools which use shadow memory,
...
remove the test that the first page of memory is inaccessible. This
is now getting in the way.
Fixes #69886 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2180
2004-01-04 23:08:04 +00:00
Julian Seward
ed2438e646
Handle 'B' (volatile) and 'k' (const) qualifiers in stabs. (Tom
...
Hughes / Manish Singh). Fixes #71791 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2179
2004-01-04 22:50:16 +00:00
Nicholas Nethercote
a2ce0a19a6
Folded cg_sim_{gen,I1,D1,L2}.c into cg_sim.c, which makes a lot more sense and
...
is shorter.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2178
2004-01-04 16:56:57 +00:00
Nicholas Nethercote
07b8e3438b
Updated copyright dates for 2004. Also added a couple of missing headers and
...
footers to some new files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2177
2004-01-04 16:43:23 +00:00
Nicholas Nethercote
5ca20c879d
Adding "use strict" and "use warnings", for safety. Required some extra
...
variable declarations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2176
2004-01-04 13:08:56 +00:00
Julian Seward
9a14969e96
Add copyright notices to new files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2175
2004-01-04 03:46:11 +00:00
Dirk Mueller
a0c08f2794
typo
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2174
2004-01-03 15:33:09 +00:00
Dirk Mueller
c8bff3b75e
CVS_SILENT ignore
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2173
2004-01-03 15:22:09 +00:00
Dirk Mueller
c9f8dd46c0
infrastructure. Yes, it doesn't do much yet.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2172
2004-01-03 15:21:14 +00:00
Dirk Mueller
6a73cf3d05
portability
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2171
2004-01-03 15:02:59 +00:00
Dirk Mueller
f62c6dfb18
adding FreeBSD port made by Doug Rabson, thanks!
...
Currently not compiled, since the autoconf magic is still missing.
Will fill bits in when I have time.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2170
2004-01-03 14:49:18 +00:00
Dirk Mueller
811fc0511c
make it compile on FreeBSD
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2169
2004-01-03 14:24:42 +00:00
Dirk Mueller
eed4f863f8
remove test for malloc.h
...
add tests for endian.h and sys/endian.h (FreeBSD like)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2168
2004-01-03 14:23:45 +00:00
Dirk Mueller
1811b4b5c0
Fix compilation on FreeBSD. extracted from patch by Doug Rabson <dfr@nlsystems.com>
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2167
2004-01-03 14:18:02 +00:00
Dirk Mueller
acad7cdb9e
stop whining.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2166
2004-01-03 12:47:32 +00:00