]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
24 years agoCheck for signals to be delivered after every syscall. This avoids
Julian Seward [Fri, 12 Jul 2002 01:23:03 +0000 (01:23 +0000)] 
Check for signals to be delivered after every syscall.  This avoids
some obscure deadlock cases.  (Neil Conway).

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

24 years agoAdd comments about syscall wrapper problems.
Julian Seward [Mon, 1 Jul 2002 10:59:17 +0000 (10:59 +0000)] 
Add comments about syscall wrapper problems.

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

24 years ago---> 1.0pre4
Julian Seward [Mon, 1 Jul 2002 10:50:44 +0000 (10:50 +0000)] 
---> 1.0pre4

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

24 years agoAdd helpful info for package builders.
Julian Seward [Mon, 1 Jul 2002 08:46:27 +0000 (08:46 +0000)] 
Add helpful info for package builders.

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

24 years agoFinal documentation updates for 1.0.
Julian Seward [Mon, 1 Jul 2002 08:30:05 +0000 (08:30 +0000)] 
Final documentation updates for 1.0.

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

24 years agoImplement --weird-hacks=truncate-writes to limit the size of write syscalls
Julian Seward [Sun, 30 Jun 2002 12:44:54 +0000 (12:44 +0000)] 
Implement --weird-hacks=truncate-writes to limit the size of write syscalls
to 4096, to possibly avoid deadlocks under very rare circumstances.
Is fully documented and commented.

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

24 years agocleanup_after_thread_exited: also clean up the waiting_fds table on thread
Julian Seward [Sun, 30 Jun 2002 10:57:30 +0000 (10:57 +0000)] 
cleanup_after_thread_exited: also clean up the waiting_fds table on thread
disappearance.  This fixes an assertion failure to do with thread nukage
on fork():
   vg_scheduler.c:936 (poll_for_ready_fds):
   Assertion `vgPlain_is_valid_tid(tid)' failed.

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

24 years agoMake --stop-after= work again.
Julian Seward [Fri, 28 Jun 2002 02:08:28 +0000 (02:08 +0000)] 
Make --stop-after= work again.

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

24 years ago---> 1.0pre3
Julian Seward [Fri, 28 Jun 2002 01:46:56 +0000 (01:46 +0000)] 
---> 1.0pre3

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

24 years agoFinally get around to implementing pthread_atfork.
Julian Seward [Fri, 28 Jun 2002 01:46:26 +0000 (01:46 +0000)] 
Finally get around to implementing pthread_atfork.

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

24 years agoRemoved line about Cachegrind being experimental.
Nicholas Nethercote [Thu, 27 Jun 2002 15:45:09 +0000 (15:45 +0000)] 
Removed line about Cachegrind being experimental.

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

24 years agoPartial implementation of mallinfo() (Ilpo Ruotsalainen)
Julian Seward [Wed, 26 Jun 2002 17:08:01 +0000 (17:08 +0000)] 
Partial implementation of mallinfo()  (Ilpo Ruotsalainen)

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

24 years agoparse_cache_opt: Move free() of opt past last use.
Julian Seward [Wed, 26 Jun 2002 17:02:57 +0000 (17:02 +0000)] 
parse_cache_opt: Move free() of opt past last use.

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

24 years agoForgot to VG_(free) a VG_(strdup)'d string.
Nicholas Nethercote [Wed, 26 Jun 2002 10:06:26 +0000 (10:06 +0000)] 
Forgot to VG_(free) a VG_(strdup)'d string.

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

24 years agoMake __pthread_clock_gettime and __pthread_clock_settime appear for
Julian Seward [Wed, 26 Jun 2002 00:50:36 +0000 (00:50 +0000)] 
Make __pthread_clock_gettime and __pthread_clock_settime appear for
GLIBC_2.2.3.  I dunno what this means, if anything, but someone
reports it helps.

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

24 years agoselect() and poll(): change order of events in main timing loop
Julian Seward [Wed, 26 Jun 2002 00:47:17 +0000 (00:47 +0000)] 
select() and poll(): change order of events in main timing loop
so that very short selects/polls don't just cause a timeout with
no real test.

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

24 years agowait_for_fd_to_be_readable_or_erring: return immediately if fd is
Julian Seward [Wed, 26 Jun 2002 00:13:36 +0000 (00:13 +0000)] 
wait_for_fd_to_be_readable_or_erring: return immediately if fd is
nonblocking anyway.

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

24 years agovg_push_signal_frame: make the siginfo and ucontext fields readable too.
Julian Seward [Tue, 25 Jun 2002 23:18:16 +0000 (23:18 +0000)] 
vg_push_signal_frame: make the siginfo and ucontext fields readable too.

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

24 years agoA libXpm suppression.
Julian Seward [Thu, 20 Jun 2002 10:39:34 +0000 (10:39 +0000)] 
A libXpm suppression.

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

24 years agoFix subtle bug in the interaction between pthread_create and thread_wrapper,
Julian Seward [Thu, 20 Jun 2002 10:25:37 +0000 (10:25 +0000)] 
Fix subtle bug in the interaction between pthread_create and thread_wrapper,
exposed by scheduling changes caused by commit vg_scheduler.c rev 1.70.
We cannot simply pass the __attr pointer to the child, since it could
point to stuff on the parent's stack, which might not exist by the time
the child looked at it.  Prior to scheduler.c rev 1.70 the child would
have been scheduled as soon as created, so the access was made before the
parent could clear the stuff from its stack.  From rev 1.70 and after
the parent continues after creating the child, causing invalid stack
accesses when the child finally runs.

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

24 years agoRationalise client-request handling a bit, by merging the two switches
Julian Seward [Thu, 20 Jun 2002 10:19:38 +0000 (10:19 +0000)] 
Rationalise client-request handling a bit, by merging the two switches
into one.  This can change the scheduling a bit since the policy of
running the same thread after the request if it is possible now applies
to _all_ requests.

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

24 years ago--> 1.0pre2
Julian Seward [Thu, 20 Jun 2002 08:17:51 +0000 (08:17 +0000)] 
--> 1.0pre2

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

24 years agoAdd test case for sigpending().
Julian Seward [Thu, 20 Jun 2002 08:17:07 +0000 (08:17 +0000)] 
Add test case for sigpending().

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

24 years agoMake recv block only the calling thread, not the entire process.
Julian Seward [Thu, 20 Jun 2002 07:58:33 +0000 (07:58 +0000)] 
Make recv block only the calling thread, not the entire process.

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

24 years agoAdd __NR_truncate64.
Julian Seward [Thu, 20 Jun 2002 07:21:48 +0000 (07:21 +0000)] 
Add __NR_truncate64.

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

24 years agoClear up historical artefacts.
Julian Seward [Wed, 19 Jun 2002 20:52:32 +0000 (20:52 +0000)] 
Clear up historical artefacts.

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

24 years agoImplement sigpending(). All absolutely horrible. Sigh.
Julian Seward [Wed, 19 Jun 2002 17:35:45 +0000 (17:35 +0000)] 
Implement sigpending().  All absolutely horrible.  Sigh.

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

24 years agoImplement pause().
Julian Seward [Wed, 19 Jun 2002 10:17:40 +0000 (10:17 +0000)] 
Implement pause().

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

24 years agoGet rid of ancient stuff.
Julian Seward [Tue, 18 Jun 2002 16:31:21 +0000 (16:31 +0000)] 
Get rid of ancient stuff.

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

24 years agoDo pthread_rwlockattr_init.
Julian Seward [Tue, 18 Jun 2002 09:24:34 +0000 (09:24 +0000)] 
Do pthread_rwlockattr_init.

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

24 years agoAdd __NR_fdatasync. Also fix some formatting.
Julian Seward [Tue, 18 Jun 2002 09:11:33 +0000 (09:11 +0000)] 
Add __NR_fdatasync.  Also fix some formatting.

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

24 years agoDo siglongjmp, although without running cleanup handlers in the section
Julian Seward [Tue, 18 Jun 2002 09:07:54 +0000 (09:07 +0000)] 
Do siglongjmp, although without running cleanup handlers in the section
of stack which it skips over.

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

24 years agoFurther mess with the X config checks, so as to get a reasonably
Julian Seward [Tue, 18 Jun 2002 01:05:58 +0000 (01:05 +0000)] 
Further mess with the X config checks, so as to get a reasonably
comprehensive set of X suppressions more robustly.

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

24 years ago- Check DWARF2 reader against spec. Add some clarifications and
Julian Seward [Tue, 18 Jun 2002 01:04:57 +0000 (01:04 +0000)] 
- Check DWARF2 reader against spec.  Add some clarifications and
  fix a minor error, but basically no significant changes.

- Disable debug info printing entirely in addLineInfo.

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

24 years agoIncrease thread limits a bit.
Julian Seward [Mon, 17 Jun 2002 14:25:00 +0000 (14:25 +0000)] 
Increase thread limits a bit.

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

24 years agoAdd pthread_attr_setschedpolicy / pthread_attr_getschedpolicy.
Julian Seward [Mon, 17 Jun 2002 12:19:44 +0000 (12:19 +0000)] 
Add pthread_attr_setschedpolicy / pthread_attr_getschedpolicy.

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

24 years agoFormatting cleanups in the dwarf2 reader, and some debug printing hooks.
Julian Seward [Mon, 17 Jun 2002 02:21:20 +0000 (02:21 +0000)] 
Formatting cleanups in the dwarf2 reader, and some debug printing hooks.

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

24 years agoFix bug in and simply parameter access checks for pthread_sigmask.
Julian Seward [Sun, 16 Jun 2002 11:37:06 +0000 (11:37 +0000)] 
Fix bug in and simply parameter access checks for pthread_sigmask.

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

24 years agoDisable debug printing on BB discard.
Julian Seward [Fri, 14 Jun 2002 11:08:07 +0000 (11:08 +0000)] 
Disable debug printing on BB discard.

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

24 years ago---> 1.0pre1 Yay!
Julian Seward [Fri, 14 Jun 2002 10:40:16 +0000 (10:40 +0000)] 
---> 1.0pre1    Yay!

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

24 years agoPatrick Ohly's --alignment= patch, to increase alignment of malloc'd
Julian Seward [Fri, 14 Jun 2002 10:17:05 +0000 (10:17 +0000)] 
Patrick Ohly's --alignment= patch, to increase alignment of malloc'd
blocks if needed.

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

24 years ago---> 20020613
Julian Seward [Thu, 13 Jun 2002 20:46:04 +0000 (20:46 +0000)] 
---> 20020613

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

24 years agoRename event-horizon to error-limit; the former may have trendy black-hole
Julian Seward [Thu, 13 Jun 2002 20:44:00 +0000 (20:44 +0000)] 
Rename event-horizon to error-limit; the former may have trendy black-hole
associations, but the latter actually cues one to what it might achieve.

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

24 years agoFirst round of manual update for 1.0.
Julian Seward [Thu, 13 Jun 2002 20:37:25 +0000 (20:37 +0000)] 
First round of manual update for 1.0.

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

24 years agoBe more robust to the situation where a signal arrives, and there is a
Julian Seward [Thu, 13 Jun 2002 17:47:05 +0000 (17:47 +0000)] 
Be more robust to the situation where a signal arrives, and there is a
handler, but in the interval between the signal arriving and it being
delivered to the client, the handler is removed.

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

24 years agoMake recvfrom() block only the calling thread, not the whole system
Julian Seward [Thu, 13 Jun 2002 17:29:53 +0000 (17:29 +0000)] 
Make recvfrom() block only the calling thread, not the whole system
( same trick as used for accept() ).

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

24 years agoAdd --event-horizon=yes|no [yes] so that the limit on errors shown
Julian Seward [Thu, 13 Jun 2002 17:23:38 +0000 (17:23 +0000)] 
Add --event-horizon=yes|no [yes] so that the limit on errors shown
can be disabled if desired.

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

24 years agoRemove inclusion of <linux/module.h> and <asm/atomic.h> since that
Julian Seward [Thu, 13 Jun 2002 16:07:51 +0000 (16:07 +0000)] 
Remove inclusion of <linux/module.h> and <asm/atomic.h> since that
seems to lead to a portability swamp.  As a result, remove autoconf
check for <asm/atomic.h>.  Replace all this junk with
VKI_SIZEOF_STRUCT_MODULE (== 96) since that's all I ever wanted to
know in the first place.

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

24 years agoRemove bogus assertion.
Julian Seward [Thu, 13 Jun 2002 13:56:15 +0000 (13:56 +0000)] 
Remove bogus assertion.

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

24 years agoAllow detected CPU clock rates down to 50 MHz -- slower than the slowest
Julian Seward [Thu, 13 Jun 2002 11:37:41 +0000 (11:37 +0000)] 
Allow detected CPU clock rates down to 50 MHz -- slower than the slowest
Pentium, which is the oldest processor supported.

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

24 years agoNamespace police woz here
Julian Seward [Thu, 13 Jun 2002 11:11:05 +0000 (11:11 +0000)] 
Namespace police woz here

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

24 years agoInconsequential cleanups to recent cachesim hacking.
Julian Seward [Thu, 13 Jun 2002 10:25:56 +0000 (10:25 +0000)] 
Inconsequential cleanups to recent cachesim hacking.

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

24 years agoWhoops, forgot to add this last time.
Nicholas Nethercote [Wed, 12 Jun 2002 08:49:04 +0000 (08:49 +0000)] 
Whoops, forgot to add this last time.

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

24 years agovg_annotate.in:
Nicholas Nethercote [Mon, 10 Jun 2002 15:31:16 +0000 (15:31 +0000)] 
vg_annotate.in:
    - fixed a bug that was breaking the --threshold option.

vg_cachesim.c:
    - fixed a bug that meant instructions that didn't have a line number in the
      debug info were being written in cachegrind.out with whatever was the
      last known line number.  Now using 0.

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

24 years agoA few minor improvements.
Nicholas Nethercote [Mon, 10 Jun 2002 10:24:05 +0000 (10:24 +0000)] 
A few minor improvements.

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

24 years agoUpdated Cachegrind section for the CPUID-addition/vg_cachegen-removal.
Nicholas Nethercote [Sat, 8 Jun 2002 14:06:37 +0000 (14:06 +0000)] 
Updated Cachegrind section for the CPUID-addition/vg_cachegen-removal.

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

24 years agoRemoved the need for the user to generate a cache simulation -- now do
Nicholas Nethercote [Sat, 8 Jun 2002 13:36:03 +0000 (13:36 +0000)] 
Removed the need for the user to generate a cache simulation -- now do
automatic cache configuration detection using the CPUID instruction.
This can be overridden from the command-line if necessary.

vg_include.h:
    - added the cache_t type and UNDEFINED_CACHE macro

    - added command line args (of type cache_t) allowing manual override of
      I1/D1/L2 configuration

    - added log2(), which is generally useful

vg_main.c, valgrind.in, cachegrind.in:
    - added handling of the new --{I1,D1,L2}=<size>,<assoc>,<line_size>
      options

vg_cachesim.c:
    - lots of stuff for auto-detecting cache configuration with CPUID.
      Only handles Intel and AMD chips at the moment, and possibly not all of
      them.  Falls back onto defaults if anything goes wrong, and the configs
      can be manually overridden from the command line anyway.

    - now not printing cache summary stats if verbosity == 0.  Still writing
      cachegrind.out, though.

vg_cachesim_gen.c:
    - new file containing stuff shared by the I1/D1/L2 simulations

vg_cachesim_{I1,D1,L2}:
    - removed most of it;  each now just calls a macro defined in
      vg_cachesim_gen.c

vg_cachegen:
    - has been cvs removed as it is no longer needed.

Makefile.am:
    - added vg_cachesim_gen.c

    - removed vg_cachegen

configure.in:
    - removed vg_cachegen

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

24 years agoConverted some stab-reading assertions into warnings.
Nicholas Nethercote [Sat, 8 Jun 2002 13:34:17 +0000 (13:34 +0000)] 
Converted some stab-reading assertions into warnings.

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

24 years agoMore RH73 suppressions.
Julian Seward [Fri, 7 Jun 2002 00:29:39 +0000 (00:29 +0000)] 
More RH73 suppressions.

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

24 years ago---> 20020606
Julian Seward [Thu, 6 Jun 2002 09:02:48 +0000 (09:02 +0000)] 
---> 20020606

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

24 years agoAdd pthread suppressions.
Julian Seward [Thu, 6 Jun 2002 09:02:11 +0000 (09:02 +0000)] 
Add pthread suppressions.

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

24 years agoFix typo in VALGRIND_MAKE_WRITABLE.
Julian Seward [Thu, 6 Jun 2002 08:38:45 +0000 (08:38 +0000)] 
Fix typo in VALGRIND_MAKE_WRITABLE.

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

24 years agoCancellation wrapper for recvmsg.
Julian Seward [Thu, 6 Jun 2002 08:33:54 +0000 (08:33 +0000)] 
Cancellation wrapper for recvmsg.

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

24 years agoWhen a thread in a nanosleep() wait is interrupted by a non-restartable
Julian Seward [Thu, 6 Jun 2002 01:27:39 +0000 (01:27 +0000)] 
When a thread in a nanosleep() wait is interrupted by a non-restartable
signal, cause the nanoslep to return with EINTR.  Then, in the user-space
nonblocking select() implementation, notice this and correspondingly return
with EINTR.  This appears to fix the MySQL hang-at-exit problem.

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

24 years agoOnly terminate stack traces when the %ebp trail goes cold, and not
Julian Seward [Wed, 5 Jun 2002 21:22:04 +0000 (21:22 +0000)] 
Only terminate stack traces when the %ebp trail goes cold, and not
just because some addresses cannot be mapped to anything.
Needed to give sensible stack traces on Red Hat 7.3.

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

24 years agoMinor mods to stop make the leak detector behave properly for the
Julian Seward [Wed, 5 Jun 2002 20:28:33 +0000 (20:28 +0000)] 
Minor mods to stop make the leak detector behave properly for the
following kind of stupid test program
   int main (void) { char* a = malloc(100); return 0; }
which many people seem fond of trying for some reason.
In general the leak detector works fine.

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

24 years agoSmall improvement to stabs reader to avoid warnings of this form:
Nicholas Nethercote [Wed, 5 Jun 2002 15:30:30 +0000 (15:30 +0000)] 
Small improvement to stabs reader to avoid warnings of this form:

--14081-- warning: function CloseSocket__Fi:F(0,20) missing closing N_FUN stab at entry 10052

which were common when compiling with GCC's -gstabs option.

Instead of relying on an end-of-function N_FUN entry to handle the final
N_SLINE of a function, it can now handle it by finding the difference between
the start of the previous function and the start of the next.

Not extensively tested, but I think it works ok.

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

24 years agoCache simulator now handles basic block discards correctly. When
Nicholas Nethercote [Wed, 5 Jun 2002 14:41:10 +0000 (14:41 +0000)] 
Cache simulator now handles basic block discards correctly.  When
VG_(cachesim_discard_notify) is called, the cost centre array for the basic
block is removed from the table, and its counts are aggregated into a single
"discard" cost centre, and the cost centre array is free'd.

The aggregate discard cost centre is given the filename:function_name
"(discarded):(discarded)".  Mentioned this in the manual.

Only tested with tests/discard.c.  Seems to work well for that case though :)

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

24 years agoAdded compile-time option to print instruction addresses for each line in
Nicholas Nethercote [Wed, 5 Jun 2002 09:39:31 +0000 (09:39 +0000)] 
Added compile-time option to print instruction addresses for each line in
cachegrind.out.  Increases file size by a fair bit, but useful for debugging
stabs errors <sigh>

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

24 years agoTiny documentation wibbles
Nicholas Nethercote [Wed, 5 Jun 2002 09:21:51 +0000 (09:21 +0000)] 
Tiny documentation wibbles

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

24 years agoA pthread error suppression.
Julian Seward [Wed, 5 Jun 2002 00:42:45 +0000 (00:42 +0000)] 
A pthread error suppression.

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

24 years ago---> 20020604
Julian Seward [Tue, 4 Jun 2002 23:24:48 +0000 (23:24 +0000)] 
---> 20020604

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

24 years agoCheck addressibility of client-space addresses passed to pthread_*
Julian Seward [Tue, 4 Jun 2002 23:24:22 +0000 (23:24 +0000)] 
Check addressibility of client-space addresses passed to pthread_*
fns, which are to be written by valgrind.

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

24 years agoA new kind of error: PThread errors. Used to report detected misuse in
Julian Seward [Tue, 4 Jun 2002 22:54:20 +0000 (22:54 +0000)] 
A new kind of error: PThread errors.  Used to report detected misuse in
the pthread_* API.

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

24 years ago - report the size requested size in pthread_attr_setstacksize() when
Julian Seward [Tue, 4 Jun 2002 20:59:16 +0000 (20:59 +0000)] 
 - report the size requested size in pthread_attr_setstacksize() when
   the size is bigger then the hardcoded value in valgrind.  This
   makes it easier to find out which value to use for
   VG_PTHREAD_STACK_SIZE.

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

24 years agoMore assertion-failure avoidance in the stabs reader.
Julian Seward [Tue, 4 Jun 2002 17:11:03 +0000 (17:11 +0000)] 
More assertion-failure avoidance in the stabs reader.

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

24 years agomalloc_aligned: allow 262144
Julian Seward [Tue, 4 Jun 2002 16:48:29 +0000 (16:48 +0000)] 
malloc_aligned: allow 262144

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

24 years agoWhitespace only.
Julian Seward [Tue, 4 Jun 2002 10:34:40 +0000 (10:34 +0000)] 
Whitespace only.

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

24 years agoFix bug in signal handling in threads shown by Peter Gober:
Julian Seward [Tue, 4 Jun 2002 09:44:09 +0000 (09:44 +0000)] 
Fix bug in signal handling in threads shown by Peter Gober:
A signal *specifically directed* to one thread cannot be used
to fulfill a sigwait() request by some other thread, reasonably
enough.

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

24 years agoInch towards JVM (Sun, 1.4.0) working.
Julian Seward [Tue, 4 Jun 2002 08:38:04 +0000 (08:38 +0000)] 
Inch towards JVM (Sun, 1.4.0) working.
- Thread stack size = 1 Meg
- Alias for __pthread_kill_other_threads_np
Now at least valgrind doesn't crash/assert.  Still doesn't work tho.

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

24 years ago---> 20020603
Julian Seward [Tue, 4 Jun 2002 08:36:09 +0000 (08:36 +0000)] 
---> 20020603

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

24 years agoCall VG_(read_symbols) also from the new __NR_mmap2.
Julian Seward [Mon, 3 Jun 2002 23:22:23 +0000 (23:22 +0000)] 
Call VG_(read_symbols) also from the new __NR_mmap2.

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

24 years agoMake my_assert_fail static.
Julian Seward [Mon, 3 Jun 2002 23:13:47 +0000 (23:13 +0000)] 
Make my_assert_fail static.

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

24 years agoMore RH 7.3 fixes
Julian Seward [Mon, 3 Jun 2002 23:12:58 +0000 (23:12 +0000)] 
More RH 7.3 fixes

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

24 years agoMove the -mpreferred-stack-boundary test for gcc later on, so it does not
Julian Seward [Mon, 3 Jun 2002 22:53:35 +0000 (22:53 +0000)] 
Move the -mpreferred-stack-boundary test for gcc later on, so it does not
mess up earlier tests.

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

24 years agoAutoconf test for asm/atomic.h. Hopefully fixes build probs on RH 7.3.
Julian Seward [Mon, 3 Jun 2002 13:45:23 +0000 (13:45 +0000)] 
Autoconf test for asm/atomic.h.  Hopefully fixes build probs on RH 7.3.

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

24 years agoFeature tests for [whether sched_param has a sched_priority member]
Julian Seward [Mon, 3 Jun 2002 13:27:15 +0000 (13:27 +0000)] 
Feature tests for [whether sched_param has a sched_priority member]
and [whether nfds_t is defined].

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

24 years agoioctl(generic): don't do make_readable(NULL, ...)
Julian Seward [Mon, 3 Jun 2002 13:05:48 +0000 (13:05 +0000)] 
ioctl(generic): don't do make_readable(NULL, ...)

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

24 years ago---> 20020602
Julian Seward [Mon, 3 Jun 2002 01:30:32 +0000 (01:30 +0000)] 
---> 20020602

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

24 years agoClean up assertion stuff for the vg_libpthread.c
Julian Seward [Mon, 3 Jun 2002 01:25:54 +0000 (01:25 +0000)] 
Clean up assertion stuff for the vg_libpthread.c

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

24 years agoSanity check VG_LIBDIR (the --libdir= config value) at startup to detect
Julian Seward [Mon, 3 Jun 2002 01:10:40 +0000 (01:10 +0000)] 
Sanity check VG_LIBDIR (the --libdir= config value) at startup to detect
cases which will later cause fork/exec to fail.

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

24 years agoFailed attempt to make JDK 1.4.0 work.
Julian Seward [Mon, 3 Jun 2002 00:58:18 +0000 (00:58 +0000)] 
Failed attempt to make JDK 1.4.0 work.

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

24 years agoDo pthread_atter_{set,get}scope.
Julian Seward [Sun, 2 Jun 2002 09:29:31 +0000 (09:29 +0000)] 
Do pthread_atter_{set,get}scope.

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

24 years agoRemove historical artefact.
Julian Seward [Sun, 2 Jun 2002 00:21:08 +0000 (00:21 +0000)] 
Remove historical artefact.

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

24 years agoImplement __NR_mlock (Marc Mutz <mutz@kde.org>)
Julian Seward [Sun, 2 Jun 2002 00:10:41 +0000 (00:10 +0000)] 
Implement __NR_mlock (Marc Mutz <mutz@kde.org>)

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

24 years agoImplement CLC and STC (Pascal Massimino <pmassimi@ilog.fr>).
Julian Seward [Sun, 2 Jun 2002 00:04:00 +0000 (00:04 +0000)] 
Implement CLC and STC (Pascal Massimino <pmassimi@ilog.fr>).

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

24 years agoMarkup bug.
Julian Seward [Sat, 1 Jun 2002 23:56:38 +0000 (23:56 +0000)] 
Markup bug.

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

24 years agoAdd ioctl BLKGETSIZE.
Julian Seward [Sat, 1 Jun 2002 23:53:10 +0000 (23:53 +0000)] 
Add ioctl BLKGETSIZE.

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

24 years agoUpdate author attributions.
Julian Seward [Sat, 1 Jun 2002 23:43:49 +0000 (23:43 +0000)] 
Update author attributions.

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

24 years agoClean up and modularise debug info reading a little. The stabs and
Julian Seward [Sat, 1 Jun 2002 23:11:19 +0000 (23:11 +0000)] 
Clean up and modularise debug info reading a little.  The stabs and
dwarf2 readers are now in seperate procedures.

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