]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 years ago---> 20020601
Julian Seward [Sat, 1 Jun 2002 14:29:49 +0000 (14:29 +0000)] 
---> 20020601

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

23 years agoPreliminary commit of DWARF2 debug info reader from
Julian Seward [Sat, 1 Jun 2002 14:21:36 +0000 (14:21 +0000)] 
Preliminary commit of DWARF2 debug info reader from
Daniel Berlin <dberlin@dberlin.org>

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

23 years agoRemove old rwlock implementation and replace with home-grown one.
Julian Seward [Sat, 1 Jun 2002 14:14:19 +0000 (14:14 +0000)] 
Remove old rwlock implementation and replace with home-grown one.

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

23 years agodemangle_number: handle base-36 numbers.
Julian Seward [Thu, 30 May 2002 01:22:20 +0000 (01:22 +0000)] 
demangle_number: handle base-36 numbers.

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

23 years agoAdd a TODO entry for valgrind-1.0.
Julian Seward [Thu, 30 May 2002 00:40:55 +0000 (00:40 +0000)] 
Add a TODO entry for valgrind-1.0.

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

23 years agoImplement __pthread_kill_other_threads_np properly. It does seem to
Julian Seward [Thu, 30 May 2002 00:40:03 +0000 (00:40 +0000)] 
Implement __pthread_kill_other_threads_np properly.  It does seem to
be needed after all.

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

23 years agoMore X suppressions.
Julian Seward [Thu, 30 May 2002 00:09:52 +0000 (00:09 +0000)] 
More X suppressions.

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

23 years agoImplement ADC Eb,Gb. Truly an unpopular instruction if it took anyone this
Julian Seward [Wed, 29 May 2002 23:38:23 +0000 (23:38 +0000)] 
Implement ADC Eb,Gb.  Truly an unpopular instruction if it took anyone this
long to fall across it.

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

23 years agoChange counts a bit so as not to spew out so much junk.
Julian Seward [Wed, 29 May 2002 23:34:32 +0000 (23:34 +0000)] 
Change counts a bit so as not to spew out so much junk.

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

23 years agoFix stupid copy-n-paste bug in do_set_canceltype causing strange stack
Julian Seward [Wed, 29 May 2002 23:30:28 +0000 (23:30 +0000)] 
Fix stupid copy-n-paste bug in do_set_canceltype causing strange stack
drift problems.

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

23 years agoTests for cancellation/cleanup mechanisms.
Julian Seward [Wed, 29 May 2002 20:47:19 +0000 (20:47 +0000)] 
Tests for cancellation/cleanup mechanisms.

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

23 years agoUpdate TODO lists at the top of the file.
Julian Seward [Wed, 29 May 2002 20:23:26 +0000 (20:23 +0000)] 
Update TODO lists at the top of the file.

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