]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Inch towards JVM (Sun, 1.4.0) working.
authorJulian Seward <jseward@acm.org>
Tue, 4 Jun 2002 08:38:04 +0000 (08:38 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 4 Jun 2002 08:38:04 +0000 (08:38 +0000)
- 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

coregrind/arch/x86-linux/vg_libpthread.c
coregrind/arch/x86-linux/vg_libpthread_unimp.c
coregrind/vg_include.h
coregrind/vg_libpthread.c
coregrind/vg_libpthread_unimp.c
vg_include.h
vg_libpthread.c
vg_libpthread_unimp.c

index 5f901954988ff9ac267901853baae0e9b5c240c3..3ed46c033e5c64cf96043b131044f93f2de2f688 100644 (file)
@@ -2515,7 +2515,7 @@ weak_alias (__pread64, pread64)
 weak_alias (__pwrite64, pwrite64)
 weak_alias(__fork, fork)
 
-
+weak_alias (__pthread_kill_other_threads_np, pthread_kill_other_threads_np)
 
 /*--------------------------------------------------*/
 
index d701f7380346c2df8f5356b21051a5502bb825f7..d36aafdf2744eccaa131ede9cea92927f490bd2b 100644 (file)
@@ -231,8 +231,8 @@ __attribute__((weak)) void pthread_attr_setstackaddr ( void )
 //                      { vgPlain_unimp("pthread_attr_setstacksize"); }
 __attribute__((weak)) void pthread_getconcurrency ( void )
                       { vgPlain_unimp("pthread_getconcurrency"); }
-__attribute__((weak)) void pthread_kill_other_threads_np ( void )
-                      { vgPlain_unimp("pthread_kill_other_threads_np"); }
+//__attribute__((weak)) void pthread_kill_other_threads_np ( void )
+//                      { vgPlain_unimp("pthread_kill_other_threads_np"); }
 __attribute__((weak)) void pthread_mutexattr_getkind_np ( void )
                       { vgPlain_unimp("pthread_mutexattr_getkind_np"); }
 __attribute__((weak)) void pthread_mutexattr_getpshared ( void )
index aacb1bc6ddba16f89dcbaabc8e2c8af5db49f026..ba2203063c159a20f5905d01dc77f2c0069f0fb7 100644 (file)
 
 /* Stack size for a thread.  We try and check that they do not go
    beyond it. */
-#define VG_PTHREAD_STACK_SIZE 65536
+#define VG_PTHREAD_STACK_SIZE (1 << 20)
 
 /* Number of entries in the semaphore-remapping table. */
 #define VG_N_SEMAPHORES 50
index 5f901954988ff9ac267901853baae0e9b5c240c3..3ed46c033e5c64cf96043b131044f93f2de2f688 100644 (file)
@@ -2515,7 +2515,7 @@ weak_alias (__pread64, pread64)
 weak_alias (__pwrite64, pwrite64)
 weak_alias(__fork, fork)
 
-
+weak_alias (__pthread_kill_other_threads_np, pthread_kill_other_threads_np)
 
 /*--------------------------------------------------*/
 
index d701f7380346c2df8f5356b21051a5502bb825f7..d36aafdf2744eccaa131ede9cea92927f490bd2b 100644 (file)
@@ -231,8 +231,8 @@ __attribute__((weak)) void pthread_attr_setstackaddr ( void )
 //                      { vgPlain_unimp("pthread_attr_setstacksize"); }
 __attribute__((weak)) void pthread_getconcurrency ( void )
                       { vgPlain_unimp("pthread_getconcurrency"); }
-__attribute__((weak)) void pthread_kill_other_threads_np ( void )
-                      { vgPlain_unimp("pthread_kill_other_threads_np"); }
+//__attribute__((weak)) void pthread_kill_other_threads_np ( void )
+//                      { vgPlain_unimp("pthread_kill_other_threads_np"); }
 __attribute__((weak)) void pthread_mutexattr_getkind_np ( void )
                       { vgPlain_unimp("pthread_mutexattr_getkind_np"); }
 __attribute__((weak)) void pthread_mutexattr_getpshared ( void )
index aacb1bc6ddba16f89dcbaabc8e2c8af5db49f026..ba2203063c159a20f5905d01dc77f2c0069f0fb7 100644 (file)
 
 /* Stack size for a thread.  We try and check that they do not go
    beyond it. */
-#define VG_PTHREAD_STACK_SIZE 65536
+#define VG_PTHREAD_STACK_SIZE (1 << 20)
 
 /* Number of entries in the semaphore-remapping table. */
 #define VG_N_SEMAPHORES 50
index 5f901954988ff9ac267901853baae0e9b5c240c3..3ed46c033e5c64cf96043b131044f93f2de2f688 100644 (file)
@@ -2515,7 +2515,7 @@ weak_alias (__pread64, pread64)
 weak_alias (__pwrite64, pwrite64)
 weak_alias(__fork, fork)
 
-
+weak_alias (__pthread_kill_other_threads_np, pthread_kill_other_threads_np)
 
 /*--------------------------------------------------*/
 
index d701f7380346c2df8f5356b21051a5502bb825f7..d36aafdf2744eccaa131ede9cea92927f490bd2b 100644 (file)
@@ -231,8 +231,8 @@ __attribute__((weak)) void pthread_attr_setstackaddr ( void )
 //                      { vgPlain_unimp("pthread_attr_setstacksize"); }
 __attribute__((weak)) void pthread_getconcurrency ( void )
                       { vgPlain_unimp("pthread_getconcurrency"); }
-__attribute__((weak)) void pthread_kill_other_threads_np ( void )
-                      { vgPlain_unimp("pthread_kill_other_threads_np"); }
+//__attribute__((weak)) void pthread_kill_other_threads_np ( void )
+//                      { vgPlain_unimp("pthread_kill_other_threads_np"); }
 __attribute__((weak)) void pthread_mutexattr_getkind_np ( void )
                       { vgPlain_unimp("pthread_mutexattr_getkind_np"); }
 __attribute__((weak)) void pthread_mutexattr_getpshared ( void )