]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
20 years agoYet more system calls.
Tom Hughes [Fri, 22 Jul 2005 15:04:14 +0000 (15:04 +0000)] 
Yet more system calls.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4227

20 years agoRemove bogus legacy declarations, from the time when the AMD64
Nicholas Nethercote [Fri, 22 Jul 2005 13:03:20 +0000 (13:03 +0000)] 
Remove bogus legacy declarations, from the time when the AMD64
version of VALGRIND_MAGIC_SEQUENCE printed a message and exited.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4226

20 years agoRe-institute SegInfo reference counting and deallocation.
Nicholas Nethercote [Thu, 21 Jul 2005 23:26:25 +0000 (23:26 +0000)] 
Re-institute SegInfo reference counting and deallocation.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4225

20 years agoImprove script to compare the current code with that from 24 hours ago,
Nicholas Nethercote [Thu, 21 Jul 2005 21:26:07 +0000 (21:26 +0000)] 
Improve script to compare the current code with that from 24 hours ago,
and print the diff if they aren't the same.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4224

20 years agoEnable rt_sigpending on amd64. Fixes bug #109429.
Tom Hughes [Thu, 21 Jul 2005 20:23:26 +0000 (20:23 +0000)] 
Enable rt_sigpending on amd64. Fixes bug #109429.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4223

20 years agoAdd some more intercept rules for ld.so on amd64.
Tom Hughes [Thu, 21 Jul 2005 15:25:04 +0000 (15:25 +0000)] 
Add some more intercept rules for ld.so on amd64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4222

20 years agoAllow negative sizes for structure members in stabs. Fixed bug #109385.
Tom Hughes [Thu, 21 Jul 2005 11:49:24 +0000 (11:49 +0000)] 
Allow negative sizes for structure members in stabs. Fixed bug #109385.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4221

20 years agoHandle a 'd' stab that indicates a file in pascal. Fixes bug #89914.
Tom Hughes [Wed, 20 Jul 2005 17:48:18 +0000 (17:48 +0000)] 
Handle a 'd' stab that indicates a file in pascal. Fixes bug #89914.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4220

20 years agoMake VG_(kill_self) use kill to send the signal, not tkill, as we are
Tom Hughes [Wed, 20 Jul 2005 16:05:28 +0000 (16:05 +0000)] 
Make VG_(kill_self) use kill to send the signal, not tkill, as we are
sending it to the whole process not a single thread.

This routine is only used when we absolutely want to terminate
valgrind and as things stand it fails if called from anything other
than the initial thread as it winds up sending the signal to the main
thread only and that typically doesn't even exist any more so we
fall through and panic.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4219

20 years agoHandle stabs builtin type -30 (wide characters, 16 bit unsigned).
Tom Hughes [Wed, 20 Jul 2005 13:56:22 +0000 (13:56 +0000)] 
Handle stabs builtin type -30 (wide characters, 16 bit unsigned).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4218

20 years agoDocument different argument order for clone on amd64.
Tom Hughes [Wed, 20 Jul 2005 13:49:55 +0000 (13:49 +0000)] 
Document different argument order for clone on amd64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4217

20 years agoBring the vki_sigevent_t definition into line with current kernels.
Tom Hughes [Wed, 20 Jul 2005 13:45:43 +0000 (13:45 +0000)] 
Bring the vki_sigevent_t definition into line with current kernels.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4216

20 years agoMove config.h inclusion from pub_tool_basics.h to pub_core_basics.h so it's
Nicholas Nethercote [Wed, 20 Jul 2005 13:18:23 +0000 (13:18 +0000)] 
Move config.h inclusion from pub_tool_basics.h to pub_core_basics.h so it's
not seen by external tools.  This was requested by Josef W.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4215

20 years agoThe timeout argument to rt_sigtimedwait is in the third argument not
Tom Hughes [Wed, 20 Jul 2005 09:32:35 +0000 (09:32 +0000)] 
The timeout argument to rt_sigtimedwait is in the third argument not
the fourth, plus linux allows it to be null.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4214

20 years agoMore system call fixups.
Tom Hughes [Wed, 20 Jul 2005 09:24:04 +0000 (09:24 +0000)] 
More system call fixups.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4213

20 years agoYet more amd64 system calls.
Tom Hughes [Wed, 20 Jul 2005 08:46:50 +0000 (08:46 +0000)] 
Yet more amd64 system calls.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4212

20 years agoUpdate ignore list.
Tom Hughes [Wed, 20 Jul 2005 08:46:37 +0000 (08:46 +0000)] 
Update ignore list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4211

20 years agoAdd a CPUID case, thanks to Josef W.
Nicholas Nethercote [Wed, 20 Jul 2005 04:32:44 +0000 (04:32 +0000)] 
Add a CPUID case, thanks to Josef W.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4210

20 years agoChange textwidth, and also add a note about the shortcomings when
Nicholas Nethercote [Wed, 20 Jul 2005 04:20:44 +0000 (04:20 +0000)] 
Change textwidth, and also add a note about the shortcomings when
running 32 bit processes on 64 bit machines.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4209

20 years agoThis commit reduces the overhead of each heap allocation done by
Nicholas Nethercote [Wed, 20 Jul 2005 04:12:41 +0000 (04:12 +0000)] 
This commit reduces the overhead of each heap allocation done by
Valgrind's allocator, by overlapping the redzones (used when blocks
are in-use) with the prev/next ptrs (used when they are free).
This reduces the overhead for a heap block allocated by the core from
32B to 16B on 32 bit machines, and from 48B to 32B on 64 bit machines.

The only conceivable downside of this is that on 64 bit machines, if
the client frees a block and then writes past the start/end of it,
it will corrupt the metadata after only 8 bytes of overwriting, rather than
16 bytes.  Memcheck will have squealed to kingdom come by this time anyway.
(This won't happen on 32 bit machines because the overhead hasn't changed
for client blocks as allocated by Memcheck on 32 bit machines.)

I also tweaked the access functions.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4208

20 years agoFix broken tests.
Nicholas Nethercote [Wed, 20 Jul 2005 03:03:44 +0000 (03:03 +0000)] 
Fix broken tests.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4207

20 years agoRecategorise some options in the usage message.
Nicholas Nethercote [Wed, 20 Jul 2005 03:03:28 +0000 (03:03 +0000)] 
Recategorise some options in the usage message.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4206

20 years agoReinstate stack trace printing on assertion failures. It's terrible
Nicholas Nethercote [Wed, 20 Jul 2005 02:41:31 +0000 (02:41 +0000)] 
Reinstate stack trace printing on assertion failures.  It's terrible
for the module dependency graph, but it's very useful.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4205

20 years agoMake a first cut at the 3.0.0 release notes.
Nicholas Nethercote [Tue, 19 Jul 2005 23:46:08 +0000 (23:46 +0000)] 
Make a first cut at the 3.0.0 release notes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4204

20 years agoThe devil's in the details ..
Julian Seward [Tue, 19 Jul 2005 23:12:11 +0000 (23:12 +0000)] 
The devil's in the details ..

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4203

20 years agoFix mistaken comments.
Tom Hughes [Tue, 19 Jul 2005 23:01:56 +0000 (23:01 +0000)] 
Fix mistaken comments.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4202

20 years agoPass clone arguments in the correct order when doing a fork style
Tom Hughes [Tue, 19 Jul 2005 22:59:47 +0000 (22:59 +0000)] 
Pass clone arguments in the correct order when doing a fork style
clone. This should fix bug #109358.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4201

20 years agoEnable sched_yield on amd64. Fixes bug #109362.
Tom Hughes [Tue, 19 Jul 2005 22:48:04 +0000 (22:48 +0000)] 
Enable sched_yield on amd64. Fixes bug #109362.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4200

20 years agoReturn success when get_thread_area succeeds.
Tom Hughes [Tue, 19 Jul 2005 22:44:33 +0000 (22:44 +0000)] 
Return success when get_thread_area succeeds.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4199

20 years agoAdd a makefile for the new documentation directory to avoid errors
Tom Hughes [Tue, 19 Jul 2005 22:39:41 +0000 (22:39 +0000)] 
Add a makefile for the new documentation directory to avoid errors
when make tries to recurse into it.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4198

20 years agoSupport ARCH_GET_FS with arch_prctl on amd64.
Tom Hughes [Tue, 19 Jul 2005 22:35:58 +0000 (22:35 +0000)] 
Support ARCH_GET_FS with arch_prctl on amd64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4197

20 years agoWe have a nice little collection of text files describing various high
Nicholas Nethercote [Tue, 19 Jul 2005 21:46:19 +0000 (21:46 +0000)] 
We have a nice little collection of text files describing various high
level things.  But they're all over the place.  This commits moves
them all to the new docs/internals/ directory, and gives them
a consistent naming scheme.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4196

20 years agoGet Addrcheck closer to compiling. It's still a long way from working,
Nicholas Nethercote [Tue, 19 Jul 2005 21:11:54 +0000 (21:11 +0000)] 
Get Addrcheck closer to compiling.  It's still a long way from working,
though.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4195

20 years agowibble
Nicholas Nethercote [Tue, 19 Jul 2005 20:54:08 +0000 (20:54 +0000)] 
wibble

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4194

20 years agoMake attaching a debugger work on amd64.
Tom Hughes [Tue, 19 Jul 2005 18:19:48 +0000 (18:19 +0000)] 
Make attaching a debugger work on amd64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4193

20 years agoUpdate ignore lists.
Tom Hughes [Tue, 19 Jul 2005 17:59:24 +0000 (17:59 +0000)] 
Update ignore lists.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4192

20 years agoEnable some more system calls on amd64.
Tom Hughes [Tue, 19 Jul 2005 16:05:49 +0000 (16:05 +0000)] 
Enable some more system calls on amd64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4191

20 years agoFix compiler warning.
Tom Hughes [Tue, 19 Jul 2005 15:28:31 +0000 (15:28 +0000)] 
Fix compiler warning.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4190

20 years agoEnable setuid and setgid on amd64.
Tom Hughes [Tue, 19 Jul 2005 15:26:33 +0000 (15:26 +0000)] 
Enable setuid and setgid on amd64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4189

20 years agoUse %t rather than %s in some places for constructing XML output.
Julian Seward [Tue, 19 Jul 2005 15:00:25 +0000 (15:00 +0000)] 
Use %t rather than %s in some places for constructing XML output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4188

20 years agoOops; forgot to update spec
Julian Seward [Tue, 19 Jul 2005 14:59:41 +0000 (14:59 +0000)] 
Oops; forgot to update spec

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4187

20 years agoNew command line option: --xml-user-comment=XMLTEXT, which allows
Julian Seward [Tue, 19 Jul 2005 14:18:56 +0000 (14:18 +0000)] 
New command line option: --xml-user-comment=XMLTEXT, which allows
copying of arbitrary bits of XML text to the XML output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4186

20 years agoNew printf format specifier %t, which is like %s but escapes
Julian Seward [Tue, 19 Jul 2005 14:17:37 +0000 (14:17 +0000)] 
New printf format specifier %t, which is like %s but escapes
XML-unfriendly chars and thereby helps in the construction of valid
XML output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4185

20 years agoFix the mmap2 pre-handler to avoid corrupting the arguments when
Tom Hughes [Tue, 19 Jul 2005 13:04:04 +0000 (13:04 +0000)] 
Fix the mmap2 pre-handler to avoid corrupting the arguments when
it fails with ENOMEM due to a lack of memory.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4184

20 years agoShow Valgrind's args too in the XML output.
Julian Seward [Tue, 19 Jul 2005 12:39:11 +0000 (12:39 +0000)] 
Show Valgrind's args too in the XML output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4183

20 years agoAdd time stamps to XML START/FINISH indications.
Julian Seward [Tue, 19 Jul 2005 12:17:51 +0000 (12:17 +0000)] 
Add time stamps to XML START/FINISH indications.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4182

20 years agoMove the code for generating a human-readable time string into its own
Julian Seward [Tue, 19 Jul 2005 12:17:05 +0000 (12:17 +0000)] 
Move the code for generating a human-readable time string into its own
function.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4181

20 years agoNew command line option: --log-file-qualifier=VAR. When specified,
Julian Seward [Tue, 19 Jul 2005 11:25:02 +0000 (11:25 +0000)] 
New command line option: --log-file-qualifier=VAR.  When specified,
the contents of environment variable VAR (viz, $VAR) are incorporated
into logfile names.  This makes it easy to incorporate environmental
information into logfile names.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4180

20 years agoAdd some assertions.
Tom Hughes [Tue, 19 Jul 2005 07:37:51 +0000 (07:37 +0000)] 
Add some assertions.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4179

20 years agoEnable the rt_sigqueueinfo syscall on amd64.
Tom Hughes [Tue, 19 Jul 2005 07:21:06 +0000 (07:21 +0000)] 
Enable the rt_sigqueueinfo syscall on amd64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4178

20 years agowibble
Nicholas Nethercote [Tue, 19 Jul 2005 03:38:09 +0000 (03:38 +0000)] 
wibble

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4177

20 years agoAdded a file containing Josef's explanation of Calltree's function
Nicholas Nethercote [Tue, 19 Jul 2005 03:30:31 +0000 (03:30 +0000)] 
Added a file containing Josef's explanation of Calltree's function
entry/exit tracking.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4176

20 years agoRemove unneeded #ifdef.
Nicholas Nethercote [Tue, 19 Jul 2005 01:22:26 +0000 (01:22 +0000)] 
Remove unneeded #ifdef.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4175

20 years agoAdd note about justified pedantry of overlap checking.
Nicholas Nethercote [Tue, 19 Jul 2005 00:48:55 +0000 (00:48 +0000)] 
Add note about justified pedantry of overlap checking.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4174

20 years agowibbles
Nicholas Nethercote [Tue, 19 Jul 2005 00:40:16 +0000 (00:40 +0000)] 
wibbles

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4173

20 years agoRemove valgrind.vs.
Nicholas Nethercote [Tue, 19 Jul 2005 00:36:23 +0000 (00:36 +0000)] 
Remove valgrind.vs.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4172

20 years agoallow to be build in a buildroot
Dirk Mueller [Mon, 18 Jul 2005 23:56:46 +0000 (23:56 +0000)] 
allow to be build in a buildroot

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4171

20 years agoremove the version script, doesn't work for executables
Dirk Mueller [Mon, 18 Jul 2005 23:52:10 +0000 (23:52 +0000)] 
remove the version script, doesn't work for executables

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4170

20 years agoFix crash when no environment is given to execve.
Tom Hughes [Mon, 18 Jul 2005 23:23:03 +0000 (23:23 +0000)] 
Fix crash when no environment is given to execve.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4169

20 years agoCheck members of the stack_t structure passed to sigaltstack
Tom Hughes [Mon, 18 Jul 2005 23:18:10 +0000 (23:18 +0000)] 
Check members of the stack_t structure passed to sigaltstack
individually to avoid problems with padding on 64 bit platforms.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4168

20 years agoCheck each member of the ifconf structure passed to SIOCGIFCONF
Tom Hughes [Mon, 18 Jul 2005 22:45:55 +0000 (22:45 +0000)] 
Check each member of the ifconf structure passed to SIOCGIFCONF
individually to avoid problems with padding bytes on 64 bit platforms.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4167

20 years agoCheck each field of the msghdr structure passed to sendmsg/recvmsg
Tom Hughes [Mon, 18 Jul 2005 22:41:33 +0000 (22:41 +0000)] 
Check each field of the msghdr structure passed to sendmsg/recvmsg
individually to avoid complaints due to uninitialised padding bytes
on 64 bit platforms.

Also fixed sendmsg to check things which should be initialised (the
msghdr structure and the iov array) properly instead of doing a write
check for everything.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4166

20 years agoUpdate svn:ignore lists.
Tom Hughes [Mon, 18 Jul 2005 17:53:07 +0000 (17:53 +0000)] 
Update svn:ignore lists.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4165

20 years agoIf the client program is a PIE executable, avoid mapping it at
Tom Hughes [Mon, 18 Jul 2005 15:52:30 +0000 (15:52 +0000)] 
If the client program is a PIE executable, avoid mapping it at
address zero. Instead do something like what the kernel does and
map it in the middle of the client address space.

Fix for bug #106283 based on patch from Sergey Vlasov.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4164

20 years agoadd comment
Nicholas Nethercote [Mon, 18 Jul 2005 14:10:12 +0000 (14:10 +0000)] 
add comment

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4163

20 years agoTake a copy of the environment given to execve before trying to mangle
Tom Hughes [Mon, 18 Jul 2005 14:02:11 +0000 (14:02 +0000)] 
Take a copy of the environment given to execve before trying to mangle
it as it might be in read only memory. Fixes bug #101881.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4162

20 years agoHandle the BLKGETSIZE64 ioctl. Fixes bug #104797.
Tom Hughes [Mon, 18 Jul 2005 13:26:55 +0000 (13:26 +0000)] 
Handle the BLKGETSIZE64 ioctl. Fixes bug #104797.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4161

20 years agoPreserve %esi across VG_(clone) as the caller may be relying on it
Tom Hughes [Mon, 18 Jul 2005 12:02:45 +0000 (12:02 +0000)] 
Preserve %esi across VG_(clone) as the caller may be relying on it
not being changed. Fix to bug #106713.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4160

20 years agoTrack API changes in vex r1272.
Julian Seward [Mon, 18 Jul 2005 11:41:15 +0000 (11:41 +0000)] 
Track API changes in vex r1272.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4159

20 years agoAllow a NULL argument to the times system call. Fixes bug #103509.
Tom Hughes [Mon, 18 Jul 2005 11:03:35 +0000 (11:03 +0000)] 
Allow a NULL argument to the times system call. Fixes bug #103509.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4158

20 years agoFixed debug code so that it compiles and fixed a printf to report the
Tom Hughes [Mon, 18 Jul 2005 09:41:57 +0000 (09:41 +0000)] 
Fixed debug code so that it compiles and fixed a printf to report the
start and end as (apparently) intended.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4157

20 years agoConsider blocks with both SF_MMAP and SF_STACK set as part of the root
Tom Hughes [Mon, 18 Jul 2005 09:40:29 +0000 (09:40 +0000)] 
Consider blocks with both SF_MMAP and SF_STACK set as part of the root
memory set as any additional stack space allocated by valgrind will
have both flags set. This fixes bug #106293.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4156

20 years agotweak
Nicholas Nethercote [Sun, 17 Jul 2005 23:12:33 +0000 (23:12 +0000)] 
tweak

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4155

20 years agoIntroduced get_pszB() to cover several common cases.
Nicholas Nethercote [Sun, 17 Jul 2005 18:12:00 +0000 (18:12 +0000)] 
Introduced get_pszB() to cover several common cases.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4154

20 years agotweaks
Nicholas Nethercote [Sun, 17 Jul 2005 18:00:57 +0000 (18:00 +0000)] 
tweaks

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4153

20 years agoIntroduce get_bszB() and get_bszB_as_is() to factor out some common
Nicholas Nethercote [Sun, 17 Jul 2005 17:55:42 +0000 (17:55 +0000)] 
Introduce get_bszB() and get_bszB_as_is() to factor out some common
combinations of function calls.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4152

20 years agoReplace is_inuse_bszB() with is_inuse_block(), which is higher-level
Nicholas Nethercote [Sun, 17 Jul 2005 17:20:30 +0000 (17:20 +0000)] 
Replace is_inuse_bszB() with is_inuse_block(), which is higher-level
and thus makes the code that uses it easier to understand.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4151

20 years agoRename 'other' as 'other_b' to make the fact it's a block more clear.
Nicholas Nethercote [Sun, 17 Jul 2005 17:12:24 +0000 (17:12 +0000)] 
Rename 'other' as 'other_b' to make the fact it's a block more clear.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4150

20 years agoMake VG_(percentify)() cope if the denominator is zero.
Nicholas Nethercote [Sun, 17 Jul 2005 16:16:41 +0000 (16:16 +0000)] 
Make VG_(percentify)() cope if the denominator is zero.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4149

20 years agoFix comments.
Nicholas Nethercote [Sun, 17 Jul 2005 16:12:59 +0000 (16:12 +0000)] 
Fix comments.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4148

20 years agoxml output for tool=none is fine too.
Cerion Armour-Brown [Wed, 13 Jul 2005 14:18:24 +0000 (14:18 +0000)] 
xml output for tool=none is fine too.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4147

20 years agoFixed bug #88678 -- debug info is now correctly gathered for files
Nicholas Nethercote [Tue, 12 Jul 2005 23:28:59 +0000 (23:28 +0000)] 
Fixed bug #88678 -- debug info is now correctly gathered for files
containing spaces.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4146

20 years agoRemove dead code.
Nicholas Nethercote [Sun, 10 Jul 2005 16:57:24 +0000 (16:57 +0000)] 
Remove dead code.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4145

20 years agoRemove very old info about the CVS repo at Sourceforge.
Nicholas Nethercote [Sun, 10 Jul 2005 15:10:29 +0000 (15:10 +0000)] 
Remove very old info about the CVS repo at Sourceforge.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4144

20 years agoGet rid of endianness assumptions in the PRRAn macro, which is
Julian Seward [Sun, 10 Jul 2005 00:55:26 +0000 (00:55 +0000)] 
Get rid of endianness assumptions in the PRRAn macro, which is
important for doing checks of scalar syscall args.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4143

20 years agoClean up endianness macros a bit. Now pub_tool_basics.h defines
Julian Seward [Sun, 10 Jul 2005 00:53:42 +0000 (00:53 +0000)] 
Clean up endianness macros a bit.  Now pub_tool_basics.h defines
VG_LITTLEENDIAN or VG_BIGENDIAN and that's what should be used.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4142

20 years agoFix up ppc32-linux stack unwinding.
Julian Seward [Sat, 9 Jul 2005 22:51:08 +0000 (22:51 +0000)] 
Fix up ppc32-linux stack unwinding.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4141

20 years agoAdd comments from PaulM.
Julian Seward [Sat, 9 Jul 2005 10:43:45 +0000 (10:43 +0000)] 
Add comments from PaulM.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4140

20 years agoAnother seemingly-small but critical change imported from 2.4.0-ppc:
Julian Seward [Sat, 9 Jul 2005 10:36:25 +0000 (10:36 +0000)] 
Another seemingly-small but critical change imported from 2.4.0-ppc:
don't read symbols from sections with w permissions.  For some reason
ppc-linux maps executables three times, not twice as on x86, and if
the w flag is ignored, we wind up reading debug info twice, getting
wrong redirections, and then it all goes to hell in a handbasket.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4139

20 years agoImport sigframe stuff from Paul's tree. With this and the other changes
Julian Seward [Fri, 8 Jul 2005 18:28:40 +0000 (18:28 +0000)] 
Import sigframe stuff from Paul's tree.  With this and the other changes
today, it's possible to run bash on ppc32-linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4138

20 years agoOops, this really should have been part of r4136.
Julian Seward [Fri, 8 Jul 2005 18:27:22 +0000 (18:27 +0000)] 
Oops, this really should have been part of r4136.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4137

20 years agoFix/reinstate a whole bunch of syscalls.
Julian Seward [Fri, 8 Jul 2005 18:26:37 +0000 (18:26 +0000)] 
Fix/reinstate a whole bunch of syscalls.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4136

20 years agoAssertion-failure-avoiding hacks from Paul's tree. I don't know why
Julian Seward [Fri, 8 Jul 2005 18:25:13 +0000 (18:25 +0000)] 
Assertion-failure-avoiding hacks from Paul's tree.  I don't know why
these are necessary, but they are.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4135

20 years agoA longer gdb-attach delay for ppc
Julian Seward [Fri, 8 Jul 2005 18:24:04 +0000 (18:24 +0000)] 
A longer gdb-attach delay for ppc

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4134

20 years agoCheck the obvious ..
Julian Seward [Fri, 8 Jul 2005 18:23:40 +0000 (18:23 +0000)] 
Check the obvious ..

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4133

20 years agoComment wibble.
Julian Seward [Fri, 8 Jul 2005 09:46:53 +0000 (09:46 +0000)] 
Comment wibble.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4132

20 years agoDon't bomb cachegrind at startup.
Julian Seward [Fri, 8 Jul 2005 09:45:43 +0000 (09:45 +0000)] 
Don't bomb cachegrind at startup.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4131

20 years agoAdd a simple random number generator to m_libcbase so we don't have
Nicholas Nethercote [Fri, 8 Jul 2005 04:08:59 +0000 (04:08 +0000)] 
Add a simple random number generator to m_libcbase so we don't have
to use the one from glibc.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4130

20 years agoCreate and use bigendian versions of MC_(helperc_{LOAD,STORE}V{2,4,8}).
Julian Seward [Fri, 8 Jul 2005 01:29:33 +0000 (01:29 +0000)] 
Create and use bigendian versions of MC_(helperc_{LOAD,STORE}V{2,4,8}).
This involved some serious nastyness from the Department of Cpp Abuse.

Memcheck still bombs on ppc32 for unknown reasons.

There are still endianness issues within these functions, I think.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4129

20 years agoEnable a couple more syscalls.
Julian Seward [Fri, 8 Jul 2005 00:18:25 +0000 (00:18 +0000)] 
Enable a couple more syscalls.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4128