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

23 years agoMake __pthread_kill_other_threads_np be UNIMPLEMENTED. If it turns out
Julian Seward [Wed, 29 May 2002 20:22:17 +0000 (20:22 +0000)] 
Make __pthread_kill_other_threads_np be UNIMPLEMENTED.  If it turns out
to be needed, I'll fix it properly.

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

23 years agopthread_cond_timedwait: be robust to timeout points in the past
Julian Seward [Wed, 29 May 2002 20:13:53 +0000 (20:13 +0000)] 
pthread_cond_timedwait: be robust to timeout points in the past

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

23 years agoAs per POSIX, nuke all threads other than me
Julian Seward [Wed, 29 May 2002 19:26:32 +0000 (19:26 +0000)] 
As per POSIX, nuke all threads other than me
- just before __NR_exec()
- just after __NR_fork() when I am the child
This makes OpenOffice 1.0 not have mutex-related assertion failures

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

23 years agoSet client mem permissions in do__cleanup_pop.
Julian Seward [Wed, 29 May 2002 16:48:44 +0000 (16:48 +0000)] 
Set client mem permissions in do__cleanup_pop.

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

23 years agoCheck for pending cancellation requests at syscalls which POSIX
Julian Seward [Wed, 29 May 2002 01:21:19 +0000 (01:21 +0000)] 
Check for pending cancellation requests at syscalls which POSIX
defines to be cancellation points.

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

23 years agoWhen a thread exits, run the destructors for the thread's specific data.
Julian Seward [Wed, 29 May 2002 01:06:47 +0000 (01:06 +0000)] 
When a thread exits, run the destructors for the thread's specific data.

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

23 years agoImplement thread cleanup stacks.
Julian Seward [Wed, 29 May 2002 00:10:20 +0000 (00:10 +0000)] 
Implement thread cleanup stacks.

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

23 years agoIncrease thread scheduling quantum from 20000 bbs to 50000 bbs.
Julian Seward [Tue, 28 May 2002 11:27:31 +0000 (11:27 +0000)] 
Increase thread scheduling quantum from 20000 bbs to 50000 bbs.

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

23 years agoFix various problems with new thread start / stop / detach stuff.
Julian Seward [Tue, 28 May 2002 11:00:01 +0000 (11:00 +0000)] 
Fix various problems with new thread start / stop / detach stuff.

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

23 years agoDO NOT UPDATE! COMPILES BUT DOESN'T WORK.
Julian Seward [Tue, 28 May 2002 01:36:45 +0000 (01:36 +0000)] 
DO NOT UPDATE!  COMPILES BUT DOESN'T WORK.

Major overhaul to the way thread startup and exit is done.  Removes some
ugly gunk in the scheduler, and adds support for thread detaching and
cancellation.

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

23 years agoSupport for POSIX reader-writer locks (preliminary).
Julian Seward [Mon, 27 May 2002 13:00:05 +0000 (13:00 +0000)] 
Support for POSIX reader-writer locks (preliminary).

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

23 years agoAvoid make_readable ( NULL, ... ) in ioctl SIOCGIFCONF.
Julian Seward [Fri, 24 May 2002 11:57:36 +0000 (11:57 +0000)] 
Avoid make_readable ( NULL, ... ) in ioctl SIOCGIFCONF.

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

23 years agoComment out debug printing.
Julian Seward [Fri, 24 May 2002 02:12:52 +0000 (02:12 +0000)] 
Comment out debug printing.

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

23 years ago---> 20020524
Julian Seward [Fri, 24 May 2002 02:11:52 +0000 (02:11 +0000)] 
---> 20020524

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

23 years agoMore minor fixes to make OpenOffice 1.0 work.
Julian Seward [Fri, 24 May 2002 02:11:32 +0000 (02:11 +0000)] 
More minor fixes to make OpenOffice 1.0 work.

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

23 years agoMake syscall sched_yield just yield the current thread rather than the
Julian Seward [Fri, 24 May 2002 00:11:16 +0000 (00:11 +0000)] 
Make syscall sched_yield just yield the current thread rather than the
whole process.

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

23 years agoComment-only change: add a list of known problems with the signal simulator.
Julian Seward [Fri, 24 May 2002 00:00:59 +0000 (00:00 +0000)] 
Comment-only change: add a list of known problems with the signal simulator.

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

23 years agoDebug message wibble.
Julian Seward [Thu, 23 May 2002 17:34:49 +0000 (17:34 +0000)] 
Debug message wibble.

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

23 years agoDon't complain the second arg of __NR_setitimer
Julian Seward [Thu, 23 May 2002 17:14:54 +0000 (17:14 +0000)] 
Don't complain the second arg of __NR_setitimer
(const struct itimerval *value) is NULL.

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

23 years agoFix small bug causing assertion failure in computation of SKSS.
Julian Seward [Thu, 23 May 2002 17:09:43 +0000 (17:09 +0000)] 
Fix small bug causing assertion failure in computation of SKSS.

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

23 years agoAdd test for correct handling of read/write with invalid fds.
Julian Seward [Thu, 23 May 2002 16:53:20 +0000 (16:53 +0000)] 
Add test for correct handling of read/write with invalid fds.

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

23 years agosched_do_syscalls: properly handle invalid fd in read/write, rather
Julian Seward [Thu, 23 May 2002 16:52:11 +0000 (16:52 +0000)] 
sched_do_syscalls: properly handle invalid fd in read/write, rather
than dying with an assertion failure.

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

23 years agoMake accept() be nonblocking.
Julian Seward [Thu, 23 May 2002 13:13:12 +0000 (13:13 +0000)] 
Make accept() be nonblocking.

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

23 years agoUpdate for sigaltstack
Julian Seward [Wed, 22 May 2002 23:56:33 +0000 (23:56 +0000)] 
Update for sigaltstack

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

23 years ago---> 20020522
Julian Seward [Wed, 22 May 2002 23:56:05 +0000 (23:56 +0000)] 
---> 20020522

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

23 years agosigaltstack -> sigaltstack.c
Julian Seward [Wed, 22 May 2002 23:55:31 +0000 (23:55 +0000)] 
sigaltstack -> sigaltstack.c

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

23 years agoImplement sigaltstack. Most of the logic is copied more-or-less
Julian Seward [Wed, 22 May 2002 23:34:20 +0000 (23:34 +0000)] 
Implement sigaltstack.  Most of the logic is copied more-or-less
verbatim from the Linux kernel sources, which has to be a good thing.

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

23 years agoImplement pthread_yield.
Julian Seward [Wed, 22 May 2002 13:17:31 +0000 (13:17 +0000)] 
Implement pthread_yield.

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

23 years agoioctl TCXONC (Peter A Jonsson)
Julian Seward [Wed, 22 May 2002 12:03:54 +0000 (12:03 +0000)] 
ioctl TCXONC (Peter A Jonsson)

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

23 years agoFix one-char typo relating to detection of XFree86 3.X.
Julian Seward [Wed, 22 May 2002 11:58:25 +0000 (11:58 +0000)] 
Fix one-char typo relating to detection of XFree86 3.X.

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

23 years agoImplement x86 insn popl m32. (Nikolay Igotti )
Julian Seward [Wed, 22 May 2002 11:55:35 +0000 (11:55 +0000)] 
Implement x86 insn  popl m32.  (Nikolay Igotti )

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

23 years ago---> 20020520
Julian Seward [Tue, 21 May 2002 00:54:02 +0000 (00:54 +0000)] 
---> 20020520

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

23 years agoDon't mask libc's vfork / __vfork:
Julian Seward [Tue, 21 May 2002 00:51:21 +0000 (00:51 +0000)] 
Don't mask libc's vfork / __vfork:
   $ nm /lib/libc-2.2.4.so | grep vfork
   000b4220 T __vfork
   000b4220 W vfork

There's no __libc_vfork, so there's nothing we can do here.
Just don't supply our own version.

Not at all sure if this is correct.

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

23 years ago- Fix __NR_poll printing
Julian Seward [Tue, 21 May 2002 00:44:02 +0000 (00:44 +0000)] 
- Fix __NR_poll printing
- Invert the sense of IOC_READ / IOC_WRITE in generic ioctl handler
  (Simon Hausmann)
- TIOCSPGRP (Peter A Jonsson); also add a missing break in the ioctl stuff

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

23 years agoignore some generated stuff
Dirk Mueller [Tue, 21 May 2002 00:10:05 +0000 (00:10 +0000)] 
ignore some generated stuff

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

23 years agofix gcc detection
Dirk Mueller [Tue, 21 May 2002 00:09:48 +0000 (00:09 +0000)] 
fix gcc detection

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

23 years agogcc-3.1 compile fix.
Julian Seward [Tue, 21 May 2002 00:05:10 +0000 (00:05 +0000)] 
gcc-3.1 compile fix.

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

23 years agoMoan but don't die on unhandled stabs cases.
Julian Seward [Mon, 20 May 2002 23:39:22 +0000 (23:39 +0000)] 
Moan but don't die on unhandled stabs cases.

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

23 years agoImprove diagnostic info printed by failures in
Julian Seward [Mon, 20 May 2002 23:38:33 +0000 (23:38 +0000)] 
Improve diagnostic info printed by failures in
VG_(mash_LD_PRELOAD_and_LD_LIBRARY_PATH).

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

23 years ago---> 20020518
Julian Seward [Sun, 19 May 2002 00:14:09 +0000 (00:14 +0000)] 
---> 20020518

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

23 years agoImplement semaphore functions.
Julian Seward [Sun, 19 May 2002 00:13:34 +0000 (00:13 +0000)] 
Implement semaphore functions.

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

23 years agoAdd test from Lionel Ulmer showing incorrect behaviour of overloaded
Julian Seward [Sat, 18 May 2002 19:54:36 +0000 (19:54 +0000)] 
Add test from Lionel Ulmer showing incorrect behaviour of overloaded
new.  Not fixed yet.

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

23 years agoModify cachegrind.in to track recent changes in valgrind.in
Julian Seward [Sat, 18 May 2002 19:52:04 +0000 (19:52 +0000)] 
Modify cachegrind.in to track recent changes in valgrind.in

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

23 years agoAdd getpmsg/putpmsg (Rick Watson)
Julian Seward [Sat, 18 May 2002 13:24:24 +0000 (13:24 +0000)] 
Add getpmsg/putpmsg (Rick Watson)

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

23 years agoFix fork/exec stuff so it works again. We have to mangle LD_LIBRARY_PATH
Julian Seward [Sat, 18 May 2002 13:14:17 +0000 (13:14 +0000)] 
Fix fork/exec stuff so it works again.  We have to mangle LD_LIBRARY_PATH
as well as LD_PRELOAD, so as to make our libpthread.so go out of scope
when a child which we don't want to trace, is exec'd.  Otherwise the
child can wind up being connected to our libpthread.so but not to
valgrind.so, which is an unworkable combination; you have to be connected
to both or neither.

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

23 years agoThe ELF table created by old kernels (2.4.3 ish) is different from
Julian Seward [Sat, 18 May 2002 11:55:05 +0000 (11:55 +0000)] 
The ELF table created by old kernels (2.4.3 ish) is different from
that created by newer 2.4 kernels.  Try and handle that.  (Untested).

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

23 years agoAdd clarification of the purpose of the malloc/free mismatch checks
Julian Seward [Sat, 18 May 2002 11:09:19 +0000 (11:09 +0000)] 
Add clarification of the purpose of the malloc/free mismatch checks
(Pascal Massimino)

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