Commit Graph

17 Commits

Author SHA1 Message Date
Julian Seward
e39f3f644a Add fairly complete, and apparently working, support for condition
variables.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@102
2002-04-20 13:53:23 +00:00
Dirk Mueller
9db9d919be ignore
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@90
2002-04-16 10:53:53 +00:00
Julian Seward
495ba4092e Fix -Wall complaints.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@77
2002-04-16 00:57:02 +00:00
Julian Seward
05207b3508 Relent, and properly implement bt/bts/btc/btr for literal bit-offsets.
bt_literal.c is a somewhat halfhearted test case for it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@76
2002-04-16 00:42:12 +00:00
Julian Seward
5f6317476f Add fairly comprehensive test case for bt/bts/btc/btc, mem and reg
targets, although size-L (4-byte) only.  In any event the jitter
doesn't handle the size 2 case and has never been asked too, AFAIK.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@74
2002-04-15 16:01:47 +00:00
Julian Seward
c6419ac8b7 simple_mutex program from the OReilly pthreads book.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@56
2002-04-12 21:57:01 +00:00
Julian Seward
7a36f60133 Mega-merge of my last 2 weeks hacking. This basically does the groundwork
for pthread_* support.  Major changes:

* Valgrind now contains a (skeletal!) user-space pthreads
  implementation.  The exciting bits are in new file vg_scheduler.c.
  This contains thread management and scheduling, including nasty crud
  to do with making some syscalls (read,write,nanosleep) nonblocking.
  Also implementation of pthread_ functions: create join
  mutex_{create,destroy,lock,unlock} and cancel.

* As a side effect of the above, major improvements to signal handling
  and to the client-request machinery.  This is now used to intercept
  malloc/free etc too; the hacky way this is done before is gone.
  Another side effect is that vg_dispatch.S is greatly simplified.
  Also, the horrible hacks to do with delivering signals to threads
  blocked in syscalls are gone, since the new mechanisms cover this case
  easily.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@52
2002-04-12 11:12:52 +00:00
Julian Seward
d326a38326 Add spurious comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@49
2002-04-10 13:48:03 +00:00
Julian Seward
3f06087829 From the OReilly book, page 15. Uses _create and _join.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@48
2002-04-10 12:14:34 +00:00
Julian Seward
bec724cc8d Someone claimed that this gives reads below %esp when compiled with
g++ 3.0.4; I can't repro it.  But am collecting anyway.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@43
2002-03-29 16:47:19 +00:00
Julian Seward
232f2a3c57 (VG_(do__NR_sigaction)): Don't allow setting of
handlers for SIGKILL or SIGSTOP.  This fixes
valgrind: vg_signals.c:723 (vgPlain_do__NR_sigaction):
Assertion `our_old_handler == ((void *)0)' failed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@40
2002-03-29 14:02:34 +00:00
Julian Seward
437bd7c428 Add a couple of bogons people sent.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@37
2002-03-29 04:11:48 +00:00
Julian Seward
8eddad528b compile wibble
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@29
2002-03-24 13:47:51 +00:00
Julian Seward
570c686f5c Add test case for the fucomip probable-bug.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@24
2002-03-24 12:06:29 +00:00
Julian Seward
13c77e7c76 Implement DAA as well as DAS. Byrial Jensen <byrial@image.dk>
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@22
2002-03-24 11:54:07 +00:00
Frédéric Gobry
b17d5d40a3 improved the build system
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9
2002-03-22 13:38:30 +00:00
Julian Seward
72a784f3b1 Initial revision
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2
2002-03-22 01:27:54 +00:00