]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
20 years agoUpdate NEWS a bit.
Julian Seward [Tue, 2 Aug 2005 15:28:07 +0000 (15:28 +0000)] 
Update NEWS a bit.

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

20 years ago"Fix" (kludge) highly obscure bug in flag settings for growdown stacks
Julian Seward [Tue, 2 Aug 2005 13:35:21 +0000 (13:35 +0000)] 
"Fix" (kludge) highly obscure bug in flag settings for growdown stacks
which manifested itself as unreliable behaviour with
--smc-check=stack.  The accompanying comment explains.

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

20 years agoUpdate this-cpu-not-supported message.
Julian Seward [Mon, 1 Aug 2005 23:41:20 +0000 (23:41 +0000)] 
Update this-cpu-not-supported message.

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

20 years agoWhen identifying stacks so as to decide whether or not to make a self
Julian Seward [Mon, 1 Aug 2005 23:25:55 +0000 (23:25 +0000)] 
When identifying stacks so as to decide whether or not to make a self
checking translation in the case --smc-check=stack (the default),
don't use SF_GROWDOWN as an indication of stackness, since that only
is set for the main stack.  Instead establish whether code is being
taken from a stack by seeing if the requesting thread's stack pointer
points into the same area that the translation is being taken from.

This makes trampolining work even for threaded programs.

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

20 years agoOne more thing to remember.
Nicholas Nethercote [Mon, 1 Aug 2005 15:18:16 +0000 (15:18 +0000)] 
One more thing to remember.

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

20 years agoRemove temporary file once regtest completes.
Nicholas Nethercote [Mon, 1 Aug 2005 15:12:23 +0000 (15:12 +0000)] 
Remove temporary file once regtest completes.

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

20 years agoAdd explanation of filename.
Nicholas Nethercote [Mon, 1 Aug 2005 15:11:15 +0000 (15:11 +0000)] 
Add explanation of filename.

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

20 years agoDon't show CFI reader warnings without -v. This is intended to hide
Julian Seward [Mon, 1 Aug 2005 14:12:17 +0000 (14:12 +0000)] 
Don't show CFI reader warnings without -v.  This is intended to hide

  Warning: zero-sized CIE/FDE but not at section end in DWARF2 CFI reading

which I know is not a good fix, but I don't want to get into messing
with the CFI reader this close to 3.0, and the appearance of this
message causes many regtests to fail on some systems.

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

20 years agoDon't forget tls.vgtest in the final tarball.
Julian Seward [Mon, 1 Aug 2005 13:40:08 +0000 (13:40 +0000)] 
Don't forget tls.vgtest in the final tarball.

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

20 years agoUse the standard #ifdefs for arch-specific code.
Nicholas Nethercote [Sat, 30 Jul 2005 01:22:37 +0000 (01:22 +0000)] 
Use the standard #ifdefs for arch-specific code.

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

20 years agoEnable sys_fchmod and sys_fchown.
Julian Seward [Fri, 29 Jul 2005 22:01:19 +0000 (22:01 +0000)] 
Enable sys_fchmod and sys_fchown.

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

20 years agoTake the address of the ifr_index member when testing if it is defined
Tom Hughes [Fri, 29 Jul 2005 18:42:22 +0000 (18:42 +0000)] 
Take the address of the ifr_index member when testing if it is defined
before an SIOCGIFNAME ioctl.

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

20 years agoA static const variable must have a constant initialiser, so remove the
Tom Hughes [Fri, 29 Jul 2005 18:33:19 +0000 (18:33 +0000)] 
A static const variable must have a constant initialiser, so remove the
static qualifier from those variables with a non-constant initialiser.

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

20 years agouse http:// svn:externals for all those poor
Dirk Mueller [Fri, 29 Jul 2005 17:20:21 +0000 (17:20 +0000)] 
use http:// svn:externals for all those poor
souls behind braindamaged firewalls

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

20 years agoHandle a failure case more gracefully.
Julian Seward [Fri, 29 Jul 2005 08:51:34 +0000 (08:51 +0000)] 
Handle a failure case more gracefully.

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

20 years agoHandle the TIOCMGET ioctl.
Tom Hughes [Thu, 28 Jul 2005 16:26:34 +0000 (16:26 +0000)] 
Handle the TIOCMGET ioctl.

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

20 years agoHandle the HDIO_GETGEO ioctl. Secondary problem found from bug #109780.
Tom Hughes [Thu, 28 Jul 2005 16:13:42 +0000 (16:13 +0000)] 
Handle the HDIO_GETGEO ioctl. Secondary problem found from bug #109780.

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

20 years agoDefine extra block device ioctls.
Tom Hughes [Thu, 28 Jul 2005 16:10:42 +0000 (16:10 +0000)] 
Define extra block device ioctls.

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

20 years agoHandle a number of additional block device ioctls. Fixes bug #109780.
Tom Hughes [Thu, 28 Jul 2005 16:08:09 +0000 (16:08 +0000)] 
Handle a number of additional block device ioctls. Fixes bug #109780.

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

20 years agoMove (commented out) call to VG_(tm_thread_switchto) to VG_(set_running) so
Tom Hughes [Wed, 27 Jul 2005 23:04:28 +0000 (23:04 +0000)] 
Move (commented out) call to VG_(tm_thread_switchto) to VG_(set_running) so
that it is always called when a new thread starts running. Add in a direct
call to VG_TRACK to issue a thread_run event at the same place until thread
modelling is working again.

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

20 years agoIgnore prefetch information when decoding Intel cache details. Patch
Tom Hughes [Wed, 27 Jul 2005 22:59:50 +0000 (22:59 +0000)] 
Ignore prefetch information when decoding Intel cache details. Patch
from Josef Weidendorfer <Josef.Weidendorfer@gmx.de>.

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

20 years agoHandle the fadvise64 system calls correctly on 32 bit platforms.
Tom Hughes [Wed, 27 Jul 2005 22:57:18 +0000 (22:57 +0000)] 
Handle the fadvise64 system calls correctly on 32 bit platforms.

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

20 years agoRemoved dead declaration.
Nicholas Nethercote [Wed, 27 Jul 2005 20:31:57 +0000 (20:31 +0000)] 
Removed dead declaration.

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

20 years agoBump version number.
Julian Seward [Wed, 27 Jul 2005 17:49:17 +0000 (17:49 +0000)] 
Bump version number.

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

20 years agoInsert name of magic flag.
Tom Hughes [Wed, 27 Jul 2005 10:33:08 +0000 (10:33 +0000)] 
Insert name of magic flag.

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

20 years agoSync with web site.
Julian Seward [Wed, 27 Jul 2005 10:09:11 +0000 (10:09 +0000)] 
Sync with web site.

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

20 years agoMore stuff.
Julian Seward [Wed, 27 Jul 2005 09:55:24 +0000 (09:55 +0000)] 
More stuff.

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

20 years agoPrevent the rule for installing the VEX headers from trying to add
Tom Hughes [Wed, 27 Jul 2005 09:25:08 +0000 (09:25 +0000)] 
Prevent the rule for installing the VEX headers from trying to add
them to the distribution as it doesn't work due to the full paths and
they are in EXTRA_DIST anyway.

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

20 years agoThere is no need to checkout and build VEX separately now.
Tom Hughes [Wed, 27 Jul 2005 07:37:41 +0000 (07:37 +0000)] 
There is no need to checkout and build VEX separately now.

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

20 years agoInstall VEX headers from the configured version not the default version.
Tom Hughes [Wed, 27 Jul 2005 07:36:22 +0000 (07:36 +0000)] 
Install VEX headers from the configured version not the default version.

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

20 years agoMake VG_(clo_vex_control) tool-visible so tools can control how
Julian Seward [Tue, 26 Jul 2005 23:47:00 +0000 (23:47 +0000)] 
Make VG_(clo_vex_control) tool-visible so tools can control how
aggressive Vex is, if they need to do that.

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

20 years agoIf --log-file-qualifier= is set, and we're logging to a file or
Julian Seward [Tue, 26 Jul 2005 23:43:26 +0000 (23:43 +0000)] 
If --log-file-qualifier= is set, and we're logging to a file or
socket, emit the qualifier and its current value in the plain text
output as well as in the XML.  (Ashley Pittman).

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

20 years agoVex headers should be installed in $INST/include/valgrind/, too.
Nicholas Nethercote [Tue, 26 Jul 2005 23:06:18 +0000 (23:06 +0000)] 
Vex headers should be installed in $INST/include/valgrind/, too.

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

20 years agoMake VG_(discard_translations) 64-bit clean. As JosefW points out, it
Julian Seward [Tue, 26 Jul 2005 23:04:25 +0000 (23:04 +0000)] 
Make VG_(discard_translations) 64-bit clean.  As JosefW points out, it
doesn't make much sense to have a 64-bit base address but only a
32-bit length.

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

20 years agoFix a very suspicious-looking bug in the translation-discard stuff.
Julian Seward [Tue, 26 Jul 2005 22:54:55 +0000 (22:54 +0000)] 
Fix a very suspicious-looking bug in the translation-discard stuff.

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

20 years agoUpdate to match website description.
Nicholas Nethercote [Tue, 26 Jul 2005 22:33:26 +0000 (22:33 +0000)] 
Update to match website description.

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

20 years agoUpdate to match web site description.
Nicholas Nethercote [Tue, 26 Jul 2005 22:31:52 +0000 (22:31 +0000)] 
Update to match web site description.

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

20 years agoCopy the valgrind.spec.in file from 2.4.0, which Jeremy wrote with this
Nicholas Nethercote [Tue, 26 Jul 2005 22:23:08 +0000 (22:23 +0000)] 
Copy the valgrind.spec.in file from 2.4.0, which Jeremy wrote with this
commit message:

  Steal some magic from FC3's valgrind-2.2.0 .spec file; it would be nice
  to know if this works under other RPM-based distros (SuSE particularly).

I don't know much about .spec files, but this new version is much easier
to maintain because we don't have to list any filenames explicitly, and
no-one complained about it in 2.4.0, so let's go with it.

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

20 years agoMore release-HOWTO notes.
Nicholas Nethercote [Tue, 26 Jul 2005 22:17:14 +0000 (22:17 +0000)] 
More release-HOWTO notes.

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

20 years agoUpdate for 3.0.
Nicholas Nethercote [Tue, 26 Jul 2005 22:01:04 +0000 (22:01 +0000)] 
Update for 3.0.

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

20 years agoMakefile stuff, partly from Tom, which uses the SVN-externall'd VEX
Julian Seward [Tue, 26 Jul 2005 10:42:57 +0000 (10:42 +0000)] 
Makefile stuff, partly from Tom, which uses the SVN-externall'd VEX
tree a bit better.  Also, fixes to make 'make dist' include into the
final tarball a minimal but workable subset of the stuff in the VEX
directory.

Note, you must do 'make' or 'make install' before 'make dist' since
otherwise VEX/priv/main/vex_svnversion.h will not exist.

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

20 years agoProperty change: list svn://svn.valgrind.org/vex/trunk as an SVN
Julian Seward [Tue, 26 Jul 2005 10:40:31 +0000 (10:40 +0000)] 
Property change: list svn://svn.valgrind.org/vex/trunk as an SVN
external to be checked out into ./VEX

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

20 years agoAdded some anchors for core flags
Donna Robinson [Tue, 26 Jul 2005 01:16:59 +0000 (01:16 +0000)] 
Added some anchors for core flags

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

20 years agowibble++
Julian Seward [Mon, 25 Jul 2005 23:50:22 +0000 (23:50 +0000)] 
wibble++

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

20 years agoIn the final install, copy the documentation .pdf/.ps to files with a
Julian Seward [Mon, 25 Jul 2005 23:36:58 +0000 (23:36 +0000)] 
In the final install, copy the documentation .pdf/.ps to files with a
bit of a more sensible name.

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

20 years agofix breakage/wibbles
Nicholas Nethercote [Mon, 25 Jul 2005 23:30:24 +0000 (23:30 +0000)] 
fix breakage/wibbles

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

20 years agowibble
Nicholas Nethercote [Mon, 25 Jul 2005 23:30:06 +0000 (23:30 +0000)] 
wibble

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

20 years agoClean up command-line args info in the manual and man page for 3.0.0
Nicholas Nethercote [Mon, 25 Jul 2005 23:18:44 +0000 (23:18 +0000)] 
Clean up command-line args info in the manual and man page for 3.0.0
release.

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

20 years agoTweak order of Memcheck's cmd-line options.
Nicholas Nethercote [Mon, 25 Jul 2005 23:18:04 +0000 (23:18 +0000)] 
Tweak order of Memcheck's cmd-line options.

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

20 years agoBuild the .ps/.pdf documentation by default when doing 'make dist'.
Julian Seward [Mon, 25 Jul 2005 23:01:43 +0000 (23:01 +0000)] 
Build the .ps/.pdf documentation by default when doing 'make dist'.
Because this means installing lots of XML processing tools and
supporting gunk, there is a hack at the top of docs/Makefile.am for
disabling the .pdf/.ps build.

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

20 years agoRecategorise options in the usage message.
Nicholas Nethercote [Mon, 25 Jul 2005 22:36:52 +0000 (22:36 +0000)] 
Recategorise options in the usage message.

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

20 years agoMake it more obvious if something fails when making HTML or PS/PDF docs.
Nicholas Nethercote [Mon, 25 Jul 2005 21:12:40 +0000 (21:12 +0000)] 
Make it more obvious if something fails when making HTML or PS/PDF docs.

Also put the output of all pfdxmltex runs in the logfile, not just the
last run's output.

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

20 years agoI'm still a moron (just in case anybody wondered whether things had
Julian Seward [Mon, 25 Jul 2005 17:58:48 +0000 (17:58 +0000)] 
I'm still a moron (just in case anybody wondered whether things had
improved since last time I was a moron.  No, they haven't).

Move text that's supposed to be at the top of the file to the top of
the file.  I need to learn about these scroll-bar things some time.

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

20 years agoRecord my adventures in 'make print-docs' land.
Julian Seward [Mon, 25 Jul 2005 17:54:06 +0000 (17:54 +0000)] 
Record my adventures in 'make print-docs' land.

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

20 years agoI think && might be a better statement-joiner than ; -- the pdfxmltex
Julian Seward [Mon, 25 Jul 2005 17:53:46 +0000 (17:53 +0000)] 
I think && might be a better statement-joiner than ;  -- the pdfxmltex
runs can easily die silently.

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

20 years agoFix some inconsistent system call trace messages.
Tom Hughes [Mon, 25 Jul 2005 15:28:36 +0000 (15:28 +0000)] 
Fix some inconsistent system call trace messages.

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

20 years agoAdd support for the inotify system calls based on a patch
Tom Hughes [Mon, 25 Jul 2005 15:21:41 +0000 (15:21 +0000)] 
Add support for the inotify system calls based on a patch
from John McCutchan <ttb@tentacle.dhs.org>.

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

20 years agoUpdate unistd headers to match the 2.6.13-rc3 kernel source.
Tom Hughes [Mon, 25 Jul 2005 15:04:00 +0000 (15:04 +0000)] 
Update unistd headers to match the 2.6.13-rc3 kernel source.

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

20 years agoAdded a point for Josef W.
Nicholas Nethercote [Mon, 25 Jul 2005 12:49:39 +0000 (12:49 +0000)] 
Added a point for Josef W.

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

20 years agoupdated j's email address
Donna Robinson [Mon, 25 Jul 2005 12:35:02 +0000 (12:35 +0000)] 
updated j's email address

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

20 years agoUpdate docs for 3.0.0 release. Still to do: update command line options.
Nicholas Nethercote [Mon, 25 Jul 2005 00:12:19 +0000 (00:12 +0000)] 
Update docs for 3.0.0 release.  Still to do:  update command line options.

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

20 years agoAdded a checklist of things to do when doing a release. Please add to this
Nicholas Nethercote [Sun, 24 Jul 2005 23:47:01 +0000 (23:47 +0000)] 
Added a checklist of things to do when doing a release.  Please add to this
if you think of anything that is missing.

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

20 years agoFix 'make dist'.
Nicholas Nethercote [Sun, 24 Jul 2005 23:21:28 +0000 (23:21 +0000)] 
Fix 'make dist'.

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

20 years agowibble
Nicholas Nethercote [Sun, 24 Jul 2005 17:19:09 +0000 (17:19 +0000)] 
wibble

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

20 years agobugfixes and improvements
Julian Seward [Sun, 24 Jul 2005 11:18:41 +0000 (11:18 +0000)] 
bugfixes and improvements

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

20 years agoDon't claim that the --single-step= and --optimise= flags exist any
Julian Seward [Sun, 24 Jul 2005 07:39:17 +0000 (07:39 +0000)] 
Don't claim that the --single-step= and --optimise= flags exist any
more.  They have been replaced by --vex-guest-max-insns= and the
--vex-iropt-* flags.

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

20 years agoRename tags in XML <status> block.
Julian Seward [Sun, 24 Jul 2005 07:33:15 +0000 (07:33 +0000)] 
Rename tags in XML <status> block.

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

20 years ago--branchpred= doesn't do anything (I'm not sure what it ever did do). Rm'd.
Julian Seward [Sun, 24 Jul 2005 07:23:54 +0000 (07:23 +0000)] 
--branchpred= doesn't do anything (I'm not sure what it ever did do).  Rm'd.

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

20 years agoGet rid of --support-elan3=. This flag wasn't doing anything since
Julian Seward [Sun, 24 Jul 2005 07:15:44 +0000 (07:15 +0000)] 
Get rid of --support-elan3=.  This flag wasn't doing anything since
the Elan3 user-space driver now works on unmodified Valgrind.

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

20 years agoRename --smc-support= to --smc-check=.
Julian Seward [Sun, 24 Jul 2005 07:00:45 +0000 (07:00 +0000)] 
Rename --smc-support= to --smc-check=.

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

20 years agoA couple of gsl-1.6 patches which make it compile/run more cleanly.
Julian Seward [Sun, 24 Jul 2005 06:44:27 +0000 (06:44 +0000)] 
A couple of gsl-1.6 patches which make it compile/run more cleanly.

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

20 years agoEnable sys_poll.
Julian Seward [Sun, 24 Jul 2005 06:30:37 +0000 (06:30 +0000)] 
Enable sys_poll.

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

20 years agoRemove dead #undef.
Julian Seward [Sat, 23 Jul 2005 23:22:24 +0000 (23:22 +0000)] 
Remove dead #undef.

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

20 years agoReplace a bunch of useless memory-to-memory copies with some highly
Julian Seward [Sat, 23 Jul 2005 17:45:15 +0000 (17:45 +0000)] 
Replace a bunch of useless memory-to-memory copies with some highly
predictable branches.

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

20 years agoWhen canonicalising CFI information, truncate overlapping address
Julian Seward [Sat, 23 Jul 2005 17:14:03 +0000 (17:14 +0000)] 
When canonicalising CFI information, truncate overlapping address
ranges and remove zero-length entries.  If these appear it's because
the generating compiler has created invalid CFI info.  Nevertheless we
should handle this robustly.  This fixes a bug reported by Bill
Hoover.

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

20 years agoFix comment.
Julian Seward [Sat, 23 Jul 2005 11:36:03 +0000 (11:36 +0000)] 
Fix comment.

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

20 years agoChange the criteria by which translations are discarded in the presence of
Julian Seward [Sat, 23 Jul 2005 09:52:21 +0000 (09:52 +0000)] 
Change the criteria by which translations are discarded in the presence of
redirections.  Patch from Tom Hughes.  This fixes #109401.

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

20 years agoChange some int uses to Int (the house types).
Julian Seward [Sat, 23 Jul 2005 09:22:46 +0000 (09:22 +0000)] 
Change some int uses to Int (the house types).

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

20 years agoA commit which is almost all trivial change.
Julian Seward [Sat, 23 Jul 2005 09:18:34 +0000 (09:18 +0000)] 
A commit which is almost all trivial change.

- m_main: if --log-file-qualifier applies, do not add ".pid"
  at the end of the name

- Fix the logic which detected whether the just-devised name
  already existed.  This was broken (by me) because it could not
  distinguish the reasons for failing to open the logfile.

  Doing this required changing the return type of VG_(open)
  from Int to SysRes (to make failure reasons visible) and
  that's the cause of most of the changes.

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

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