]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
19 years agoUpdate EXTRA_DIST to include new results files.
Tom Hughes [Wed, 2 Nov 2005 15:17:43 +0000 (15:17 +0000)] 
Update EXTRA_DIST to include new results files.

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

19 years agoAdd alternate results for memcheck/tests/strchr on amd64.
Tom Hughes [Wed, 2 Nov 2005 15:03:12 +0000 (15:03 +0000)] 
Add alternate results for memcheck/tests/strchr on amd64.

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

19 years agoThe sloppyRXcheck logic in the sync checker was not correct - it was
Tom Hughes [Wed, 2 Nov 2005 14:42:39 +0000 (14:42 +0000)] 
The sloppyRXcheck logic in the sync checker was not correct - it was
simply treating R and X as equivalent but the real problem is that
mappings can appear to have X permission entirely indepenent of anything
else with recent x86 kernels.

If a mapping is inside the (deliberately constrained) code segment then
it will appear to have X permission regardless of whether R or X was asked
for when it was mapped, so what we really need to do is allow the kernel
to add X to any mapping but not to take it away if we were expecting it.

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

19 years agoRemoved memcheck/tests/weirdioctl as it is badly broken and seems
Tom Hughes [Wed, 2 Nov 2005 13:58:39 +0000 (13:58 +0000)] 
Removed memcheck/tests/weirdioctl as it is badly broken and seems
to serve no useful purpose.

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

19 years agoDon't give the heap execute permission - the linux kernel doesn't
Tom Hughes [Wed, 2 Nov 2005 13:02:40 +0000 (13:02 +0000)] 
Don't give the heap execute permission - the linux kernel doesn't
normally give execute permission to memory allocated from the heap
with sbrk.

This also required fixing the smc1 test for amd64 to use mmap to
allocate memory so that it can have execute permission.

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

19 years agoUpdate memcheck/tests/xml1 results.
Tom Hughes [Wed, 2 Nov 2005 13:00:41 +0000 (13:00 +0000)] 
Update memcheck/tests/xml1 results.

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

19 years agoUpdate memcheck/tests/xml1 results.
Tom Hughes [Wed, 2 Nov 2005 13:00:03 +0000 (13:00 +0000)] 
Update memcheck/tests/xml1 results.

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

19 years agoMake the request for space for the interpreter into a hint so that we
Tom Hughes [Tue, 1 Nov 2005 19:46:07 +0000 (19:46 +0000)] 
Make the request for space for the interpreter into a hint so that we
can still proceed if the preferred load address is not available.

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

19 years agoReinstate and extend lackey's functionality (a major overhaul), from
Julian Seward [Tue, 1 Nov 2005 17:52:34 +0000 (17:52 +0000)] 
Reinstate and extend lackey's functionality (a major overhaul), from
Jeroen N. Witmond.  Thanks for that.

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

19 years agoFixed test to not assume that malloc(10) will return 10 nul bytes!
Tom Hughes [Tue, 1 Nov 2005 17:21:03 +0000 (17:21 +0000)] 
Fixed test to not assume that malloc(10) will return 10 nul bytes!

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

19 years agoupdate
Nicholas Nethercote [Tue, 1 Nov 2005 17:15:50 +0000 (17:15 +0000)] 
update

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

19 years agoWhitespace only change (test commit to see if auto-mail-on-commit is
Julian Seward [Tue, 1 Nov 2005 12:32:24 +0000 (12:32 +0000)] 
Whitespace only change (test commit to see if auto-mail-on-commit is
still working).

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

19 years agoIf pdfxmltex bombs, as it so often does, at least cause the build to
Julian Seward [Tue, 1 Nov 2005 03:08:41 +0000 (03:08 +0000)] 
If pdfxmltex bombs, as it so often does, at least cause the build to
come to a halt rather than just hanging.

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

19 years agoUpdate.
Julian Seward [Tue, 1 Nov 2005 03:07:38 +0000 (03:07 +0000)] 
Update.

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

19 years agoMake ULong_width(0) return 1 instead of 1431655765. This stops
Julian Seward [Tue, 1 Nov 2005 02:20:19 +0000 (02:20 +0000)] 
Make ULong_width(0) return 1 instead of 1431655765.  This stops
cachegrind segfaulting if it can't open its output file.

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

19 years agoBuild fixes following recent coredump hackery.
Julian Seward [Tue, 1 Nov 2005 00:42:07 +0000 (00:42 +0000)] 
Build fixes following recent coredump hackery.

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

19 years agoFix a couple of gcc warnings following recent coredumping changes
Julian Seward [Tue, 1 Nov 2005 00:03:40 +0000 (00:03 +0000)] 
Fix a couple of gcc warnings following recent coredumping changes
(r4970).

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

19 years agoGet core dumping working again - the architecture specific code that
Tom Hughes [Mon, 31 Oct 2005 17:05:21 +0000 (17:05 +0000)] 
Get core dumping working again - the architecture specific code that
was in the sigframe module has been moved into the coredump module
where it belongs and things fixed up to compiler again.

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

20 years agoThe version string from --version was being printed to stderr. This
Nicholas Nethercote [Wed, 26 Oct 2005 16:17:46 +0000 (16:17 +0000)] 
The version string from --version was being printed to stderr.  This
commit fixes it to print to stdout.  I added a regression test for this.

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

20 years agoTrawl through bugzilla/users-list and add various bugs.
Julian Seward [Wed, 26 Oct 2005 12:21:16 +0000 (12:21 +0000)] 
Trawl through bugzilla/users-list and add various bugs.

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

20 years agoDon't assume the first statement is an IRMark, since it could instead
Julian Seward [Sun, 23 Oct 2005 12:06:55 +0000 (12:06 +0000)] 
Don't assume the first statement is an IRMark, since it could instead
be part of a self-check.  Instead, copy verbatim any IR preamble
preceding the first IMark.  This stops cachegrind asserting on
self-checking translations.

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

20 years agoUpdate bug status information.
Tom Hughes [Sun, 23 Oct 2005 09:30:35 +0000 (09:30 +0000)] 
Update bug status information.

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

20 years agoEnable Altivec by default if it is available.
Julian Seward [Sat, 22 Oct 2005 12:52:25 +0000 (12:52 +0000)] 
Enable Altivec by default if it is available.

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

20 years agoHandle a few more primops result from running Altivec code.
Julian Seward [Sat, 22 Oct 2005 12:50:43 +0000 (12:50 +0000)] 
Handle a few more primops result from running Altivec code.

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

20 years agoPass args to match format string.
Julian Seward [Fri, 21 Oct 2005 12:05:05 +0000 (12:05 +0000)] 
Pass args to match format string.

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

20 years agoHandle SHT_NOBITS sections when checking for section overruns. This
Julian Seward [Fri, 21 Oct 2005 02:37:40 +0000 (02:37 +0000)] 
Handle SHT_NOBITS sections when checking for section overruns.  This
fixes a problem where debug info was sometimes not being read on
ppc32.

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

20 years agoDocument bug #114757.
Tom Hughes [Thu, 20 Oct 2005 18:42:26 +0000 (18:42 +0000)] 
Document bug #114757.

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

20 years agoDon't assert if the DWARF line info reader is given so little data that
Tom Hughes [Thu, 20 Oct 2005 18:38:08 +0000 (18:38 +0000)] 
Don't assert if the DWARF line info reader is given so little data that
it can't even read the length of the block - just report an error as we
do if there isn't enough data for the rest of the block. Fix bug #114757.

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

20 years agoDocument bug #114756.
Tom Hughes [Thu, 20 Oct 2005 17:03:53 +0000 (17:03 +0000)] 
Document bug #114756.

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

20 years agoAdd support for the mbind system call on x86 and amd64. Fixes bug #114756.
Tom Hughes [Thu, 20 Oct 2005 17:00:23 +0000 (17:00 +0000)] 
Add support for the mbind system call on x86 and amd64. Fixes bug #114756.

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

20 years agoIncrease the threshold above which new errors are not shown from 300
Julian Seward [Thu, 20 Oct 2005 01:57:29 +0000 (01:57 +0000)] 
Increase the threshold above which new errors are not shown from 300
unique / 30000 total to 1000 unique / 100000 total.  Programs are
generally bigger now than 3 years ago.

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

20 years agoRemove all remaining references to pointercheck. It's sad to see it
Julian Seward [Thu, 20 Oct 2005 01:37:15 +0000 (01:37 +0000)] 
Remove all remaining references to pointercheck.  It's sad to see it
go, but realistically we can't implement it portably, at least without
considerable performance overhead and some additional complexity.

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

20 years agoThe Spin-Doctor arrives in Valgrind-Land: rename --weird-hacks= to
Julian Seward [Thu, 20 Oct 2005 01:09:57 +0000 (01:09 +0000)] 
The Spin-Doctor arrives in Valgrind-Land: rename --weird-hacks= to
--simulation-hints=.  Bwaha.

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

20 years agoIn the spirit of other changes over the past month aimed at supporting
Julian Seward [Thu, 20 Oct 2005 00:31:31 +0000 (00:31 +0000)] 
In the spirit of other changes over the past month aimed at supporting
monster-sized programs better, increase the default freelist volume
from 1M to 5M.  Maybe even that is too small.

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

20 years agoOops, un-break cachegrind regtesting following r4951.
Julian Seward [Thu, 20 Oct 2005 00:30:30 +0000 (00:30 +0000)] 
Oops, un-break cachegrind regtesting following r4951.

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

20 years agorm the skiplist module, as it has been superseded by the AVL-tree
Julian Seward [Thu, 20 Oct 2005 00:09:11 +0000 (00:09 +0000)] 
rm the skiplist module, as it has been superseded by the AVL-tree
based m_oset module.

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

20 years agoClarify the P4 warning message a bit.
Julian Seward [Wed, 19 Oct 2005 23:49:45 +0000 (23:49 +0000)] 
Clarify the P4 warning message a bit.

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

20 years agorm unused var
Julian Seward [Wed, 19 Oct 2005 23:49:20 +0000 (23:49 +0000)] 
rm unused var

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

20 years agoFix make dist (seems to work, but am unsure if this is the right fix).
Julian Seward [Wed, 19 Oct 2005 23:38:22 +0000 (23:38 +0000)] 
Fix make dist (seems to work, but am unsure if this is the right fix).

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

20 years agoMake the usage message a little neater and more self-consistent.
Nicholas Nethercote [Wed, 19 Oct 2005 22:39:40 +0000 (22:39 +0000)] 
Make the usage message a little neater and more self-consistent.

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

20 years agoHalve the size of the fast tt lookup cache. This improves ppc32
Julian Seward [Wed, 19 Oct 2005 11:23:07 +0000 (11:23 +0000)] 
Halve the size of the fast tt lookup cache.  This improves ppc32
performance quite a bit, since the cache is emptied quite often on
ppc32, and a smaller cache is less intrusive in the real machine's L2
cache.  On x86 the change doesn't seem to have much effect.

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

20 years agoUse standard syntax for the rlwinm.
Julian Seward [Wed, 19 Oct 2005 10:14:19 +0000 (10:14 +0000)] 
Use standard syntax for the rlwinm.

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

20 years agoSnap up some easy pickings pointed out by cachegrinding nulgrind on ppc32.
Julian Seward [Wed, 19 Oct 2005 01:32:41 +0000 (01:32 +0000)] 
Snap up some easy pickings pointed out by cachegrinding nulgrind on ppc32.

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

20 years agoReenable a couple more syscalls needed for self-hosting on ppc32,
Julian Seward [Wed, 19 Oct 2005 01:14:22 +0000 (01:14 +0000)] 
Reenable a couple more syscalls needed for self-hosting on ppc32,
which now works.

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

20 years agoChange the core-tool interface so that tools are fully aware of both
Julian Seward [Tue, 18 Oct 2005 12:04:18 +0000 (12:04 +0000)] 
Change the core-tool interface so that tools are fully aware of both
the guest extents for the presented translation and also its original
un-redirected guest address.  These changes are needed in particular
to make cachegrind's code cache management work properly.

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

20 years agoAdd extra auxiliary data structures which make it possible to quickly
Julian Seward [Tue, 18 Oct 2005 02:30:42 +0000 (02:30 +0000)] 
Add extra auxiliary data structures which make it possible to quickly
find and delete all translations intersecting with small address
ranges (8 k or less, currently).  This makes it possible to simulate
ppc32 icbi instructions in reasonable time, and finally makes the
ppc32 port run at a usable speed.

The scheme is based around partitioning translations into equivalence
classes based on address ranges.  For deletions whose range falls
within a single class, all translations intersecting it can be found
by inspecting just that class and one other.  Given that there are 256
classes, this cuts the cost, relative to scanning the entire TC, by
approximately half that factor (viz, 128), assuming the translations
are distributed evenly over the classes.

The whole business is more complex and difficult than I would like.

A detailed comment will later be added.

Very thorough sanity checking has been added
(sanity_check_eclasses_in_sector).  This is engaged at
--sanity-level=4 and above.

The TT hash function (HASH_TT) has been improved to reduce its
tendency to cluster TT entries in some circumstances.  This has
allowed the TT maximum loading factor to be increased from 66% to 80%
and so the absolute size of the TC (in each sector) to be less than
2^16 entries.  The latter change is important for the fast-deletion
changes.

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

20 years agoAdd a new arena (VG_AR_TTAUX) for holding auxiliary TT/TC structures
Julian Seward [Tue, 18 Oct 2005 02:20:18 +0000 (02:20 +0000)] 
Add a new arena (VG_AR_TTAUX) for holding auxiliary TT/TC structures
(see next commit).

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

20 years agoFix socket stuff on ppc32, so that --log-socket actually works.
Julian Seward [Tue, 18 Oct 2005 02:15:39 +0000 (02:15 +0000)] 
Fix socket stuff on ppc32, so that --log-socket actually works.

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

20 years agoaugment comment
Nicholas Nethercote [Sun, 16 Oct 2005 17:48:09 +0000 (17:48 +0000)] 
augment comment

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

20 years agoRemoved remaining traces of address space padding technology as it
Tom Hughes [Sun, 16 Oct 2005 13:52:50 +0000 (13:52 +0000)] 
Removed remaining traces of address space padding technology as it
is not longer relevant with the new address space manager.

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

20 years agoA small Cachegrind cleanup: previously it was copying some things (eg.
Nicholas Nethercote [Sun, 16 Oct 2005 00:17:37 +0000 (00:17 +0000)] 
A small Cachegrind cleanup:  previously it was copying some things (eg.
instr_size and instr_addr) into Ir events, then later copying those into
instrInfo nodes.  Now it just allocates the instrInfo nodes earlier and
copies them in directly.  This is a bit more concise and easier to
understand.

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

20 years agoCachegrind cleanups:
Nicholas Nethercote [Sat, 15 Oct 2005 22:07:28 +0000 (22:07 +0000)] 
Cachegrind cleanups:
- Remove some unnecessary assertions.
- Add in some new ones.
- Make things more concise and readable by factoring out things like
  "cgs->events[i+1]" into things like "ev2" in flushEvents().

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

20 years agoupdate
Nicholas Nethercote [Sat, 15 Oct 2005 17:54:35 +0000 (17:54 +0000)] 
update

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

20 years agoComment-only changes.
Nicholas Nethercote [Sat, 15 Oct 2005 17:50:02 +0000 (17:50 +0000)] 
Comment-only changes.

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

20 years agoOSet-ified Cachegrind:
Nicholas Nethercote [Sat, 15 Oct 2005 17:46:18 +0000 (17:46 +0000)] 
OSet-ified Cachegrind:
- The instrInfoTable was a VgHashTable, now it's an OSet.
- The CC table was a custom 3-level hash table, now it's an OSet.  This
  is easier to understand and there's no worrying about whether the hash
  array sizes are big enough.  It also has the nice property that the
  results in the cachegrind.out.<pid> file are now sorted, so they're a bit
  easier to read.

I did some testing and the performance difference appears to be negligible;
CC table and InstrInfo table lookups and traversal aren't that critical.

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

20 years agoClarify the disInstr message.
Nicholas Nethercote [Sat, 15 Oct 2005 17:18:08 +0000 (17:18 +0000)] 
Clarify the disInstr message.

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

20 years agoupdate roadmap
Nicholas Nethercote [Sat, 15 Oct 2005 16:53:04 +0000 (16:53 +0000)] 
update roadmap

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

20 years agoOSet-ify m_redir.c.
Nicholas Nethercote [Sat, 15 Oct 2005 15:48:52 +0000 (15:48 +0000)] 
OSet-ify m_redir.c.

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

20 years agoFix 'shell' for those lacking '.' in their $PATH, hopefully.
Nicholas Nethercote [Sat, 15 Oct 2005 15:28:31 +0000 (15:28 +0000)] 
Fix 'shell' for those lacking '.' in their $PATH, hopefully.

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

20 years agoFilter out line numbers from shell error messages.
Tom Hughes [Sat, 15 Oct 2005 13:01:21 +0000 (13:01 +0000)] 
Filter out line numbers from shell error messages.

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

20 years agoVarious fixes to reduce noise level on SuSE 10 (PPC). Also fix some
Julian Seward [Sat, 15 Oct 2005 02:00:41 +0000 (02:00 +0000)] 
Various fixes to reduce noise level on SuSE 10 (PPC).  Also fix some
ppc32 syscalls.

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

20 years agoUnfortunately gcc4 doesn't like recently added prototypes. Comment
Julian Seward [Sat, 15 Oct 2005 00:58:26 +0000 (00:58 +0000)] 
Unfortunately gcc4 doesn't like recently added prototypes.  Comment
out for the time being.

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

20 years agoAdd comments re loss of pointercheck.
Julian Seward [Sat, 15 Oct 2005 00:41:50 +0000 (00:41 +0000)] 
Add comments re loss of pointercheck.

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

20 years agoAdd a large comment giving an overview of what it does and how it
Julian Seward [Fri, 14 Oct 2005 19:05:45 +0000 (19:05 +0000)] 
Add a large comment giving an overview of what it does and how it
works.

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

20 years agoComment-only change: add comments re self-checking translations and
Julian Seward [Fri, 14 Oct 2005 17:22:31 +0000 (17:22 +0000)] 
Comment-only change: add comments re self-checking translations and
self-modifying code.

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

20 years agoChoose a less-similar variable name when avoiding -Wshadow warnings.
Nicholas Nethercote [Fri, 14 Oct 2005 13:51:33 +0000 (13:51 +0000)] 
Choose a less-similar variable name when avoiding -Wshadow warnings.

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

20 years agoAvoid two compiler warnings.
Nicholas Nethercote [Fri, 14 Oct 2005 13:48:54 +0000 (13:48 +0000)] 
Avoid two compiler warnings.

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

20 years agoGet rid of various compilation warnings.
Julian Seward [Fri, 14 Oct 2005 11:25:49 +0000 (11:25 +0000)] 
Get rid of various compilation warnings.

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

20 years agoRename a local variable so as to make -Wshadow shut up.
Julian Seward [Fri, 14 Oct 2005 11:13:14 +0000 (11:13 +0000)] 
Rename a local variable so as to make -Wshadow shut up.

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

20 years agoOverhaul the way programs are loaded at startup and exec() works. Now the
Nicholas Nethercote [Fri, 14 Oct 2005 03:11:30 +0000 (03:11 +0000)] 
Overhaul the way programs are loaded at startup and exec() works.  Now the
checking of programs done in these two places are combined, which avoids
duplicate code and greatly reduces the number of cases in which exec()
fails causing Valgrind to bomb out.

Also, we can now load some programs we could not previously, such as scripts
lacking a "#!" line at the start.  Also, the startup failure messages for
bad programs match the shell's messages very closely.

And I added a whole bunch of regtests to test all this.

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

20 years agoUpdate bug status.
Tom Hughes [Thu, 13 Oct 2005 15:54:20 +0000 (15:54 +0000)] 
Update bug status.

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

20 years agoUse an soname of libc.so* for libc redirects so that we catch a wider
Tom Hughes [Thu, 13 Oct 2005 15:51:12 +0000 (15:51 +0000)] 
Use an soname of libc.so* for libc redirects so that we catch a wider
range of libc's such as uclibc as well as glibc. Fixes bug 114289.

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

20 years agoWe can print native word sized values sensibly now...
Tom Hughes [Thu, 13 Oct 2005 15:29:39 +0000 (15:29 +0000)] 
We can print native word sized values sensibly now...

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

20 years agoC90 fixes.
Julian Seward [Thu, 13 Oct 2005 12:41:09 +0000 (12:41 +0000)] 
C90 fixes.

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

20 years agoTiny comment/code layout tweaks; no functional change.
Nicholas Nethercote [Wed, 12 Oct 2005 16:45:17 +0000 (16:45 +0000)] 
Tiny comment/code layout tweaks;  no functional change.

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

20 years agoGet rid of bbSeenBefore and associated logic: it appears to be
Julian Seward [Wed, 12 Oct 2005 16:16:03 +0000 (16:16 +0000)] 
Get rid of bbSeenBefore and associated logic: it appears to be
irrelevant.

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

20 years agoBuild fixes for gcc-2.96. The system now builds and regtests with the
Julian Seward [Wed, 12 Oct 2005 12:53:20 +0000 (12:53 +0000)] 
Build fixes for gcc-2.96.  The system now builds and regtests with the
default gcc-2.96 on Red Hat 7.3.

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

20 years agoCorrect variable name.
Tom Hughes [Wed, 12 Oct 2005 11:30:43 +0000 (11:30 +0000)] 
Correct variable name.

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

20 years agoOnly add -Wdeclaration-after-statement if the compiler supports it.
Tom Hughes [Wed, 12 Oct 2005 11:27:33 +0000 (11:27 +0000)] 
Only add -Wdeclaration-after-statement if the compiler supports it.

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

20 years agoNotify the tool via tool_discard_basic_block_info() about translations
Julian Seward [Wed, 12 Oct 2005 10:51:01 +0000 (10:51 +0000)] 
Notify the tool via tool_discard_basic_block_info() about translations
thrown away due to lack of space.

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

20 years agoFix x86 specific declaration-before-statement warnings.
Tom Hughes [Wed, 12 Oct 2005 10:50:56 +0000 (10:50 +0000)] 
Fix x86 specific declaration-before-statement warnings.

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

20 years agoFix statement-before-declaration warnings for the core code.
Tom Hughes [Wed, 12 Oct 2005 10:45:27 +0000 (10:45 +0000)] 
Fix statement-before-declaration warnings for the core code.

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

20 years agoAdd -Wdeclaration-after-statement to the compiler flags so we can
Tom Hughes [Wed, 12 Oct 2005 10:32:08 +0000 (10:32 +0000)] 
Add -Wdeclaration-after-statement to the compiler flags so we can
catch code that will fail on older compilers.

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

20 years agorm trigram stuff.
Julian Seward [Wed, 12 Oct 2005 10:29:40 +0000 (10:29 +0000)] 
rm trigram stuff.

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

20 years agoRedo the way cachegrind generates instrumentation code, so that it can
Julian Seward [Wed, 12 Oct 2005 10:09:23 +0000 (10:09 +0000)] 
Redo the way cachegrind generates instrumentation code, so that it can
deal with any IR that happens to show up.  This makes it work on ppc32
and should fix occasionally-reported bugs on x86/amd64 where it bombs
due to having to deal with multiple date references in a single
instruction.

The new scheme is based around the idea of a queue of memory events
which are outstanding, in the sense that no IR has yet been generated
to do the relevant helper calls.  The presence of the queue --
currently 16 entries deep -- gives cachegrind more scope for combining
multiple memory references into a single helper function call.  As a
result it runs 3%-5% faster than the previous version, on x86.

This commit also changes the type of the tool interface function
'tool_discard_basic_block_info' and clarifies its meaning.  See
comments in include/pub_tool_tooliface.h.

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

20 years agoppc32 only: give debug info names for a couple of fns to make
Julian Seward [Wed, 12 Oct 2005 10:00:56 +0000 (10:00 +0000)] 
ppc32 only: give debug info names for a couple of fns to make
cachegrind profiles more understandable.

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

20 years agoMake sync checking work on recent x86 kernels (eg SuSE 10) which mark
Julian Seward [Tue, 11 Oct 2005 22:06:29 +0000 (22:06 +0000)] 
Make sync checking work on recent x86 kernels (eg SuSE 10) which mark
many 'r' sections also as 'x' because x86 can't really distinguish
them.  The change just regards 'x' and 'r' as equivalent on x86.
Checking on ppc32/amd64 is unchanged.

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

20 years agoupdate
Nicholas Nethercote [Tue, 11 Oct 2005 18:21:47 +0000 (18:21 +0000)] 
update

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

20 years agoConvert some native types to our types.
Nicholas Nethercote [Mon, 10 Oct 2005 16:49:01 +0000 (16:49 +0000)] 
Convert some native types to our types.

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

20 years agoUpdate cache simulator for 64 bit addresses. This probably won't have
Nicholas Nethercote [Mon, 10 Oct 2005 16:18:09 +0000 (16:18 +0000)] 
Update cache simulator for 64 bit addresses.  This probably won't have
caused many inaccuracies so far because it only matters if addresses
above the 4GB line are used.  Thanks to Josef W for the patch.

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

20 years agoclarify self-hosting instructions
Nicholas Nethercote [Mon, 10 Oct 2005 11:43:14 +0000 (11:43 +0000)] 
clarify self-hosting instructions

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

20 years agoDocument self-hosting.
Nicholas Nethercote [Mon, 10 Oct 2005 11:36:55 +0000 (11:36 +0000)] 
Document self-hosting.

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

20 years agoupdate
Nicholas Nethercote [Sat, 8 Oct 2005 18:01:54 +0000 (18:01 +0000)] 
update

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

20 years agoppc32-linux: reinstate sys_fsync, sys_sched_setscheduler
Julian Seward [Fri, 7 Oct 2005 23:06:13 +0000 (23:06 +0000)] 
ppc32-linux: reinstate sys_fsync, sys_sched_setscheduler

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

20 years agoMake --log-socket= work on ppc32.
Julian Seward [Fri, 7 Oct 2005 23:04:17 +0000 (23:04 +0000)] 
Make --log-socket= work on ppc32.

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

20 years agoppc32-linux: handle sys_madvise.
Julian Seward [Fri, 7 Oct 2005 19:12:18 +0000 (19:12 +0000)] 
ppc32-linux: handle sys_madvise.

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

20 years agoEnable sys_ftruncate64 on ppc32.
Julian Seward [Fri, 7 Oct 2005 13:30:48 +0000 (13:30 +0000)] 
Enable sys_ftruncate64 on ppc32.

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

20 years agoppc32 only: improve handling of CmpORD32S, so as to avoid false
Julian Seward [Fri, 7 Oct 2005 12:13:21 +0000 (12:13 +0000)] 
ppc32 only: improve handling of CmpORD32S, so as to avoid false
positives from ppc code of the form "cmpi %reg,0 ; branch-if-negative
.." where the top bit of %reg is defined but not all of the other bits
are (common-ish enough to cause a considerable number of false
positives if not done right).

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

20 years agoDisable ppc32 altivec pro tem (just temporarily).
Julian Seward [Fri, 7 Oct 2005 12:11:12 +0000 (12:11 +0000)] 
Disable ppc32 altivec pro tem (just temporarily).

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

20 years agoFix the handling of CmpORD32{S,U} which was completely bogus and
Julian Seward [Fri, 7 Oct 2005 11:08:55 +0000 (11:08 +0000)] 
Fix the handling of CmpORD32{S,U} which was completely bogus and
would have caused ppc32 to miss many uninitialised value errors.
(Change affects ppc32 only).

Also add reference to the Usenix paper.

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