]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
19 years agoDecode NOREDIR events properly in debug output.
Tom Hughes [Fri, 13 Jan 2006 09:26:23 +0000 (09:26 +0000)] 
Decode NOREDIR events properly in debug output.

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

19 years agoFix more ppc64-linux function wrapping and symbol-table bits and pieces.
Julian Seward [Thu, 12 Jan 2006 21:15:35 +0000 (21:15 +0000)] 
Fix more ppc64-linux function wrapping and symbol-table bits and pieces.

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

19 years agoMake function wrapping work on ppc32-linux.
Julian Seward [Thu, 12 Jan 2006 14:04:46 +0000 (14:04 +0000)] 
Make function wrapping work on ppc32-linux.

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

19 years agoMake function wrapping work on amd64-linux.
Julian Seward [Thu, 12 Jan 2006 13:34:20 +0000 (13:34 +0000)] 
Make function wrapping work on amd64-linux.

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

19 years agoMerge in function wrapping support from the FNWRAP branch. That
Julian Seward [Thu, 12 Jan 2006 12:32:32 +0000 (12:32 +0000)] 
Merge in function wrapping support from the FNWRAP branch.  That
branch hereby becomes inactive.  This currently breaks everything
except x86; fixes for amd64/ppc32 to follow.

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

19 years agoComment-only change.
Julian Seward [Thu, 12 Jan 2006 12:29:42 +0000 (12:29 +0000)] 
Comment-only change.

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

19 years agoAdd register-use summary.
Julian Seward [Thu, 12 Jan 2006 12:20:48 +0000 (12:20 +0000)] 
Add register-use summary.

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

19 years agoHandle the <<= and >>= operators in stabs. Fixes bug #119914.
Tom Hughes [Wed, 11 Jan 2006 13:16:35 +0000 (13:16 +0000)] 
Handle the <<= and >>= operators in stabs. Fixes bug #119914.

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

19 years agoUnbreak make dist.
Julian Seward [Mon, 9 Jan 2006 09:30:48 +0000 (09:30 +0000)] 
Unbreak make dist.

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

19 years agoMake this test 64-bit clean.
Julian Seward [Sat, 7 Jan 2006 22:33:45 +0000 (22:33 +0000)] 
Make this test 64-bit clean.

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

19 years agoEven more ppc64-linux syscalls.
Julian Seward [Thu, 5 Jan 2006 14:13:14 +0000 (14:13 +0000)] 
Even more ppc64-linux syscalls.

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

19 years agoThis is logically part of r5501 (ppc64-linux symbol reading fixes)
Julian Seward [Thu, 5 Jan 2006 14:12:53 +0000 (14:12 +0000)] 
This is logically part of r5501 (ppc64-linux symbol reading fixes)
but got missed from 5501.

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

19 years agoMake symbol table reading understand the .opd section conventions used
Julian Seward [Thu, 5 Jan 2006 14:11:31 +0000 (14:11 +0000)] 
Make symbol table reading understand the .opd section conventions used
for ppc64-linux on gcc 4.0.0 and above.

As part of this, simplify the FIND macros and rename some fields in
SegInfo to be a bit clearer.

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

19 years agoFix a casting bug in the LOADV8 slow (misaligned) case spotted by Nick.
Julian Seward [Thu, 5 Jan 2006 14:09:46 +0000 (14:09 +0000)] 
Fix a casting bug in the LOADV8 slow (misaligned) case spotted by Nick.

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

19 years agoInitial redirect stuff for ppc64-linux.
Julian Seward [Thu, 5 Jan 2006 14:07:04 +0000 (14:07 +0000)] 
Initial redirect stuff for ppc64-linux.

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

19 years agoMore syscalls ...
Julian Seward [Wed, 4 Jan 2006 15:40:16 +0000 (15:40 +0000)] 
More syscalls ...

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

19 years agoBuild fix for oset_test following recent build system hackery.
Julian Seward [Wed, 4 Jan 2006 04:23:30 +0000 (04:23 +0000)] 
Build fix for oset_test following recent build system hackery.

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

19 years agoMinor cleanups:
Julian Seward [Wed, 4 Jan 2006 03:31:07 +0000 (03:31 +0000)] 
Minor cleanups:
- get rid of some unused _ALL defns
- clarify logic in setting up VG_<platform>
- clarify some comments

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

19 years agoDo ppc32 tests on ppc64-capable platforms.
Julian Seward [Wed, 4 Jan 2006 03:08:16 +0000 (03:08 +0000)] 
Do ppc32 tests on ppc64-capable platforms.

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

19 years agoamd64-linux adjustments as a followup to r5493.
Julian Seward [Wed, 4 Jan 2006 02:55:03 +0000 (02:55 +0000)] 
amd64-linux adjustments as a followup to r5493.

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

19 years agoSomewhat rehash the biarch-build machinery so as to (1) formalise the
Julian Seward [Wed, 4 Jan 2006 01:20:28 +0000 (01:20 +0000)] 
Somewhat rehash the biarch-build machinery so as to (1) formalise the
distinction between primary and secondary build targets, and (2) make
it independent of the default behaviour of gcc (iow, what gcc does
when you specify neither -m32 nor -m64).

As a result, an out-of-the-box build on ppc64-linux now builds a
system which is basically for 64-bit PowerPC, but also has the ability
to run 32-bit ppc-linux binaries (exactly the same arrangement as you
get when building on amd64-linux).

There are various twists and turns.  multiple-architectures.txt is
updated all the gory details.

This will break amd64 builds until such time as
<tool>/tests/{amd64,x86}/Makefile.am are fixed up (shortly).

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

19 years agoupdate suppression for newer versions of Xorg
Dirk Mueller [Tue, 3 Jan 2006 18:04:32 +0000 (18:04 +0000)] 
update suppression for newer versions of Xorg

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

19 years agoTidy up some ppc64 assembly & comments a little.
Cerion Armour-Brown [Tue, 3 Jan 2006 14:28:02 +0000 (14:28 +0000)] 
Tidy up some ppc64 assembly & comments a little.

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

19 years agocouple more svn:ignore's
Cerion Armour-Brown [Tue, 3 Jan 2006 14:20:36 +0000 (14:20 +0000)] 
couple more svn:ignore's

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

19 years agoAdd ppc64 int,fp,vmx regtest: jm-insns
Cerion Armour-Brown [Tue, 3 Jan 2006 14:08:26 +0000 (14:08 +0000)] 
Add ppc64 int,fp,vmx regtest: jm-insns
(test code is a symlink to ppc32/jm-insns.c)

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

19 years agoUpdate ppc32 jm-insns regtest to test ppc64 insns, if built with -m64.
Cerion Armour-Brown [Tue, 3 Jan 2006 12:55:40 +0000 (12:55 +0000)] 
Update ppc32 jm-insns regtest to test ppc64 insns, if built with -m64.

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

19 years agoregtest none::ppc32
Cerion Armour-Brown [Tue, 3 Jan 2006 11:47:38 +0000 (11:47 +0000)] 
regtest none::ppc32
 - More cleanup
 - Fixed rlwimi test - init r_dst to zero.
 - Fixed load/store tests - print change in updated base reg, not actual value.

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

19 years agoSignal-related syscall support.
Julian Seward [Tue, 3 Jan 2006 04:10:13 +0000 (04:10 +0000)] 
Signal-related syscall support.

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

19 years agocasting paranoia (harmless)
Julian Seward [Tue, 3 Jan 2006 04:09:27 +0000 (04:09 +0000)] 
casting paranoia (harmless)

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

19 years agoFirst cut at signal frame build/removal for ppc64-linux. Ghastly
Julian Seward [Tue, 3 Jan 2006 04:08:32 +0000 (04:08 +0000)] 
First cut at signal frame build/removal for ppc64-linux.  Ghastly
stuff, but it does at least appear to do simple signal stuff
correctly.

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

19 years agoupdate
Dirk Mueller [Mon, 2 Jan 2006 20:47:26 +0000 (20:47 +0000)] 
update

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

19 years agoEnable various syscalls.
Julian Seward [Mon, 2 Jan 2006 19:06:37 +0000 (19:06 +0000)] 
Enable various syscalls.

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

19 years agoOops, fix interrupted-syscall snafu.
Julian Seward [Mon, 2 Jan 2006 19:06:08 +0000 (19:06 +0000)] 
Oops, fix interrupted-syscall snafu.

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

19 years agoRecrystallise the warp core on ppc64-linux.
Julian Seward [Mon, 2 Jan 2006 16:32:10 +0000 (16:32 +0000)] 
Recrystallise the warp core on ppc64-linux.

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

19 years agoFun n games making sys_clone() work.
Julian Seward [Mon, 2 Jan 2006 16:25:31 +0000 (16:25 +0000)] 
Fun n games making sys_clone() work.

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

19 years agoUpdate.
Julian Seward [Mon, 2 Jan 2006 16:24:51 +0000 (16:24 +0000)] 
Update.

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

19 years agoDon't confuse ppc32 and ppc64.
Julian Seward [Mon, 2 Jan 2006 16:24:03 +0000 (16:24 +0000)] 
Don't confuse ppc32 and ppc64.

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

19 years agoMore paranoia please.
Julian Seward [Mon, 2 Jan 2006 16:23:29 +0000 (16:23 +0000)] 
More paranoia please.

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

19 years agoRead dwarf2 line number information even if a .debug_str section was
Julian Seward [Sun, 1 Jan 2006 23:00:49 +0000 (23:00 +0000)] 
Read dwarf2 line number information even if a .debug_str section was
not found.  This is believed to fix the regression in 3.1.X wherein
debug info was sometimes not read from icc-8.1 generated executables.

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

19 years agoMake this work on SSE1-only machines.
Julian Seward [Sun, 1 Jan 2006 18:26:40 +0000 (18:26 +0000)] 
Make this work on SSE1-only machines.

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

19 years agoUpdate.
Julian Seward [Sun, 1 Jan 2006 17:17:55 +0000 (17:17 +0000)] 
Update.

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

19 years agoAlso do sse memory overrun tests on x86.
Julian Seward [Sun, 1 Jan 2006 15:22:16 +0000 (15:22 +0000)] 
Also do sse memory overrun tests on x86.

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

19 years agoAdd a test program which checks for memory overruns in the SSE insn
Julian Seward [Sun, 1 Jan 2006 14:27:04 +0000 (14:27 +0000)] 
Add a test program which checks for memory overruns in the SSE insn
decoder.

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

19 years agoFinally fix the bug causing dynamic ppc64-linux executables not to
Julian Seward [Fri, 30 Dec 2005 22:52:20 +0000 (22:52 +0000)] 
Finally fix the bug causing dynamic ppc64-linux executables not to
work: start with with the correct toc pointer (r2), rather than some
nonsense value.

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

19 years agoFix typo
Julian Seward [Fri, 30 Dec 2005 22:50:01 +0000 (22:50 +0000)] 
Fix typo

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

19 years agoA couple more ppc64-linux syscalls.
Julian Seward [Fri, 30 Dec 2005 22:49:24 +0000 (22:49 +0000)] 
A couple more ppc64-linux syscalls.

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

19 years agoAdd a --trace-mem option to Lackey to print out a memory access trace, if
Nicholas Nethercote [Fri, 30 Dec 2005 22:39:58 +0000 (22:39 +0000)] 
Add a --trace-mem option to Lackey to print out a memory access trace, if
only so people will stop asking how to do it.

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

19 years agoMore ppc64-linux syscalls.
Julian Seward [Fri, 30 Dec 2005 15:02:49 +0000 (15:02 +0000)] 
More ppc64-linux syscalls.

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

19 years agoFix up ppc64 dispatcher following the changes made by r5441.
Julian Seward [Fri, 30 Dec 2005 04:16:37 +0000 (04:16 +0000)] 
Fix up ppc64 dispatcher following the changes made by r5441.

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

19 years agoTentative fix for #117332: No line numbers printed by Valgrind 3.1.0
Julian Seward [Wed, 28 Dec 2005 15:19:39 +0000 (15:19 +0000)] 
Tentative fix for #117332: No line numbers printed by Valgrind 3.1.0
for programs compiled with Intel compiler.

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

19 years agoIn fbench, compute sin/cos/sqrt from "first principles", so that the
Julian Seward [Wed, 28 Dec 2005 04:18:20 +0000 (04:18 +0000)] 
In fbench, compute sin/cos/sqrt from "first principles", so that the
program more uniformly measures the speed of FP +/-/* load/store
across different architectures.

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

19 years agoUpdate.
Julian Seward [Tue, 27 Dec 2005 15:02:50 +0000 (15:02 +0000)] 
Update.

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

19 years agoVG_(getgroups) fix (Shinichi Noda)
Julian Seward [Tue, 27 Dec 2005 02:08:03 +0000 (02:08 +0000)] 
VG_(getgroups) fix (Shinichi Noda)

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

19 years agoCheck that the two sigprocmasks haven't failed.
Julian Seward [Tue, 27 Dec 2005 01:44:33 +0000 (01:44 +0000)] 
Check that the two sigprocmasks haven't failed.

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

19 years agoMore dispatcher tuning for ppc32/64. Makes a big difference for
Julian Seward [Mon, 26 Dec 2005 17:58:58 +0000 (17:58 +0000)] 
More dispatcher tuning for ppc32/64.  Makes a big difference for
perf/tinycc.

- run_thread_for_a_while: just clear this thread's reservation when
  starting, not all of them.

- use a different fast-cache hashing function for ppc32/64 than for
  x86/amd64.  This allows the former to use all the fast-cache entries
  rather than just 1/4 of them.

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

19 years agocode layout wibbles only
Nicholas Nethercote [Mon, 26 Dec 2005 17:50:22 +0000 (17:50 +0000)] 
code layout wibbles only

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

19 years agoAttempt to make tinycc work on ppc32, by (1) getting rid of various
Julian Seward [Mon, 26 Dec 2005 03:54:49 +0000 (03:54 +0000)] 
Attempt to make tinycc work on ppc32, by (1) getting rid of various
x86 isms in tinycc.c, (2) giving it a fixed, preprocessed input file
to chew on, and (3) just compiling to a .o with no attempt to link.

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

19 years agoMerge in r5435 from COMPVBITS. Also added a note to
Nicholas Nethercote [Sun, 25 Dec 2005 06:34:04 +0000 (06:34 +0000)] 
Merge in r5435 from COMPVBITS.  Also added a note to
docs/internals/performance.txt about it.

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

19 years agoUpdate for recent change to OSet interface.
Nicholas Nethercote [Sun, 25 Dec 2005 06:30:34 +0000 (06:30 +0000)] 
Update for recent change to OSet interface.

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

19 years agoadd extra note about tinycc
Nicholas Nethercote [Sun, 25 Dec 2005 06:27:51 +0000 (06:27 +0000)] 
add extra note about tinycc

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

19 years agoupdate
Nicholas Nethercote [Sun, 25 Dec 2005 03:33:12 +0000 (03:33 +0000)] 
update

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

19 years agoA minor performance improvement -- make swizzle() faster.
Nicholas Nethercote [Sun, 25 Dec 2005 02:47:12 +0000 (02:47 +0000)] 
A minor performance improvement -- make swizzle() faster.

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

19 years agoFix read-after-free in VG_(HT_destruct). This fixes
Julian Seward [Sat, 24 Dec 2005 15:33:32 +0000 (15:33 +0000)] 
Fix read-after-free in VG_(HT_destruct).  This fixes
memcheck/tests/mempools.  Thanks to Jeroen Witmond for tracking it
down.

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

19 years agoTidy up ppc32 jm-insns test some more.
Cerion Armour-Brown [Sat, 24 Dec 2005 12:55:48 +0000 (12:55 +0000)] 
Tidy up ppc32 jm-insns test some more.
In particular, hide the function pointer setup stuff, for the test loops, in init_function()

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

19 years agoFix a nasty 64-bit-uncleanness bug in OSet spotted by Julian -- for fast
Nicholas Nethercote [Sat, 24 Dec 2005 03:10:56 +0000 (03:10 +0000)] 
Fix a nasty 64-bit-uncleanness bug in OSet spotted by Julian -- for fast
comparisons it was only considering the bottom 32-bits of the key.

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

19 years agoppc64 ELF allows the 288 bytes below the stack pointer to be accessed.
Julian Seward [Fri, 23 Dec 2005 23:34:51 +0000 (23:34 +0000)] 
ppc64 ELF allows the 288 bytes below the stack pointer to be accessed.

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

19 years agoMake ppc64-linux stack unwinding work.
Julian Seward [Fri, 23 Dec 2005 23:33:51 +0000 (23:33 +0000)] 
Make ppc64-linux stack unwinding work.

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

19 years agoChange default --reps value from 3 to 1.
Nicholas Nethercote [Fri, 23 Dec 2005 23:08:04 +0000 (23:08 +0000)] 
Change default --reps value from 3 to 1.

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

19 years agoppc64-linux fixes
Julian Seward [Fri, 23 Dec 2005 12:56:11 +0000 (12:56 +0000)] 
ppc64-linux fixes

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

19 years agoppc64-linux fixes.
Julian Seward [Fri, 23 Dec 2005 12:47:42 +0000 (12:47 +0000)] 
ppc64-linux fixes.

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

19 years agoHandle ppc64-related primops.
Julian Seward [Fri, 23 Dec 2005 12:47:16 +0000 (12:47 +0000)] 
Handle ppc64-related primops.

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

19 years agoTracking VEX r1507
Cerion Armour-Brown [Fri, 23 Dec 2005 11:44:40 +0000 (11:44 +0000)] 
Tracking VEX r1507
adjusted references to renamed VEX dirs guest-ppc/, host-ppc/

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

19 years agoDeal with function pointer vs function entry crazyness on ppc64-linux.
Julian Seward [Fri, 23 Dec 2005 02:29:58 +0000 (02:29 +0000)] 
Deal with function pointer vs function entry crazyness on ppc64-linux.
Memcheck is done, but any tool which generates IR helper calls will
need to be similarly adulterated.

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

19 years agoTidied up jm-insns.c test a little.
Cerion Armour-Brown [Fri, 23 Dec 2005 01:16:16 +0000 (01:16 +0000)] 
Tidied up jm-insns.c test a little.

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

19 years agoTrack changes to PPC naming convention - VEX r1504
Cerion Armour-Brown [Fri, 23 Dec 2005 00:57:03 +0000 (00:57 +0000)] 
Track changes to PPC naming convention - VEX r1504

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

19 years agoHandle CmpORD64{U,S} as ppc64 requires those.
Julian Seward [Fri, 23 Dec 2005 00:16:24 +0000 (00:16 +0000)] 
Handle CmpORD64{U,S} as ppc64 requires those.

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

19 years agoUse rt_sigprocmask, and check for errors correctly. (Not yet done: amd64-linux).
Julian Seward [Thu, 22 Dec 2005 23:13:27 +0000 (23:13 +0000)] 
Use rt_sigprocmask, and check for errors correctly.  (Not yet done: amd64-linux).

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

19 years agoAdd enough syscalls to run bzip2 on ppc64-linux.
Julian Seward [Thu, 22 Dec 2005 20:24:12 +0000 (20:24 +0000)] 
Add enough syscalls to run bzip2 on ppc64-linux.

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

19 years agoProperly return error codes resulting from sigprocmask failures.
Julian Seward [Thu, 22 Dec 2005 20:16:00 +0000 (20:16 +0000)] 
Properly return error codes resulting from sigprocmask failures.
Not yet done: amd64, ppc32.

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

19 years agoComment-only changes
Julian Seward [Thu, 22 Dec 2005 20:14:57 +0000 (20:14 +0000)] 
Comment-only changes

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

19 years agoAdd comment about log2().
Nicholas Nethercote [Thu, 22 Dec 2005 19:50:45 +0000 (19:50 +0000)] 
Add comment about log2().

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

19 years agoMake async-style syscalls work on ppc64, by using rt_sigprocmask
Julian Seward [Thu, 22 Dec 2005 19:28:37 +0000 (19:28 +0000)] 
Make async-style syscalls work on ppc64, by using rt_sigprocmask
instead of sigprocmask.

In the process, discover that error handling for
ML_(do_syscall_for_client_WRK) on all platforms has always been
broken, in the sense that the sigprocmasks (which are important) could
silently fail.  This commit fixes that up too (only on ppc64-linux at
the moment, so all other platforms are probably broken now).

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

19 years agoMore ppc64-linux syscalls.
Julian Seward [Thu, 22 Dec 2005 19:25:51 +0000 (19:25 +0000)] 
More ppc64-linux syscalls.

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

19 years agofixed up ppc64 assembly with .opd sections
Cerion Armour-Brown [Thu, 22 Dec 2005 15:53:12 +0000 (15:53 +0000)] 
fixed up ppc64 assembly with .opd sections

do_syscall_for_client_WRK() needed a bigger stack to avoid the linkage area.

always use dot_prefix for label calls

not wrapping assembly with
.section ".text"
...
.previous
 - ppc64 doesn't like it... seems we can't 'stack' more than one section to pop off with .previous ?

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

19 years agoWhen switching threads on ppc64, clear the reservation pseudo-reg, as on ppc32.
Julian Seward [Thu, 22 Dec 2005 15:16:43 +0000 (15:16 +0000)] 
When switching threads on ppc64, clear the reservation pseudo-reg, as on ppc32.

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

19 years agoAdd a destructor function to OSet_Destroy() which can be called for each
Nicholas Nethercote [Thu, 22 Dec 2005 06:20:59 +0000 (06:20 +0000)] 
Add a destructor function to OSet_Destroy() which can be called for each
node.

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

19 years agoAdd the name of the input file to cg_annotate's output.
Nicholas Nethercote [Thu, 22 Dec 2005 06:14:42 +0000 (06:14 +0000)] 
Add the name of the input file to cg_annotate's output.

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

19 years agoMake a start adding syscalls.
Julian Seward [Thu, 22 Dec 2005 03:35:12 +0000 (03:35 +0000)] 
Make a start adding syscalls.

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

19 years agoSave %CIA correctly (caused ppc64-linux to loop at the first syscall,
Julian Seward [Thu, 22 Dec 2005 03:33:16 +0000 (03:33 +0000)] 
Save %CIA correctly (caused ppc64-linux to loop at the first syscall,
entertainingly).

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

19 years agoRenamed coregrind.h to pub_core_clreq.h and introduced pub_tool_clreq.h to
Nicholas Nethercote [Wed, 21 Dec 2005 20:22:52 +0000 (20:22 +0000)] 
Renamed coregrind.h to pub_core_clreq.h and introduced pub_tool_clreq.h to
be consistent with the module naming scheme.

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

19 years agoupdate
Nicholas Nethercote [Wed, 21 Dec 2005 19:47:06 +0000 (19:47 +0000)] 
update

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

19 years agoFixed cg_annotate bug -- when using the --sort option the primary threshold
Nicholas Nethercote [Wed, 21 Dec 2005 19:45:29 +0000 (19:45 +0000)] 
Fixed cg_annotate bug -- when using the --sort option the primary threshold
was set to zero and so no annotation was done.

Also put the file format into this file, and some other tiny changes.

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

19 years agoAdd a new performance benchmark: tinycc.
Nicholas Nethercote [Tue, 20 Dec 2005 23:02:43 +0000 (23:02 +0000)] 
Add a new performance benchmark: tinycc.

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

19 years agoRewrite ppc64 dispatch loop to avoid profiling overhead, as per ppc32 rewrite (r5352).
Cerion Armour-Brown [Tue, 20 Dec 2005 20:48:50 +0000 (20:48 +0000)] 
Rewrite ppc64 dispatch loop to avoid profiling overhead, as per ppc32 rewrite (r5352).

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

19 years agoRemove all remaining profiling gunk.
Nicholas Nethercote [Mon, 19 Dec 2005 22:48:39 +0000 (22:48 +0000)] 
Remove all remaining profiling gunk.

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

19 years agoRemove remaining profiling gunk from Memcheck.
Nicholas Nethercote [Mon, 19 Dec 2005 22:48:06 +0000 (22:48 +0000)] 
Remove remaining profiling gunk from Memcheck.

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

19 years agoRemove the old profiling stuff from Memcheck.
Nicholas Nethercote [Mon, 19 Dec 2005 22:23:35 +0000 (22:23 +0000)] 
Remove the old profiling stuff from Memcheck.

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

19 years agoFix for bug #117096.
Nicholas Nethercote [Mon, 19 Dec 2005 21:27:58 +0000 (21:27 +0000)] 
Fix for bug #117096.

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

19 years agoBugfix update
Nicholas Nethercote [Mon, 19 Dec 2005 19:40:58 +0000 (19:40 +0000)] 
Bugfix update

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

19 years agoFix a minor --gen-suppressions output bug.
Nicholas Nethercote [Mon, 19 Dec 2005 19:40:12 +0000 (19:40 +0000)] 
Fix a minor --gen-suppressions output bug.

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