]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
20 years agoWhen looking for a heap segment to extend look for the heap limit
Tom Hughes [Thu, 6 Oct 2005 14:49:21 +0000 (14:49 +0000)] 
When looking for a heap segment to extend look for the heap limit
address rather than the base address as the heap may have been split
into more than one segment by using mprotect on it...

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

20 years agoDocument memalign fix.
Tom Hughes [Thu, 6 Oct 2005 12:06:03 +0000 (12:06 +0000)] 
Document memalign fix.

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

20 years agoStop memalign crashing if it fails to allocate the memory. Bug 112538.
Tom Hughes [Thu, 6 Oct 2005 12:04:26 +0000 (12:04 +0000)] 
Stop memalign crashing if it fails to allocate the memory. Bug 112538.

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

20 years agoThe amd64 BOUND bug turned out to be bogus.
Tom Hughes [Thu, 6 Oct 2005 09:15:20 +0000 (09:15 +0000)] 
The amd64 BOUND bug turned out to be bogus.

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

20 years agoDocument realloc fix.
Tom Hughes [Thu, 6 Oct 2005 09:07:14 +0000 (09:07 +0000)] 
Document realloc fix.

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

20 years agoFix realloc wrappers to handle the out of memory case properly - if
Tom Hughes [Thu, 6 Oct 2005 09:00:17 +0000 (09:00 +0000)] 
Fix realloc wrappers to handle the out of memory case properly - if
the call to VG_(cli_malloc) returns NULL then don't try and copy the
data or register a new block and just leave the old block in place
instead, but still return NULL to the caller.

Fixes bug 109487 and it's duplicates.

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

20 years agoChanged some overflow-prone counters from UInt to ULong.
Nicholas Nethercote [Thu, 6 Oct 2005 03:32:42 +0000 (03:32 +0000)] 
Changed some overflow-prone counters from UInt to ULong.

Changed some printf specifiers accordingly, plus some more that were
incorrect.

Also put commas in various output numbers, eg. the leak check stats.
This makes them much easier to read when they get big.  One
exception is in XML number-only fields such as <leakedbytes>.

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

20 years agoThe m_syswrap subsystem is Valgrind's model of how the kernel behaves
Julian Seward [Thu, 6 Oct 2005 03:19:49 +0000 (03:19 +0000)] 
The m_syswrap subsystem is Valgrind's model of how the kernel behaves
with respect to syscalls.  It is detailed and comprehensive but does
not offer a way to deal with minor deviations in behaviour from the
vanilla kernel sources, either due to running a hacked kernel or
running a vanilla kernel with a custom kernel module loaded.

This commit adds a flexible way to handle such cases without polluting
the vanilla handler syswrap-*.c files or their supporting vki_*.h
header files.  For each OS, a syswrap-OS-variants.c file is added,
containing wrappers for variants of OS.  A new command line flag
--kernel-variants= carries a comma separated list of variant names
that apply to the current run.  There are no other changes.

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

20 years agoAdjustments to the sync-checker:
Julian Seward [Thu, 6 Oct 2005 03:04:22 +0000 (03:04 +0000)] 
Adjustments to the sync-checker:

* show the filename, if any, when printing out disagreeing mappings

* if the kernel offers us a mapping to a file with the name
  "/dev/zero (deleted)", don't do a /dev/ino comparison.

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

20 years agoUpdate.
Julian Seward [Thu, 6 Oct 2005 02:31:49 +0000 (02:31 +0000)] 
Update.

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

20 years agoUpdate.
Julian Seward [Wed, 5 Oct 2005 18:05:01 +0000 (18:05 +0000)] 
Update.

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

20 years agoTest for jrcxz.
Julian Seward [Wed, 5 Oct 2005 17:12:23 +0000 (17:12 +0000)] 
Test for jrcxz.

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

20 years agoUpdate
Julian Seward [Wed, 5 Oct 2005 11:03:19 +0000 (11:03 +0000)] 
Update

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

20 years agoEven more regtests
Julian Seward [Wed, 5 Oct 2005 11:02:00 +0000 (11:02 +0000)] 
Even more regtests

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

20 years agoFix for 112031 is actually in two parts.
Tom Hughes [Wed, 5 Oct 2005 08:28:59 +0000 (08:28 +0000)] 
Fix for 112031 is actually in two parts.

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

20 years agoUpdate README_MISSING_SYSCALL_OR_IOCTL to reflect reality - patch
Tom Hughes [Wed, 5 Oct 2005 08:27:08 +0000 (08:27 +0000)] 
Update README_MISSING_SYSCALL_OR_IOCTL to reflect reality - patch
from Reimar Döffinger via bug 112031.

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

20 years agoDocument fix for 112031.
Tom Hughes [Wed, 5 Oct 2005 08:24:20 +0000 (08:24 +0000)] 
Document fix for 112031.

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

20 years agoIf the launcher can't figure out what it's own name is, don't bail
Julian Seward [Tue, 4 Oct 2005 23:07:33 +0000 (23:07 +0000)] 
If the launcher can't figure out what it's own name is, don't bail
out.  Instead, print a warning message, continue, and cause any
attempt to trace into a child process to fail with ECHILD.

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

20 years agoRewrite ML_(fd_allowed):
Julian Seward [Tue, 4 Oct 2005 22:27:22 +0000 (22:27 +0000)] 
Rewrite ML_(fd_allowed):

* include explaination from Tom
* make logic easier to follow, and add comments
* remove veto on the -d file descriptor (detailed comments in code)

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

20 years agoAdd regtests for SSE2 pmaddwd.
Julian Seward [Tue, 4 Oct 2005 20:00:20 +0000 (20:00 +0000)] 
Add regtests for SSE2 pmaddwd.

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

20 years agoUpdate
Julian Seward [Tue, 4 Oct 2005 19:33:44 +0000 (19:33 +0000)] 
Update

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

20 years agoDocument fix for 113642.
Tom Hughes [Tue, 4 Oct 2005 16:55:22 +0000 (16:55 +0000)] 
Document fix for 113642.

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

20 years agoMake sure we have all the DWARF2 sections before trying to decode
Tom Hughes [Tue, 4 Oct 2005 16:54:54 +0000 (16:54 +0000)] 
Make sure we have all the DWARF2 sections before trying to decode
any DWARF2 debug information. All make sure we don't fall over if
the .debug_info is less than four bytes long. Fixed bug 113642.

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

20 years agoDocument bug 113796.
Tom Hughes [Tue, 4 Oct 2005 16:45:28 +0000 (16:45 +0000)] 
Document bug 113796.

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

20 years agoCreate a new SkShmC segment type for shared memory segments so that we
Tom Hughes [Tue, 4 Oct 2005 15:59:54 +0000 (15:59 +0000)] 
Create a new SkShmC segment type for shared memory segments so that we
can ensure they are never merged with adjacent segments. This makes
sure that we can find the right piece of memory to release when the
shmdt system call occurs.

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

20 years agoCheck permissions when sanity checking the segment list against
Tom Hughes [Tue, 4 Oct 2005 13:02:31 +0000 (13:02 +0000)] 
Check permissions when sanity checking the segment list against
the kernel's memory map.

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

20 years agoGet the SHM_RDONLY test the right way round. Fixes bug #113796.
Tom Hughes [Tue, 4 Oct 2005 12:04:06 +0000 (12:04 +0000)] 
Get the SHM_RDONLY test the right way round. Fixes bug #113796.

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

20 years agoReenable SSE2 psadbw test.
Julian Seward [Tue, 4 Oct 2005 11:44:11 +0000 (11:44 +0000)] 
Reenable SSE2 psadbw test.

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

20 years agoUpdate
Julian Seward [Mon, 3 Oct 2005 11:40:44 +0000 (11:40 +0000)] 
Update

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

20 years agoAllow scripts less that a page in length to be executed.
Tom Hughes [Mon, 3 Oct 2005 09:06:36 +0000 (09:06 +0000)] 
Allow scripts less that a page in length to be executed.

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

20 years agoTest misc sbb/adc insns.
Julian Seward [Mon, 3 Oct 2005 02:23:17 +0000 (02:23 +0000)] 
Test misc sbb/adc insns.

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

20 years agoTest simulation of x86 'fxtract'.
Julian Seward [Mon, 3 Oct 2005 01:22:29 +0000 (01:22 +0000)] 
Test simulation of x86 'fxtract'.

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

20 years agocompile fix for an Ubuntu box I just tried
Nicholas Nethercote [Sun, 2 Oct 2005 17:50:31 +0000 (17:50 +0000)] 
compile fix for an Ubuntu box I just tried

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

20 years agoUnbreak compilation. Duh.
Julian Seward [Sun, 2 Oct 2005 17:33:07 +0000 (17:33 +0000)] 
Unbreak compilation.  Duh.

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

20 years agoPlumb 64-bit file offsets throughout the address space manager.
Julian Seward [Sun, 2 Oct 2005 17:01:41 +0000 (17:01 +0000)] 
Plumb 64-bit file offsets throughout the address space manager.
Untested.

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

20 years agoMake the dispatch files platform-specific, not just arch-specific,
Nicholas Nethercote [Sun, 2 Oct 2005 14:48:09 +0000 (14:48 +0000)] 
Make the dispatch files platform-specific, not just arch-specific,
as requested by Greg Parker.  (The ppc32/Darwin dispatch loop is
different to the ppc32/Linux one, for example.)

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

20 years agoUpdate the depressingly long list of bugs.
Julian Seward [Sun, 2 Oct 2005 13:10:41 +0000 (13:10 +0000)] 
Update the depressingly long list of bugs.

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

20 years agoppc32-linux only: redirect strcmp right from the start.
Julian Seward [Sat, 1 Oct 2005 19:12:08 +0000 (19:12 +0000)] 
ppc32-linux only: redirect strcmp right from the start.

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

20 years agoDocument mmap insanity in a comment.
Tom Hughes [Fri, 30 Sep 2005 16:09:12 +0000 (16:09 +0000)] 
Document mmap insanity in a comment.

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

20 years agoUpdate ignore lists.
Tom Hughes [Fri, 30 Sep 2005 13:43:52 +0000 (13:43 +0000)] 
Update ignore lists.

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

20 years agoML_(generic_PRE_sys_mmap): reject non-page-aligned offsets.
Julian Seward [Fri, 30 Sep 2005 10:48:27 +0000 (10:48 +0000)] 
ML_(generic_PRE_sys_mmap): reject non-page-aligned offsets.

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

20 years agoWhen a sector is full, debug-print TC/TT loading for it, so as to give
Julian Seward [Fri, 30 Sep 2005 10:34:06 +0000 (10:34 +0000)] 
When a sector is full, debug-print TC/TT loading for it, so as to give
better info on sizing decisions.

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

20 years agoPlacate gcc.
Julian Seward [Fri, 30 Sep 2005 10:32:39 +0000 (10:32 +0000)] 
Placate gcc.

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

20 years agoRemoved surplus parenthesis.
Tom Hughes [Fri, 30 Sep 2005 08:12:54 +0000 (08:12 +0000)] 
Removed surplus parenthesis.

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

20 years agoRationalise the mmap system call handling - after examining the kernel
Tom Hughes [Fri, 30 Sep 2005 08:07:53 +0000 (08:07 +0000)] 
Rationalise the mmap system call handling - after examining the kernel
source it turns out that there are five different versions of mmap for
the three platforms we currently support:

  - On x86-linux there is mmap (aka old_mmap) which takes the
    arguments in a memory block and the offset in bytes; and
    mmap2 (aka sys_mmap2) which takes the arguments in the normal
    way and the offset in pages.

  - On ppc32-linux there is mmap (aka sys_mmap) which takes the
    arguments in the normal way and the offset in bytes; and
    mmap2 (aka sys_mmap2) which takes the arguments in the normal
    way and the offset in pages.

  - On amd64-linux everything is simple and there is just the one
    call, mmap (aka sys_mmap)  which takes the arguments in the normal
    way and the offset in bytes.

To reconcile all this I have created a generic handler and then
written five platform specific wrappers which normalise all the
arguments and then call the generic handler.

I have also modified the address space manager to use mmap2 rather
than mmap on x86 and ppc32 so that large offsets can be correctly
handled.

There is still an issue of OffT truncating offsets as we go through
the address space manager that will need to be addressed.

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

20 years agowhoops
Nicholas Nethercote [Fri, 30 Sep 2005 02:17:40 +0000 (02:17 +0000)] 
whoops

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

20 years agoadd missing file
Nicholas Nethercote [Fri, 30 Sep 2005 02:17:16 +0000 (02:17 +0000)] 
add missing file

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

20 years agoPlacate memcheck/tests/x86/scalar, which objected to the rewrite of
Julian Seward [Fri, 30 Sep 2005 01:47:12 +0000 (01:47 +0000)] 
Placate memcheck/tests/x86/scalar, which objected to the rewrite of
the sys_readlink wrapper.

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

20 years agoCommit Jeroen Witmond's xml-to-text translator, and use it for the FAQ.
Nicholas Nethercote [Fri, 30 Sep 2005 01:43:32 +0000 (01:43 +0000)] 
Commit Jeroen Witmond's xml-to-text translator, and use it for the FAQ.
Less double maintenance, hoorah!

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

20 years agoGet rid of duplicated STRINGIFY macros.
Julian Seward [Fri, 30 Sep 2005 01:20:47 +0000 (01:20 +0000)] 
Get rid of duplicated STRINGIFY macros.

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

20 years agoIn PRE(sys_readlink), fix up handling of /proc/<pid>/exe and
Julian Seward [Fri, 30 Sep 2005 01:09:50 +0000 (01:09 +0000)] 
In PRE(sys_readlink), fix up handling of /proc/<pid>/exe and
/proc/self/exe.

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

20 years agoupdate
Nicholas Nethercote [Fri, 30 Sep 2005 01:07:14 +0000 (01:07 +0000)] 
update

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

20 years agoEnable sys_iopl on AMD64.
Nicholas Nethercote [Fri, 30 Sep 2005 01:05:53 +0000 (01:05 +0000)] 
Enable sys_iopl on AMD64.

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

20 years agoOh Arse. This'll teach me to edit the x86-specific sources on a ppc32
Julian Seward [Fri, 30 Sep 2005 00:49:01 +0000 (00:49 +0000)] 
Oh Arse.  This'll teach me to edit the x86-specific sources on a ppc32
box.

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

20 years agoA corresponding fix to 4823: don't deal with MAP_FIXED case directly
Julian Seward [Fri, 30 Sep 2005 00:45:47 +0000 (00:45 +0000)] 
A corresponding fix to 4823: don't deal with MAP_FIXED case directly
here; instead uniformly pass all requests to VG_(am_get_advisory), so
that layout policy is controlled from one place only.

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

20 years agoChanges to sys_mmap2 wrapper:
Julian Seward [Fri, 30 Sep 2005 00:37:04 +0000 (00:37 +0000)] 
Changes to sys_mmap2 wrapper:

- update comment re offset scaling

- ppc32 offset is in bytes, not pages

- don't deal with MAP_FIXED case directly here; instead uniformly pass
  all requests to VG_(am_get_advisory), so that layout policy is controlled
  from one place only.

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

20 years agoFuture-proof a piece of conditional compilation.
Nicholas Nethercote [Fri, 30 Sep 2005 00:06:09 +0000 (00:06 +0000)] 
Future-proof a piece of conditional compilation.

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

20 years agoOn x86 and ppc32 the offset argument to mmap2 is specified in pages
Tom Hughes [Thu, 29 Sep 2005 23:26:06 +0000 (23:26 +0000)] 
On x86 and ppc32 the offset argument to mmap2 is specified in pages
not bytes. This is a horrible kludge of a fix and it should probably
be fixed properly with a separate sys_mmap for amd64.

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

20 years agoFix a very stupid bug in the new aspacemgr, in which mmap "hint-style"
Julian Seward [Thu, 29 Sep 2005 21:20:41 +0000 (21:20 +0000)] 
Fix a very stupid bug in the new aspacemgr, in which mmap "hint-style"
requests were being granted at the requested address when they should
not have been.  This was causing ppc32-linux to crash at startup
(since the wrongly-granted mapping annihilated 5 others).  This shows
the value of a multiplatform approach -- the bug applies to all
targets, yet x86 and amd64 appeared to work perfectly.

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

20 years agoMake ppc32-linux build again following aspacem merge. Doesn't work, though:
Julian Seward [Thu, 29 Sep 2005 11:09:56 +0000 (11:09 +0000)] 
Make ppc32-linux build again following aspacem merge.  Doesn't work, though:
programs crash before reaching main.  I don't know why.

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

20 years agoComment-only changes
Julian Seward [Thu, 29 Sep 2005 10:24:17 +0000 (10:24 +0000)] 
Comment-only changes

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

20 years agoAdd an explanatory message for when instruction decoding fails.
Nicholas Nethercote [Thu, 29 Sep 2005 00:35:18 +0000 (00:35 +0000)] 
Add an explanatory message for when instruction decoding fails.

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

20 years agoRemove redundant function call.
Nicholas Nethercote [Thu, 29 Sep 2005 00:31:40 +0000 (00:31 +0000)] 
Remove redundant function call.

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

20 years agoFix up vg_preload_core.so vs. vgpreload_core.so confusion introduced
Nicholas Nethercote [Thu, 29 Sep 2005 00:25:07 +0000 (00:25 +0000)] 
Fix up vg_preload_core.so vs. vgpreload_core.so confusion introduced
during the ASPACEM merge.

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

20 years agoFix subtle bug in ML_(generic_POST_sys_shmdt) caused by new aspacem.
Julian Seward [Wed, 28 Sep 2005 20:05:31 +0000 (20:05 +0000)] 
Fix subtle bug in ML_(generic_POST_sys_shmdt) caused by new aspacem.

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

20 years ago%u -> %lu
Julian Seward [Wed, 28 Sep 2005 20:00:30 +0000 (20:00 +0000)] 
%u -> %lu

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

20 years agoFix command-line printing.
Julian Seward [Wed, 28 Sep 2005 19:59:19 +0000 (19:59 +0000)] 
Fix command-line printing.

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

20 years agoMake --log-socket= work on amd64-linux.
Julian Seward [Wed, 28 Sep 2005 19:58:58 +0000 (19:58 +0000)] 
Make --log-socket= work on amd64-linux.

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

20 years agoMake primes.c a bazillion times faster.
Nicholas Nethercote [Wed, 28 Sep 2005 14:49:40 +0000 (14:49 +0000)] 
Make primes.c a bazillion times faster.

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

20 years agoRestore correct version number following the aspacem merge.
Julian Seward [Wed, 28 Sep 2005 11:51:17 +0000 (11:51 +0000)] 
Restore correct version number following the aspacem merge.

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

20 years agoIncrease some sizes to deal better with the new multigigabyte world:
Julian Seward [Wed, 28 Sep 2005 11:50:20 +0000 (11:50 +0000)] 
Increase some sizes to deal better with the new multigigabyte world:

- on 64-bit platforms, double the size of the supported address
  space to 32G.

- Increase the size of the ExeContext table 6 times.  Some very
  large apps have been observed to have been doing a lot of
  searching in the old 4999 entry table.  This table may be
  OSetified in the fullness of time.

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

20 years agoHandy program for finding prime numbers (small ones!)
Julian Seward [Wed, 28 Sep 2005 11:25:10 +0000 (11:25 +0000)] 
Handy program for finding prime numbers (small ones!)

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

20 years agoGet rid of pub_core_main.h, so that m_main is not imported by anyone,
Julian Seward [Wed, 28 Sep 2005 10:47:38 +0000 (10:47 +0000)] 
Get rid of pub_core_main.h, so that m_main is not imported by anyone,
and so is not part of a module cycle.  This requires a moderately
grotty hack of passing a continuation-function pointer in a global
variable.

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

20 years agoPrivatise parse_procselfmaps() and move it into aspacemgr.c in order
Julian Seward [Wed, 28 Sep 2005 09:37:16 +0000 (09:37 +0000)] 
Privatise parse_procselfmaps() and move it into aspacemgr.c in order
to benefit from the module-cycle-breaking functions in aspacemgr.c.

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

20 years agoRename m_launcher.c to launcher.c to make clear it's not part of the
Julian Seward [Wed, 28 Sep 2005 01:53:07 +0000 (01:53 +0000)] 
Rename m_launcher.c to launcher.c to make clear it's not part of the
normal module scheme -- it's a standalone program.

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

20 years agoVG_(am_extend_into_adjacent_reservation_client): Do not allow the
Julian Seward [Wed, 28 Sep 2005 01:46:31 +0000 (01:46 +0000)] 
VG_(am_extend_into_adjacent_reservation_client): Do not allow the
reservation segment to be shrunk below one page.

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

20 years agoGet rid of some macros used only by the old aspacemgr, and tidy up
Julian Seward [Wed, 28 Sep 2005 01:36:01 +0000 (01:36 +0000)] 
Get rid of some macros used only by the old aspacemgr, and tidy up
m_main even more.

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

20 years agoClean up the m_debuginfo interface a bit.
Julian Seward [Wed, 28 Sep 2005 01:23:25 +0000 (01:23 +0000)] 
Clean up the m_debuginfo interface a bit.

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

20 years agoGet rid of the "ioctl-mmap" weird-hack flag.
Julian Seward [Wed, 28 Sep 2005 01:14:32 +0000 (01:14 +0000)] 
Get rid of the "ioctl-mmap" weird-hack flag.

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

20 years agoSmall cleanups, mostly of m_main:
Julian Seward [Wed, 28 Sep 2005 00:53:09 +0000 (00:53 +0000)] 
Small cleanups, mostly of m_main:

- Move VG_(fd_{soft,hard}_limit) into m_clientstate
- m_main: clean up auxv handling.  Get rid of scan_auxv().
- m_main: move scan_colsep() to somewhere more sensible.

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

20 years agoDon't reserve space for trampoline page on the stack, since it isn't
Julian Seward [Tue, 27 Sep 2005 23:53:09 +0000 (23:53 +0000)] 
Don't reserve space for trampoline page on the stack, since it isn't
used any more.

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

20 years agoRemove now-unused "shadow_memory" need.
Nicholas Nethercote [Tue, 27 Sep 2005 21:35:01 +0000 (21:35 +0000)] 
Remove now-unused "shadow_memory" need.

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

20 years agoRecord an observation about addr_is_in_MAC_Chunk().
Nicholas Nethercote [Tue, 27 Sep 2005 20:51:12 +0000 (20:51 +0000)] 
Record an observation about addr_is_in_MAC_Chunk().

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

20 years agoRemove ancient unused test files.
Nicholas Nethercote [Tue, 27 Sep 2005 20:28:00 +0000 (20:28 +0000)] 
Remove ancient unused test files.

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

20 years agoFix up Makefile.core.am which got a little confused during the ASPACEM
Nicholas Nethercote [Tue, 27 Sep 2005 20:27:04 +0000 (20:27 +0000)] 
Fix up Makefile.core.am which got a little confused during the ASPACEM
merging.

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

20 years agoUnbreak build on amd64 following aspacem merge.
Julian Seward [Tue, 27 Sep 2005 19:57:35 +0000 (19:57 +0000)] 
Unbreak build on amd64 following aspacem merge.

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

20 years agoDisable vgtest_ume, which is broken.
Nicholas Nethercote [Tue, 27 Sep 2005 19:52:02 +0000 (19:52 +0000)] 
Disable vgtest_ume, which is broken.

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

20 years agoFix scalar and cmdline[12].
Nicholas Nethercote [Tue, 27 Sep 2005 19:46:46 +0000 (19:46 +0000)] 
Fix scalar and cmdline[12].

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

20 years agoThis commit merges in changes from branches/ASPACEM (specifically,
Julian Seward [Tue, 27 Sep 2005 19:20:21 +0000 (19:20 +0000)] 
This commit merges in changes from branches/ASPACEM (specifically,
changes from r4341 through r4787 inclusive).  That branch is now dead.
Please do not commit anything else to it.

For the most part the merge was not troublesome.  The main areas of
uncertainty are:

- build system: I had to import by hand Makefile.core-AM_CPPFLAGS.am
  and include it in a couple of places.  Building etc seems to still
  work, but I haven't tried building the documentation.

- syscall wrappers: Following analysis by Greg & Nick, a whole lot of
  stuff was moved from -generic to -linux after the branch was created.
  I think that is satisfactorily glued back together now.

- Regtests: although this appears to work, no .out files appear, which
  is strange, and makes it hard to diagnose regtest failures.  In
  particular memcheck/tests/x86/scalar.stderr.exp remains in a
  conflicted state.

- amd64 is broken (slightly), and ppc32 will be unbuildable.  I'll
  attend to the former shortly.

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

20 years agowibbles
Nicholas Nethercote [Tue, 27 Sep 2005 18:52:39 +0000 (18:52 +0000)] 
wibbles

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

20 years agoadd note
Nicholas Nethercote [Mon, 26 Sep 2005 14:50:39 +0000 (14:50 +0000)] 
add note

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

20 years agorecord an email
Nicholas Nethercote [Mon, 26 Sep 2005 01:55:14 +0000 (01:55 +0000)] 
record an email

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

20 years agoupdate
Nicholas Nethercote [Mon, 26 Sep 2005 01:49:39 +0000 (01:49 +0000)] 
update

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

20 years agoupdate
Nicholas Nethercote [Mon, 26 Sep 2005 01:12:57 +0000 (01:12 +0000)] 
update

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

20 years agoFix broken links in the manual. Bug #113190.
Nicholas Nethercote [Mon, 26 Sep 2005 01:11:40 +0000 (01:11 +0000)] 
Fix broken links in the manual.  Bug #113190.

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

20 years agoupdate
Nicholas Nethercote [Sun, 25 Sep 2005 19:13:21 +0000 (19:13 +0000)] 
update

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

20 years agoFix incorrect computation of miss rates due to Int/Long mixups <sigh>.
Nicholas Nethercote [Sun, 25 Sep 2005 19:11:45 +0000 (19:11 +0000)] 
Fix incorrect computation of miss rates due to Int/Long mixups <sigh>.

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

20 years agoactually, they're unsigned
Nicholas Nethercote [Sun, 25 Sep 2005 17:59:16 +0000 (17:59 +0000)] 
actually, they're unsigned

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

20 years agoPrint longs as longs.
Nicholas Nethercote [Sun, 25 Sep 2005 17:57:47 +0000 (17:57 +0000)] 
Print longs as longs.

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

20 years agofix for #113230
Nicholas Nethercote [Sat, 24 Sep 2005 19:42:41 +0000 (19:42 +0000)] 
fix for #113230

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